Class OcpSqlDatabaseController
- java.lang.Object
-
- io.debezium.testing.openshift.tools.databases.AbstractOcpDatabaseController<SqlDatabaseClient>
-
- io.debezium.testing.openshift.tools.databases.OcpSqlDatabaseController
-
- All Implemented Interfaces:
DatabaseController<SqlDatabaseClient>,SqlDatabaseController
- Direct Known Subclasses:
OcpDB2Controller,OcpSqlServerController
public class OcpSqlDatabaseController extends AbstractOcpDatabaseController<SqlDatabaseClient> implements SqlDatabaseController
- Author:
- Jakub Cechacek
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdbTypeprivate static org.slf4j.LoggerLOGGER-
Fields inherited from class io.debezium.testing.openshift.tools.databases.AbstractOcpDatabaseController
deployment, name, ocp, ocpUtils, project, services
-
-
Constructor Summary
Constructors Constructor Description OcpSqlDatabaseController(io.fabric8.kubernetes.api.model.apps.Deployment deployment, List<io.fabric8.kubernetes.api.model.Service> services, String dbType, io.fabric8.openshift.client.OpenShiftClient ocp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDatabaseType()-
Methods inherited from class io.debezium.testing.openshift.tools.databases.AbstractOcpDatabaseController
getDatabaseHostname, getDatabasePort, reload
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.openshift.tools.databases.DatabaseController
getDatabaseHostname, getDatabasePort, initialize, reload
-
Methods inherited from interface io.debezium.testing.openshift.tools.databases.SqlDatabaseController
getDatabaseClient, getDatabaseUrl
-
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
dbType
protected final String dbType
-
-
Method Detail
-
getDatabaseType
public String getDatabaseType()
- Specified by:
getDatabaseTypein interfaceSqlDatabaseController- Returns:
- jdbc vendor connection type
-
-