Class OracleSchemaMigrationIT

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.OracleSchemaMigrationIT
All Implemented Interfaces:
Testing

public class OracleSchemaMigrationIT extends AbstractConnectorTest
Integration tests for the Oracle DDL and schema migration.
Author:
Chris Cranford
  • Field Details

    • connection

      private io.debezium.connector.oracle.OracleConnection connection
  • Constructor Details

    • OracleSchemaMigrationIT

      public OracleSchemaMigrationIT()
  • Method Details

    • beforeEach

      public void beforeEach() throws Exception
      Throws:
      Exception
    • afterEach

      public void afterEach() throws Exception
      Throws:
      Exception
    • shouldStreamNewlyCreatedNotFilteredTable

      @FixFor("DBZ-2916") public void shouldStreamNewlyCreatedNotFilteredTable() throws Exception
      Throws:
      Exception
    • shouldNotStreamNewlyCreatedTableDueToFilters

      @FixFor("DBZ-2916") public void shouldNotStreamNewlyCreatedTableDueToFilters() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableAddColumnSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableAddColumnSchemaChange() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableAddMultipleColumnsSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableAddMultipleColumnsSchemaChange() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableRenameColumnSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableRenameColumnSchemaChange() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableDropColumnSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableDropColumnSchemaChange() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableDropMultipleColumnsSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableDropMultipleColumnsSchemaChange() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableRenameTableSchemaChange

      @FixFor("DBZ-2916") public void shouldStreamAlterTableRenameTableSchemaChange() throws Exception
      Throws:
      Exception
    • shouldNotStreamAfterTableRenameToExcludedName

      @FixFor("DBZ-2916") public void shouldNotStreamAfterTableRenameToExcludedName() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableChangeColumnDataType

      @FixFor("DBZ-2916") public void shouldStreamAlterTableChangeColumnDataType() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableChangeColumnNullability

      @FixFor("DBZ-2916") public void shouldStreamAlterTableChangeColumnNullability() throws Exception
      Throws:
      Exception
    • shouldStreamAlterTableChangeColumnPrecisionAndScale

      @FixFor("DBZ-2916") public void shouldStreamAlterTableChangeColumnPrecisionAndScale() throws Exception
      Throws:
      Exception
    • shouldStreamDropTable

      @FixFor("DBZ-2916") public void shouldStreamDropTable() throws Exception
      Throws:
      Exception
    • shouldSnapshotAndStreamSchemaChangesUsingExplicitCasedNames

      @FixFor("DBZ-2916") public void shouldSnapshotAndStreamSchemaChangesUsingExplicitCasedNames() throws Exception
      Throws:
      Exception
    • shouldNotEmitDdlEventsForNonTableObjects

      @FixFor("DBZ-2916") public void shouldNotEmitDdlEventsForNonTableObjects() throws Exception
      Throws:
      Exception
    • shouldParseSchemaChangeWithoutErrorOnFilteredTableWithRawDataType

      @FixFor("DBZ-4037") public void shouldParseSchemaChangeWithoutErrorOnFilteredTableWithRawDataType() throws Exception
      Throws:
      Exception
    • shouldParseSchemaChangeOnTableWithRawDataType

      @FixFor("DBZ-4037") public void shouldParseSchemaChangeOnTableWithRawDataType() throws Exception
      Throws:
      Exception
    • shouldNotResendSchemaChangeIfLastEventReadBeforeRestart

      @FixFor("DBZ-4782") public void shouldNotResendSchemaChangeIfLastEventReadBeforeRestart() throws Exception
      Throws:
      Exception
    • shouldNotResendSchemaChangeIfLastEventReadBeforeRestartWithFollowupDml

      @FixFor("DBZ-4782") public void shouldNotResendSchemaChangeIfLastEventReadBeforeRestartWithFollowupDml() throws Exception
      Throws:
      Exception
    • shouldNotResendSchemaChangeWithInprogressTransactionOnSecondTable

      @FixFor("DBZ-4782") public void shouldNotResendSchemaChangeWithInprogressTransactionOnSecondTable() throws Exception
      Throws:
      Exception
    • shouldOnlyCaptureSchemaChangesForIncludedTables

      @FixFor("DBZ-5285") public void shouldOnlyCaptureSchemaChangesForIncludedTables() throws Exception
      Throws:
      Exception
    • shouldCaptureSchemaChangesForAllTablesRegardlessOfIncludeList

      @FixFor("DBZ-5285") public void shouldCaptureSchemaChangesForAllTablesRegardlessOfIncludeList() throws Exception
      Throws:
      Exception
    • getTableIdString

      private static String getTableIdString(String schemaName, String tableName)
    • createTable

      private void createTable(String tableName, String sql) throws SQLException
      Throws:
      SQLException
    • assertSnapshotSchemaChange

      private static void assertSnapshotSchemaChange(org.apache.kafka.connect.source.SourceRecord record)
    • assertStreamingSchemaChange

      private static void assertStreamingSchemaChange(org.apache.kafka.connect.source.SourceRecord record)
    • assertTableChange

      private static void assertTableChange(org.apache.kafka.connect.data.Struct change, String type, String schema, String table)
    • assertTableChangePrimaryKeyNames

      private static void assertTableChangePrimaryKeyNames(org.apache.kafka.connect.data.Struct change, String... names)
    • assertTableChangeColumn

      private static void assertTableChangeColumn(org.apache.kafka.connect.data.Struct change, int index, String columnName)
    • assertSourceTableInfo

      private static void assertSourceTableInfo(org.apache.kafka.connect.source.SourceRecord record, String schema, String table)
    • topicName

      private static String topicName(String schema, String table)
    • getIgnoreCreateTable

      private static String getIgnoreCreateTable(String tableName)
    • getIgnoreAlterTable

      private static String getIgnoreAlterTable(String tableName)