public class FieldBlacklistTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private Configurator |
build |
private static String |
PATCH |
private static String |
SERVER_NAME |
private io.debezium.connector.mongodb.SourceInfo |
source |
private io.debezium.schema.TopicSelector<io.debezium.connector.mongodb.CollectionId> |
topicSelector |
private static org.bson.json.JsonWriterSettings |
WRITER_SETTINGS |
| Constructor and Description |
|---|
FieldBlacklistTest() |
private static final String SERVER_NAME
private static final String PATCH
private static final org.bson.json.JsonWriterSettings WRITER_SETTINGS
private Configurator build
private io.debezium.connector.mongodb.SourceInfo source
private io.debezium.schema.TopicSelector<io.debezium.connector.mongodb.CollectionId> topicSelector
public void setup()
public void shouldNotExcludeFieldsForEventOfOtherCollection()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForReadEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeMissingFieldsForReadEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForReadEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedMissingFieldsForReadEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeMissingFieldsForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedMissingFieldsForInsertEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForUpdateEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeMissingFieldsForUpdateEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForUpdateEventWithEmbeddedDocument()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedMissingFieldsForUpdateEventWithEmbeddedDocument()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedFieldsForUpdateEventWithArrayOfArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForSetTopLevelFieldUpdateEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForUnsetTopLevelFieldUpdateEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForSetTopLevelFieldUpdateEventWithEmbeddedDocument()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForSetTopLevelFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedFieldsForSetTopLevelFieldUpdateEventWithArrayOfArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForSetNestedFieldUpdateEventWithEmbeddedDocument()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForSetNestedFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedFieldsForSetNestedFieldUpdateEventWithArrayOfArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForSetNestedFieldUpdateEventWithSeveralArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForSetNestedFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForSetToArrayFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForUnsetNestedFieldUpdateEventWithEmbeddedDocument()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForUnsetNestedFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldNotExcludeNestedFieldsForUnsetNestedFieldUpdateEventWithArrayOfArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeNestedFieldsForUnsetNestedFieldUpdateEventWithSeveralArrays()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForUnsetNestedFieldUpdateEventWithArrayOfEmbeddedDocuments()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForDeleteEvent()
throws InterruptedException
InterruptedExceptionpublic void shouldExcludeFieldsForDeleteTombstoneEvent()
throws InterruptedException
InterruptedExceptionprivate org.apache.kafka.connect.data.Struct getValue(List<org.apache.kafka.connect.source.SourceRecord> produced)
private org.bson.Document createEvent(org.bson.Document obj,
String op)
private org.bson.Document createUpdateEvent(org.bson.Document obj,
org.bson.types.ObjectId objId)
Copyright © 2019 JBoss by Red Hat. All rights reserved.