Class OpenshiftInfinispan
java.lang.Object
software.tnb.common.service.Service<InfinispanAccount,NoClient,NoValidation>
software.tnb.infinispan.service.Infinispan
software.tnb.infinispan.resource.openshift.OpenshiftInfinispan
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension,Deployable,OpenshiftDeployable,ReusableOpenshiftDeployable,WithDockerImage,WithName
@AutoService(Infinispan.class)
public class OpenshiftInfinispan
extends Infinispan
implements ReusableOpenshiftDeployable, WithName
-
Field Summary
Fields inherited from class software.tnb.infinispan.service.Infinispan
PORTFields inherited from class software.tnb.common.service.Service
account, client, validationFields inherited from interface software.tnb.common.deployment.WithDockerImage
SYSTEM_PROPERTY_FORMAT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class software.tnb.infinispan.service.Infinispan
containerEnvironment, defaultImageMethods inherited from class software.tnb.common.service.Service
account, client, validationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.tnb.common.deployment.OpenshiftDeployable
deploy, isReady, restart, servicePod, servicePods, waitTimeMethods inherited from interface software.tnb.common.deployment.ReusableOpenshiftDeployable
afterAll, beforeAllMethods inherited from interface software.tnb.common.deployment.WithDockerImage
image
-
Constructor Details
-
OpenshiftInfinispan
public OpenshiftInfinispan()
-
-
Method Details
-
undeploy
public void undeploy()- Specified by:
undeployin interfaceDeployable
-
openResources
public void openResources()- Specified by:
openResourcesin interfaceDeployable
-
closeResources
public void closeResources()- Specified by:
closeResourcesin interfaceDeployable
-
create
public void create()- Specified by:
createin interfaceOpenshiftDeployable
-
isDeployed
public boolean isDeployed()- Specified by:
isDeployedin interfaceOpenshiftDeployable
-
podSelector
- Specified by:
podSelectorin interfaceOpenshiftDeployable- Specified by:
podSelectorin interfaceWithName
-
cleanup
public void cleanup()- Specified by:
cleanupin interfaceReusableOpenshiftDeployable
-
name
-
getPortMapping
public int getPortMapping()- Specified by:
getPortMappingin classInfinispan
-
getHost
- Specified by:
getHostin classInfinispan
-