Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed formatting #15359

Merged
merged 1 commit into from
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2022 Airbyte, Inc., all rights reserved.
*/

package io.airbyte.integrations.destination.bigquery;

import io.airbyte.integrations.base.AirbyteStreamNameNamespacePair;
Expand All @@ -23,11 +27,14 @@ public class BigQueryRecordConsumerTest extends PerStreamStateMessageTest {
@InjectMocks
private BigQueryRecordConsumer bigQueryRecordConsumer;

@Override protected Consumer<AirbyteMessage> getMockedConsumer() {
@Override
protected Consumer<AirbyteMessage> getMockedConsumer() {
return outputRecordCollector;
}

@Override protected FailureTrackingAirbyteMessageConsumer getMessageConsumer() {
@Override
protected FailureTrackingAirbyteMessageConsumer getMessageConsumer() {
return bigQueryRecordConsumer;
}

}
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright (c) 2022 Airbyte, Inc., all rights reserved.
*/

package io.airbyte.integrations.destination.mongodb;

import io.airbyte.db.mongodb.MongoDatabase;
Expand Down Expand Up @@ -31,11 +35,14 @@ public class MongodbRecordConsumerTest extends PerStreamStateMessageTest {
@InjectMocks
private MongodbRecordConsumer mongodbRecordConsumer;

@Override protected Consumer<AirbyteMessage> getMockedConsumer() {
@Override
protected Consumer<AirbyteMessage> getMockedConsumer() {
return outputRecordCollector;
}

@Override protected FailureTrackingAirbyteMessageConsumer getMessageConsumer() {
@Override
protected FailureTrackingAirbyteMessageConsumer getMessageConsumer() {
return mongodbRecordConsumer;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ protected JsonNode getConfig() {

@Override
protected List<JsonNode> retrieveRecords(final TestDestinationEnv env,
final String streamName,
final String namespace,
final JsonNode streamSchema)
final String streamName,
final String namespace,
final JsonNode streamSchema)
throws Exception {
return retrieveRecordsFromTable(namingResolver.getRawTableName(streamName), namespace)
.stream()
Expand Down Expand Up @@ -110,8 +110,8 @@ protected boolean supportObjectDataTypeTest() {

@Override
protected List<JsonNode> retrieveNormalizedRecords(final TestDestinationEnv env,
final String streamName,
final String namespace)
final String streamName,
final String namespace)
throws Exception {
final String tableName = namingResolver.getIdentifier(streamName);
return retrieveRecordsFromTable(tableName, namespace);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ void testExtraParams() {
private JsonNode buildConfigWithExtraJdbcParameters(String extraParam) {

return Jsons.jsonNode(com.google.common.collect.ImmutableMap.of(
"host", "localhost",
"port", 1773,
"sid", "ORCL",
"database", "db",
"username", "username",
"password", "verysecure",
"jdbc_url_params", extraParam));
"host", "localhost",
"port", 1773,
"sid", "ORCL",
"database", "db",
"username", "username",
"password", "verysecure",
"jdbc_url_params", extraParam));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@
},
"failed_delivery_checks": {
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
"properties": {
"summary": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"check_name": {
"type": ["null", "string"]
}
"items": {
"type": ["null", "object"],
"properties": {
"summary": {
"type": ["null", "string"]
},
"description": {
"type": ["null", "string"]
},
"check_name": {
"type": ["null", "string"]
}
}
}
},
"fb_entity": {
"type": ["null", "number"]
Expand Down
Loading