public abstract class ConnectorTestBase extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static KafkaAssertions |
assertions |
protected static okhttp3.OkHttpClient |
httpClient |
static String |
KAFKA |
static String |
KAFKA_CONNECT_S2I |
static String |
KAFKA_CONNECT_S2I_LOGGING |
protected static Properties |
KAFKA_CONSUMER_PROPS |
protected static io.debezium.testing.openshift.tools.kafka.KafkaConnectController |
kafkaConnectController |
protected static io.debezium.testing.openshift.tools.kafka.KafkaController |
kafkaController |
protected static io.debezium.testing.openshift.tools.kafka.KafkaDeployer |
kafkaDeployer |
private static org.slf4j.Logger |
LOGGER |
protected static io.fabric8.openshift.client.OpenShiftClient |
ocp |
protected static io.debezium.testing.openshift.tools.kafka.OperatorController |
operatorController |
static String |
REGISTRY_DEPLOYMENT_PATH |
static String |
REGISTRY_ID_TOPIC_PATH |
static String |
REGISTRY_STORAGE_TOPIC_PATH |
protected static io.debezium.testing.openshift.tools.registry.RegistryController |
registryController |
protected static io.debezium.testing.openshift.tools.registry.RegistryDeployer |
registryDeployer |
protected static TestUtils |
testUtils |
| Constructor and Description |
|---|
ConnectorTestBase() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
deployKafkaCluster() |
private static void |
initKafkaConsumerProps() |
static void |
setup() |
static void |
teardown() |
private static final org.slf4j.Logger LOGGER
protected static io.fabric8.openshift.client.OpenShiftClient ocp
protected static TestUtils testUtils
protected static okhttp3.OkHttpClient httpClient
protected static KafkaAssertions assertions
public static final String KAFKA
public static final String KAFKA_CONNECT_S2I_LOGGING
public static final String KAFKA_CONNECT_S2I
public static final String REGISTRY_DEPLOYMENT_PATH
public static final String REGISTRY_STORAGE_TOPIC_PATH
public static final String REGISTRY_ID_TOPIC_PATH
protected static Properties KAFKA_CONSUMER_PROPS
protected static io.debezium.testing.openshift.tools.kafka.KafkaDeployer kafkaDeployer
protected static io.debezium.testing.openshift.tools.kafka.KafkaController kafkaController
protected static io.debezium.testing.openshift.tools.kafka.KafkaConnectController kafkaConnectController
protected static io.debezium.testing.openshift.tools.kafka.OperatorController operatorController
protected static io.debezium.testing.openshift.tools.registry.RegistryDeployer registryDeployer
protected static io.debezium.testing.openshift.tools.registry.RegistryController registryController
@BeforeAll
public static void setup()
throws InterruptedException
InterruptedExceptionprivate static void deployKafkaCluster()
throws InterruptedException
InterruptedExceptionprivate static void initKafkaConsumerProps()
@AfterAll public static void teardown()
Copyright © 2021 JBoss by Red Hat. All rights reserved.