* fix build: run gradlew format
* Revert "fix build: run gradlew format"
This reverts commit e679b4f26f.
* fix connector template to fix the build
42 lines
1.3 KiB
Handlebars
42 lines
1.3 KiB
Handlebars
/*
|
|
* Copyright (c) 2022 Airbyte, Inc., all rights reserved.
|
|
*/
|
|
|
|
package io.airbyte.integrations.destination.{{snakeCase name}};
|
|
|
|
import com.fasterxml.jackson.databind.JsonNode;
|
|
import io.airbyte.integrations.BaseConnector;
|
|
import io.airbyte.integrations.base.AirbyteMessageConsumer;
|
|
import io.airbyte.integrations.base.Destination;
|
|
import io.airbyte.integrations.base.IntegrationRunner;
|
|
import io.airbyte.protocol.models.AirbyteConnectionStatus;
|
|
import io.airbyte.protocol.models.AirbyteMessage;
|
|
import io.airbyte.protocol.models.ConfiguredAirbyteCatalog;
|
|
import java.util.function.Consumer;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
public class {{properCase name}}Destination extends BaseConnector implements Destination {
|
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger({{properCase name}}Destination.class);
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
new IntegrationRunner(new {{properCase name}}Destination()).run(args);
|
|
}
|
|
|
|
@Override
|
|
public AirbyteConnectionStatus check(JsonNode config) {
|
|
// TODO
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public AirbyteMessageConsumer getConsumer(JsonNode config,
|
|
ConfiguredAirbyteCatalog configuredCatalog,
|
|
Consumer<AirbyteMessage> outputRecordCollector) {
|
|
// TODO
|
|
return null;
|
|
}
|
|
|
|
}
|