Class ShardedMongoTests

java.lang.Object
io.debezium.testing.system.tests.ConnectorTest
io.debezium.testing.system.tests.mongodb.sharded.ShardedMongoTests
Direct Known Subclasses:
OcpShardedMongoConnectorIT, OcpShardedReplicaMongoConnectorIT

public abstract class ShardedMongoTests extends ConnectorTest
  • Constructor Details

    • ShardedMongoTests

      public ShardedMongoTests(io.debezium.testing.system.tools.kafka.KafkaController kafkaController, io.debezium.testing.system.tools.kafka.KafkaConnectController connectController, io.debezium.testing.system.tools.kafka.ConnectorConfigBuilder connectorConfig, KafkaAssertions<?,?> assertions)
  • Method Details

    • insertCustomer

      public void insertCustomer(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String firstName, String lastName, String email, long id)
    • removeCustomer

      public void removeCustomer(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String email)
    • removeProduct

      public void removeProduct(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String name)
    • insertProduct

      public void insertProduct(io.debezium.testing.system.tools.databases.mongodb.MongoDatabaseController dbController, String name, String description, String weight, int quantity)
    • addAndRemoveShardTest

      protected void addAndRemoveShardTest(io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoShardedController dbController, String connectorName) throws IOException, InterruptedException, freemarker.template.TemplateException
      Throws:
      IOException
      InterruptedException
      freemarker.template.TemplateException