Package io.debezium.connector.oracle
Class OracleConnectorFilterIT
java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.OracleConnectorFilterIT
- All Implemented Interfaces:
Testing
Integration test for the Debezium Oracle connector.
- Author:
- Gunnar Morling
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.embedded.AbstractConnectorTest
AbstractConnectorTest.SourceRecordsNested classes/interfaces inherited from interface io.debezium.util.Testing
Testing.Debug, Testing.Files, Testing.InterruptableFunction, Testing.Network, Testing.Print, Testing.Timer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static io.debezium.connector.oracle.OracleConnectionprivate static io.debezium.connector.oracle.OracleConnectionorg.junit.rules.TestRuleFields inherited from class io.debezium.embedded.AbstractConnectorTest
engine, logger, logTestName, OFFSET_STORE_PATH, pollTimeoutInMs, skipTestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()voidbefore()static voidstatic voidvoidvoidvoidvoidprivate voidshouldApplySchemaAndTableExclusionsConfiguration(boolean useLegacyOption) voidprivate voidshouldApplySchemaAndTableInclusionConfiguration(boolean useLegacyOption) voidvoidvoidprivate voidshouldApplyTableExclusionsConfiguration(boolean useLegacyOption) voidprivate voidshouldApplyTableInclusionConfiguration(boolean useLegacyOption) voidvoidMethods inherited from class io.debezium.embedded.AbstractConnectorTest
assertBeginTransaction, assertConfigurationErrors, assertConfigurationErrors, assertConfigurationErrors, assertConnectorIsRunning, assertConnectorNotRunning, assertDelete, assertEndTransaction, assertEngineIsRunning, assertHasNoSourceQuery, assertInsert, assertKey, assertNoConfigurationErrors, assertNoRecordsToConsume, assertOffset, assertOffset, assertOnlyTransactionRecordsToConsume, assertRecordTransactionMetadata, assertSchemaMatchesStruct, assertSchemaMatchesStruct, assertSourceQuery, assertTombstone, assertTombstone, assertUpdate, assertValueField, configValue, consumeAvailableRecords, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeDmlRecordsByTopic, consumeRecord, consumeRecords, consumeRecords, consumeRecords, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopic, consumeRecordsByTopicUntil, consumeRecordsUntil, debug, getMaximumEnqueuedRecordCount, getSnapshotMetricsObjectName, getStreamingMetricsObjectName, getStreamingMetricsObjectName, getStreamingNamespace, initializeConnectorTestFramework, isStreamingRunning, isStreamingRunning, isTransactionRecord, loggingCompletion, print, readLastCommittedOffset, readLastCommittedOffsets, setConsumeTimeout, skipAvroValidation, start, start, start, start, start, startAndConsumeTillEnd, startAndConsumeTillEnd, stopConnector, stopConnector, validate, waitForAvailableRecords, waitForConnectorShutdown, waitForSnapshotToBeCompleted, waitForStreamingRunning, waitForStreamingRunning, waitTimeForRecords, waitTimeForRecordsAfterNulls
-
Field Details
-
connection
private static io.debezium.connector.oracle.OracleConnection connection -
adminConnection
private static io.debezium.connector.oracle.OracleConnection adminConnection -
skipRule
public org.junit.rules.TestRule skipRule
-
-
Constructor Details
-
OracleConnectorFilterIT
public OracleConnectorFilterIT()
-
-
Method Details
-
beforeClass
- Throws:
SQLException
-
closeConnection
- Throws:
SQLException
-
before
- Throws:
SQLException
-
after
- Throws:
SQLException
-
shouldApplyTableWhitelistConfiguration
- Throws:
Exception
-
shouldApplyTableIncludeListConfiguration
- Throws:
Exception
-
shouldApplyTableBlacklistConfiguration
- Throws:
Exception
-
shouldApplyTableExcludeListConfiguration
- Throws:
Exception
-
shouldApplySchemaAndTableWhitelistConfiguration
- Throws:
Exception
-
shouldApplySchemaAndTableIncludeListConfiguration
@FixFor("DBZ-3009") public void shouldApplySchemaAndTableIncludeListConfiguration() throws Exception- Throws:
Exception
-
shouldApplySchemaAndTableBlacklistConfiguration
- Throws:
Exception
-
shouldApplySchemaAndTableExcludeListConfiguration
@FixFor("DBZ-3009") public void shouldApplySchemaAndTableExcludeListConfiguration() throws Exception- Throws:
Exception
-
shouldApplyColumnIncludeListConfiguration
@FixFor({"DBZ-3167","DBZ-3219"}) public void shouldApplyColumnIncludeListConfiguration() throws Exception- Throws:
Exception
-
shouldApplyColumnExcludeListConfiguration
@FixFor({"DBZ-3167","DBZ-3219"}) public void shouldApplyColumnExcludeListConfiguration() throws Exception- Throws:
Exception
-
shouldApplyTableInclusionConfiguration
- Throws:
Exception
-
shouldApplySchemaAndTableInclusionConfiguration
private void shouldApplySchemaAndTableInclusionConfiguration(boolean useLegacyOption) throws Exception - Throws:
Exception
-
shouldApplyTableExclusionsConfiguration
- Throws:
Exception
-
shouldApplySchemaAndTableExclusionsConfiguration
private void shouldApplySchemaAndTableExclusionsConfiguration(boolean useLegacyOption) throws Exception - Throws:
Exception
-
shouldTakeTimeDifference
- Throws:
Exception
-