Package io.debezium.testing.system.tests
Class ConnectorTest<D extends io.debezium.testing.system.tools.databases.DatabaseController<?>>
- java.lang.Object
-
- io.debezium.testing.system.tests.ConnectorTest<D>
-
- All Implemented Interfaces:
Assertions,ConnectorDecoratorFixture,ConnectorRuntimeFixture,ConnectorSetupFixture,DatabaseRuntimeFixture<D>,DatabaseSetupFixture,KafkaRuntimeFixture,KafkaSetupFixture,RegistryRuntimeFixture,RegistrySetupFixture,TestRuntimeFixture<D>,TestSetupFixture
- Direct Known Subclasses:
DockerConnectorTest,OcpConnectorTest
@TestInstance(PER_CLASS) public abstract class ConnectorTest<D extends io.debezium.testing.system.tools.databases.DatabaseController<?>> extends Object implements TestSetupFixture, TestRuntimeFixture<D>
-
-
Field Summary
Fields Modifier and Type Field Description private io.debezium.testing.system.tools.kafka.ConnectorConfigBuilderconnectorConfigprivate DdbControllerprivate io.debezium.testing.system.tools.kafka.KafkaConnectControllerkafkaConnectControllerprivate io.debezium.testing.system.tools.kafka.KafkaControllerkafkaController(package private) static org.slf4j.LoggerLOGGERprivate io.debezium.testing.system.tools.registry.RegistryControllerregistryController
-
Constructor Summary
Constructors Constructor Description ConnectorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.debezium.testing.system.tools.kafka.ConnectorConfigBuildergetConnectorConfig()DgetDbController()io.debezium.testing.system.tools.kafka.KafkaConnectControllergetKafkaConnectController()io.debezium.testing.system.tools.kafka.KafkaControllergetKafkaController()Optional<io.debezium.testing.system.tools.registry.RegistryController>getRegistryController()voidsetConnectorConfig(io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder config)voidsetDbController(D controller)voidsetKafkaConnectController(io.debezium.testing.system.tools.kafka.KafkaConnectController controller)voidsetKafkaController(io.debezium.testing.system.tools.kafka.KafkaController controller)voidsetRegistryController(io.debezium.testing.system.tools.registry.RegistryController controller)voidsetupFixtures()voidteardownFixtures()-
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.system.fixtures.Assertions
assertions
-
Methods inherited from interface io.debezium.testing.system.fixtures.connectors.ConnectorDecoratorFixture
decorateConnectorConfig
-
Methods inherited from interface io.debezium.testing.system.fixtures.connectors.ConnectorSetupFixture
setupConnector, teardownConnector
-
Methods inherited from interface io.debezium.testing.system.fixtures.databases.DatabaseSetupFixture
setupDatabase, teardownDatabase
-
Methods inherited from interface io.debezium.testing.system.fixtures.kafka.KafkaRuntimeFixture
getConnectorMetrics
-
Methods inherited from interface io.debezium.testing.system.fixtures.kafka.KafkaSetupFixture
setupKafka, teardownKafka
-
Methods inherited from interface io.debezium.testing.system.fixtures.registry.RegistrySetupFixture
setupRegistry, teardownRegistry
-
-
-
-
Field Detail
-
LOGGER
static org.slf4j.Logger LOGGER
-
kafkaController
private io.debezium.testing.system.tools.kafka.KafkaController kafkaController
-
kafkaConnectController
private io.debezium.testing.system.tools.kafka.KafkaConnectController kafkaConnectController
-
dbController
private D extends io.debezium.testing.system.tools.databases.DatabaseController<?> dbController
-
connectorConfig
private io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig
-
registryController
private io.debezium.testing.system.tools.registry.RegistryController registryController
-
-
Method Detail
-
getKafkaConnectController
public io.debezium.testing.system.tools.kafka.KafkaConnectController getKafkaConnectController()
- Specified by:
getKafkaConnectControllerin interfaceKafkaRuntimeFixture
-
setKafkaConnectController
public void setKafkaConnectController(io.debezium.testing.system.tools.kafka.KafkaConnectController controller)
- Specified by:
setKafkaConnectControllerin interfaceKafkaRuntimeFixture
-
getKafkaController
public io.debezium.testing.system.tools.kafka.KafkaController getKafkaController()
- Specified by:
getKafkaControllerin interfaceKafkaRuntimeFixture
-
setKafkaController
public void setKafkaController(io.debezium.testing.system.tools.kafka.KafkaController controller)
- Specified by:
setKafkaControllerin interfaceKafkaRuntimeFixture
-
getDbController
public D getDbController()
- Specified by:
getDbControllerin interfaceDatabaseRuntimeFixture<D extends io.debezium.testing.system.tools.databases.DatabaseController<?>>
-
setDbController
public void setDbController(D controller)
- Specified by:
setDbControllerin interfaceDatabaseRuntimeFixture<D extends io.debezium.testing.system.tools.databases.DatabaseController<?>>
-
getConnectorConfig
public io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder getConnectorConfig()
- Specified by:
getConnectorConfigin interfaceConnectorRuntimeFixture
-
setConnectorConfig
public void setConnectorConfig(io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder config)
- Specified by:
setConnectorConfigin interfaceConnectorRuntimeFixture
-
getRegistryController
public Optional<io.debezium.testing.system.tools.registry.RegistryController> getRegistryController()
- Specified by:
getRegistryControllerin interfaceRegistryRuntimeFixture
-
setRegistryController
public void setRegistryController(io.debezium.testing.system.tools.registry.RegistryController controller)
- Specified by:
setRegistryControllerin interfaceRegistryRuntimeFixture
-
-