Class OpenshiftMySQL
- java.lang.Object
-
- software.tnb.db.common.service.SQL
-
- software.tnb.db.mysql.service.MySQL
-
- software.tnb.db.mysql.resource.openshift.OpenshiftMySQL
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterAllCallback,org.junit.jupiter.api.extension.BeforeAllCallback,org.junit.jupiter.api.extension.Extension,Deployable,OpenshiftDeployable,WithDockerImage,WithExternalHostname,WithInClusterHostname,WithName,Service
@AutoService(MySQL.class) public class OpenshiftMySQL extends MySQL implements OpenshiftDeployable, WithName, WithInClusterHostname
-
-
Constructor Summary
Constructors Constructor Description OpenshiftMySQL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseResources()voidcreate()Stringhostname()booleanisDeployed()booleanisReady()Stringname()voidopenResources()intport()voidundeploy()-
Methods inherited from class software.tnb.db.mysql.service.MySQL
accountClass, containerEnvironment, defaultImage, jdbcConnectionUrl
-
Methods inherited from class software.tnb.db.common.service.SQL
account, externalHostname, localConnectionUrl, validation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.tnb.common.deployment.Deployable
afterAll, beforeAll
-
Methods inherited from interface software.tnb.common.deployment.OpenshiftDeployable
deploy, waitTime
-
Methods inherited from interface software.tnb.common.deployment.WithDockerImage
image
-
Methods inherited from interface software.tnb.common.deployment.WithInClusterHostname
inClusterHostname
-
-
-
-
Method Detail
-
create
public void create()
- Specified by:
createin interfaceOpenshiftDeployable
-
undeploy
public void undeploy()
- Specified by:
undeployin interfaceDeployable
-
openResources
public void openResources()
- Specified by:
openResourcesin interfaceDeployable
-
closeResources
public void closeResources()
- Specified by:
closeResourcesin interfaceDeployable
-
isReady
public boolean isReady()
- Specified by:
isReadyin interfaceOpenshiftDeployable
-
isDeployed
public boolean isDeployed()
- Specified by:
isDeployedin interfaceOpenshiftDeployable
-
-