airbyte-integrations/connectors/destination-dev-null/README.md
This is the repository for the Null destination connector in Java. For information about how to use this connector within Airbyte, see the User Documentation.
From the Airbyte repository root, run:
./gradlew :airbyte-integrations:connectors:destination-dev-null:build
No credential is needed for this connector.
Build the connector image via Gradle:
./gradlew :airbyte-integrations:connectors:destination-dev-null:buildConnectorImage
Once built, the docker image name and tag on your host will be airbyte/destination-dev-null:dev.
the Dockerfile.
Then run any of the connector commands as follows:
docker run --rm airbyte/destination-dev-null:dev spec
docker run --rm -v $(pwd)/secrets:/secrets airbyte/destination-dev-null:dev check --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets airbyte/destination-dev-null:dev discover --config /secrets/config.json
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/destination-dev-null:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
The cloud variant of this connector is Dev Null Destination. It only allows the "silent" mode. When this mode is changed, please make sure that the Dev Null Destination is updated and published accordingly as well.
We use JUnit for Java tests.
Place unit tests under src/test/io/airbyte/integrations/destinations/dev-null.
Airbyte has a standard test suite that all destination connectors must pass. See example(s) in
src/test-integration/java/io/airbyte/integrations/destinations/dev-null/.
All commands should be run from airbyte project root. To run unit tests:
./gradlew :airbyte-integrations:connectors:destination-dev-null:unitTest
To run acceptance and custom integration tests:
./gradlew :airbyte-integrations:connectors:destination-dev-null:integrationTest
You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what?
airbyte-ci connectors --name=destination-dev-null testmetadata.yaml: increment the dockerImageTag value. Please follow semantic versioning for connectors.metadata.yaml content is up to date.docs/integrations/destinations/dev-null.md).