Class CloudEventsConverterIT

All Implemented Interfaces:
Testing

public class CloudEventsConverterIT extends AbstractMongoConnectorIT
Test to verify MongoDB connector behaviour with CloudEvents converter for all streaming events.
Author:
Jiri Pechanec
  • Field Details

  • Constructor Details

    • CloudEventsConverterIT

      public CloudEventsConverterIT()
  • Method Details

    • beforeEach

      public void beforeEach()
      Overrides:
      beforeEach in class AbstractMongoConnectorIT
    • testCorrectFormat

      public void testCorrectFormat() throws Exception
      Throws:
      Exception
    • shouldConvertToCloudEventsInJsonWithoutExtensionAttributes

      @FixFor("DBZ-6982") public void shouldConvertToCloudEventsInJsonWithoutExtensionAttributes() throws Exception
      Throws:
      Exception
    • shouldConvertToCloudEventsInJsonWithMetadataAndIdAndTypeInHeadersAfterOutboxEventRouter

      @FixFor("DBZ-3642") public void shouldConvertToCloudEventsInJsonWithMetadataAndIdAndTypeInHeadersAfterOutboxEventRouter() throws Exception
      Throws:
      Exception
    • shouldConvertToCloudEventsInJsonWithGeneratedIdAndTypeFromHeader

      @FixFor("DBZ-7016") public void shouldConvertToCloudEventsInJsonWithGeneratedIdAndTypeFromHeader() throws Exception
      Throws:
      Exception
    • shouldThrowExceptionWhenDeserializingNotCloudEventJson

      @FixFor("DBZ-7159") public void shouldThrowExceptionWhenDeserializingNotCloudEventJson() throws Exception
      Throws:
      Exception
    • shouldThrowExceptionWhenDeserializingNotCloudEventAvro

      @FixFor("DBZ-7159") public void shouldThrowExceptionWhenDeserializingNotCloudEventAvro() throws Exception
      Throws:
      Exception
    • getConfiguration

      private Configuration getConfiguration()