diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 9539354c2367..6d81cca95be6 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.39.1-alpha +current_version = 0.39.5-alpha commit = False tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-[a-z]+)? diff --git a/.env b/.env index a80483caef0e..fa0af2c5fc5b 100644 --- a/.env +++ b/.env @@ -10,7 +10,7 @@ ### SHARED ### -VERSION=0.39.1-alpha +VERSION=0.39.5-alpha # When using the airbyte-db via default docker image CONFIG_ROOT=/data diff --git a/.github/actions/build-and-push-branch/action.yml b/.github/actions/build-and-push-branch/action.yml index 6be0a94d2e99..6bfb5e09f654 100644 --- a/.github/actions/build-and-push-branch/action.yml +++ b/.github/actions/build-and-push-branch/action.yml @@ -19,7 +19,7 @@ runs: - name: Login to Docker (on Master) uses: docker/login-action@v1 with: - username: airbytebot + username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ inputs.dockerhub_token }} - name: Push Docker Images diff --git a/.github/workflows/build-connector-command.yml b/.github/workflows/build-connector-command.yml index ff39163501be..4ea3f232b2dc 100644 --- a/.github/workflows/build-connector-command.yml +++ b/.github/workflows/build-connector-command.yml @@ -186,7 +186,8 @@ jobs: id: build env: PR_NUMBER: ${{ github.event.number }} - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} # Oracle expects this variable to be set. Although usually present, this is not set by default on Github virtual runners. TZ: UTC # - name: Test ${{ github.event.inputs.connector }} diff --git a/.github/workflows/gke-kube-test-command.yml b/.github/workflows/gke-kube-test-command.yml index 7b8a8919af13..72c5054fdfe6 100644 --- a/.github/workflows/gke-kube-test-command.yml +++ b/.github/workflows/gke-kube-test-command.yml @@ -116,7 +116,8 @@ jobs: env: USER: root HOME: /home/runner - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} ACTION_RUN_ID: ${{github.run_id}} run: | ./tools/bin/gke-kube-acceptance-test/acceptance_test_kube_gke.sh diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index e75e5b0d2f55..22890633a869 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -65,14 +65,19 @@ jobs: aws-access-key-id: ${{ secrets.SELF_RUNNER_AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }} github-token: ${{ needs.find_valid_pat.outputs.pat }} - # 80 gb disk - ec2-image-id: ami-0d648081937c75a73 publish-image: timeout-minutes: 240 needs: start-publish-image-runner runs-on: ${{ needs.start-publish-image-runner.outputs.label }} environment: more-secrets steps: + - name: Link comment to workflow run + if: github.event.inputs.comment-id + uses: peter-evans/create-or-update-comment@v1 + with: + comment-id: ${{ github.event.inputs.comment-id }} + body: | + > :clock2: ${{github.event.inputs.connector}} https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} - name: Set up Cloud SDK uses: google-github-actions/setup-gcloud@v0 with: @@ -88,13 +93,6 @@ jobs: - name: Validate input workflow format if: steps.regex.outputs.first_match != github.event.inputs.connector run: echo "The connector provided has an invalid format!" && exit 1 - - name: Link comment to workflow run - if: github.event.inputs.comment-id - uses: peter-evans/create-or-update-comment@v1 - with: - comment-id: ${{ github.event.inputs.comment-id }} - body: | - > :clock2: ${{github.event.inputs.connector}} https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} - name: Checkout Airbyte uses: actions/checkout@v2 with: @@ -155,12 +153,12 @@ jobs: SENTRY_PROJECT: airbyte-connectors - name: Publish ${{ github.event.inputs.connector }} run: | - echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_USERNAME} -p ${DOCKER_PASSWORD} + echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} ./tools/integrations/manage.sh publish airbyte-integrations/${{ github.event.inputs.connector }} ${{ github.event.inputs.run-tests }} --publish_spec_to_cache id: publish env: - DOCKER_USERNAME: airbytebot - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} # Oracle expects this variable to be set. Although usually present, this is not set by default on Github virtual runners. TZ: UTC - name: Finalize Sentry release diff --git a/.github/workflows/publish-external-command.yml b/.github/workflows/publish-external-command.yml index de68b9ff08ed..ff85f1c147b2 100644 --- a/.github/workflows/publish-external-command.yml +++ b/.github/workflows/publish-external-command.yml @@ -85,12 +85,13 @@ jobs: repository: ${{ gituhb.event.inputs.repo }} ref: ${{ github.event.inputs.gitref }} - run: | - echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u airbytebot -p ${DOCKER_PASSWORD} + echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u ${DOCKER_HUB_USERNAME} -p ${DOCKER_HUB_PASSWORD} ./tools/integrations/manage.sh publish_external ${{ github.event.inputs.connector }} ${{ github.event.inputs.version }} name: publish ${{ github.event.inputs.connector }} id: publish env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} # Oracle expects this variable to be set. Although usually present, this is not set by default on Github virtual runners. TZ: UTC - name: Add Success Comment diff --git a/.github/workflows/release-airbyte-os.yml b/.github/workflows/release-airbyte-os.yml index daf1f94eb6f0..439f03d975d3 100644 --- a/.github/workflows/release-airbyte-os.yml +++ b/.github/workflows/release-airbyte-os.yml @@ -70,7 +70,8 @@ jobs: - name: Release Airbyte id: release_airbyte env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} PART_TO_BUMP: ${{ github.event.inputs.partToBump }} CLOUDREPO_USER: ${{ secrets.CLOUDREPO_USER }} CLOUDREPO_PASSWORD: ${{ secrets.CLOUDREPO_PASSWORD }} @@ -100,7 +101,8 @@ jobs: - name: Release Octavia id: release_octavia env: - DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }} + DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} PART_TO_BUMP: ${{ github.event.inputs.partToBump }} run: ./tools/bin/release_version_octavia.sh diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index b852e3ea10ad..66bcf10f782d 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -64,6 +64,13 @@ jobs: runs-on: ${{ needs.start-test-runner.outputs.label }} environment: more-secrets steps: + - name: Link comment to workflow run + if: github.event.inputs.comment-id + uses: peter-evans/create-or-update-comment@v1 + with: + comment-id: ${{ github.event.inputs.comment-id }} + body: | + > :clock2: ${{github.event.inputs.connector}} https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} - name: Search for valid connector name format id: regex uses: AsasInnab/regex-action@v1 @@ -74,13 +81,6 @@ jobs: - name: Validate input workflow format if: steps.regex.outputs.first_match != github.event.inputs.connector run: echo "The connector provided has an invalid format!" && exit 1 - - name: Link comment to workflow run - if: github.event.inputs.comment-id - uses: peter-evans/create-or-update-comment@v1 - with: - comment-id: ${{ github.event.inputs.comment-id }} - body: | - > :clock2: ${{github.event.inputs.connector}} https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} - name: Checkout Airbyte uses: actions/checkout@v2 with: @@ -113,7 +113,7 @@ jobs: env: GCP_GSM_CREDENTIALS: ${{ secrets.GCP_GSM_CREDENTIALS }} - - name: test ${{ github.event.inputs.connector }} + - name: Test ${{ github.event.inputs.connector }} run: | ./tools/bin/ci_integration_test.sh ${{ github.event.inputs.connector }} id: test diff --git a/LICENSE_SHORT b/LICENSE_SHORT index ddae2fe7c9b7..310dba089a8a 100644 --- a/LICENSE_SHORT +++ b/LICENSE_SHORT @@ -1 +1 @@ -Copyright (c) 2021 Airbyte, Inc., all rights reserved. +Copyright (c) 2022 Airbyte, Inc., all rights reserved. diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/Deployment.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/Deployment.java index dd9295991783..ae157d8ebb2e 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/Deployment.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/Deployment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/LoggingTrackingClient.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/LoggingTrackingClient.java index 5459c02feeda..4b206f61e840 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/LoggingTrackingClient.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/LoggingTrackingClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/SegmentTrackingClient.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/SegmentTrackingClient.java index 575b101a471a..840b5f315e07 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/SegmentTrackingClient.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/SegmentTrackingClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClient.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClient.java index e123d806231b..edc7627a07f1 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClient.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClientSingleton.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClientSingleton.java index 0cb07e76f5d9..d64e6c4536ce 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClientSingleton.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingClientSingleton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingIdentity.java b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingIdentity.java index f7acd96296cd..54703c9a27e8 100644 --- a/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingIdentity.java +++ b/airbyte-analytics/src/main/java/io/airbyte/analytics/TrackingIdentity.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/test/java/io/airbyte/analytics/SegmentTrackingClientTest.java b/airbyte-analytics/src/test/java/io/airbyte/analytics/SegmentTrackingClientTest.java index d6d0bb9eb0e9..efa67e5c26f8 100644 --- a/airbyte-analytics/src/test/java/io/airbyte/analytics/SegmentTrackingClientTest.java +++ b/airbyte-analytics/src/test/java/io/airbyte/analytics/SegmentTrackingClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-analytics/src/test/java/io/airbyte/analytics/TrackingClientSingletonTest.java b/airbyte-analytics/src/test/java/io/airbyte/analytics/TrackingClientSingletonTest.java index 055b6fa52cdd..fb6908c051e2 100644 --- a/airbyte-analytics/src/test/java/io/airbyte/analytics/TrackingClientSingletonTest.java +++ b/airbyte-analytics/src/test/java/io/airbyte/analytics/TrackingClientSingletonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.analytics; diff --git a/airbyte-api/build.gradle b/airbyte-api/build.gradle index c083974052be..c26782f124a3 100644 --- a/airbyte-api/build.gradle +++ b/airbyte-api/build.gradle @@ -17,9 +17,9 @@ task generateApiServer(type: GenerateTask) { inputSpec = specFile outputDir = serverOutputDir - apiPackage = "io.airbyte.api" - invokerPackage = "io.airbyte.api.invoker" - modelPackage = "io.airbyte.api.model" + apiPackage = "io.airbyte.api.generated" + invokerPackage = "io.airbyte.api.invoker.generated" + modelPackage = "io.airbyte.api.model.generated" importMappings = [ 'OAuthConfiguration' : 'com.fasterxml.jackson.databind.JsonNode', @@ -51,9 +51,9 @@ task generateApiClient(type: GenerateTask) { inputSpec = specFile outputDir = clientOutputDir - apiPackage = "io.airbyte.api.client" - invokerPackage = "io.airbyte.api.client.invoker" - modelPackage = "io.airbyte.api.client.model" + apiPackage = "io.airbyte.api.client.generated" + invokerPackage = "io.airbyte.api.client.invoker.generated" + modelPackage = "io.airbyte.api.client.model.generated" importMappings = [ 'OAuthConfiguration' : 'com.fasterxml.jackson.databind.JsonNode', @@ -84,9 +84,9 @@ task generateApiDocs(type: GenerateTask) { inputSpec = specFile outputDir = docsOutputDir - apiPackage = "io.airbyte.api.client" - invokerPackage = "io.airbyte.api.client.invoker" - modelPackage = "io.airbyte.api.client.model" + apiPackage = "io.airbyte.api.client.generated" + invokerPackage = "io.airbyte.api.client.invoker.generated" + modelPackage = "io.airbyte.api.client.model.generated" importMappings = [ 'OAuthConfiguration' : 'com.fasterxml.jackson.databind.JsonNode', diff --git a/airbyte-api/src/main/java/io/airbyte/api/client/AirbyteApiClient.java b/airbyte-api/src/main/java/io/airbyte/api/client/AirbyteApiClient.java index 341cc33779aa..76945a0f0d5b 100644 --- a/airbyte-api/src/main/java/io/airbyte/api/client/AirbyteApiClient.java +++ b/airbyte-api/src/main/java/io/airbyte/api/client/AirbyteApiClient.java @@ -1,10 +1,22 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.api.client; -import io.airbyte.api.client.invoker.ApiClient; +import io.airbyte.api.client.generated.ConnectionApi; +import io.airbyte.api.client.generated.DbMigrationApi; +import io.airbyte.api.client.generated.DestinationApi; +import io.airbyte.api.client.generated.DestinationDefinitionApi; +import io.airbyte.api.client.generated.DestinationDefinitionSpecificationApi; +import io.airbyte.api.client.generated.HealthApi; +import io.airbyte.api.client.generated.JobsApi; +import io.airbyte.api.client.generated.OperationApi; +import io.airbyte.api.client.generated.SourceApi; +import io.airbyte.api.client.generated.SourceDefinitionApi; +import io.airbyte.api.client.generated.SourceDefinitionSpecificationApi; +import io.airbyte.api.client.generated.WorkspaceApi; +import io.airbyte.api.client.invoker.generated.ApiClient; /** * This class is meant to consolidate all our API endpoints into a fluent-ish client. Currently, all diff --git a/airbyte-api/src/main/java/io/airbyte/api/client/PatchedLogsApi.java b/airbyte-api/src/main/java/io/airbyte/api/client/PatchedLogsApi.java index baa809452139..221107722f80 100644 --- a/airbyte-api/src/main/java/io/airbyte/api/client/PatchedLogsApi.java +++ b/airbyte-api/src/main/java/io/airbyte/api/client/PatchedLogsApi.java @@ -1,14 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.api.client; import com.fasterxml.jackson.databind.ObjectMapper; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; -import io.airbyte.api.client.invoker.ApiResponse; -import io.airbyte.api.client.model.LogsRequestBody; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; +import io.airbyte.api.client.invoker.generated.ApiResponse; +import io.airbyte.api.client.model.generated.LogsRequestBody; import java.io.File; import java.io.IOException; import java.io.InputStream; @@ -21,9 +21,9 @@ import org.apache.commons.io.FileUtils; /** - * This class is a copy of {@link LogsApi} except it allows Accept: text/plain. Without this - * modification, {@link LogsApi} returns a 406 because the generated code requests the wrong - * response type. + * This class is a copy of {@link io.airbyte.api.client.generated.LogsApi} except it allows Accept: + * text/plain. Without this modification, {@link io.airbyte.api.client.generated.LogsApi} returns a + * 406 because the generated code requests the wrong response type. */ public class PatchedLogsApi { diff --git a/airbyte-api/src/main/openapi/config.yaml b/airbyte-api/src/main/openapi/config.yaml index 26adc3dfd97c..1b760d05648e 100644 --- a/airbyte-api/src/main/openapi/config.yaml +++ b/airbyte-api/src/main/openapi/config.yaml @@ -3844,6 +3844,8 @@ components: $ref: "#/components/schemas/AttemptFailureType" externalMessage: type: string + internalMessage: + type: string stacktrace: type: string retryable: diff --git a/airbyte-bootloader/Dockerfile b/airbyte-bootloader/Dockerfile index 1d9aac6ec570..2fd63e28d5a2 100644 --- a/airbyte-bootloader/Dockerfile +++ b/airbyte-bootloader/Dockerfile @@ -2,7 +2,7 @@ ARG JDK_VERSION=17.0.1 ARG JDK_IMAGE=openjdk:${JDK_VERSION}-slim FROM ${JDK_IMAGE} -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-bootloader ENV VERSION ${VERSION} diff --git a/airbyte-bootloader/src/main/java/io/airbyte/bootloader/BootloaderApp.java b/airbyte-bootloader/src/main/java/io/airbyte/bootloader/BootloaderApp.java index 089f5c0f9d41..bfb0bfe96c1f 100644 --- a/airbyte-bootloader/src/main/java/io/airbyte/bootloader/BootloaderApp.java +++ b/airbyte-bootloader/src/main/java/io/airbyte/bootloader/BootloaderApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.bootloader; @@ -21,12 +21,12 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; +import io.airbyte.db.factory.DatabaseCheckFactory; import io.airbyte.db.factory.DatabaseDriver; import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; import io.airbyte.db.instance.jobs.JobsDatabaseMigrator; import io.airbyte.scheduler.persistence.DefaultJobPersistence; import io.airbyte.scheduler.persistence.JobPersistence; @@ -69,6 +69,8 @@ public class BootloaderApp { private JobPersistence jobPersistence; private final Flyway configsFlyway; private final Flyway jobsFlyway; + private final DSLContext configsDslContext; + private final DSLContext jobsDslContext; /** * This method is exposed for Airbyte Cloud consumption. This lets us override the seed loading @@ -93,7 +95,9 @@ public BootloaderApp(final Configs configs, this.postLoadExecution = postLoadExecution; this.featureFlags = featureFlags; this.secretMigrator = secretMigrator; + this.configsDslContext = configsDslContext; this.configsFlyway = configsFlyway; + this.jobsDslContext = jobsDslContext; this.jobsFlyway = jobsFlyway; initPersistences(configsDslContext, jobsDslContext); @@ -109,7 +113,9 @@ public BootloaderApp(final Configs configs, this.configs = configs; this.featureFlags = featureFlags; this.secretMigrator = secretMigrator; + this.configsDslContext = configsDslContext; this.configsFlyway = configsFlyway; + this.jobsDslContext = jobsDslContext; this.jobsFlyway = jobsFlyway; initPersistences(configsDslContext, jobsDslContext); @@ -132,6 +138,14 @@ public BootloaderApp(final Configs configs, } public void load() throws Exception { + LOGGER.info("Initializing databases..."); + DatabaseCheckFactory.createConfigsDatabaseInitializer(configsDslContext, + configs.getConfigsDatabaseInitializationTimeoutMs(), MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH)).initialize(); + + DatabaseCheckFactory.createJobsDatabaseInitializer(jobsDslContext, + configs.getJobsDatabaseInitializationTimeoutMs(), MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH)).initialize(); + LOGGER.info("Databases initialized."); + LOGGER.info("Setting up config database and default workspace..."); final JobPersistence jobPersistence = new DefaultJobPersistence(jobDatabase); final AirbyteVersion currAirbyteVersion = configs.getAirbyteVersion(); @@ -164,7 +178,7 @@ public void load() throws Exception { } private static Database getConfigDatabase(final DSLContext dslContext) throws IOException { - return new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + return new Database(dslContext); } private static ConfigPersistence getConfigPersistence(final Database configDatabase) throws IOException { @@ -177,7 +191,7 @@ private static ConfigPersistence getConfigPersistence(final Database configDatab } private static Database getJobDatabase(final DSLContext dslContext) throws IOException { - return new JobsDatabaseInstance(dslContext).getAndInitialize(); + return new Database(dslContext); } private static JobPersistence getJobPersistence(final Database jobDatabase) throws IOException { diff --git a/airbyte-bootloader/src/main/java/io/airbyte/bootloader/SecretMigrator.java b/airbyte-bootloader/src/main/java/io/airbyte/bootloader/SecretMigrator.java index d00978b7875c..a4a427b24dbb 100644 --- a/airbyte-bootloader/src/main/java/io/airbyte/bootloader/SecretMigrator.java +++ b/airbyte-bootloader/src/main/java/io/airbyte/bootloader/SecretMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.bootloader; diff --git a/airbyte-bootloader/src/test/java/io/airbyte/bootloader/BootloaderAppTest.java b/airbyte-bootloader/src/test/java/io/airbyte/bootloader/BootloaderAppTest.java index 8570da0bbed5..8c2e360f4d9a 100644 --- a/airbyte-bootloader/src/test/java/io/airbyte/bootloader/BootloaderAppTest.java +++ b/airbyte-bootloader/src/test/java/io/airbyte/bootloader/BootloaderAppTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.bootloader; @@ -28,14 +28,13 @@ import io.airbyte.config.persistence.DatabaseConfigPersistence; import io.airbyte.config.persistence.split_secrets.JsonSecretsProcessor; import io.airbyte.config.persistence.split_secrets.SecretPersistence; -import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.jobs.JobsDatabaseMigrator; +import io.airbyte.db.instance.jobs.JobsDatabaseTestProvider; import io.airbyte.scheduler.persistence.DefaultJobPersistence; import java.util.Optional; import java.util.UUID; @@ -97,6 +96,8 @@ void testBootloaderAppBlankDb() throws Exception { when(mockedConfigs.getDatabasePassword()).thenReturn(container.getPassword()); when(mockedConfigs.getAirbyteVersion()).thenReturn(new AirbyteVersion(version)); when(mockedConfigs.runDatabaseMigrationOnStartup()).thenReturn(true); + when(mockedConfigs.getConfigsDatabaseInitializationTimeoutMs()).thenReturn(60000L); + when(mockedConfigs.getJobsDatabaseInitializationTimeoutMs()).thenReturn(60000L); val mockedFeatureFlags = mock(FeatureFlags.class); when(mockedFeatureFlags.usesNewScheduler()).thenReturn(false); @@ -116,15 +117,16 @@ void testBootloaderAppBlankDb() throws Exception { val configsFlyway = createConfigsFlyway(configsDataSource); val jobsFlyway = createJobsFlyway(jobsDataSource); + val configDatabase = new ConfigsDatabaseTestProvider(configsDslContext, configsFlyway).create(false); + val jobDatabase = new JobsDatabaseTestProvider(jobsDslContext, jobsFlyway).create(false); + val bootloader = new BootloaderApp(mockedConfigs, mockedFeatureFlags, mockedSecretMigrator, configsDslContext, jobsDslContext, configsFlyway, jobsFlyway); bootloader.load(); - val jobDatabase = new JobsDatabaseInstance(jobsDslContext).getInitialized(); val jobsMigrator = new JobsDatabaseMigrator(jobDatabase, jobsFlyway); assertEquals("0.35.62.001", jobsMigrator.getLatestMigration().getVersion().getVersion()); - val configDatabase = new ConfigsDatabaseInstance(configsDslContext).getAndInitialize(); val configsMigrator = new ConfigsDatabaseMigrator(configDatabase, configsFlyway); // this line should change with every new migration // to show that you meant to make a new migration to the prod database @@ -151,6 +153,8 @@ void testBootloaderAppRunSecretMigration() throws Exception { when(mockedConfigs.getAirbyteVersion()).thenReturn(new AirbyteVersion(version)); when(mockedConfigs.runDatabaseMigrationOnStartup()).thenReturn(true); when(mockedConfigs.getSecretPersistenceType()).thenReturn(TESTING_CONFIG_DB_TABLE); + when(mockedConfigs.getConfigsDatabaseInitializationTimeoutMs()).thenReturn(60000L); + when(mockedConfigs.getJobsDatabaseInitializationTimeoutMs()).thenReturn(60000L); val mockedFeatureFlags = mock(FeatureFlags.class); when(mockedFeatureFlags.usesNewScheduler()).thenReturn(false); @@ -166,10 +170,11 @@ void testBootloaderAppRunSecretMigration() throws Exception { val configsFlyway = createConfigsFlyway(configsDataSource); val jobsFlyway = createJobsFlyway(jobsDataSource); - final Database configDatabase = new Database(configsDslContext); - final ConfigPersistence configPersistence = new DatabaseConfigPersistence(configDatabase, jsonSecretsProcessor); + val configDatabase = new ConfigsDatabaseTestProvider(configsDslContext, configsFlyway).create(false); + val jobDatabase = new JobsDatabaseTestProvider(jobsDslContext, jobsFlyway).create(false); - val jobsPersistence = new DefaultJobPersistence(configDatabase); + val configPersistence = new DatabaseConfigPersistence(configDatabase, jsonSecretsProcessor); + val jobsPersistence = new DefaultJobPersistence(jobDatabase); val spiedSecretMigrator = spy(new SecretMigrator(configPersistence, jobsPersistence, SecretPersistence.getLongLived(configsDslContext, mockedConfigs))); @@ -293,6 +298,8 @@ void testPostLoadExecutionExecutes() throws Exception { when(mockedConfigs.getDatabasePassword()).thenReturn(container.getPassword()); when(mockedConfigs.getAirbyteVersion()).thenReturn(new AirbyteVersion(version)); when(mockedConfigs.runDatabaseMigrationOnStartup()).thenReturn(true); + when(mockedConfigs.getConfigsDatabaseInitializationTimeoutMs()).thenReturn(60000L); + when(mockedConfigs.getJobsDatabaseInitializationTimeoutMs()).thenReturn(60000L); val mockedFeatureFlags = mock(FeatureFlags.class); when(mockedFeatureFlags.usesNewScheduler()).thenReturn(false); @@ -305,6 +312,9 @@ void testPostLoadExecutionExecutes() throws Exception { val configsFlyway = createConfigsFlyway(configsDataSource); val jobsFlyway = createJobsFlyway(jobsDataSource); + new ConfigsDatabaseTestProvider(configsDslContext, configsFlyway).create(false); + new JobsDatabaseTestProvider(jobsDslContext, jobsFlyway).create(false); + new BootloaderApp(mockedConfigs, () -> testTriggered.set(true), mockedFeatureFlags, mockedSecretMigrator, configsDslContext, jobsDslContext, configsFlyway, jobsFlyway) .load(); diff --git a/airbyte-bootloader/src/test/java/io/airbyte/bootloader/SecretMigratorTest.java b/airbyte-bootloader/src/test/java/io/airbyte/bootloader/SecretMigratorTest.java index 7240778710ef..a023bb75184f 100644 --- a/airbyte-bootloader/src/test/java/io/airbyte/bootloader/SecretMigratorTest.java +++ b/airbyte-bootloader/src/test/java/io/airbyte/bootloader/SecretMigratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.bootloader; diff --git a/airbyte-cdk/python/CHANGELOG.md b/airbyte-cdk/python/CHANGELOG.md index 3c5286dceace..17118852e5ff 100644 --- a/airbyte-cdk/python/CHANGELOG.md +++ b/airbyte-cdk/python/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.1.60 +- Add `requests.exceptions.ChunkedEncodingError` to transient errors so it could be retried + ## 0.1.59 - Add `Stream.get_error_display_message()` to retrieve user-friendly messages from exceptions encountered while reading streams. - Add default error error message retrieval logic for `HTTPStream`s following common API patterns. diff --git a/airbyte-cdk/python/airbyte_cdk/connector.py b/airbyte-cdk/python/airbyte_cdk/connector.py index f75bf0c717a7..42373476888c 100644 --- a/airbyte-cdk/python/airbyte_cdk/connector.py +++ b/airbyte-cdk/python/airbyte_cdk/connector.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/destinations/destination.py b/airbyte-cdk/python/airbyte_cdk/destinations/destination.py index b46123dd0ffc..9c39a573ca50 100644 --- a/airbyte-cdk/python/airbyte_cdk/destinations/destination.py +++ b/airbyte-cdk/python/airbyte_cdk/destinations/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import argparse diff --git a/airbyte-cdk/python/airbyte_cdk/entrypoint.py b/airbyte-cdk/python/airbyte_cdk/entrypoint.py index 2292628ab5d5..3409f9293f0a 100644 --- a/airbyte-cdk/python/airbyte_cdk/entrypoint.py +++ b/airbyte-cdk/python/airbyte_cdk/entrypoint.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/exception_handler.py b/airbyte-cdk/python/airbyte_cdk/exception_handler.py index 3e295d61bdfe..b88390b337d7 100644 --- a/airbyte-cdk/python/airbyte_cdk/exception_handler.py +++ b/airbyte-cdk/python/airbyte_cdk/exception_handler.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/airbyte_cdk/logger.py b/airbyte-cdk/python/airbyte_cdk/logger.py index add926ccf18f..4d3cdbb62766 100644 --- a/airbyte-cdk/python/airbyte_cdk/logger.py +++ b/airbyte-cdk/python/airbyte_cdk/logger.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/airbyte_cdk/models/airbyte_protocol.py b/airbyte-cdk/python/airbyte_cdk/models/airbyte_protocol.py index 5e904cf70c4e..69d3a6f813b3 100644 --- a/airbyte-cdk/python/airbyte_cdk/models/airbyte_protocol.py +++ b/airbyte-cdk/python/airbyte_cdk/models/airbyte_protocol.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # generated by datamodel-codegen: diff --git a/airbyte-cdk/python/airbyte_cdk/sources/abstract_source.py b/airbyte-cdk/python/airbyte_cdk/sources/abstract_source.py index e041d11ceecc..d8c8acc16387 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/abstract_source.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/abstract_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/config.py b/airbyte-cdk/python/airbyte_cdk/sources/config.py index b96672ef86e4..f3e0d0344da5 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/config.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/config.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Dict diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/checks/connection_checker.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/checks/connection_checker.py new file mode 100644 index 000000000000..5703e598879f --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/checks/connection_checker.py @@ -0,0 +1,30 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import logging +from abc import ABC, abstractmethod +from typing import Any, Mapping, Tuple + +from airbyte_cdk.sources.source import Source + + +class ConnectionChecker(ABC): + """ + Abstract base class for checking a connection + """ + + @abstractmethod + def check_connection(self, source: Source, logger: logging.Logger, config: Mapping[str, Any]) -> Tuple[bool, any]: + """ + :param source: source + :param logger: source logger + :param config: The user-provided configuration as specified by the source's spec. + This usually contains information required to check connection e.g. tokens, secrets and keys etc. + :return: A tuple of (boolean, error). If boolean is true, then the connection check is successful + and we can connect to the underlying data source using the provided configuration. + Otherwise, the input config cannot be used to connect to the underlying data source, + and the "error" object should describe what went wrong. + The error object will be cast to string to display the problem to the user. + """ + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_source.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_source.py new file mode 100644 index 000000000000..871d7618ab34 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_source.py @@ -0,0 +1,23 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import abstractmethod +from typing import Tuple + +from airbyte_cdk.sources.abstract_source import AbstractSource +from airbyte_cdk.sources.declarative.checks.connection_checker import ConnectionChecker + + +class ConfigurableSource(AbstractSource): + """ + Base class for declarative Source. Concrete sources need to define the connection_checker to use + """ + + @property + @abstractmethod + def connection_checker(self) -> ConnectionChecker: + pass + + def check_connection(self, logger, config) -> Tuple[bool, any]: + return self.connection_checker.check_connection(self, logger, config) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_stream.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_stream.py new file mode 100644 index 000000000000..0fd28c2b0caf --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/declarative_stream.py @@ -0,0 +1,80 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Union + +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever +from airbyte_cdk.sources.declarative.schema.schema_loader import SchemaLoader +from airbyte_cdk.sources.streams.core import Stream + + +class DeclarativeStream(Stream): + """ + DeclarativeStream is a Stream that delegates most of its logic to its schema_load and retriever + """ + + def __init__(self, name, primary_key, cursor_field, schema_loader: SchemaLoader, retriever): + self._name = name + self._primary_key = primary_key + self._cursor_field = cursor_field + self._schema_loader = schema_loader + self._retriever: Retriever = retriever + + @property + def primary_key(self) -> Optional[Union[str, List[str], List[List[str]]]]: + return self._primary_key + + @property + def name(self) -> str: + """ + :return: Stream name. By default this is the implementing class name, but it can be overridden as needed. + """ + return self._name + + @property + def state(self) -> MutableMapping[str, Any]: + return self._retriever.get_state() + + @property + def cursor_field(self) -> Union[str, List[str]]: + """ + Override to return the default cursor field used by this stream e.g: an API entity might always use created_at as the cursor field. + :return: The name of the field used as a cursor. If the cursor is nested, return an array consisting of the path to the cursor. + """ + return self._cursor_field + + def read_records( + self, + sync_mode: SyncMode, + cursor_field: List[str] = None, + stream_slice: Mapping[str, Any] = None, + stream_state: Mapping[str, Any] = None, + ) -> Iterable[Mapping[str, Any]]: + return self._retriever.read_records(sync_mode, cursor_field, stream_slice, stream_state) + + def get_json_schema(self) -> Mapping[str, Any]: + """ + :return: A dict of the JSON schema representing this stream. + + The default implementation of this method looks for a JSONSchema file with the same name as this stream's "name" property. + Override as needed. + """ + # TODO show an example of using pydantic to define the JSON schema, or reading an OpenAPI spec + return self._schema_loader.get_json_schema() + + def stream_slices( + self, *, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None + ) -> Iterable[Optional[Mapping[str, Any]]]: + """ + Override to define the slices for this stream. See the stream slicing section of the docs for more information. + + :param sync_mode: + :param cursor_field: + :param stream_state: + :return: + """ + # this is not passing the cursor field because it is known at init time + return self._retriever.stream_slices(sync_mode=sync_mode, stream_state=stream_state) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/decoder.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/decoder.py new file mode 100644 index 000000000000..a978dc6d0e27 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/decoder.py @@ -0,0 +1,14 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Mapping + +import requests + + +class Decoder(ABC): + @abstractmethod + def decode(self, response: requests.Response) -> Mapping[str, Any]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/json_decoder.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/json_decoder.py new file mode 100644 index 000000000000..367a0302b2c7 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/decoders/json_decoder.py @@ -0,0 +1,13 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Mapping + +import requests +from airbyte_cdk.sources.declarative.decoders.decoder import Decoder + + +class JsonDecoder(Decoder): + def decode(self, response: requests.Response) -> Mapping[str, Any]: + return response.json() diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/extractors/http_extractor.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/extractors/http_extractor.py new file mode 100644 index 000000000000..73e28ecf8204 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/extractors/http_extractor.py @@ -0,0 +1,15 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import List + +import requests +from airbyte_cdk.sources.declarative.types import Record + + +class HttpExtractor(ABC): + @abstractmethod + def extract_records(self, response: requests.Response) -> List[Record]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py new file mode 100644 index 000000000000..9eb319a7d8d3 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py @@ -0,0 +1,28 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Mapping + +from airbyte_cdk.sources.declarative.interpolation.interpolation import Interpolation +from airbyte_cdk.sources.declarative.interpolation.jinja import JinjaInterpolation + + +class InterpolatedMapping: + def __init__(self, mapping: Mapping[str, Any], interpolation: Interpolation = JinjaInterpolation()): + self._mapping = mapping + self._interpolation = interpolation + + def eval(self, config, **kwargs): + interpolated_values = { + self._interpolation.eval(name, config, **kwargs): self._eval(value, config, **kwargs) for name, value in self._mapping.items() + } + return interpolated_values + + def _eval(self, value, config, **kwargs): + # The values in self._mapping can be of Any type + # We only want to interpolate them if they are strings + if type(value) == str: + return self._interpolation.eval(value, config, **kwargs) + else: + return value diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py new file mode 100644 index 000000000000..7fed5b93afed --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py @@ -0,0 +1,17 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Optional + +from airbyte_cdk.sources.declarative.interpolation.jinja import JinjaInterpolation + + +class InterpolatedString: + def __init__(self, string: str, default: Optional[str] = None): + self._string = string + self._default = default or string + self._interpolation = JinjaInterpolation() + + def eval(self, config, **kwargs): + return self._interpolation.eval(self._string, config, self._default, **kwargs) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolation.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolation.py new file mode 100644 index 000000000000..abc54b5fcb2b --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/interpolation.py @@ -0,0 +1,13 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod + +from airbyte_cdk.sources.declarative.types import Config + + +class Interpolation(ABC): + @abstractmethod + def eval(self, input_str: str, config: Config, **kwargs) -> str: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/jinja.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/jinja.py new file mode 100644 index 000000000000..5983415f766f --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/interpolation/jinja.py @@ -0,0 +1,42 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import datetime + +from airbyte_cdk.sources.declarative.interpolation.interpolation import Interpolation +from jinja2 import Environment +from jinja2.exceptions import UndefinedError + + +class JinjaInterpolation(Interpolation): + def __init__(self): + self._environment = Environment() + # Defines some utility methods that can be called from template strings + # eg "{{ today_utc() }} + self._environment.globals["now_local"] = datetime.datetime.now + self._environment.globals["now_utc"] = lambda: datetime.datetime.now(datetime.timezone.utc) + self._environment.globals["today_utc"] = lambda: datetime.datetime.now(datetime.timezone.utc).date() + + def eval(self, input_str: str, config, default=None, **kwargs): + context = {"config": config, **kwargs} + try: + if isinstance(input_str, str): + result = self._eval(input_str, context) + if result: + return result + else: + # If input is not a string, return it as is + raise Exception(f"Expected a string. got {input_str}") + except UndefinedError: + pass + # If result is empty or resulted in an undefined error, evaluate and return the default string + return self._eval(default, context) + + def _eval(self, s: str, context): + try: + return self._environment.from_string(s).render(context) + except TypeError: + # The string is a static value, not a jinja template + # It can be returned as is + return s diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/interpolated_request_input_provider.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/interpolated_request_input_provider.py new file mode 100644 index 000000000000..43dbbc8aeda0 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/interpolated_request_input_provider.py @@ -0,0 +1,28 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Mapping, MutableMapping + +from airbyte_cdk.sources.declarative.interpolation.interpolated_mapping import InterpolatedMapping +from airbyte_cdk.sources.declarative.interpolation.jinja import JinjaInterpolation + + +class InterpolatedRequestInputProvider: + """ + Helper class that generically performs string interpolation on the provided dictionary input + """ + + def __init__(self, *, config, request_inputs=None): + if request_inputs is None: + request_inputs = {} + self._interpolator = InterpolatedMapping(request_inputs, JinjaInterpolation()) + self._config = config + + def request_inputs( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> MutableMapping[str, Any]: + kwargs = {"stream_state": stream_state, "stream_slice": stream_slice, "next_page_token": next_page_token} + interpolated_values = self._interpolator.eval(self._config, **kwargs) # dig into this function a little more + non_null_tokens = {k: v for k, v in interpolated_values.items() if v} + return non_null_tokens diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/interpolated_paginator.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/interpolated_paginator.py new file mode 100644 index 000000000000..8031209ac4ef --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/interpolated_paginator.py @@ -0,0 +1,29 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, List, Mapping, Optional + +import requests +from airbyte_cdk.sources.declarative.decoders.decoder import Decoder +from airbyte_cdk.sources.declarative.interpolation.interpolated_mapping import InterpolatedMapping +from airbyte_cdk.sources.declarative.interpolation.jinja import JinjaInterpolation +from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator + + +class InterpolatedPaginator(Paginator): + def __init__(self, next_page_token_template: Mapping[str, str], decoder: Decoder, config): + self._next_page_token_template = InterpolatedMapping(next_page_token_template, JinjaInterpolation()) + self._decoder = decoder + self._config = config + + def next_page_token(self, response: requests.Response, last_records: List[Mapping[str, Any]]) -> Optional[Mapping[str, Any]]: + decoded_response = self._decoder.decode(response) + headers = response.headers + interpolated_values = self._next_page_token_template.eval( + self._config, decoded_response=decoded_response, headers=headers, last_records=last_records + ) + + non_null_tokens = {k: v for k, v in interpolated_values.items() if v} + + return non_null_tokens if non_null_tokens else None diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py new file mode 100644 index 000000000000..dafe5b42ba9d --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py @@ -0,0 +1,13 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, List, Mapping, Optional + +import requests +from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator + + +class NoPagination(Paginator): + def next_page_token(self, response: requests.Response, last_records: List[Mapping[str, Any]]) -> Optional[Mapping[str, Any]]: + return None diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py new file mode 100644 index 000000000000..7bd42c365a98 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py @@ -0,0 +1,14 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, List, Mapping, Optional + +import requests + + +class Paginator(ABC): + @abstractmethod + def next_page_token(self, response: requests.Response, last_records: List[Mapping[str, Any]]) -> Optional[Mapping[str, Any]]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/interpolated_request_header_provider.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/interpolated_request_header_provider.py new file mode 100644 index 000000000000..dee4204f908a --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/interpolated_request_header_provider.py @@ -0,0 +1,23 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Mapping + +from airbyte_cdk.sources.declarative.requesters.interpolated_request_input_provider import InterpolatedRequestInputProvider +from airbyte_cdk.sources.declarative.requesters.request_headers.request_header_provider import RequestHeaderProvider + + +class InterpolatedRequestHeaderProvider(RequestHeaderProvider): + """ + Provider that takes in a dictionary of request headers and performs string interpolation on the defined templates and static + values based on the current state of stream being processed + """ + + def __init__(self, *, config, request_headers): + self._interpolator = InterpolatedRequestInputProvider(config=config, request_inputs=request_headers) + + def request_headers( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> Mapping[str, Any]: + return self._interpolator.request_inputs(stream_state, stream_slice, next_page_token) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/request_header_provider.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/request_header_provider.py new file mode 100644 index 000000000000..bfa5409ae48f --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_headers/request_header_provider.py @@ -0,0 +1,14 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Mapping + + +class RequestHeaderProvider(ABC): + @abstractmethod + def request_headers( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> Mapping[str, Any]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/interpolated_request_parameter_provider.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/interpolated_request_parameter_provider.py new file mode 100644 index 000000000000..90071f9bad96 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/interpolated_request_parameter_provider.py @@ -0,0 +1,18 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Mapping, MutableMapping + +from airbyte_cdk.sources.declarative.requesters.interpolated_request_input_provider import InterpolatedRequestInputProvider +from airbyte_cdk.sources.declarative.requesters.request_params.request_parameters_provider import RequestParameterProvider + + +class InterpolatedRequestParameterProvider(RequestParameterProvider): + def __init__(self, *, config, request_parameters): + self._interpolator = InterpolatedRequestInputProvider(config=config, request_inputs=request_parameters) + + def request_params( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> MutableMapping[str, Any]: + return self._interpolator.request_inputs(stream_state, stream_slice, next_page_token) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/request_parameters_provider.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/request_parameters_provider.py new file mode 100644 index 000000000000..30f1431695eb --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/request_params/request_parameters_provider.py @@ -0,0 +1,14 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Mapping, MutableMapping + + +class RequestParameterProvider(ABC): + @abstractmethod + def request_params( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> MutableMapping[str, Any]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/requester.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/requester.py new file mode 100644 index 000000000000..2dba6311415a --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/requester.py @@ -0,0 +1,164 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from enum import Enum +from typing import Any, Mapping, MutableMapping, Optional, Union + +import requests +from requests.auth import AuthBase + + +class HttpMethod(Enum): + GET = "GET" + + +class Requester(ABC): + @abstractmethod + def get_authenticator(self) -> AuthBase: + """ + Specifies the authenticator to use when submitting requests + """ + pass + + @abstractmethod + def get_url_base(self) -> str: + """ + :return: URL base for the API endpoint e.g: if you wanted to hit https://myapi.com/v1/some_entity then this should return "https://myapi.com/v1/" + """ + + @abstractmethod + def get_path(self, *, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any], next_page_token: Mapping[str, Any]) -> str: + """ + Returns the URL path for the API endpoint e.g: if you wanted to hit https://myapi.com/v1/some_entity then this should return "some_entity" + """ + + @abstractmethod + def get_method(self) -> HttpMethod: + """ + Specifies the HTTP method to use + """ + + @abstractmethod + def request_params( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> MutableMapping[str, Any]: + """ + Specifies the query parameters that should be set on an outgoing HTTP request given the inputs. + + E.g: you might want to define query parameters for paging if next_page_token is not None. + """ + + @property + @abstractmethod + def raise_on_http_errors(self) -> bool: + """ + If set to False, allows opting-out of raising HTTP code exception. + """ + + @property + @abstractmethod + def max_retries(self) -> Union[int, None]: + """ + Specifies maximum amount of retries for backoff policy. Return None for no limit. + """ + + @property + @abstractmethod + def retry_factor(self) -> float: + """ + Specifies factor for backoff policy. + """ + + @abstractmethod + def should_retry(self, response: requests.Response) -> bool: + """ + Specifies conditions for backoff based on the response from the server. + + By default, back off on the following HTTP response statuses: + - 429 (Too Many Requests) indicating rate limiting + - 500s to handle transient server errors + + Unexpected but transient exceptions (connection timeout, DNS resolution failed, etc..) are retried by default. + """ + + @abstractmethod + def backoff_time(self, response: requests.Response) -> Optional[float]: + """ + Dynamically determine backoff time e.g: by reading the X-Retry-After header. + + This method is called only if should_backoff() returns True for the input request. + + :param response: + :return how long to backoff in seconds. The return value may be a floating point number for subsecond precision. Returning None defers backoff + to the default backoff behavior (e.g using an exponential algorithm). + """ + + @abstractmethod + def request_headers( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> Mapping[str, Any]: + """ + Return any non-auth headers. Authentication headers will overwrite any overlapping headers returned from this method. + """ + + @abstractmethod + def request_body_data( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Optional[Union[Mapping, str]]: + """ + Specifies how to populate the body of the request with a non-JSON payload. + + If returns a ready text that it will be sent as is. + If returns a dict that it will be converted to a urlencoded form. + E.g. {"key1": "value1", "key2": "value2"} => "key1=value1&key2=value2" + + At the same time only one of the 'request_body_data' and 'request_body_json' functions can be overridden. + """ + + @abstractmethod + def request_body_json( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Optional[Mapping]: + """ + Specifies how to populate the body of the request with a JSON payload. + + At the same time only one of the 'request_body_data' and 'request_body_json' functions can be overridden. + """ + + @abstractmethod + def request_kwargs( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Mapping[str, Any]: + """ + Returns a mapping of keyword arguments to be used when creating the HTTP request. + Any option listed in https://docs.python-requests.org/en/latest/api/#requests.adapters.BaseAdapter.send for can be returned from + this method. Note that these options do not conflict with request-level options such as headers, request params, etc.. + """ + + @property + @abstractmethod + def cache_filename(self) -> str: + """ + Return the name of cache file + """ + + @property + @abstractmethod + def use_cache(self) -> bool: + """ + If True, all records will be cached. + """ diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/default_retrier.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/default_retrier.py new file mode 100644 index 000000000000..e0d2f07c15d3 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/default_retrier.py @@ -0,0 +1,28 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Optional, Union + +import requests +from airbyte_cdk.sources.declarative.requesters.retriers.retrier import Retrier + + +class DefaultRetrier(Retrier): + def __init__(self, max_retries: Optional[int] = 5, retry_factor: float = 5): + self._max_retries = max_retries + self._retry_factor = retry_factor + + @property + def max_retries(self) -> Union[int, None]: + return self._max_retries + + @property + def retry_factor(self) -> float: + return self._retry_factor + + def should_retry(self, response: requests.Response) -> bool: + return response.status_code == 429 or 500 <= response.status_code < 600 + + def backoff_time(self, response: requests.Response) -> Optional[float]: + return None diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/retrier.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/retrier.py new file mode 100644 index 000000000000..2aa42b757a88 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/requesters/retriers/retrier.py @@ -0,0 +1,28 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Optional, Union + +import requests + + +class Retrier(ABC): + @property + @abstractmethod + def max_retries(self) -> Union[int, None]: + pass + + @property + @abstractmethod + def retry_factor(self) -> float: + pass + + @abstractmethod + def should_retry(self, response: requests.Response) -> bool: + pass + + @abstractmethod + def backoff_time(self, response: requests.Response) -> Optional[float]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/retriever.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/retriever.py new file mode 100644 index 000000000000..21718d53a0d0 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/retriever.py @@ -0,0 +1,38 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Iterable, List, Mapping, MutableMapping, Optional + +from airbyte_cdk.models import SyncMode + + +class Retriever(ABC): + @abstractmethod + def read_records( + self, + sync_mode: SyncMode, + cursor_field: List[str] = None, + stream_slice: Mapping[str, Any] = None, + stream_state: Mapping[str, Any] = None, + ) -> Iterable[Mapping[str, Any]]: + pass + + @abstractmethod + def stream_slices(self, *, sync_mode: SyncMode, stream_state: Mapping[str, Any] = None) -> Iterable[Optional[Mapping[str, Any]]]: + pass + + @abstractmethod + def get_state(self) -> MutableMapping[str, Any]: + """State getter, should return state in form that can serialized to a string and send to the output + as a STATE AirbyteMessage. + + A good example of a state is a cursor_value: + { + self.cursor_field: "cursor_value" + } + + State should try to be as small as possible but at the same time descriptive enough to restore + syncing process from the point where it stopped. + """ diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py new file mode 100644 index 000000000000..b87d3c81a777 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py @@ -0,0 +1,243 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Union + +import requests +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.extractors.http_extractor import HttpExtractor +from airbyte_cdk.sources.declarative.requesters.paginators.paginator import Paginator +from airbyte_cdk.sources.declarative.requesters.requester import Requester +from airbyte_cdk.sources.declarative.retrievers.retriever import Retriever +from airbyte_cdk.sources.declarative.states.state import State +from airbyte_cdk.sources.declarative.stream_slicers.stream_slicer import StreamSlicer +from airbyte_cdk.sources.streams.http import HttpStream + + +class SimpleRetriever(Retriever, HttpStream): + def __init__( + self, + name, + primary_key, + requester: Requester, + paginator: Paginator, + extractor: HttpExtractor, + stream_slicer: StreamSlicer, + state: State, + ): + self._name = name + self._primary_key = primary_key + self._paginator = paginator + self._requester = requester + self._extractor = extractor + super().__init__(self._requester.get_authenticator()) + self._iterator: StreamSlicer = stream_slicer + self._state: State = state.deep_copy() + self._last_response = None + self._last_records = None + + @property + def name(self) -> str: + """ + :return: Stream name + """ + return self._name + + @property + def url_base(self) -> str: + return self._requester.get_url_base() + + @property + def http_method(self) -> str: + return str(self._requester.get_method().value) + + @property + def raise_on_http_errors(self) -> bool: + """ + If set to False, allows opting-out of raising HTTP code exception. + """ + return self._requester.raise_on_http_errors + + @property + def max_retries(self) -> Union[int, None]: + """ + Specifies maximum amount of retries for backoff policy. Return None for no limit. + """ + return self._requester.max_retries + + @property + def retry_factor(self) -> float: + """ + Specifies factor to multiply the exponentiation by for backoff policy. + """ + return self._requester.retry_factor + + def should_retry(self, response: requests.Response) -> bool: + """ + Specifies conditions for backoff based on the response from the server. + + By default, back off on the following HTTP response statuses: + - 429 (Too Many Requests) indicating rate limiting + - 500s to handle transient server errors + + Unexpected but transient exceptions (connection timeout, DNS resolution failed, etc..) are retried by default. + """ + return self._requester.should_retry(response) + + def backoff_time(self, response: requests.Response) -> Optional[float]: + """ + Specifies backoff time. + + This method is called only if should_backoff() returns True for the input request. + + :param response: + :return how long to backoff in seconds. The return value may be a floating point number for subsecond precision. Returning None defers backoff + to the default backoff behavior (e.g using an exponential algorithm). + """ + return self._requester.backoff_time(response) + + def request_headers( + self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> Mapping[str, Any]: + """ + Specifies request headers. + Authentication headers will overwrite any overlapping headers returned from this method. + """ + return self._requester.request_headers(stream_state, stream_slice, next_page_token) + + def request_body_data( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Optional[Union[Mapping, str]]: + """ + Specifies how to populate the body of the request with a non-JSON payload. + + If returns a ready text that it will be sent as is. + If returns a dict that it will be converted to a urlencoded form. + E.g. {"key1": "value1", "key2": "value2"} => "key1=value1&key2=value2" + + At the same time only one of the 'request_body_data' and 'request_body_json' functions can be overridden. + """ + return self._requester.request_body_data(stream_state, stream_slice, next_page_token) + + def request_body_json( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Optional[Mapping]: + """ + Specifies how to populate the body of the request with a JSON payload. + + At the same time only one of the 'request_body_data' and 'request_body_json' functions can be overridden. + """ + return self._requester.request_body_json(stream_state, stream_slice, next_page_token) + + def request_kwargs( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Mapping[str, Any]: + """ + Specifies how to configure a mapping of keyword arguments to be used when creating the HTTP request. + Any option listed in https://docs.python-requests.org/en/latest/api/#requests.adapters.BaseAdapter.send for can be returned from + this method. Note that these options do not conflict with request-level options such as headers, request params, etc.. + """ + return self._requester.request_kwargs(stream_state, stream_slice, next_page_token) + + def path( + self, *, stream_state: Mapping[str, Any] = None, stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None + ) -> str: + return self._requester.get_path(stream_state=stream_state, stream_slice=stream_slice, next_page_token=next_page_token) + + def request_params( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> MutableMapping[str, Any]: + """ + Specifies the query parameters that should be set on an outgoing HTTP request given the inputs. + + E.g: you might want to define query parameters for paging if next_page_token is not None. + """ + return self._requester.request_params(stream_state, stream_slice, next_page_token) + + @property + def cache_filename(self): + """ + Return the name of cache file + """ + return self._requester.cache_filename + + @property + def use_cache(self): + """ + If True, all records will be cached. + """ + return self._requester.use_cache + + def parse_response( + self, + response: requests.Response, + *, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Iterable[Mapping]: + self._last_response = response + records = self._extractor.extract_records(response) + self._last_records = records + return records + + @property + def primary_key(self) -> Optional[Union[str, List[str], List[List[str]]]]: + return self._primary_key + + def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]: + """ + Specifies a pagination strategy. + + The value returned from this method is passed to most other methods in this class. Use it to form a request e.g: set headers or query params. + + :return: The token for the next page from the input response object. Returning None means there are no more pages to read in this response. + """ + return self._paginator.next_page_token(response, self._last_records) + + def read_records( + self, + sync_mode: SyncMode, + cursor_field: List[str] = None, + stream_slice: Mapping[str, Any] = None, + stream_state: Mapping[str, Any] = None, + ) -> Iterable[Mapping[str, Any]]: + records_generator = HttpStream.read_records(self, sync_mode, cursor_field, stream_slice, stream_state) + for r in records_generator: + self._state.update_state(stream_slice=stream_slice, stream_state=stream_state, last_response=self._last_response, last_record=r) + yield r + else: + self._state.update_state( + stream_slice=stream_slice, stream_state=stream_state, last_reponse=self._last_response, last_record=None + ) + yield from [] + + def stream_slices( + self, *, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None + ) -> Iterable[Optional[Mapping[str, Any]]]: + """ + Specifies the slices for this stream. See the stream slicing section of the docs for more information. + + :param sync_mode: + :param cursor_field: + :param stream_state: + :return: + """ + # FIXME: this is not passing the cursor field because it is always known at init time + return self._iterator.stream_slices(sync_mode, stream_state) + + def get_state(self) -> MutableMapping[str, Any]: + return self._state.get_state() diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/schema/schema_loader.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/schema/schema_loader.py new file mode 100644 index 000000000000..cfffad531487 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/schema/schema_loader.py @@ -0,0 +1,12 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Mapping + + +class SchemaLoader(ABC): + @abstractmethod + def get_json_schema(self) -> Mapping[str, Any]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/__init__.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/state.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/state.py new file mode 100644 index 000000000000..dc711004924f --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/states/state.py @@ -0,0 +1,19 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import copy +from abc import ABC, abstractmethod + + +class State(ABC): + @abstractmethod + def update_state(self, **kwargs): + pass + + @abstractmethod + def get_state(self): + pass + + def deep_copy(self): + return copy.deepcopy(self) diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/single_slice.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/single_slice.py new file mode 100644 index 000000000000..28b1ccee19a4 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/single_slice.py @@ -0,0 +1,16 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, Iterable, Mapping + +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.stream_slicers.stream_slicer import StreamSlicer + + +class SingleSlice(StreamSlicer): + def __init__(self, **kwargs): + pass + + def stream_slices(self, sync_mode: SyncMode, stream_state: Mapping[str, Any]) -> Iterable[Mapping[str, Any]]: + return [dict()] diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py new file mode 100644 index 000000000000..421f14e2a040 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py @@ -0,0 +1,14 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from abc import ABC, abstractmethod +from typing import Any, Iterable, Mapping + +from airbyte_cdk.models import SyncMode + + +class StreamSlicer(ABC): + @abstractmethod + def stream_slices(self, sync_mode: SyncMode, stream_state: Mapping[str, Any]) -> Iterable[Mapping[str, Any]]: + pass diff --git a/airbyte-cdk/python/airbyte_cdk/sources/declarative/types.py b/airbyte-cdk/python/airbyte_cdk/sources/declarative/types.py new file mode 100644 index 000000000000..5daba846bc85 --- /dev/null +++ b/airbyte-cdk/python/airbyte_cdk/sources/declarative/types.py @@ -0,0 +1,12 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from __future__ import annotations + +from typing import Any, Mapping + +Record = Mapping[str, Any] +Config = Mapping[str, Any] +StreamSlice = Mapping[str, Any] +StreamState = Mapping[str, Any] diff --git a/airbyte-cdk/python/airbyte_cdk/sources/deprecated/base_source.py b/airbyte-cdk/python/airbyte_cdk/sources/deprecated/base_source.py index c1dd61c45d11..5196ee7724b4 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/deprecated/base_source.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/deprecated/base_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/deprecated/client.py b/airbyte-cdk/python/airbyte_cdk/sources/deprecated/client.py index 070648e94ca5..0be3ea44e160 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/deprecated/client.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/deprecated/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/singer/singer_helpers.py b/airbyte-cdk/python/airbyte_cdk/sources/singer/singer_helpers.py index 8e4ff8be0131..fdfe9deb5d54 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/singer/singer_helpers.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/singer/singer_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/singer/source.py b/airbyte-cdk/python/airbyte_cdk/sources/singer/source.py index 893afdb0a8b3..c12453611583 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/singer/source.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/singer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/source.py b/airbyte-cdk/python/airbyte_cdk/sources/source.py index 5e0396b3fcbd..4f934cde0be9 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/source.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/core.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/core.py index cbf1434b1219..602d87481c21 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/core.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/core.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/core.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/core.py index cd47c3b406f7..4dd892baa2a6 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/core.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/core.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/oauth.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/oauth.py index 1885aa9f30ab..e66e0be8bded 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/oauth.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/oauth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/token.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/token.py index 54cb3a318c62..f9a2d4454a3a 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/token.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/auth/token.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/exceptions.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/exceptions.py index 7f59de030c2f..a2a91da61493 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/exceptions.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/exceptions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py index a9575cb430f8..528711ea6bd1 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/http.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/rate_limiting.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/rate_limiting.py index 6a7eeb64f9cf..baf141211689 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/rate_limiting.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/rate_limiting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging @@ -12,7 +12,13 @@ from .exceptions import DefaultBackoffException, UserDefinedBackoffException -TRANSIENT_EXCEPTIONS = (DefaultBackoffException, exceptions.ConnectTimeout, exceptions.ReadTimeout, exceptions.ConnectionError) +TRANSIENT_EXCEPTIONS = ( + DefaultBackoffException, + exceptions.ConnectTimeout, + exceptions.ReadTimeout, + exceptions.ConnectionError, + exceptions.ChunkedEncodingError, +) logger = logging.getLogger("airbyte") diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py index a77fa5c73049..84fed4ab9773 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/token.py b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/token.py index 9bc8c664bfe8..4436ec316a0d 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/streams/http/requests_native_auth/token.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from itertools import cycle diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/casing.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/casing.py index 3c2a978421e0..59b14416632f 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/casing.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/casing.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/catalog_helpers.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/catalog_helpers.py index fddf79fa242e..b1d83cfa2c12 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/catalog_helpers.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/catalog_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py index 0fb482d7b9c4..c65a0d537c2e 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_models.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_models.py index 7a3696493703..26d5302170a6 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_models.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/schema_models.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Dict, Optional, Type diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/sentry.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/sentry.py index cf0ae9b63bc4..395c2958afa7 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/sentry.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/sentry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import contextlib diff --git a/airbyte-cdk/python/airbyte_cdk/sources/utils/transform.py b/airbyte-cdk/python/airbyte_cdk/sources/utils/transform.py index 5a4cacf48c92..1759c316dc17 100644 --- a/airbyte-cdk/python/airbyte_cdk/sources/utils/transform.py +++ b/airbyte-cdk/python/airbyte_cdk/sources/utils/transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/airbyte_cdk/utils/airbyte_secrets_utils.py b/airbyte-cdk/python/airbyte_cdk/utils/airbyte_secrets_utils.py index 874aca1231f2..2ad00d6bfd40 100644 --- a/airbyte-cdk/python/airbyte_cdk/utils/airbyte_secrets_utils.py +++ b/airbyte-cdk/python/airbyte_cdk/utils/airbyte_secrets_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/airbyte_cdk/utils/event_timing.py b/airbyte-cdk/python/airbyte_cdk/utils/event_timing.py index 1f70404e06ba..63417df4f39b 100644 --- a/airbyte-cdk/python/airbyte_cdk/utils/event_timing.py +++ b/airbyte-cdk/python/airbyte_cdk/utils/event_timing.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-cdk/python/airbyte_cdk/utils/mapping_utils.py b/airbyte-cdk/python/airbyte_cdk/utils/mapping_utils.py index c618316afea4..62f954861e2e 100644 --- a/airbyte-cdk/python/airbyte_cdk/utils/mapping_utils.py +++ b/airbyte-cdk/python/airbyte_cdk/utils/mapping_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from functools import reduce diff --git a/airbyte-cdk/python/airbyte_cdk/utils/traced_exception.py b/airbyte-cdk/python/airbyte_cdk/utils/traced_exception.py index 0b6388a4cd23..af8bad293ff0 100644 --- a/airbyte-cdk/python/airbyte_cdk/utils/traced_exception.py +++ b/airbyte-cdk/python/airbyte_cdk/utils/traced_exception.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import traceback diff --git a/airbyte-cdk/python/reference_docs/_source/conf.py b/airbyte-cdk/python/reference_docs/_source/conf.py index 6415fe5195d7..ff5dcf2caec5 100644 --- a/airbyte-cdk/python/reference_docs/_source/conf.py +++ b/airbyte-cdk/python/reference_docs/_source/conf.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # Configuration file for the Sphinx documentation builder. diff --git a/airbyte-cdk/python/reference_docs/generate_rst_schema.py b/airbyte-cdk/python/reference_docs/generate_rst_schema.py index 6a9edb3a72d5..37168aa0d8cd 100755 --- a/airbyte-cdk/python/reference_docs/generate_rst_schema.py +++ b/airbyte-cdk/python/reference_docs/generate_rst_schema.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import sys diff --git a/airbyte-cdk/python/setup.py b/airbyte-cdk/python/setup.py index 1bde0ab6b77f..8722fef39176 100644 --- a/airbyte-cdk/python/setup.py +++ b/airbyte-cdk/python/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # @@ -15,7 +15,7 @@ setup( name="airbyte-cdk", - version="0.1.59", + version="0.1.60", description="A framework for writing Airbyte Connectors.", long_description=README, long_description_content_type="text/markdown", @@ -54,6 +54,7 @@ "sentry-sdk~=1.5.1", "vcrpy", "Deprecated~=1.2", + "Jinja2~=3.1.2", ], python_requires=">=3.9", extras_require={ diff --git a/airbyte-cdk/python/unit_tests/destinations/test_destination.py b/airbyte-cdk/python/unit_tests/destinations/test_destination.py index 18b2cc3037c1..7f6b900a071a 100644 --- a/airbyte-cdk/python/unit_tests/destinations/test_destination.py +++ b/airbyte-cdk/python/unit_tests/destinations/test_destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import argparse diff --git a/airbyte-cdk/python/unit_tests/singer/test_singer_helpers.py b/airbyte-cdk/python/unit_tests/singer/test_singer_helpers.py index a732515217c4..54f783f0b530 100644 --- a/airbyte-cdk/python/unit_tests/singer/test_singer_helpers.py +++ b/airbyte-cdk/python/unit_tests/singer/test_singer_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/singer/test_singer_source.py b/airbyte-cdk/python/unit_tests/singer/test_singer_source.py index 319745c3e22b..58e53500595f 100644 --- a/airbyte-cdk/python/unit_tests/singer/test_singer_source.py +++ b/airbyte-cdk/python/unit_tests/singer/test_singer_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/checks/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/checks/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/checks/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/extractors/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/extractors/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/extractors/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py new file mode 100644 index 000000000000..c5e4d4e71d38 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py @@ -0,0 +1,25 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +from airbyte_cdk.sources.declarative.interpolation.interpolated_mapping import InterpolatedMapping + + +def test(): + d = { + "field": "value", + "number": 100, + "field_to_interpolate_from_config": "{{ config['c'] }}", + "field_to_interpolate_from_kwargs": "{{ kwargs['a'] }}", + } + config = {"c": "VALUE_FROM_CONFIG"} + kwargs = {"a": "VALUE_FROM_KWARGS"} + mapping = InterpolatedMapping(d) + + interpolated = mapping.eval(config, **{"kwargs": kwargs}) + + assert interpolated["field"] == "value" + assert interpolated["number"] == 100 + assert interpolated["field_to_interpolate_from_config"] == "VALUE_FROM_CONFIG" + assert interpolated["field_to_interpolate_from_kwargs"] == "VALUE_FROM_KWARGS" diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_string.py b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_string.py new file mode 100644 index 000000000000..8207c253a742 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_interpolated_string.py @@ -0,0 +1,26 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString + +config = {"field": "value"} + + +def test_static_value(): + static_value = "HELLO WORLD" + s = InterpolatedString(static_value) + assert s.eval(config) == "HELLO WORLD" + + +def test_eval_from_config(): + string = "{{ config['field'] }}" + s = InterpolatedString(string) + assert s.eval(config) == "value" + + +def test_eval_from_kwargs(): + string = "{{ kwargs['c'] }}" + kwargs = {"c": "airbyte"} + s = InterpolatedString(string) + assert s.eval(config, **{"kwargs": kwargs}) == "airbyte" diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_jinja.py b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_jinja.py new file mode 100644 index 000000000000..30bd491d2533 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/interpolation/test_jinja.py @@ -0,0 +1,31 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from airbyte_cdk.sources.declarative.interpolation.jinja import JinjaInterpolation + + +def test_get_value_from_config(): + interpolation = JinjaInterpolation() + s = "{{ config['date'] }}" + config = {"date": "2022-01-01"} + val = interpolation.eval(s, config) + assert val == "2022-01-01" + + +def test_get_value_from_stream_slice(): + interpolation = JinjaInterpolation() + s = "{{ stream_slice['date'] }}" + config = {"date": "2022-01-01"} + stream_slice = {"date": "2020-09-09"} + val = interpolation.eval(s, config, **{"stream_slice": stream_slice}) + assert val == "2020-09-09" + + +def test_get_value_from_a_list_of_mappings(): + interpolation = JinjaInterpolation() + s = "{{ records[0]['date'] }}" + config = {"date": "2022-01-01"} + records = [{"date": "2020-09-09"}] + val = interpolation.eval(s, config, **{"records": records}) + assert val == "2020-09-09" diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/iterators/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/iterators/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/iterators/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/iterators/test_only_once.py b/airbyte-cdk/python/unit_tests/sources/declarative/iterators/test_only_once.py new file mode 100644 index 000000000000..df58c545e56a --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/iterators/test_only_once.py @@ -0,0 +1,13 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.stream_slicers.single_slice import SingleSlice + + +def test(): + iterator = SingleSlice() + + stream_slices = iterator.stream_slices(SyncMode.incremental, None) + assert stream_slices == [dict()] diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_paginator.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_paginator.py new file mode 100644 index 000000000000..984870db4a8e --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_paginator.py @@ -0,0 +1,75 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import json + +import requests +from airbyte_cdk.sources.declarative.decoders.json_decoder import JsonDecoder +from airbyte_cdk.sources.declarative.requesters.paginators.interpolated_paginator import InterpolatedPaginator + +config = {"option": "OPTION"} + +response = requests.Response() +response.headers = {"A_HEADER": "HEADER_VALUE"} +response_body = {"next_page_cursor": "12345"} +response._content = json.dumps(response_body).encode("utf-8") +last_responses = [{"id": 0}] +decoder = JsonDecoder() + + +def test_value_is_static(): + next_page_tokens = {"cursor": "a_static_value"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + next_page_token = paginator.next_page_token(response, last_responses) + + assert next_page_token == {"cursor": "a_static_value"} + + +def test_value_depends_response_body(): + next_page_tokens = {"cursor": "{{ decoded_response['next_page_cursor'] }}"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + next_page_token = paginator.next_page_token(response, last_responses) + + assert next_page_token == {"cursor": response_body["next_page_cursor"]} + + +def test_value_depends_response_header(): + next_page_tokens = {"cursor": "{{ headers['A_HEADER'] }}"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + next_page_token = paginator.next_page_token(response, last_responses) + + assert next_page_token["cursor"] == response.headers["A_HEADER"] + + +def test_value_depends_on_last_responses(): + next_page_tokens = {"cursor": "{{ last_records[-1]['id'] }}"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + next_page_token = paginator.next_page_token(response, last_responses) + + assert next_page_token["cursor"] == "0" + + +def test_name_is_interpolated(): + next_page_tokens = {"{{ decoded_response['next_page_cursor'] }}": "a_static_value"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + next_page_token = paginator.next_page_token(response, last_responses) + + assert next_page_token == {response_body["next_page_cursor"]: "a_static_value"} + + +def test_token_is_none_if_field_not_found(): + next_page_tokens = {"cursor": "{{ decoded_response['next_page_cursor'] }}"} + paginator = InterpolatedPaginator(next_page_tokens, decoder, config) + + r = requests.Response() + r._content = json.dumps({"not_next_page_cursor": "12345"}).encode("utf-8") + + next_page_token = paginator.next_page_token(r, last_responses) + + assert next_page_token is None diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_string.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_string.py new file mode 100644 index 000000000000..063303248a63 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_interpolated_string.py @@ -0,0 +1,54 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from airbyte_cdk.sources.declarative.interpolation.interpolated_string import InterpolatedString + +config = {"start": "1234"} +kwargs = {"next_page_token": {"next_page_url": "https://airbyte.io"}} + + +def test_value_is_static(): + static_value = "a_static_value" + interpolated_string = InterpolatedString(static_value) + + evaluated_string = interpolated_string.eval(config, **kwargs) + + assert evaluated_string == static_value + + +def test_value_from_config(): + string = "{{ config['start'] }}" + interpolated_string = InterpolatedString(string) + + evaluated_string = interpolated_string.eval(config, **kwargs) + + assert evaluated_string == config["start"] + + +def test_value_from_kwargs(): + string = "{{ next_page_token['next_page_url'] }}" + interpolated_string = InterpolatedString(string) + + evaluated_string = interpolated_string.eval(config, **kwargs) + + assert evaluated_string == "https://airbyte.io" + + +def test_default_value(): + static_value = "{{ config['end'] }}" + default = "5678" + interpolated_string = InterpolatedString(static_value, default) + + evaluated_string = interpolated_string.eval(config, **kwargs) + + assert evaluated_string == default + + +def test_interpolated_default_value(): + static_value = "{{ config['end'] }}" + interpolated_string = InterpolatedString(static_value, "{{ config['start'] }}") + + evaluated_string = interpolated_string.eval(config, **kwargs) + + assert evaluated_string == config["start"] diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py new file mode 100644 index 000000000000..7b3f8c4c68dc --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py @@ -0,0 +1,12 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import requests +from airbyte_cdk.sources.declarative.requesters.paginators.no_pagination import NoPagination + + +def test(): + paginator = NoPagination() + next_page_token = paginator.next_page_token(requests.Response(), []) + assert next_page_token is None diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/test_interpolated_request_header_provider.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/test_interpolated_request_header_provider.py new file mode 100644 index 000000000000..2126366686e8 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_headers/test_interpolated_request_header_provider.py @@ -0,0 +1,32 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import pytest as pytest +from airbyte_cdk.sources.declarative.requesters.request_headers.interpolated_request_header_provider import ( + InterpolatedRequestHeaderProvider, +) + + +@pytest.mark.parametrize( + "test_name, request_headers, expected_evaluated_headers", + [ + ("test_static_string", {"static_key": "static_string"}, {"static_key": "static_string"}), + ("test_static_number", {"static_key": 408}, {"static_key": 408}), + ("test_from_config", {"get_from_config": "{{ config['config_key'] }}"}, {"get_from_config": "value_of_config"}), + ("test_from_stream_state", {"get_from_state": "{{ stream_state['state_key'] }}"}, {"get_from_state": "state_value"}), + ("test_from_stream_slice", {"get_from_slice": "{{ stream_slice['slice_key'] }}"}, {"get_from_slice": "slice_value"}), + ("test_from_next_page_token", {"get_from_token": "{{ next_page_token['token_key'] }}"}, {"get_from_token": "token_value"}), + ("test_from_stream_state_missing_key", {"get_from_state": "{{ stream_state['does_not_exist'] }}"}, {}), + ("test_none_headers", None, {}), + ], +) +def test_interpolated_request_header(test_name, request_headers, expected_evaluated_headers): + config = {"config_key": "value_of_config"} + stream_state = {"state_key": "state_value"} + stream_slice = {"slice_key": "slice_value"} + next_page_token = {"token_key": "token_value"} + provider = InterpolatedRequestHeaderProvider(config=config, request_headers=request_headers) + + actual_headers = provider.request_headers(stream_state, stream_slice, next_page_token) + assert actual_headers == expected_evaluated_headers diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py new file mode 100644 index 000000000000..1699a62a9497 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/requesters/request_params/test_interpolated_request_parameter_provider.py @@ -0,0 +1,78 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +from airbyte_cdk.sources.declarative.requesters.request_params.interpolated_request_parameter_provider import ( + InterpolatedRequestParameterProvider, +) + +state = {"date": "2021-01-01"} +stream_slice = {"start_date": "2020-01-01"} +next_page_token = {"offset": "12345"} +config = {"option": "OPTION"} + + +def test(): + request_parameters = {"a_static_request_param": "a_static_value"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_parameters == request_params + + +def test_value_depends_on_state(): + request_parameters = {"a_static_request_param": "{{ stream_state['date'] }}"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_params["a_static_request_param"] == state["date"] + + +def test_value_depends_on_stream_slice(): + request_parameters = {"a_static_request_param": "{{ stream_slice['start_date'] }}"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_params["a_static_request_param"] == stream_slice["start_date"] + + +def test_value_depends_on_next_page_token(): + request_parameters = {"a_static_request_param": "{{ next_page_token['offset'] }}"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_params["a_static_request_param"] == next_page_token["offset"] + + +def test_value_depends_on_config(): + request_parameters = {"a_static_request_param": "{{ config['option'] }}"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_params["a_static_request_param"] == config["option"] + + +def test_parameter_is_interpolated(): + request_parameters = { + "{{ stream_state['date'] }} - {{stream_slice['start_date']}} - {{next_page_token['offset']}} - {{config['option']}}": "ABC" + } + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params(state, stream_slice, next_page_token) + + assert request_params[f"{state['date']} - {stream_slice['start_date']} - {next_page_token['offset']} - {config['option']}"] == "ABC" + + +def test_none_value(): + request_parameters = {"a_static_request_param": "{{ stream_state['date'] }}"} + provider = InterpolatedRequestParameterProvider(request_parameters=request_parameters, config=config) + + request_params = provider.request_params({}, stream_slice, next_page_token) + + assert len(request_params) == 0 diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/test_simple_retriever.py b/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/test_simple_retriever.py new file mode 100644 index 000000000000..d5cb6b0629fb --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/retrievers/test_simple_retriever.py @@ -0,0 +1,94 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from unittest.mock import MagicMock + +import requests +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.requesters.requester import HttpMethod +from airbyte_cdk.sources.declarative.retrievers.simple_retriever import SimpleRetriever + +primary_key = "pk" +records = [{"id": 1}, {"id": 2}] + + +def test(): + requester = MagicMock() + request_params = {"param": "value"} + requester.request_params.return_value = request_params + + paginator = MagicMock() + next_page_token = {"cursor": "cursor_value"} + paginator.next_page_token.return_value = next_page_token + + extractor = MagicMock() + extractor.extract_records.return_value = records + + iterator = MagicMock() + stream_slices = [{"date": "2022-01-01"}, {"date": "2022-01-02"}] + iterator.stream_slices.return_value = stream_slices + + response = requests.Response() + + state = MagicMock() + underlying_state = {"date": "2021-01-01"} + state.get_state.return_value = underlying_state + + url_base = "https://airbyte.io" + requester.get_url_base.return_value = url_base + path = "/v1" + requester.get_path.return_value = path + http_method = HttpMethod.GET + requester.get_method.return_value = http_method + raise_on_http_errors = True + requester.raise_on_http_errors = raise_on_http_errors + max_retries = 10 + requester.max_retries = max_retries + retry_factor = 2 + requester.retry_factor = retry_factor + should_retry = True + requester.should_retry.return_value = should_retry + backoff_time = 60 + requester.backoff_time.return_value = backoff_time + request_body_data = {"body": "data"} + requester.request_body_data.return_value = request_body_data + request_body_json = {"body": "json"} + requester.request_body_json.return_value = request_body_json + request_kwargs = {"kwarg": "value"} + requester.request_kwargs.return_value = request_kwargs + cache_filename = "cache" + requester.cache_filename = cache_filename + use_cache = True + requester.use_cache = use_cache + + retriever = SimpleRetriever("stream_name", primary_key, requester, paginator, extractor, iterator, state) + + # hack because we clone the state... + retriever._state = state + + assert retriever.primary_key == primary_key + assert retriever.url_base == url_base + assert retriever.path() == path + assert retriever.get_state() == underlying_state + assert retriever.next_page_token(response) == next_page_token + assert retriever.request_params(None, None, None) == request_params + assert retriever.stream_slices(sync_mode=SyncMode.incremental) == stream_slices + + assert retriever._last_response is None + assert retriever._last_records is None + assert retriever.parse_response(response, stream_state=None) == records + assert retriever._last_response == response + assert retriever._last_records == records + + assert retriever.http_method == "GET" + assert retriever.raise_on_http_errors == raise_on_http_errors + assert retriever.max_retries == max_retries + assert retriever.retry_factor == retry_factor + assert retriever.should_retry(requests.Response()) == should_retry + assert retriever.backoff_time(requests.Response()) == backoff_time + assert retriever.request_body_data(None, None, None) == request_body_data + assert retriever.request_body_json(None, None, None) == request_body_json + assert retriever.request_kwargs(None, None, None) == request_kwargs + assert retriever.cache_filename == cache_filename + assert retriever.use_cache == use_cache diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/states/__init__.py b/airbyte-cdk/python/unit_tests/sources/declarative/states/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/states/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-cdk/python/unit_tests/sources/declarative/test_declarative_stream.py b/airbyte-cdk/python/unit_tests/sources/declarative/test_declarative_stream.py new file mode 100644 index 000000000000..5df5b978a943 --- /dev/null +++ b/airbyte-cdk/python/unit_tests/sources/declarative/test_declarative_stream.py @@ -0,0 +1,45 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from unittest.mock import MagicMock + +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.declarative.declarative_stream import DeclarativeStream + + +def test(): + name = "stream" + primary_key = "pk" + cursor_field = ["created_at"] + + schema_loader = MagicMock() + json_schema = {"name": {"type": "string"}} + schema_loader.get_json_schema.return_value = json_schema + + state = MagicMock() + records = [{"pk": 1234, "field": "value"}, {"pk": 4567, "field": "different_value"}] + stream_slices = [{"date": "2021-01-01"}, {"date": "2021-01-02"}, {"date": "2021-01-03"}] + checkpoint_interval = 1000 + + retriever = MagicMock() + retriever.get_state.return_value = state + retriever.read_records.return_value = records + retriever.stream_slices.return_value = stream_slices + retriever.state_checkpoint_interval = checkpoint_interval + + stream = DeclarativeStream( + name=name, + primary_key=primary_key, + cursor_field=cursor_field, + schema_loader=schema_loader, + retriever=retriever, + ) + + assert stream.name == name + assert stream.get_json_schema() == json_schema + assert stream.state == state + assert stream.read_records(SyncMode.full_refresh, cursor_field, None, None) == records + assert stream.primary_key == primary_key + assert stream.cursor_field == cursor_field + assert stream.stream_slices(sync_mode=SyncMode.incremental, cursor_field=cursor_field, stream_state=None) == stream_slices diff --git a/airbyte-cdk/python/unit_tests/sources/streams/http/auth/test_auth.py b/airbyte-cdk/python/unit_tests/sources/streams/http/auth/test_auth.py index f5b52b03ee62..2854c93f6953 100644 --- a/airbyte-cdk/python/unit_tests/sources/streams/http/auth/test_auth.py +++ b/airbyte-cdk/python/unit_tests/sources/streams/http/auth/test_auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py b/airbyte-cdk/python/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py index 58d85736f6c2..b4e737c19e8a 100644 --- a/airbyte-cdk/python/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py +++ b/airbyte-cdk/python/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/streams/http/test_http.py b/airbyte-cdk/python/unit_tests/sources/streams/http/test_http.py index d1d9734752bb..b57bf6dea949 100644 --- a/airbyte-cdk/python/unit_tests/sources/streams/http/test_http.py +++ b/airbyte-cdk/python/unit_tests/sources/streams/http/test_http.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # @@ -248,20 +248,22 @@ def test_raise_on_http_errors_off_non_retryable_4xx(mocker, status_code): assert response.status_code == status_code -def test_raise_on_http_errors_off_timeout(requests_mock): - stream = AutoFailFalseHttpStream() - requests_mock.register_uri("GET", stream.url_base, exc=requests.exceptions.ConnectTimeout) - - with pytest.raises(requests.exceptions.ConnectTimeout): - list(stream.read_records(SyncMode.full_refresh)) - - -def test_raise_on_http_errors_off_connection_error(requests_mock): +@pytest.mark.parametrize( + "error", + ( + requests.exceptions.ConnectTimeout, + requests.exceptions.ConnectionError, + requests.exceptions.ChunkedEncodingError, + requests.exceptions.ReadTimeout, + ), +) +def test_raise_on_http_errors(mocker, error): stream = AutoFailFalseHttpStream() - requests_mock.register_uri("GET", stream.url_base, exc=requests.exceptions.ConnectionError) + send_mock = mocker.patch.object(requests.Session, "send", side_effect=error()) - with pytest.raises(requests.exceptions.ConnectionError): + with pytest.raises(error): list(stream.read_records(SyncMode.full_refresh)) + assert send_mock.call_count == stream.max_retries + 1 class PostHttpStream(StubBasicReadHttpStream): diff --git a/airbyte-cdk/python/unit_tests/sources/streams/test_streams_core.py b/airbyte-cdk/python/unit_tests/sources/streams/test_streams_core.py index c073bd84e056..df01edc17ea0 100644 --- a/airbyte-cdk/python/unit_tests/sources/streams/test_streams_core.py +++ b/airbyte-cdk/python/unit_tests/sources/streams/test_streams_core.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/test_abstract_source.py b/airbyte-cdk/python/unit_tests/sources/test_abstract_source.py index 22f1b910e97c..77b7e81a55dd 100644 --- a/airbyte-cdk/python/unit_tests/sources/test_abstract_source.py +++ b/airbyte-cdk/python/unit_tests/sources/test_abstract_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/unit_tests/sources/test_config.py b/airbyte-cdk/python/unit_tests/sources/test_config.py index 909ed681d088..b76be571f93d 100644 --- a/airbyte-cdk/python/unit_tests/sources/test_config.py +++ b/airbyte-cdk/python/unit_tests/sources/test_config.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List, Union diff --git a/airbyte-cdk/python/unit_tests/sources/test_source.py b/airbyte-cdk/python/unit_tests/sources/test_source.py index 141168494c23..7a65ba18784e 100644 --- a/airbyte-cdk/python/unit_tests/sources/test_source.py +++ b/airbyte-cdk/python/unit_tests/sources/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/utils/test_catalog_helpers.py b/airbyte-cdk/python/unit_tests/sources/utils/test_catalog_helpers.py index 2c19726fcb25..8b82688aea62 100644 --- a/airbyte-cdk/python/unit_tests/sources/utils/test_catalog_helpers.py +++ b/airbyte-cdk/python/unit_tests/sources/utils/test_catalog_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/utils/test_schema_helpers.py b/airbyte-cdk/python/unit_tests/sources/utils/test_schema_helpers.py index 3899141a21ba..9268858e023b 100644 --- a/airbyte-cdk/python/unit_tests/sources/utils/test_schema_helpers.py +++ b/airbyte-cdk/python/unit_tests/sources/utils/test_schema_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/sources/utils/test_schema_models.py b/airbyte-cdk/python/unit_tests/sources/utils/test_schema_models.py index ca2fec7213d4..b0419dd1b26f 100644 --- a/airbyte-cdk/python/unit_tests/sources/utils/test_schema_models.py +++ b/airbyte-cdk/python/unit_tests/sources/utils/test_schema_models.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List, Optional diff --git a/airbyte-cdk/python/unit_tests/sources/utils/test_sentry.py b/airbyte-cdk/python/unit_tests/sources/utils/test_sentry.py index fd01cc653615..ccba0f25e78e 100644 --- a/airbyte-cdk/python/unit_tests/sources/utils/test_sentry.py +++ b/airbyte-cdk/python/unit_tests/sources/utils/test_sentry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-cdk/python/unit_tests/sources/utils/test_transform.py b/airbyte-cdk/python/unit_tests/sources/utils/test_transform.py index c74bab22f6ef..d61a6dfa17dc 100644 --- a/airbyte-cdk/python/unit_tests/sources/utils/test_transform.py +++ b/airbyte-cdk/python/unit_tests/sources/utils/test_transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-cdk/python/unit_tests/test_connector.py b/airbyte-cdk/python/unit_tests/test_connector.py index b1840ef08d52..06e9dd16ead1 100644 --- a/airbyte-cdk/python/unit_tests/test_connector.py +++ b/airbyte-cdk/python/unit_tests/test_connector.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/test_counter.py b/airbyte-cdk/python/unit_tests/test_counter.py index c6ffd9a5589d..74581b3c0132 100644 --- a/airbyte-cdk/python/unit_tests/test_counter.py +++ b/airbyte-cdk/python/unit_tests/test_counter.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/test_entrypoint.py b/airbyte-cdk/python/unit_tests/test_entrypoint.py index f34c9c033055..8fbbfe18e5cd 100644 --- a/airbyte-cdk/python/unit_tests/test_entrypoint.py +++ b/airbyte-cdk/python/unit_tests/test_entrypoint.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/test_exception_handler.py b/airbyte-cdk/python/unit_tests/test_exception_handler.py index 188f9e7e39db..7c9d84bb454c 100644 --- a/airbyte-cdk/python/unit_tests/test_exception_handler.py +++ b/airbyte-cdk/python/unit_tests/test_exception_handler.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/test_logger.py b/airbyte-cdk/python/unit_tests/test_logger.py index dbf99fab5955..8ae59e08ffbf 100644 --- a/airbyte-cdk/python/unit_tests/test_logger.py +++ b/airbyte-cdk/python/unit_tests/test_logger.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/test_secure_logger.py b/airbyte-cdk/python/unit_tests/test_secure_logger.py index 458850cf0784..d7e7d3794037 100644 --- a/airbyte-cdk/python/unit_tests/test_secure_logger.py +++ b/airbyte-cdk/python/unit_tests/test_secure_logger.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-cdk/python/unit_tests/utils/test_secret_utils.py b/airbyte-cdk/python/unit_tests/utils/test_secret_utils.py index 3ded3d6a588b..e86dc1215f59 100644 --- a/airbyte-cdk/python/unit_tests/utils/test_secret_utils.py +++ b/airbyte-cdk/python/unit_tests/utils/test_secret_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-cdk/python/unit_tests/utils/test_traced_exception.py b/airbyte-cdk/python/unit_tests/utils/test_traced_exception.py index 7f072a2663b2..c95d0bf48dcf 100644 --- a/airbyte-cdk/python/unit_tests/utils/test_traced_exception.py +++ b/airbyte-cdk/python/unit_tests/utils/test_traced_exception.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-commons-cli/src/main/java/io/airbyte/commons/cli/Clis.java b/airbyte-commons-cli/src/main/java/io/airbyte/commons/cli/Clis.java index 1833d5ed5218..623ef16631eb 100644 --- a/airbyte-commons-cli/src/main/java/io/airbyte/commons/cli/Clis.java +++ b/airbyte-commons-cli/src/main/java/io/airbyte/commons/cli/Clis.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.cli; diff --git a/airbyte-commons-cli/src/test/java/io/airbyte/commons/cli/ClisTest.java b/airbyte-commons-cli/src/test/java/io/airbyte/commons/cli/ClisTest.java index a2587c9ca18a..12df91995918 100644 --- a/airbyte-commons-cli/src/test/java/io/airbyte/commons/cli/ClisTest.java +++ b/airbyte-commons-cli/src/test/java/io/airbyte/commons/cli/ClisTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.cli; diff --git a/airbyte-commons-docker/src/main/java/io/airbyte/commons/docker/DockerUtils.java b/airbyte-commons-docker/src/main/java/io/airbyte/commons/docker/DockerUtils.java index 4d50e48f6195..254e81f483d8 100644 --- a/airbyte-commons-docker/src/main/java/io/airbyte/commons/docker/DockerUtils.java +++ b/airbyte-commons-docker/src/main/java/io/airbyte/commons/docker/DockerUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.docker; diff --git a/airbyte-commons-docker/src/test/java/io/airbyte/commons/docker/DockerUtilsTest.java b/airbyte-commons-docker/src/test/java/io/airbyte/commons/docker/DockerUtilsTest.java index b6dcd7fdc2c4..ebb013d85fcd 100644 --- a/airbyte-commons-docker/src/test/java/io/airbyte/commons/docker/DockerUtilsTest.java +++ b/airbyte-commons-docker/src/test/java/io/airbyte/commons/docker/DockerUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.docker; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/GracefulShutdownHandler.java b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/GracefulShutdownHandler.java index ad4adcaa0900..265d3bd11ee8 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/GracefulShutdownHandler.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/GracefulShutdownHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/LifecycledCallable.java b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/LifecycledCallable.java index 5fd9459ea25c..e556cfa99f99 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/LifecycledCallable.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/LifecycledCallable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/VoidCallable.java b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/VoidCallable.java index ac502ab5e291..c61802a70d0b 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/VoidCallable.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/VoidCallable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/WaitingUtils.java b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/WaitingUtils.java index f12e309a799b..6ee93240616d 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/WaitingUtils.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/concurrency/WaitingUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/enums/Enums.java b/airbyte-commons/src/main/java/io/airbyte/commons/enums/Enums.java index ccb47d1d1f54..1a5c59670a72 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/enums/Enums.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/enums/Enums.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.enums; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/features/EnvVariableFeatureFlags.java b/airbyte-commons/src/main/java/io/airbyte/commons/features/EnvVariableFeatureFlags.java index 8f482474dc59..21678000c910 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/features/EnvVariableFeatureFlags.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/features/EnvVariableFeatureFlags.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.features; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/features/FeatureFlags.java b/airbyte-commons/src/main/java/io/airbyte/commons/features/FeatureFlags.java index 5853df64c976..2b84bdc05170 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/features/FeatureFlags.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/features/FeatureFlags.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.features; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java index 1209364c3241..8ce45f530abc 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java index 68fa308428f5..f2d00d1d699d 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedBiFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java index 0853e8d32dc3..89133463ae9d 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedFunction.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedFunction.java index c06232d1eac8..cd959e5b1559 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedFunction.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java index a09e64cc8171..5fd62db014ab 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/CheckedSupplier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/Consumers.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/Consumers.java index 15c960c0a128..9738a4cd7130 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/Consumers.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/Consumers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/functional/ListConsumer.java b/airbyte-commons/src/main/java/io/airbyte/commons/functional/ListConsumer.java index 5aa0d118571b..e63fb5f69ebb 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/functional/ListConsumer.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/functional/ListConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.functional; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/io/Archives.java b/airbyte-commons/src/main/java/io/airbyte/commons/io/Archives.java index 034944b94579..5cac32cb5f67 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/io/Archives.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/io/Archives.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/io/FileTtlManager.java b/airbyte-commons/src/main/java/io/airbyte/commons/io/FileTtlManager.java index 5157688f314e..fc162bb1da56 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/io/FileTtlManager.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/io/FileTtlManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/io/IOs.java b/airbyte-commons/src/main/java/io/airbyte/commons/io/IOs.java index c3dce27228a4..044a16ac9d79 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/io/IOs.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/io/IOs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/io/LineGobbler.java b/airbyte-commons/src/main/java/io/airbyte/commons/io/LineGobbler.java index 0918ece24891..e19d22fff6cc 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/io/LineGobbler.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/io/LineGobbler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/jackson/MoreMappers.java b/airbyte-commons/src/main/java/io/airbyte/commons/jackson/MoreMappers.java index ceaf99647800..908e958056aa 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/jackson/MoreMappers.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/jackson/MoreMappers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.jackson; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonPaths.java b/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonPaths.java index 0b75b981500d..70062f294392 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonPaths.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonPaths.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonSchemas.java b/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonSchemas.java index 103dc95af866..b6da1dac351a 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonSchemas.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/json/JsonSchemas.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/json/Jsons.java b/airbyte-commons/src/main/java/io/airbyte/commons/json/Jsons.java index d3939a5b109d..3ed694a98256 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/json/Jsons.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/json/Jsons.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; @@ -129,6 +129,17 @@ public static byte[] toBytes(final JsonNode jsonNode) { return serialize(jsonNode).getBytes(Charsets.UTF_8); } + /** + * Use string length as an estimation for byte size, because all ASCII characters are one byte long + * in UTF-8, and ASCII characters cover most of the use cases. To be more precise, we can convert + * the string to byte[] and use the length of the byte[]. However, this conversion is expensive in + * memory consumption. Given that the byte size of the serialized JSON is already an estimation of + * the actual size of the JSON object, using a cheap operation seems an acceptable compromise. + */ + public static int getEstimatedByteSize(final JsonNode jsonNode) { + return serialize(jsonNode).length(); + } + public static Set keys(final JsonNode jsonNode) { if (jsonNode.isObject()) { return Jsons.object(jsonNode, new TypeReference>() {}).keySet(); diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableConsumer.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableConsumer.java index c0401c492aad..a2108e520cb6 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableConsumer.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableQueue.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableQueue.java index 1f9b6f31f946..b5b3ce57c891 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableQueue.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableQueue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableShutdownHook.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableShutdownHook.java index 2ac113181c5d..be36a4aef325 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableShutdownHook.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/CloseableShutdownHook.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/Exceptions.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/Exceptions.java index 00a1bffc7ce5..92110cdcb614 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/Exceptions.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/Exceptions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/MoreBooleans.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/MoreBooleans.java index 5637f75e5715..c3c0bfb2a0a7 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/MoreBooleans.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/MoreBooleans.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/lang/Queues.java b/airbyte-commons/src/main/java/io/airbyte/commons/lang/Queues.java index 2f899dcdd418..79fbf35a62d4 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/lang/Queues.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/lang/Queues.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/logging/LoggingHelper.java b/airbyte-commons/src/main/java/io/airbyte/commons/logging/LoggingHelper.java index e351bcdbf8ef..95ade87c4588 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/logging/LoggingHelper.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/logging/LoggingHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.logging; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/logging/MdcScope.java b/airbyte-commons/src/main/java/io/airbyte/commons/logging/MdcScope.java index 06a212162df6..2b8b2da210f7 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/logging/MdcScope.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/logging/MdcScope.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.logging; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/map/MoreMaps.java b/airbyte-commons/src/main/java/io/airbyte/commons/map/MoreMaps.java index 03a8e6afbee9..aab158a6a129 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/map/MoreMaps.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/map/MoreMaps.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.map; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/resources/MoreResources.java b/airbyte-commons/src/main/java/io/airbyte/commons/resources/MoreResources.java index 12f4c51ab3c2..7cb17330738a 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/resources/MoreResources.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/resources/MoreResources.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.resources; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/set/MoreSets.java b/airbyte-commons/src/main/java/io/airbyte/commons/set/MoreSets.java index 50cb27532622..b51fd27d7ebd 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/set/MoreSets.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/set/MoreSets.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.set; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/stream/MoreStreams.java b/airbyte-commons/src/main/java/io/airbyte/commons/stream/MoreStreams.java index 388c5d0c0549..229e2fa766f6 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/stream/MoreStreams.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/stream/MoreStreams.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.stream; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/string/Strings.java b/airbyte-commons/src/main/java/io/airbyte/commons/string/Strings.java index e396e93a5214..76dc3cd5eaba 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/string/Strings.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/string/Strings.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.string; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/text/Names.java b/airbyte-commons/src/main/java/io/airbyte/commons/text/Names.java index b13d1e68f86a..c2a5954e4b6d 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/text/Names.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/text/Names.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.text; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/text/Sqls.java b/airbyte-commons/src/main/java/io/airbyte/commons/text/Sqls.java index 9e3209400953..3a17a80510a0 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/text/Sqls.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/text/Sqls.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.text; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/time/Instants.java b/airbyte-commons/src/main/java/io/airbyte/commons/time/Instants.java index 21743b22997c..7927af8d1923 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/time/Instants.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/time/Instants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.time; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/type/Types.java b/airbyte-commons/src/main/java/io/airbyte/commons/type/Types.java index 3b1a368e382c..b74ef7bd0930 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/type/Types.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/type/Types.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.type; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterator.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterator.java index 12b99c560e0b..92dfcb08bece 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterator.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterators.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterators.java index 65a07187cd73..e52b430807aa 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterators.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/AutoCloseableIterators.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/CompositeIterator.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/CompositeIterator.java index 2ba62a996626..892e736c9172 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/CompositeIterator.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/CompositeIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/DefaultAutoCloseableIterator.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/DefaultAutoCloseableIterator.java index 76e1ed74820d..b2a1546b3b18 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/DefaultAutoCloseableIterator.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/DefaultAutoCloseableIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/LazyAutoCloseableIterator.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/LazyAutoCloseableIterator.java index 20dc12884cd8..3114c6ce9ddc 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/LazyAutoCloseableIterator.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/LazyAutoCloseableIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreIterators.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreIterators.java index 67c98f75f6fb..8bf74ace9a99 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreIterators.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreIterators.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreLists.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreLists.java index c253f64d2673..c12e5d7df3a7 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreLists.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreLists.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreProperties.java b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreProperties.java index bc2368dbb090..4633f3da853e 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreProperties.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/util/MoreProperties.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/version/AirbyteVersion.java b/airbyte-commons/src/main/java/io/airbyte/commons/version/AirbyteVersion.java index 402f02c0670d..09845f205e52 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/version/AirbyteVersion.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/version/AirbyteVersion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.version; diff --git a/airbyte-commons/src/main/java/io/airbyte/commons/yaml/Yamls.java b/airbyte-commons/src/main/java/io/airbyte/commons/yaml/Yamls.java index 997d04891f65..a8c2183ef192 100644 --- a/airbyte-commons/src/main/java/io/airbyte/commons/yaml/Yamls.java +++ b/airbyte-commons/src/main/java/io/airbyte/commons/yaml/Yamls.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.yaml; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/GracefulShutdownHandlerTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/GracefulShutdownHandlerTest.java index c7281b3a34f2..f14a7bb5ea19 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/GracefulShutdownHandlerTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/GracefulShutdownHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/LifecycledCallableTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/LifecycledCallableTest.java index bda97697fc7b..3206a0205e8a 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/LifecycledCallableTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/LifecycledCallableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/WaitingUtilsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/WaitingUtilsTest.java index 1b6333baef78..59670988f8f3 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/WaitingUtilsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/concurrency/WaitingUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.concurrency; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/enums/EnumsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/enums/EnumsTest.java index f529e2edffae..7f8ccf618f0c 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/enums/EnumsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/enums/EnumsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.enums; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/io/FileTtlManagerTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/io/FileTtlManagerTest.java index 8cada134657e..bb3476175acf 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/io/FileTtlManagerTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/io/FileTtlManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/io/IOsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/io/IOsTest.java index 5f72d9ccd02e..bf950894cd9f 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/io/IOsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/io/IOsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/io/LineGobblerTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/io/LineGobblerTest.java index 1689c151c9f2..b8cd340b9ec8 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/io/LineGobblerTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/io/LineGobblerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.io; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonPathsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonPathsTest.java index d0a8b3fd7cce..9a3b4f9b2040 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonPathsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonPathsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonSchemasTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonSchemasTest.java index e974612bb33c..b98d919e3cd7 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonSchemasTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonSchemasTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonsTest.java index 4dbc291f9e7b..2c331417058f 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/json/JsonsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.json; @@ -246,6 +246,12 @@ void testGetStringOrNull() { assertNull(Jsons.getStringOrNull(json, "xyz")); } + @Test + void testGetEstimatedByteSize() { + final JsonNode json = Jsons.deserialize("{\"string_key\":\"abc\",\"array_key\":[\"item1\", \"item2\"]}"); + assertEquals(Jsons.toBytes(json).length, Jsons.getEstimatedByteSize(json)); + } + private static class ToClass { @JsonProperty("str") diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/lang/CloseableShutdownHookTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/lang/CloseableShutdownHookTest.java index 86e24bfab435..2d3da2360122 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/lang/CloseableShutdownHookTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/lang/CloseableShutdownHookTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/lang/ExceptionsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/lang/ExceptionsTest.java index 1f63d5eb8f6e..05be8afcaeaa 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/lang/ExceptionsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/lang/ExceptionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/lang/MoreBooleansTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/lang/MoreBooleansTest.java index 8e9796886cd7..340d1655ca9d 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/lang/MoreBooleansTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/lang/MoreBooleansTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.lang; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/logging/Log4j2ConfigTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/logging/Log4j2ConfigTest.java index 0d5c72e9b4f3..35248eee2d13 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/logging/Log4j2ConfigTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/logging/Log4j2ConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.logging; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/logging/MdcScopeTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/logging/MdcScopeTest.java index e52901e65e50..3daf211c5967 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/logging/MdcScopeTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/logging/MdcScopeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.logging; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/map/MoreMapsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/map/MoreMapsTest.java index 1e4ff53c8111..51baabaa38f5 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/map/MoreMapsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/map/MoreMapsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.map; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/resources/MoreResourcesTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/resources/MoreResourcesTest.java index a5e685d2f69a..8995f308e3af 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/resources/MoreResourcesTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/resources/MoreResourcesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.resources; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/set/MoreSetsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/set/MoreSetsTest.java index 71212468939d..209cdd3f7b3a 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/set/MoreSetsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/set/MoreSetsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.set; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/string/StringsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/string/StringsTest.java index 0af2f262cebc..5439248bbeb0 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/string/StringsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/string/StringsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.string; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/text/NamesTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/text/NamesTest.java index 129262cc5534..6b175b2881e7 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/text/NamesTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/text/NamesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.text; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/text/SqlsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/text/SqlsTest.java index 6c3b2c3f714b..367e782d2060 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/text/SqlsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/text/SqlsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.text; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/time/InstantsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/time/InstantsTest.java index 7ad2b1536be3..75012c362ac3 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/time/InstantsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/time/InstantsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.time; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/AutoCloseableIteratorsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/AutoCloseableIteratorsTest.java index 145e6565454e..250bddb3759a 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/AutoCloseableIteratorsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/AutoCloseableIteratorsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/CompositeIteratorTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/CompositeIteratorTest.java index b3015957275e..c9783d2f9ef5 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/CompositeIteratorTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/CompositeIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/DefaultAutoCloseableIteratorTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/DefaultAutoCloseableIteratorTest.java index 1b09c412109b..9cb792b2d4d0 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/DefaultAutoCloseableIteratorTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/DefaultAutoCloseableIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/LazyAutoCloseableIteratorTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/LazyAutoCloseableIteratorTest.java index 602d063ac895..a05da41e9011 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/LazyAutoCloseableIteratorTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/LazyAutoCloseableIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/MoreListsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/MoreListsTest.java index 7b835aff02d5..a05db55e00c5 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/MoreListsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/MoreListsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/util/MorePropertiesTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/util/MorePropertiesTest.java index f14ca5b62458..71e35a42694c 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/util/MorePropertiesTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/util/MorePropertiesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.util; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/version/AirbyteVersionTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/version/AirbyteVersionTest.java index c08aab7432ac..fc3ae4af3846 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/version/AirbyteVersionTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/version/AirbyteVersionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.version; diff --git a/airbyte-commons/src/test/java/io/airbyte/commons/yaml/YamlsTest.java b/airbyte-commons/src/test/java/io/airbyte/commons/yaml/YamlsTest.java index d38eef6d5376..f287c79ab9e7 100644 --- a/airbyte-commons/src/test/java/io/airbyte/commons/yaml/YamlsTest.java +++ b/airbyte-commons/src/test/java/io/airbyte/commons/yaml/YamlsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.commons.yaml; diff --git a/airbyte-config/init/src/main/java/io/airbyte/config/init/SeedType.java b/airbyte-config/init/src/main/java/io/airbyte/config/init/SeedType.java index 373036962109..b878656a4702 100644 --- a/airbyte-config/init/src/main/java/io/airbyte/config/init/SeedType.java +++ b/airbyte-config/init/src/main/java/io/airbyte/config/init/SeedType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.init; diff --git a/airbyte-config/init/src/main/java/io/airbyte/config/init/YamlSeedConfigPersistence.java b/airbyte-config/init/src/main/java/io/airbyte/config/init/YamlSeedConfigPersistence.java index 8da1fcfb561c..b4b4f1f9bd1e 100644 --- a/airbyte-config/init/src/main/java/io/airbyte/config/init/YamlSeedConfigPersistence.java +++ b/airbyte-config/init/src/main/java/io/airbyte/config/init/YamlSeedConfigPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.init; diff --git a/airbyte-config/init/src/main/resources/icons/talkdesk-explore.svg b/airbyte-config/init/src/main/resources/icons/talkdesk-explore.svg new file mode 100644 index 000000000000..830a10a867f6 --- /dev/null +++ b/airbyte-config/init/src/main/resources/icons/talkdesk-explore.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml index f6c2767116b8..f680d2ff2fe6 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_definitions.yaml @@ -225,7 +225,7 @@ - name: Redshift destinationDefinitionId: f7a7d195-377f-cf5b-70a5-be6b819019dc dockerRepository: airbyte/destination-redshift - dockerImageTag: 0.3.35 + dockerImageTag: 0.3.37 documentationUrl: https://docs.airbyte.io/integrations/destinations/redshift icon: redshift.svg resourceRequirements: diff --git a/airbyte-config/init/src/main/resources/seed/destination_specs.yaml b/airbyte-config/init/src/main/resources/seed/destination_specs.yaml index bbe7b47d2db1..c95cec0d4cf9 100644 --- a/airbyte-config/init/src/main/resources/seed/destination_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/destination_specs.yaml @@ -3619,7 +3619,7 @@ supported_destination_sync_modes: - "overwrite" - "append" -- dockerImage: "airbyte/destination-redshift:0.3.35" +- dockerImage: "airbyte/destination-redshift:0.3.37" spec: documentationUrl: "https://docs.airbyte.io/integrations/destinations/redshift" connectionSpecification: diff --git a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml index cc69ff4f7681..1698f4eef38e 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -256,7 +256,7 @@ - name: Faker sourceDefinitionId: dfd88b22-b603-4c3d-aad7-3701784586b1 dockerRepository: airbyte/source-faker - dockerImageTag: 0.1.0 + dockerImageTag: 0.1.4 documentationUrl: https://docs.airbyte.com/integrations/source-faker sourceType: api releaseStage: alpha @@ -295,7 +295,7 @@ - name: GitHub sourceDefinitionId: ef69ef6e-aa7f-4af1-a01d-ef775033524e dockerRepository: airbyte/source-github - dockerImageTag: 0.2.30 + dockerImageTag: 0.2.31 documentationUrl: https://docs.airbyte.io/integrations/sources/github icon: github.svg sourceType: api @@ -343,7 +343,7 @@ - name: Google Sheets sourceDefinitionId: 71607ba1-c0ac-4799-8049-7f4b90dd50f7 dockerRepository: airbyte/source-google-sheets - dockerImageTag: 0.2.13 + dockerImageTag: 0.2.14 documentationUrl: https://docs.airbyte.io/integrations/sources/google-sheets icon: google-sheets.svg sourceType: file @@ -414,7 +414,7 @@ - name: Intercom sourceDefinitionId: d8313939-3782-41b0-be29-b3ca20d8dd3a dockerRepository: airbyte/source-intercom - dockerImageTag: 0.1.18 + dockerImageTag: 0.1.19 documentationUrl: https://docs.airbyte.io/integrations/sources/intercom icon: intercom.svg sourceType: api @@ -715,7 +715,7 @@ - name: Postgres sourceDefinitionId: decd338e-5647-4c0b-adf4-da0e75f5a750 dockerRepository: airbyte/source-postgres - dockerImageTag: 0.4.16 + dockerImageTag: 0.4.17 documentationUrl: https://docs.airbyte.io/integrations/sources/postgres icon: postgresql.svg sourceType: database @@ -895,6 +895,14 @@ icon: surveymonkey.svg sourceType: api releaseStage: alpha +- name: TalkDesk Explore + sourceDefinitionId: f00d2cf4-3c28-499a-ba93-b50b6f26359e + dockerRepository: airbyte/source-talkdesk-explore + dockerImageTag: 0.1.0 + documentationUrl: https://docs.airbyte.io/integrations/sources/talkdesk-explore + icon: talkdesk-explore.svg + sourceType: api + releaseStage: alpha - name: Tempo sourceDefinitionId: d1aa448b-7c54-498e-ad95-263cbebcd2db dockerRepository: airbyte/source-tempo diff --git a/airbyte-config/init/src/main/resources/seed/source_specs.yaml b/airbyte-config/init/src/main/resources/seed/source_specs.yaml index 1da52c524a2b..256cfa5e043e 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2133,7 +2133,7 @@ oauthFlowInitParameters: [] oauthFlowOutputParameters: - - "access_token" -- dockerImage: "airbyte/source-faker:0.1.0" +- dockerImage: "airbyte/source-faker:0.1.4" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/faker" connectionSpecification: @@ -2146,10 +2146,11 @@ properties: count: title: "Count" - description: "How many fake records should be generated" + description: "How many users should be generated in total. This setting\ + \ does not apply to the purchases or products stream." type: "integer" minimum: 1 - default: 100 + default: 1000 order: 0 seed: title: "Seed" @@ -2158,6 +2159,23 @@ type: "integer" default: -1 order: 1 + records_per_sync: + title: "Records Per Sync" + description: "How many fake records will be returned for each sync, for\ + \ each stream? By default, it will take 2 syncs to create the requested\ + \ 1000 records." + type: "integer" + minimum: 1 + default: 500 + order: 2 + records_per_slice: + title: "Records Per Stream Slice" + description: "How many fake records will be in each page (stream slice),\ + \ before a state message is emitted?" + type: "integer" + minimum: 1 + default: 100 + order: 3 supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] @@ -2493,7 +2511,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-github:0.2.30" +- dockerImage: "airbyte/source-github:0.2.31" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/github" connectionSpecification: @@ -3188,7 +3206,7 @@ oauthFlowOutputParameters: - - "access_token" - - "refresh_token" -- dockerImage: "airbyte/source-google-sheets:0.2.13" +- dockerImage: "airbyte/source-google-sheets:0.2.14" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/google-sheets" connectionSpecification: @@ -3759,7 +3777,7 @@ oauthFlowInitParameters: [] oauthFlowOutputParameters: - - "access_token" -- dockerImage: "airbyte/source-intercom:0.1.18" +- dockerImage: "airbyte/source-intercom:0.1.19" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/intercom" connectionSpecification: @@ -6537,7 +6555,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-postgres:0.4.16" +- dockerImage: "airbyte/source-postgres:0.4.17" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/postgres" connectionSpecification: @@ -8587,6 +8605,55 @@ oauthFlowInitParameters: [] oauthFlowOutputParameters: - - "access_token" +- dockerImage: "airbyte/source-talkdesk-explore:0.1.0" + spec: + documentationUrl: "https://docsurl.com" + connectionSpecification: + $schema: "http://json-schema.org/draft-07/schema#" + title: "Talkdesk Explore API Spec" + type: "object" + required: + - "start_date" + - "auth_url" + - "api_key" + additionalProperties: false + properties: + start_date: + type: "string" + title: "START DATE" + description: "The date from which you'd like to replicate data for Talkdesk\ + \ Explore API, in the format YYYY-MM-DDT00:00:00. All data generated after\ + \ this date will be replicated." + examples: + - "2020-10-15T00:00:00" + pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$" + order: 0 + timezone: + type: "string" + title: "TIMEZONE" + description: "Timezone to use when generating reports. Only IANA timezones\ + \ are supported (https://nodatime.org/TimeZones)" + examples: + - "Europe/London" + - "America/Los_Angeles" + default: "UTC" + order: 1 + auth_url: + title: "AUTH URL" + type: "string" + description: "Talkdesk Auth URL. Only 'client_credentials' auth type supported\ + \ at the moment." + examples: + - "https://xxxxxx.talkdeskid.com/oauth/token?grant_type=client_credentials" + order: 2 + api_key: + title: "API KEY" + type: "string" + description: "Talkdesk API key." + order: 3 + supportsNormalization: false + supportsDBT: false + supported_destination_sync_modes: [] - dockerImage: "airbyte/source-tempo:0.2.5" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/" diff --git a/airbyte-config/init/src/test/java/io/airbyte/config/init/SpecFormatTest.java b/airbyte-config/init/src/test/java/io/airbyte/config/init/SpecFormatTest.java index 2871f694333e..50ce9dc6b6e0 100644 --- a/airbyte-config/init/src/test/java/io/airbyte/config/init/SpecFormatTest.java +++ b/airbyte-config/init/src/test/java/io/airbyte/config/init/SpecFormatTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.init; diff --git a/airbyte-config/init/src/test/java/io/airbyte/config/init/YamlSeedConfigPersistenceTest.java b/airbyte-config/init/src/test/java/io/airbyte/config/init/YamlSeedConfigPersistenceTest.java index cb391d5710d3..03f36fff9320 100644 --- a/airbyte-config/init/src/test/java/io/airbyte/config/init/YamlSeedConfigPersistenceTest.java +++ b/airbyte-config/init/src/test/java/io/airbyte/config/init/YamlSeedConfigPersistenceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.init; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfig.java b/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfig.java index 26c88931a4a5..abc4a394d23e 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfig.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfigValidator.java b/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfigValidator.java index 175aad22189f..82818fb4bb50 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfigValidator.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/AirbyteConfigValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchema.java b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchema.java index 1096875ae7ac..84fa66740261 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchema.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchema.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchemaMigrationSupport.java b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchemaMigrationSupport.java index 4815a1d8c04f..65fb30788cf2 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchemaMigrationSupport.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigSchemaMigrationSupport.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigWithMetadata.java b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigWithMetadata.java index ec304a51398f..2a32b9714a1b 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/ConfigWithMetadata.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/ConfigWithMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/Configs.java b/airbyte-config/models/src/main/java/io/airbyte/config/Configs.java index 222912ec7ffc..dd19fc10bd43 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/Configs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/Configs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/EnvConfigs.java b/airbyte-config/models/src/main/java/io/airbyte/config/EnvConfigs.java index 5d7ce05f93c3..cfc7ebe0bd40 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/EnvConfigs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/EnvConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/MaxWorkersConfig.java b/airbyte-config/models/src/main/java/io/airbyte/config/MaxWorkersConfig.java index b9c81156e202..1cd3aff8145d 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/MaxWorkersConfig.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/MaxWorkersConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/TolerationPOJO.java b/airbyte-config/models/src/main/java/io/airbyte/config/TolerationPOJO.java index de7e5e7264d4..9915c38def04 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/TolerationPOJO.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/TolerationPOJO.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/WorkerEnvConstants.java b/airbyte-config/models/src/main/java/io/airbyte/config/WorkerEnvConstants.java index 9931c11d7089..633adc318894 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/WorkerEnvConstants.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/WorkerEnvConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/WorkspaceRetentionConfig.java b/airbyte-config/models/src/main/java/io/airbyte/config/WorkspaceRetentionConfig.java index 3ef6ab4d0760..61d1af8f13bf 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/WorkspaceRetentionConfig.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/WorkspaceRetentionConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/CloudLogs.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/CloudLogs.java index 0033888bb5b9..fee38146d6d4 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/CloudLogs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/CloudLogs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/GcsLogs.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/GcsLogs.java index 827225944aea..00e7b1a77636 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/GcsLogs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/GcsLogs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogClientSingleton.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogClientSingleton.java index 33a1826851c9..3527f65c6a1f 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogClientSingleton.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogClientSingleton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogConfigs.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogConfigs.java index 6275c706e93a..b2fe82c5dfd1 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogConfigs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/LogConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/S3Logs.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/S3Logs.java index 7cee1618b1f5..753ab1a41829 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/S3Logs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/S3Logs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/ScheduleHelpers.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/ScheduleHelpers.java index b6c934b01ca6..a9000dc19f10 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/ScheduleHelpers.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/ScheduleHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/YamlListToStandardDefinitions.java b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/YamlListToStandardDefinitions.java index 682c1f798174..84b529c6b58c 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/helpers/YamlListToStandardDefinitions.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/helpers/YamlListToStandardDefinitions.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/storage/CloudStorageConfigs.java b/airbyte-config/models/src/main/java/io/airbyte/config/storage/CloudStorageConfigs.java index 17824a1233df..4fce7e59cb64 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/storage/CloudStorageConfigs.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/storage/CloudStorageConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultGcsClientFactory.java b/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultGcsClientFactory.java index 05bec12c6a93..307d2ff01c4b 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultGcsClientFactory.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultGcsClientFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultS3ClientFactory.java b/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultS3ClientFactory.java index 897cc68cd02a..f39bcb6fb0aa 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultS3ClientFactory.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/storage/DefaultS3ClientFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/main/java/io/airbyte/config/storage/MinioS3ClientFactory.java b/airbyte-config/models/src/main/java/io/airbyte/config/storage/MinioS3ClientFactory.java index 947a3ce29728..054db977a0c4 100644 --- a/airbyte-config/models/src/main/java/io/airbyte/config/storage/MinioS3ClientFactory.java +++ b/airbyte-config/models/src/main/java/io/airbyte/config/storage/MinioS3ClientFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/ConfigSchemaTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/ConfigSchemaTest.java index 9cd2f12e39a3..6b1552df9d3b 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/ConfigSchemaTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/ConfigSchemaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/DataTypeEnumTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/DataTypeEnumTest.java index 5cdfb7a03fd8..f8135692f2af 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/DataTypeEnumTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/DataTypeEnumTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/EnvConfigsTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/EnvConfigsTest.java index 8f88f3b95631..734682329ea8 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/EnvConfigsTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/EnvConfigsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/CloudLogsClientTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/CloudLogsClientTest.java index 536f81073e9c..2216c02465b6 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/CloudLogsClientTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/CloudLogsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/GcsLogsTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/GcsLogsTest.java index 6db54d3864f7..03b87636723e 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/GcsLogsTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/GcsLogsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/KubeLoggingConfigTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/KubeLoggingConfigTest.java index 3b63dbeb9aa2..2eae57341c47 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/KubeLoggingConfigTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/KubeLoggingConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/LogClientSingletonTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/LogClientSingletonTest.java index 2d5de01af56b..57efcc50ef85 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/LogClientSingletonTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/LogClientSingletonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/S3LogsTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/S3LogsTest.java index 9dbd5826ddca..b8c2412eaec5 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/S3LogsTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/S3LogsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/ScheduleHelpersTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/ScheduleHelpersTest.java index 65f664549002..d1a895454694 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/ScheduleHelpersTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/ScheduleHelpersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/YamlListToStandardDefinitionsTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/YamlListToStandardDefinitionsTest.java index 67436d5f910c..e9a53f2b484f 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/helpers/YamlListToStandardDefinitionsTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/helpers/YamlListToStandardDefinitionsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.helpers; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/storage/CloudLogsClientTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/storage/CloudLogsClientTest.java index 954eec1f0a36..07dfb752aa07 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/storage/CloudLogsClientTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/storage/CloudLogsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/storage/DefaultS3ClientFactoryTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/storage/DefaultS3ClientFactoryTest.java index d7ee215717bc..842c9fc0fedc 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/storage/DefaultS3ClientFactoryTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/storage/DefaultS3ClientFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/models/src/test/java/io/airbyte/config/storage/MinioS3ClientFactoryTest.java b/airbyte-config/models/src/test/java/io/airbyte/config/storage/MinioS3ClientFactoryTest.java index a0d473e909e9..64e5c69f874d 100644 --- a/airbyte-config/models/src/test/java/io/airbyte/config/storage/MinioS3ClientFactoryTest.java +++ b/airbyte-config/models/src/test/java/io/airbyte/config/storage/MinioS3ClientFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.storage; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistence.java index 20d63e3a1e49..4141af34c6ba 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigNotFoundException.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigNotFoundException.java index 32c0b05bdc2d..2e1eee61ea3f 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigNotFoundException.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigNotFoundException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigPersistence.java index c88145db8709..6752e88be48a 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java index 13e42e02dbd9..676b52e6c90c 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigRepository.java @@ -1,19 +1,19 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG_FETCH_EVENT; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION_WORKSPACE_GRANT; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_OAUTH_PARAMETER; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION_OPERATION; -import static io.airbyte.db.instance.configs.jooq.Tables.OPERATION; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG_FETCH_EVENT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION_WORKSPACE_GRANT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_OAUTH_PARAMETER; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION_OPERATION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.OPERATION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE; import static org.jooq.impl.DSL.asterisk; import com.fasterxml.jackson.databind.JsonNode; @@ -40,9 +40,9 @@ import io.airbyte.config.WorkspaceServiceAccount; import io.airbyte.db.Database; import io.airbyte.db.ExceptionWrappingDatabase; -import io.airbyte.db.instance.configs.jooq.enums.ActorType; -import io.airbyte.db.instance.configs.jooq.enums.ReleaseStage; -import io.airbyte.db.instance.configs.jooq.enums.StatusType; +import io.airbyte.db.instance.configs.jooq.generated.enums.ActorType; +import io.airbyte.db.instance.configs.jooq.generated.enums.ReleaseStage; +import io.airbyte.db.instance.configs.jooq.generated.enums.StatusType; import io.airbyte.metrics.lib.MetricQueries; import io.airbyte.protocol.models.AirbyteCatalog; import io.airbyte.validation.json.JsonValidationException; @@ -651,8 +651,8 @@ public List listStandardSyncOperations() throws IOExcepti } /** - * Updates {@link io.airbyte.db.instance.configs.jooq.tables.ConnectionOperation} records for the - * given {@code connectionId}. + * Updates {@link io.airbyte.db.instance.configs.jooq.generated.tables.ConnectionOperation} records + * for the given {@code connectionId}. * * @param connectionId ID of the associated connection to update operations for * @param newOperationIds Set of all operationIds that should be associated to the connection diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigWriter.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigWriter.java index 1dd2f37a45cf..83969135dcaf 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigWriter.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ConfigWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; @@ -8,10 +8,10 @@ import io.airbyte.commons.json.Jsons; import io.airbyte.config.StandardDestinationDefinition; import io.airbyte.config.StandardSourceDefinition; -import io.airbyte.db.instance.configs.jooq.Tables; -import io.airbyte.db.instance.configs.jooq.enums.ActorType; -import io.airbyte.db.instance.configs.jooq.enums.ReleaseStage; -import io.airbyte.db.instance.configs.jooq.enums.SourceType; +import io.airbyte.db.instance.configs.jooq.generated.Tables; +import io.airbyte.db.instance.configs.jooq.generated.enums.ActorType; +import io.airbyte.db.instance.configs.jooq.generated.enums.ReleaseStage; +import io.airbyte.db.instance.configs.jooq.generated.enums.SourceType; import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.List; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DatabaseConfigPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DatabaseConfigPersistence.java index 912cd9474a35..7f3dde86dbb2 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DatabaseConfigPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DatabaseConfigPersistence.java @@ -1,20 +1,20 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG_FETCH_EVENT; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_OAUTH_PARAMETER; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION_OPERATION; -import static io.airbyte.db.instance.configs.jooq.Tables.OPERATION; -import static io.airbyte.db.instance.configs.jooq.Tables.STATE; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE_SERVICE_ACCOUNT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG_FETCH_EVENT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_OAUTH_PARAMETER; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION_OPERATION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.OPERATION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.STATE; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE_SERVICE_ACCOUNT; import static org.jooq.impl.DSL.asterisk; import static org.jooq.impl.DSL.select; @@ -50,7 +50,7 @@ import io.airbyte.config.persistence.split_secrets.JsonSecretsProcessor; import io.airbyte.db.Database; import io.airbyte.db.ExceptionWrappingDatabase; -import io.airbyte.db.instance.configs.jooq.enums.ActorType; +import io.airbyte.db.instance.configs.jooq.generated.enums.ActorType; import io.airbyte.protocol.models.ConnectorSpecification; import io.airbyte.validation.json.JsonValidationException; import java.io.IOException; @@ -1040,7 +1040,7 @@ private void writeStandardSyncOperation(final List config .set(OPERATION.WORKSPACE_ID, standardSyncOperation.getWorkspaceId()) .set(OPERATION.NAME, standardSyncOperation.getName()) .set(OPERATION.OPERATOR_TYPE, Enums.toEnum(standardSyncOperation.getOperatorType().value(), - io.airbyte.db.instance.configs.jooq.enums.OperatorType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.OperatorType.class).orElseThrow()) .set(OPERATION.OPERATOR_NORMALIZATION, JSONB.valueOf(Jsons.serialize(standardSyncOperation.getOperatorNormalization()))) .set(OPERATION.OPERATOR_DBT, JSONB.valueOf(Jsons.serialize(standardSyncOperation.getOperatorDbt()))) .set(OPERATION.TOMBSTONE, standardSyncOperation.getTombstone() != null && standardSyncOperation.getTombstone()) @@ -1054,7 +1054,7 @@ private void writeStandardSyncOperation(final List config .set(OPERATION.WORKSPACE_ID, standardSyncOperation.getWorkspaceId()) .set(OPERATION.NAME, standardSyncOperation.getName()) .set(OPERATION.OPERATOR_TYPE, Enums.toEnum(standardSyncOperation.getOperatorType().value(), - io.airbyte.db.instance.configs.jooq.enums.OperatorType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.OperatorType.class).orElseThrow()) .set(OPERATION.OPERATOR_NORMALIZATION, JSONB.valueOf(Jsons.serialize(standardSyncOperation.getOperatorNormalization()))) .set(OPERATION.OPERATOR_DBT, JSONB.valueOf(Jsons.serialize(standardSyncOperation.getOperatorDbt()))) .set(OPERATION.TOMBSTONE, standardSyncOperation.getTombstone() != null && standardSyncOperation.getTombstone()) @@ -1083,7 +1083,7 @@ private void writeStandardSync(final List configs, final DSLContex ctx.update(CONNECTION) .set(CONNECTION.ID, standardSync.getConnectionId()) .set(CONNECTION.NAMESPACE_DEFINITION, Enums.toEnum(standardSync.getNamespaceDefinition().value(), - io.airbyte.db.instance.configs.jooq.enums.NamespaceDefinitionType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.NamespaceDefinitionType.class).orElseThrow()) .set(CONNECTION.NAMESPACE_FORMAT, standardSync.getNamespaceFormat()) .set(CONNECTION.PREFIX, standardSync.getPrefix()) .set(CONNECTION.SOURCE_ID, standardSync.getSourceId()) @@ -1092,7 +1092,7 @@ private void writeStandardSync(final List configs, final DSLContex .set(CONNECTION.CATALOG, JSONB.valueOf(Jsons.serialize(standardSync.getCatalog()))) .set(CONNECTION.STATUS, standardSync.getStatus() == null ? null : Enums.toEnum(standardSync.getStatus().value(), - io.airbyte.db.instance.configs.jooq.enums.StatusType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.StatusType.class).orElseThrow()) .set(CONNECTION.SCHEDULE, JSONB.valueOf(Jsons.serialize(standardSync.getSchedule()))) .set(CONNECTION.MANUAL, standardSync.getManual()) .set(CONNECTION.RESOURCE_REQUIREMENTS, JSONB.valueOf(Jsons.serialize(standardSync.getResourceRequirements()))) @@ -1117,7 +1117,7 @@ private void writeStandardSync(final List configs, final DSLContex ctx.insertInto(CONNECTION) .set(CONNECTION.ID, standardSync.getConnectionId()) .set(CONNECTION.NAMESPACE_DEFINITION, Enums.toEnum(standardSync.getNamespaceDefinition().value(), - io.airbyte.db.instance.configs.jooq.enums.NamespaceDefinitionType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.NamespaceDefinitionType.class).orElseThrow()) .set(CONNECTION.NAMESPACE_FORMAT, standardSync.getNamespaceFormat()) .set(CONNECTION.PREFIX, standardSync.getPrefix()) .set(CONNECTION.SOURCE_ID, standardSync.getSourceId()) @@ -1126,7 +1126,7 @@ private void writeStandardSync(final List configs, final DSLContex .set(CONNECTION.CATALOG, JSONB.valueOf(Jsons.serialize(standardSync.getCatalog()))) .set(CONNECTION.STATUS, standardSync.getStatus() == null ? null : Enums.toEnum(standardSync.getStatus().value(), - io.airbyte.db.instance.configs.jooq.enums.StatusType.class).orElseThrow()) + io.airbyte.db.instance.configs.jooq.generated.enums.StatusType.class).orElseThrow()) .set(CONNECTION.SCHEDULE, JSONB.valueOf(Jsons.serialize(standardSync.getSchedule()))) .set(CONNECTION.MANUAL, standardSync.getManual()) .set(CONNECTION.RESOURCE_REQUIREMENTS, JSONB.valueOf(Jsons.serialize(standardSync.getResourceRequirements()))) @@ -1516,8 +1516,13 @@ public Map> dumpConfigs() throws IOException { ConfigSchema.STANDARD_SOURCE_DEFINITION, sourceDefinitionId.toString(), StandardSourceDefinition.class); + final JsonNode connectionSpecs = standardSourceDefinition.getSpec().getConnectionSpecification(); - return jsonSecretsProcessor.prepareSecretsForOutput(Jsons.jsonNode(configWithMetadata.getConfig()), connectionSpecs); + final JsonNode sanitizedConfig = + jsonSecretsProcessor.prepareSecretsForOutput(configWithMetadata.getConfig().getConfiguration(), connectionSpecs); + + configWithMetadata.getConfig().setConfiguration(sanitizedConfig); + return Jsons.jsonNode(configWithMetadata.getConfig()); } catch (final ConfigNotFoundException | JsonValidationException | IOException e) { throw new RuntimeException(e); } @@ -1534,8 +1539,12 @@ public Map> dumpConfigs() throws IOException { ConfigSchema.STANDARD_DESTINATION_DEFINITION, destinationDefinition.toString(), StandardDestinationDefinition.class); - final JsonNode connectionSpec = standardDestinationDefinition.getSpec().getConnectionSpecification(); - return jsonSecretsProcessor.prepareSecretsForOutput(Jsons.jsonNode(configWithMetadata.getConfig()), connectionSpec); + final JsonNode connectionSpecs = standardDestinationDefinition.getSpec().getConnectionSpecification(); + final JsonNode sanitizedConfig = + jsonSecretsProcessor.prepareSecretsForOutput(configWithMetadata.getConfig().getConfiguration(), connectionSpecs); + + configWithMetadata.getConfig().setConfiguration(sanitizedConfig); + return Jsons.jsonNode(configWithMetadata.getConfig()); } catch (final ConfigNotFoundException | JsonValidationException | IOException e) { throw new RuntimeException(e); } diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java index ce2d4232c8e0..e24704fc41d5 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/DbConverter.java @@ -1,15 +1,15 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_OAUTH_PARAMETER; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE_SERVICE_ACCOUNT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_OAUTH_PARAMETER; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE_SERVICE_ACCOUNT; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.json.Jsons; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryReader.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryReader.java index 3a879d8778c7..e1190eba6c7f 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryReader.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryReader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryWriter.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryWriter.java index 70170300cf1d..e2cf7f44be94 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryWriter.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/SecretsRepositoryWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ValidatingConfigPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ValidatingConfigPersistence.java index 6bc07cd188e0..6648ef2e6747 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ValidatingConfigPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/ValidatingConfigPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/GoogleSecretManagerPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/GoogleSecretManagerPersistence.java index 1dc6a09f9433..ea06250d63fe 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/GoogleSecretManagerPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/GoogleSecretManagerPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessor.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessor.java index 434e1fbade5e..88f0c796273d 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessor.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; @@ -18,9 +18,11 @@ import java.util.Optional; import java.util.Set; import lombok.Builder; +import lombok.extern.slf4j.Slf4j; @Builder @SuppressWarnings({"PMD.CognitiveComplexity", "PMD.CyclomaticComplexity"}) +@Slf4j public class JsonSecretsProcessor { @Builder.Default @@ -55,6 +57,7 @@ public JsonNode prepareSecretsForOutput(final JsonNode obj, final JsonNode schem // todo (cgardens) this is not safe. should throw. // if schema is an object and has a properties field if (!isValidJsonSchema(schema)) { + log.error("The schema is not valid, the secret can't be hidden"); return obj; } diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/LocalTestingSecretPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/LocalTestingSecretPersistence.java index cce5f6ebcba6..5d9ba6ae07ad 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/LocalTestingSecretPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/LocalTestingSecretPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/MemorySecretPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/MemorySecretPersistence.java index 161c2494363f..d86001d74e3a 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/MemorySecretPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/MemorySecretPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/NoOpSecretsHydrator.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/NoOpSecretsHydrator.java index 53a671f6dcec..403abcc7295d 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/NoOpSecretsHydrator.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/NoOpSecretsHydrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/ReadOnlySecretPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/ReadOnlySecretPersistence.java index 68a3cd562611..74a6b4e39bf7 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/ReadOnlySecretPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/ReadOnlySecretPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/RealSecretsHydrator.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/RealSecretsHydrator.java index 69e3d07bdd08..07d154096e0a 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/RealSecretsHydrator.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/RealSecretsHydrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinate.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinate.java index 62593c96eebf..7db3bf8ad7e2 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinate.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateToPayload.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateToPayload.java index 41b9ca584809..6814803bce00 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateToPayload.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateToPayload.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretPersistence.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretPersistence.java index 052a452db6e8..a98140c81814 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretPersistence.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretPersistence.java @@ -1,12 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; import io.airbyte.config.Configs; import io.airbyte.db.Database; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import java.io.IOException; import java.util.Optional; import org.jooq.DSLContext; @@ -26,7 +25,7 @@ public interface SecretPersistence extends ReadOnlySecretPersistence { static Optional getLongLived(final DSLContext dslContext, final Configs configs) throws IOException { switch (configs.getSecretPersistenceType()) { case TESTING_CONFIG_DB_TABLE -> { - final Database configDatabase = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + final Database configDatabase = new Database(dslContext); return Optional.of(new LocalTestingSecretPersistence(configDatabase)); } case GOOGLE_SECRET_MANAGER -> { @@ -51,7 +50,7 @@ static SecretsHydrator getSecretsHydrator(final DSLContext dslContext, final Con static Optional getEphemeral(final DSLContext dslContext, final Configs configs) throws IOException { switch (configs.getSecretPersistenceType()) { case TESTING_CONFIG_DB_TABLE -> { - final Database configDatabase = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + final Database configDatabase = new Database(dslContext); return Optional.of(new LocalTestingSecretPersistence(configDatabase)); } case GOOGLE_SECRET_MANAGER -> { diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHelpers.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHelpers.java index 7c3c9eea5027..4f1d51ea9473 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHelpers.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHydrator.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHydrator.java index 808e6a7327a1..72aac338426e 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHydrator.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SecretsHydrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SplitSecretConfig.java b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SplitSecretConfig.java index a59bba95303d..06d5d0c303a0 100644 --- a/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SplitSecretConfig.java +++ b/airbyte-config/persistence/src/main/java/io/airbyte/config/persistence/split_secrets/SplitSecretConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/test-integration/java/io/airbyte/config/persistence/GoogleSecretManagerPersistenceIntegrationTest.java b/airbyte-config/persistence/src/test-integration/java/io/airbyte/config/persistence/GoogleSecretManagerPersistenceIntegrationTest.java index 4214ba5ffb18..d7f65ce51f90 100644 --- a/airbyte-config/persistence/src/test-integration/java/io/airbyte/config/persistence/GoogleSecretManagerPersistenceIntegrationTest.java +++ b/airbyte-config/persistence/src/test-integration/java/io/airbyte/config/persistence/GoogleSecretManagerPersistenceIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/BaseDatabaseConfigPersistenceTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/BaseDatabaseConfigPersistenceTest.java index 1d94686cfcab..579428accccc 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/BaseDatabaseConfigPersistenceTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/BaseDatabaseConfigPersistenceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistenceTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistenceTest.java index b2792c5a0ef8..bed2281812cd 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistenceTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ClassEnforcingConfigPersistenceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java index ebbf71dd3168..f06cf8150195 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryE2EReadWriteTest.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION_WORKSPACE_GRANT; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION_OPERATION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION_WORKSPACE_GRANT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION_OPERATION; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -30,8 +30,9 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.development.DevDatabaseMigrator; import io.airbyte.db.instance.development.MigrationDevHelper; import io.airbyte.protocol.models.AirbyteCatalog; @@ -84,12 +85,12 @@ public static void dbSetup() { } @BeforeEach - void setup() throws IOException, JsonValidationException, SQLException { + void setup() throws IOException, JsonValidationException, SQLException, DatabaseInitializationException { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); flyway = FlywayFactory.create(dataSource, DatabaseConfigPersistenceLoadDataTest.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + database = new ConfigsDatabaseTestProvider(dslContext, flyway).create(false); jsonSecretsProcessor = mock(JsonSecretsProcessor.class); configPersistence = spy(new DatabaseConfigPersistence(database, jsonSecretsProcessor)); configRepository = spy(new ConfigRepository(configPersistence, database)); diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryTest.java index 6dbe6d8e9485..bcb20fd9e8e8 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ConfigRepositoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceE2EReadWriteTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceE2EReadWriteTest.java index 691c99f3d3aa..c9001b062421 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceE2EReadWriteTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceE2EReadWriteTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; @@ -27,8 +27,8 @@ import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.development.DevDatabaseMigrator; import io.airbyte.db.instance.development.MigrationDevHelper; import io.airbyte.test.utils.DatabaseConnectionHelper; @@ -47,10 +47,9 @@ class DatabaseConfigPersistenceE2EReadWriteTest extends BaseDatabaseConfigPersis void setup() throws Exception { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); flyway = FlywayFactory.create(dataSource, DatabaseConfigPersistenceLoadDataTest.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - + database = new ConfigsDatabaseTestProvider(dslContext, flyway).create(false); configPersistence = spy(new DatabaseConfigPersistence(database, jsonSecretsProcessor)); final ConfigsDatabaseMigrator configsDatabaseMigrator = new ConfigsDatabaseMigrator(database, flyway); diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceLoadDataTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceLoadDataTest.java index 4fd2d4c9f71f..12d711bfc0e8 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceLoadDataTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceLoadDataTest.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.reset; @@ -24,8 +24,8 @@ import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.development.DevDatabaseMigrator; import io.airbyte.db.instance.development.MigrationDevHelper; import io.airbyte.test.utils.DatabaseConnectionHelper; @@ -55,10 +55,9 @@ class DatabaseConfigPersistenceLoadDataTest extends BaseDatabaseConfigPersistenc public static void setup() throws Exception { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); flyway = FlywayFactory.create(dataSource, DatabaseConfigPersistenceLoadDataTest.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + database = new ConfigsDatabaseTestProvider(dslContext, flyway).create(false); configPersistence = spy(new DatabaseConfigPersistence(database, jsonSecretsProcessor)); final ConfigsDatabaseMigrator configsDatabaseMigrator = new ConfigsDatabaseMigrator(database, flyway); diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceTest.java index 7693adb222e0..9fe489f035aa 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceTest.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; import static io.airbyte.config.ConfigSchema.STANDARD_DESTINATION_DEFINITION; import static io.airbyte.config.ConfigSchema.STANDARD_SOURCE_DEFINITION; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; import static org.assertj.core.api.Assertions.assertThat; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -32,8 +32,8 @@ import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.development.DevDatabaseMigrator; import io.airbyte.db.instance.development.MigrationDevHelper; import io.airbyte.protocol.models.ConnectorSpecification; @@ -65,10 +65,9 @@ class DatabaseConfigPersistenceTest extends BaseDatabaseConfigPersistenceTest { public void setup() throws Exception { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); flyway = FlywayFactory.create(dataSource, DatabaseConfigPersistenceLoadDataTest.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + database = new ConfigsDatabaseTestProvider(dslContext, flyway).create(false); configPersistence = spy(new DatabaseConfigPersistence(database, jsonSecretsProcessor)); final ConfigsDatabaseMigrator configsDatabaseMigrator = new ConfigsDatabaseMigrator(database, flyway); diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceUpdateConnectorDefinitionsTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceUpdateConnectorDefinitionsTest.java index 2017b261028e..8bf417710d94 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceUpdateConnectorDefinitionsTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/DatabaseConfigPersistenceUpdateConnectorDefinitionsTest.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; import static org.junit.jupiter.api.Assertions.assertTrue; import com.fasterxml.jackson.databind.JsonNode; @@ -15,8 +15,8 @@ import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.development.DevDatabaseMigrator; import io.airbyte.db.instance.development.MigrationDevHelper; import io.airbyte.test.utils.DatabaseConnectionHelper; @@ -48,10 +48,9 @@ class DatabaseConfigPersistenceUpdateConnectorDefinitionsTest extends BaseDataba public static void setup() throws Exception { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); flyway = FlywayFactory.create(dataSource, DatabaseConfigPersistenceLoadDataTest.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - database = new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + database = new ConfigsDatabaseTestProvider(dslContext, flyway).create(false); configPersistence = new DatabaseConfigPersistence(database, jsonSecretsProcessor); final ConfigsDatabaseMigrator configsDatabaseMigrator = new ConfigsDatabaseMigrator(database, flyway); diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/MockData.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/MockData.java index 6b14daae8d9c..3554dac5a800 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/MockData.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/MockData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryReaderTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryReaderTest.java index 23217c5e11d1..4de5cc6e30b3 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryReaderTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryReaderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryWriterTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryWriterTest.java index bcae1c3f6bdb..9235f1e16423 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryWriterTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/SecretsRepositoryWriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ValidatingConfigPersistenceTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ValidatingConfigPersistenceTest.java index 10b12f7eb189..ec573c1c23ea 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ValidatingConfigPersistenceTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/ValidatingConfigPersistenceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessorTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessorTest.java index 3258eea36a19..52ce8030669c 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessorTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/JsonSecretsProcessorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateTest.java index 4837a8c45be8..15a421c27db2 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretCoordinateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsHelpersTest.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsHelpersTest.java index 1e79f938f605..59b314ddd6b7 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsHelpersTest.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsHelpersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsTestCase.java index f141079b8c5f..a4ceeb34fa59 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/SecretsTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayOneOfTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayOneOfTestCase.java index 4ca28db36890..bcc863dd4ebb 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayOneOfTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayOneOfTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayTestCase.java index 51410cb06964..38a6d3340ed7 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/ArrayTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedObjectTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedObjectTestCase.java index 3e2f27ed539d..2e50db77364f 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedObjectTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedObjectTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedOneOfTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedOneOfTestCase.java index 319ed80619eb..f71731df5f08 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedOneOfTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/NestedOneOfTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OneOfTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OneOfTestCase.java index 09f633803335..f01fbb7ad882 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OneOfTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OneOfTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OptionalPasswordTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OptionalPasswordTestCase.java index 5e1f98c2d5f7..934a0524d274 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OptionalPasswordTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/OptionalPasswordTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/PostgresSshKeyTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/PostgresSshKeyTestCase.java index f54ce654a2a4..2bd67ca8010b 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/PostgresSshKeyTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/PostgresSshKeyTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/SimpleTestCase.java b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/SimpleTestCase.java index 08f9f50242a8..eee1ca7984e7 100644 --- a/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/SimpleTestCase.java +++ b/airbyte-config/persistence/src/test/java/io/airbyte/config/persistence/split_secrets/test_cases/SimpleTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.persistence.split_secrets.test_cases; diff --git a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/GcsBucketSpecFetcher.java b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/GcsBucketSpecFetcher.java index 832326c551c4..06618694cf5e 100644 --- a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/GcsBucketSpecFetcher.java +++ b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/GcsBucketSpecFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.specs; diff --git a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorSpecGenerator.java b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorSpecGenerator.java index 69f08949185c..723464f2f308 100644 --- a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorSpecGenerator.java +++ b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorSpecGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.specs; diff --git a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorType.java b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorType.java index 36d1326af215..aa3cd4107061 100644 --- a/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorType.java +++ b/airbyte-config/specs/src/main/java/io/airbyte/config/specs/SeedConnectorType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.specs; diff --git a/airbyte-config/specs/src/test/java/io/airbyte/config/specs/GcsBucketSpecFetcherTest.java b/airbyte-config/specs/src/test/java/io/airbyte/config/specs/GcsBucketSpecFetcherTest.java index 25e16bea545b..84956ccf67c5 100644 --- a/airbyte-config/specs/src/test/java/io/airbyte/config/specs/GcsBucketSpecFetcherTest.java +++ b/airbyte-config/specs/src/test/java/io/airbyte/config/specs/GcsBucketSpecFetcherTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.specs; diff --git a/airbyte-config/specs/src/test/java/io/airbyte/config/specs/SeedConnectorSpecGeneratorTest.java b/airbyte-config/specs/src/test/java/io/airbyte/config/specs/SeedConnectorSpecGeneratorTest.java index e9c57927148b..5750a152487c 100644 --- a/airbyte-config/specs/src/test/java/io/airbyte/config/specs/SeedConnectorSpecGeneratorTest.java +++ b/airbyte-config/specs/src/test/java/io/airbyte/config/specs/SeedConnectorSpecGeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.config.specs; diff --git a/airbyte-container-orchestrator/Dockerfile b/airbyte-container-orchestrator/Dockerfile index d5d8aa5eae9b..9c8805d4b7a4 100644 --- a/airbyte-container-orchestrator/Dockerfile +++ b/airbyte-container-orchestrator/Dockerfile @@ -28,7 +28,7 @@ RUN echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] htt RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y kubectl # Don't change this manually. Bump version expects to make moves based on this string -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-container-orchestrator ENV VERSION=${VERSION} diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/AsyncStateManager.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/AsyncStateManager.java index d05d2f408e1a..991128ff4450 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/AsyncStateManager.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/AsyncStateManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ContainerOrchestratorApp.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ContainerOrchestratorApp.java index c6da05a7ecbd..3fa174a57622 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ContainerOrchestratorApp.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ContainerOrchestratorApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DbtJobOrchestrator.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DbtJobOrchestrator.java index 2ae8d508bd58..dfbef5729968 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DbtJobOrchestrator.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DbtJobOrchestrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DefaultAsyncStateManager.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DefaultAsyncStateManager.java index ed234f224444..2114066d5495 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DefaultAsyncStateManager.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/DefaultAsyncStateManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/JobOrchestrator.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/JobOrchestrator.java index 8c572cd97bf6..854663ac00bc 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/JobOrchestrator.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/JobOrchestrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NoOpOrchestrator.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NoOpOrchestrator.java index 77181e817644..1a5a62d766df 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NoOpOrchestrator.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NoOpOrchestrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NormalizationJobOrchestrator.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NormalizationJobOrchestrator.java index 6a38c423987e..f83f2de27736 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NormalizationJobOrchestrator.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/NormalizationJobOrchestrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ReplicationJobOrchestrator.java b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ReplicationJobOrchestrator.java index 55d65a7e9726..9f153e7e87d3 100644 --- a/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ReplicationJobOrchestrator.java +++ b/airbyte-container-orchestrator/src/main/java/io/airbyte/container_orchestrator/ReplicationJobOrchestrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-container-orchestrator/src/test/java/io/airbyte/container_orchestrator/DefaultAsyncStateManagerTest.java b/airbyte-container-orchestrator/src/test/java/io/airbyte/container_orchestrator/DefaultAsyncStateManagerTest.java index 07840b95a971..3a6098f0f111 100644 --- a/airbyte-container-orchestrator/src/test/java/io/airbyte/container_orchestrator/DefaultAsyncStateManagerTest.java +++ b/airbyte-container-orchestrator/src/test/java/io/airbyte/container_orchestrator/DefaultAsyncStateManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.container_orchestrator; diff --git a/airbyte-db/jooq/build.gradle b/airbyte-db/jooq/build.gradle index 24b41309eedb..02f1a7b7ec02 100644 --- a/airbyte-db/jooq/build.gradle +++ b/airbyte-db/jooq/build.gradle @@ -39,7 +39,7 @@ jooq { excludes = 'airbyte_configs_migrations' } target { - packageName = 'io.airbyte.db.instance.configs.jooq' + packageName = 'io.airbyte.db.instance.configs.jooq.generated' directory = 'build/generated/configsDatabase/src/main/java' } } @@ -57,7 +57,7 @@ jooq { excludes = 'airbyte_jobs_migrations' } target { - packageName = 'io.airbyte.db.instance.jobs.jooq' + packageName = 'io.airbyte.db.instance.jobs.jooq.generated' directory = 'build/generated/jobsDatabase/src/main/java' } } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/AbstractDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/AbstractDatabase.java index 6e36825b0bac..555a5fb73053 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/AbstractDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/AbstractDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/ContextQueryFunction.java b/airbyte-db/lib/src/main/java/io/airbyte/db/ContextQueryFunction.java index 5a2ec46e4372..d3f3b41781a7 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/ContextQueryFunction.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/ContextQueryFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeSupplier.java b/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeSupplier.java index 487ef540aca6..a1e6bd1cb2d8 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeSupplier.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeSupplier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeUtils.java b/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeUtils.java index 7cad6a4c4d1b..d63f91d4700f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeUtils.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/DataTypeUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/Database.java b/airbyte-db/lib/src/main/java/io/airbyte/db/Database.java index e620adef10a8..8e3a315cd0f0 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/Database.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/Database.java @@ -1,28 +1,18 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; -import io.airbyte.commons.lang.Exceptions; -import java.io.IOException; import java.sql.SQLException; -import java.util.function.Function; -import lombok.val; import org.jooq.DSLContext; import org.jooq.impl.DSL; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; /** * Database object for interacting with a Jooq connection. */ public class Database { - private static final Logger LOGGER = LoggerFactory.getLogger(Database.class); - - private static final long DEFAULT_WAIT_MS = 5 * 1000; - private final DSLContext dslContext; public Database(final DSLContext dslContext) { @@ -37,51 +27,4 @@ public T transaction(final ContextQueryFunction transform) throws SQLExce return dslContext.transactionResult(configuration -> transform.query(DSL.using(configuration))); } - public static Database createWithRetry(final DSLContext dslContext, - final Function isDbReady) { - Database database = null; - while (database == null) { - try { - val infinity = Integer.MAX_VALUE; - database = createWithRetryTimeout(dslContext, isDbReady, infinity); - } catch (final IOException e) { - // This should theoretically never happen since we set the timeout to be a very high number. - } - } - - LOGGER.info("Database available!"); - return database; - } - - public static Database createWithRetryTimeout(final DSLContext dslContext, - final Function isDbReady, - final long timeoutMs) - throws IOException { - Database database = null; - var totalTime = 0; - while (database == null) { - LOGGER.warn("Waiting for database to become available..."); - if (totalTime >= timeoutMs) { - throw new IOException("Unable to connect to database."); - } - - try { - database = new Database(dslContext); - if (!isDbReady.apply(database)) { - LOGGER.info("Database is not ready yet. Please wait a moment, it might still be initializing..."); - database = null; - Exceptions.toRuntime(() -> Thread.sleep(DEFAULT_WAIT_MS)); - totalTime += DEFAULT_WAIT_MS; - } - } catch (final Exception e) { - // Ignore the exception because this likely means that the database server is still initializing. - LOGGER.warn("Ignoring exception while trying to request database:", e); - database = null; - Exceptions.toRuntime(() -> Thread.sleep(DEFAULT_WAIT_MS)); - totalTime += DEFAULT_WAIT_MS; - } - } - return database; - } - } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/Databases.java b/airbyte-db/lib/src/main/java/io/airbyte/db/Databases.java deleted file mode 100644 index 63a04ce7f883..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/Databases.java +++ /dev/null @@ -1,232 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db; - -import com.google.common.collect.Maps; -import io.airbyte.commons.lang.Exceptions; -import io.airbyte.db.bigquery.BigQueryDatabase; -import io.airbyte.db.factory.DSLContextFactory; -import io.airbyte.db.factory.DataSourceFactory; -import io.airbyte.db.factory.DatabaseDriver; -import io.airbyte.db.jdbc.DefaultJdbcDatabase; -import io.airbyte.db.jdbc.JdbcDatabase; -import io.airbyte.db.jdbc.JdbcSourceOperations; -import io.airbyte.db.jdbc.JdbcUtils; -import io.airbyte.db.jdbc.StreamingJdbcDatabase; -import io.airbyte.db.jdbc.streaming.JdbcStreamingQueryConfig; -import io.airbyte.db.mongodb.MongoDatabase; -import java.io.IOException; -import java.util.Map; -import java.util.function.Function; -import java.util.function.Supplier; -import javax.sql.DataSource; -import lombok.val; -import org.jooq.SQLDialect; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * Provides utility methods to create configured {@link Database} instances. - * - * @deprecated This class has been marked as deprecated as we move to using an application framework - * to manage resources. This class will be removed in a future release. - * - * @see io.airbyte.db.factory.DataSourceFactory - * @see io.airbyte.db.factory.DSLContextFactory - * @see io.airbyte.db.factory.FlywayFactory - */ -@Deprecated(forRemoval = true) -public class Databases { - - private static final Logger LOGGER = LoggerFactory.getLogger(Databases.class); - private static final long DEFAULT_WAIT_MS = 5 * 1000; - - public static Database createPostgresDatabase(final String username, - final String password, - final String host, - final int port, - final String database) { - return createPostgresDatabase(username, password, String.format("jdbc:postgresql://%s:%s/%s", host, port, database)); - } - - public static Database createPostgresDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, DatabaseDriver.POSTGRESQL.getDriverClassName(), SQLDialect.POSTGRES); - } - - public static Database createPostgresDatabaseWithRetry(final String username, - final String password, - final String jdbcConnectionString, - final Function isDbReady) { - Database database = null; - while (database == null) { - try { - val infinity = Integer.MAX_VALUE; - database = createPostgresDatabaseWithRetryTimeout(username, password, jdbcConnectionString, isDbReady, infinity); - } catch (final IOException e) { - // This should theoretically never happen since we set the timeout to be a very high number. - } - } - - LOGGER.info("Database available!"); - return database; - } - - public static Database createPostgresDatabaseWithRetryTimeout(final String username, - final String password, - final String jdbcConnectionString, - final Function isDbReady, - final long timeoutMs) - throws IOException { - Database database = null; - if (jdbcConnectionString == null || jdbcConnectionString.trim().equals("")) { - throw new IllegalArgumentException("Using a null or empty jdbc url will hang database creation; aborting."); - } - - var totalTime = 0; - while (database == null) { - LOGGER.warn("Waiting for database to become available..."); - if (totalTime >= timeoutMs) { - final var error = String.format("Unable to connection to database at %s..", jdbcConnectionString); - throw new IOException(error); - } - - try { - database = createPostgresDatabase(username, password, jdbcConnectionString); - if (!isDbReady.apply(database)) { - LOGGER.info("Database is not ready yet. Please wait a moment, it might still be initializing..."); - database = null; - Exceptions.toRuntime(() -> Thread.sleep(DEFAULT_WAIT_MS)); - totalTime += DEFAULT_WAIT_MS; - } - } catch (final Exception e) { - // Ignore the exception because this likely means that the database server is still initializing. - LOGGER.warn("Ignoring exception while trying to request database:", e); - database = null; - Exceptions.toRuntime(() -> Thread.sleep(DEFAULT_WAIT_MS)); - totalTime += DEFAULT_WAIT_MS; - } - } - - LOGGER.info("Database available!"); - return database; - } - - public static JdbcDatabase createRedshiftDatabase(final String username, final String password, final String jdbcConnectionString) { - return createJdbcDatabase(username, password, jdbcConnectionString, "com.amazon.redshift.jdbc.Driver"); - } - - public static Database createMySqlDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, "com.mysql.cj.jdbc.Driver", SQLDialect.MYSQL); - } - - public static Database createSqlServerDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, "com.microsoft.sqlserver.jdbc.SQLServerDriver", SQLDialect.DEFAULT); - } - - public static Database createOracleDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, "oracle.jdbc.OracleDriver", SQLDialect.DEFAULT); - } - - public static Database createClickhouseDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, "ru.yandex.clickhouse.ClickHouseDriver", SQLDialect.DEFAULT); - } - - public static Database createMariaDbDatabase(final String username, final String password, final String jdbcConnectionString) { - return createDatabase(username, password, jdbcConnectionString, "org.mariadb.jdbc.Driver", SQLDialect.MARIADB); - } - - public static Database createDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final SQLDialect dialect) { - return new Database(DSLContextFactory.create(username, password, driverClassName, jdbcConnectionString, dialect)); - } - - public static Database createDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final SQLDialect dialect, - final Map connectionProperties) { - return new Database(DSLContextFactory.create(username, password, driverClassName, jdbcConnectionString, dialect, connectionProperties)); - } - - public static JdbcDatabase createJdbcDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName) { - return createJdbcDatabase(username, password, jdbcConnectionString, driverClassName, JdbcUtils.getDefaultSourceOperations()); - } - - public static JdbcDatabase createJdbcDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final JdbcSourceOperations sourceOperations) { - final DataSource connectionPool = createBasicDataSource(username, password, jdbcConnectionString, driverClassName); - - return new DefaultJdbcDatabase(connectionPool, sourceOperations); - } - - public static JdbcDatabase createJdbcDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final Map connectionProperties) { - return createJdbcDatabase(username, password, jdbcConnectionString, driverClassName, connectionProperties, - JdbcUtils.getDefaultSourceOperations()); - } - - public static JdbcDatabase createJdbcDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final Map connectionProperties, - final JdbcCompatibleSourceOperations sourceOperations) { - final DataSource connectionPool = - createBasicDataSource(username, password, jdbcConnectionString, driverClassName, connectionProperties); - - return new DefaultJdbcDatabase(connectionPool, sourceOperations); - } - - public static JdbcDatabase createStreamingJdbcDatabase(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final Supplier streamingQueryConfigProvider, - final Map connectionProperties, - final JdbcCompatibleSourceOperations sourceOperations) { - final DataSource connectionPool = - createBasicDataSource(username, password, jdbcConnectionString, driverClassName, connectionProperties); - - return new StreamingJdbcDatabase(connectionPool, sourceOperations, streamingQueryConfigProvider); - } - - private static DataSource createBasicDataSource(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName) { - return createBasicDataSource(username, password, jdbcConnectionString, driverClassName, - Maps.newHashMap()); - } - - public static DataSource createBasicDataSource(final String username, - final String password, - final String jdbcConnectionString, - final String driverClassName, - final Map connectionProperties) { - return DataSourceFactory.create(username, password, driverClassName, jdbcConnectionString, connectionProperties); - } - - public static BigQueryDatabase createBigQueryDatabase(final String projectId, final String jsonCreds) { - return new BigQueryDatabase(projectId, jsonCreds); - } - - public static MongoDatabase createMongoDatabase(final String connectionString, final String databaseName) { - return new MongoDatabase(connectionString, databaseName); - } - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/ExceptionWrappingDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/ExceptionWrappingDatabase.java index 02f6188a5522..f3582e11b93d 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/ExceptionWrappingDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/ExceptionWrappingDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/IncrementalUtils.java b/airbyte-db/lib/src/main/java/io/airbyte/db/IncrementalUtils.java index 5b1c9257daef..f92e9af788c6 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/IncrementalUtils.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/IncrementalUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/JdbcCompatibleSourceOperations.java b/airbyte-db/lib/src/main/java/io/airbyte/db/JdbcCompatibleSourceOperations.java index dd5c780f1770..9539441e0e50 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/JdbcCompatibleSourceOperations.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/JdbcCompatibleSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/PgLsn.java b/airbyte-db/lib/src/main/java/io/airbyte/db/PgLsn.java index 9b6ed0d79032..87b9a1cd1ce3 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/PgLsn.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/PgLsn.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/PostgresUtils.java b/airbyte-db/lib/src/main/java/io/airbyte/db/PostgresUtils.java index 91b0b6fafdbb..ce249d8f5575 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/PostgresUtils.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/PostgresUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/SourceOperations.java b/airbyte-db/lib/src/main/java/io/airbyte/db/SourceOperations.java index 2272d0e17ea8..eb8946abc433 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/SourceOperations.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/SourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/SqlDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/SqlDatabase.java index 9265ffeda026..13e9073c7787 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/SqlDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/SqlDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryDatabase.java index 879f71559055..8ee6d27b04dc 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.bigquery; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryResultSet.java b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryResultSet.java index a982916d8c5a..c101975ba630 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryResultSet.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQueryResultSet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.bigquery; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQuerySourceOperations.java b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQuerySourceOperations.java index 8d4a9604c0a1..f71bad6ff012 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQuerySourceOperations.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/BigQuerySourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.bigquery; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/TempBigQueryJoolDatabaseImpl.java b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/TempBigQueryJoolDatabaseImpl.java index 93d5472172cc..d67c6463a542 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/TempBigQueryJoolDatabaseImpl.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/bigquery/TempBigQueryJoolDatabaseImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.bigquery; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseAvailabilityCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseAvailabilityCheck.java index ee665dd70b9c..70230e6ca499 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseAvailabilityCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseAvailabilityCheck.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check; @@ -52,6 +52,8 @@ default void check() throws DatabaseCheckException { throw new DatabaseCheckException("Unable to wait for database to be ready.", e); } totalTime += sleepTime; + } else { + getLogger().info("Database available."); } } else { throw new DatabaseCheckException("Database configuration not present."); diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheck.java index a78297588a0e..84c4838ab416 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheck.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheckException.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheckException.java index e7b96e4e606f..ab947c43996c 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheckException.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseCheckException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseMigrationCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseMigrationCheck.java index 1cf2864b1fd7..24ec710ac324 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseMigrationCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/DatabaseMigrationCheck.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check; @@ -30,30 +30,65 @@ default void check() throws DatabaseCheckException { final var sleepTime = getTimeoutMs() / NUM_POLL_TIMES; final Optional flywayOptional = getFlyway(); - if (flywayOptional.isPresent()) { - final var flyway = flywayOptional.get(); - var currDatabaseMigrationVersion = flyway.info().current().getVersion().getVersion(); - getLogger().info("Current database migration version {}.", currDatabaseMigrationVersion); - getLogger().info("Minimum Flyway version required {}.", getMinimumFlywayVersion()); + // Verify that the database is up and reachable first + final Optional availabilityCheck = getDatabaseAvailabilityCheck(); + if (availabilityCheck.isPresent()) { + availabilityCheck.get().check(); + if (flywayOptional.isPresent()) { + final var flyway = flywayOptional.get(); - while (currDatabaseMigrationVersion.compareTo(getMinimumFlywayVersion()) < 0) { - if (System.currentTimeMillis() - startTime >= getTimeoutMs()) { - throw new DatabaseCheckException("Timeout while waiting for database to fulfill minimum flyway migration version.."); + /** + * The database may be available, but not yet migrated. If this is the case, the Flyway object will + * not be able to retrieve the current version of the schema. Therefore, wait for the migration to + * complete before moving on with the test. + */ + while (flyway.info().current() == null) { + getLogger().info("Waiting for migration to complete..."); + sleep(sleepTime); } - try { - Thread.sleep(sleepTime); - } catch (final InterruptedException e) { - throw new DatabaseCheckException("Unable to wait for database to be migrated.", e); + var currDatabaseMigrationVersion = flyway.info().current().getVersion().getVersion(); + getLogger().info("Current database migration version {}.", currDatabaseMigrationVersion); + getLogger().info("Minimum Flyway version required {}.", getMinimumFlywayVersion()); + + while (currDatabaseMigrationVersion.compareTo(getMinimumFlywayVersion()) < 0) { + if (System.currentTimeMillis() - startTime >= getTimeoutMs()) { + throw new DatabaseCheckException("Timeout while waiting for database to fulfill minimum flyway migration version.."); + } + sleep(sleepTime); + currDatabaseMigrationVersion = flyway.info().current().getVersion().getVersion(); } - currDatabaseMigrationVersion = flyway.info().current().getVersion().getVersion(); + getLogger().info("Verified that database has been migrated to the required minimum version {}.", getTimeoutMs()); + } else { + throw new DatabaseCheckException("Flyway configuration not present."); } - getLogger().info("Verified that database has been migrated to the required minimum version {}.", getTimeoutMs()); } else { - throw new DatabaseCheckException("Flyway configuration not present."); + throw new DatabaseCheckException("Availability check not configured."); } } + /** + * Sleep for the provided amount of time (in milliseconds). + * + * @param sleepTime The amount of time to sleep + * @throws DatabaseCheckException if unable to sleep for the required amount of time. + */ + default void sleep(final long sleepTime) throws DatabaseCheckException { + try { + Thread.sleep(sleepTime); + } catch (final InterruptedException e) { + throw new DatabaseCheckException("Unable to wait for database to be migrated.", e); + } + } + + /** + * Retrieves the {@link DatabaseAvailabilityCheck} used to verify that the database is running and + * available. + * + * @return The {@link DatabaseAvailabilityCheck}. + */ + Optional getDatabaseAvailabilityCheck(); + /** * Retrieves the configured {@link Flyway} object to be used to check the migration status of the * database. diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheck.java index fdbe46cc361c..efb1449b2b7a 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheck.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheck.java index 95f832afe569..eeb89a6f910b 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheck.java @@ -1,9 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; +import io.airbyte.db.check.DatabaseAvailabilityCheck; import io.airbyte.db.check.DatabaseMigrationCheck; import java.util.Optional; import org.flywaydb.core.Flyway; @@ -17,6 +18,9 @@ public class ConfigsDatabaseMigrationCheck implements DatabaseMigrationCheck { private static final Logger LOGGER = LoggerFactory.getLogger(ConfigsDatabaseMigrationCheck.class); + // TODO inject via dependency injection framework + private final ConfigsDatabaseAvailabilityCheck databaseAvailablityCheck; + // TODO inject via dependency injection framework private final Flyway flyway; @@ -26,12 +30,21 @@ public class ConfigsDatabaseMigrationCheck implements DatabaseMigrationCheck { // TODO inject via dependency injection framework private final long timeoutMs; - public ConfigsDatabaseMigrationCheck(final Flyway flyway, final String minimumFlywayVersion, final long timeoutMs) { + public ConfigsDatabaseMigrationCheck(final ConfigsDatabaseAvailabilityCheck databaseAvailablityCheck, + final Flyway flyway, + final String minimumFlywayVersion, + final long timeoutMs) { + this.databaseAvailablityCheck = databaseAvailablityCheck; this.flyway = flyway; this.minimumFlywayVersion = minimumFlywayVersion; this.timeoutMs = timeoutMs; } + @Override + public Optional getDatabaseAvailabilityCheck() { + return Optional.ofNullable(databaseAvailablityCheck); + } + @Override public Optional getFlyway() { return Optional.ofNullable(flyway); diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheck.java index 4fd289e8a42c..002eb01c0171 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheck.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheck.java index 33bb6789c427..db26dd7ec50c 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheck.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheck.java @@ -1,9 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; +import io.airbyte.db.check.DatabaseAvailabilityCheck; import io.airbyte.db.check.DatabaseMigrationCheck; import java.util.Optional; import org.flywaydb.core.Flyway; @@ -17,6 +18,9 @@ public class JobsDatabaseMigrationCheck implements DatabaseMigrationCheck { private static final Logger LOGGER = LoggerFactory.getLogger(JobsDatabaseMigrationCheck.class); + // TODO inject via dependency injection framework + private final JobsDatabaseAvailabilityCheck databaseAvailablityCheck; + // TODO inject via dependency injection framework private final Flyway flyway; @@ -26,12 +30,21 @@ public class JobsDatabaseMigrationCheck implements DatabaseMigrationCheck { // TODO inject via dependency injection framework private final long timeoutMs; - public JobsDatabaseMigrationCheck(final Flyway flyway, final String minimumFlywayVersion, final long timeoutMs) { + public JobsDatabaseMigrationCheck(final JobsDatabaseAvailabilityCheck databaseAvailablityCheck, + final Flyway flyway, + final String minimumFlywayVersion, + final long timeoutMs) { + this.databaseAvailablityCheck = databaseAvailablityCheck; this.flyway = flyway; this.minimumFlywayVersion = minimumFlywayVersion; this.timeoutMs = timeoutMs; } + @Override + public Optional getDatabaseAvailabilityCheck() { + return Optional.ofNullable(databaseAvailablityCheck); + } + @Override public Optional getFlyway() { return Optional.ofNullable(flyway); diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DSLContextFactory.java b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DSLContextFactory.java index 929607cd4b94..248384e01f45 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DSLContextFactory.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DSLContextFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -14,8 +14,6 @@ * Temporary factory class that provides convenience methods for creating a {@link DSLContext} * instances. This class will be removed once the project has been converted to leverage an * application framework to manage the creation and injection of {@link DSLContext} objects. - * - * This class replaces direct calls to {@link io.airbyte.db.Databases}. */ public class DSLContextFactory { diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DataSourceFactory.java b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DataSourceFactory.java index 334774f18c7f..0d49b8ccc484 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DataSourceFactory.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DataSourceFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -15,8 +15,6 @@ * Temporary factory class that provides convenience methods for creating a {@link DataSource} * instance. This class will be removed once the project has been converted to leverage an * application framework to manage the creation and injection of {@link DataSource} objects. - * - * This class replaces direct calls to {@link io.airbyte.db.Databases}. */ public class DataSourceFactory { diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseCheckFactory.java b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseCheckFactory.java new file mode 100644 index 000000000000..56c239cd4aeb --- /dev/null +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseCheckFactory.java @@ -0,0 +1,126 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.db.factory; + +import io.airbyte.db.check.DatabaseAvailabilityCheck; +import io.airbyte.db.check.DatabaseMigrationCheck; +import io.airbyte.db.check.impl.ConfigsDatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.ConfigsDatabaseMigrationCheck; +import io.airbyte.db.check.impl.JobsDatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.JobsDatabaseMigrationCheck; +import io.airbyte.db.init.DatabaseInitializer; +import io.airbyte.db.init.impl.ConfigsDatabaseInitializer; +import io.airbyte.db.init.impl.JobsDatabaseInitializer; +import org.flywaydb.core.Flyway; +import org.jooq.DSLContext; + +/** + * Temporary factory class that provides convenience methods for creating a + * {@link io.airbyte.db.check.DatabaseCheck} and {@link DatabaseInitializer} instances. This class + * will be removed once the project has been converted to leverage an application framework to + * manage the creation and injection of various check objects. + */ +public class DatabaseCheckFactory { + + /** + * Constructs a new {@link DatabaseAvailabilityCheck} that verifies the availability of the + * {@code Configurations} database. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the + * {@code Configurations} database. + * @param timeoutMs The amount of time to wait for the database to become available, in + * milliseconds. + * @return A configured {@link DatabaseAvailabilityCheck} for the {@code Configurations} database. + */ + public static ConfigsDatabaseAvailabilityCheck createConfigsDatabaseAvailabilityCheck(final DSLContext dslContext, final long timeoutMs) { + return new ConfigsDatabaseAvailabilityCheck(dslContext, timeoutMs); + } + + /** + * Constructs a new {@link DatabaseAvailabilityCheck} that verifies the availability of the + * {@code Jobs} database. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the {@code Jobs} + * database. + * @param timeoutMs The amount of time to wait for the database to become available, in + * milliseconds. + * @return A configured {@link DatabaseAvailabilityCheck} for the {@code Jobs} database. + */ + public static JobsDatabaseAvailabilityCheck createJobsDatabaseAvailabilityCheck(final DSLContext dslContext, final long timeoutMs) { + return new JobsDatabaseAvailabilityCheck(dslContext, timeoutMs); + } + + /** + * Constructs a new {@link DatabaseMigrationCheck} that verifies that the {@code Configurations} + * database has been migrated to the requested minimum schema version. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the + * {@code Configurations} database. + * @param flyway The {@link Flyway} instance used to determine the current migration status. + * @param minimumMigrationVersion The required minimum schema version. + * @param timeoutMs Teh amount of time to wait for the migration to complete/match the requested + * minimum schema version, in milliseconds. + * @return The configured {@link DatabaseMigrationCheck} for the {@code Configurations} database. + */ + public static DatabaseMigrationCheck createConfigsDatabaseMigrationCheck(final DSLContext dslContext, + final Flyway flyway, + final String minimumMigrationVersion, + final long timeoutMs) { + return new ConfigsDatabaseMigrationCheck(createConfigsDatabaseAvailabilityCheck(dslContext, timeoutMs), + flyway, minimumMigrationVersion, timeoutMs); + } + + /** + * Constructs a new {@link DatabaseMigrationCheck} that verifies that the {@code Jobs} database has + * been migrated to the requested minimum schema version. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the + * {@code Configurations} database. + * @param flyway The {@link Flyway} instance used to determine the current migration status. + * @param minimumMigrationVersion The required minimum schema version. + * @param timeoutMs Teh amount of time to wait for the migration to complete/match the requested + * minimum schema version, in milliseconds. + * @return The configured {@link DatabaseMigrationCheck} for the {@code Jobs} database. + */ + public static DatabaseMigrationCheck createJobsDatabaseMigrationCheck(final DSLContext dslContext, + final Flyway flyway, + final String minimumMigrationVersion, + final long timeoutMs) { + return new JobsDatabaseMigrationCheck(createJobsDatabaseAvailabilityCheck(dslContext, timeoutMs), flyway, minimumMigrationVersion, timeoutMs); + } + + /** + * Constructs a new {@link DatabaseInitializer} that ensures that the {@code Configurations} + * database schema has been initialized. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the + * {@code Configurations} database. + * @param timeoutMs The amount of time to wait for the database to become available, in + * milliseconds. + * @param initialSchema The initial schema creation script to be executed if the database is not + * already populated. + * @return The configured {@link DatabaseInitializer} for the {@code Configurations} database. + */ + public static DatabaseInitializer createConfigsDatabaseInitializer(final DSLContext dslContext, final long timeoutMs, final String initialSchema) { + return new ConfigsDatabaseInitializer(createConfigsDatabaseAvailabilityCheck(dslContext, timeoutMs), dslContext, initialSchema); + } + + /** + * Constructs a new {@link DatabaseInitializer} that ensures that the {@code Jobs} database schema + * has been initialized. + * + * @param dslContext The {@link DSLContext} instance used to communicate with the {@code Jobs} + * database. + * @param timeoutMs The amount of time to wait for the database to become available, in + * milliseconds. + * @param initialSchema The initial schema creation script to be executed if the database is not + * already populated. + * @return The configured {@link DatabaseInitializer} for the {@code Jobs} database. + */ + public static DatabaseInitializer createJobsDatabaseInitializer(final DSLContext dslContext, final long timeoutMs, final String initialSchema) { + return new JobsDatabaseInitializer(createJobsDatabaseAvailabilityCheck(dslContext, timeoutMs), dslContext, initialSchema); + } + +} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseDriver.java b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseDriver.java index 59f6390cba45..deff79c20e38 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseDriver.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/DatabaseDriver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/FlywayFactory.java b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/FlywayFactory.java index 2e8bbcfdd126..5be30133ea27 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/factory/FlywayFactory.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/factory/FlywayFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -11,8 +11,6 @@ * Temporary factory class that provides convenience methods for creating a {@link Flyway} * instances. This class will be removed once the project has been converted to leverage an * application framework to manage the creation and injection of {@link Flyway} objects. - * - * This class replaces direct calls to {@link io.airbyte.db.Databases}. */ public class FlywayFactory { diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializationException.java b/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializationException.java index 7408aefd5b6c..e59faf2ed862 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializationException.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializationException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializer.java b/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializer.java index 070d438612e5..340bd0e45583 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializer.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/init/DatabaseInitializer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init; @@ -26,15 +26,6 @@ */ public interface DatabaseInitializer { - /** - * Initializes the configured database. - * - * @throws DatabaseInitializationException if unable to perform the initialization. - */ - default void init() throws DatabaseInitializationException { - initialize(); - } - /** * Initializes the configured database by using the following steps: * diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializer.java b/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializer.java index 02ec8b32fdf6..2eac8a4e3cbd 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializer.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializer.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init.impl; import io.airbyte.db.check.DatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.ConfigsDatabaseAvailabilityCheck; import io.airbyte.db.init.DatabaseInitializer; import io.airbyte.db.instance.DatabaseConstants; import java.util.Collection; @@ -22,7 +23,7 @@ public class ConfigsDatabaseInitializer implements DatabaseInitializer { private static final Logger LOGGER = LoggerFactory.getLogger(ConfigsDatabaseInitializer.class); // TODO inject via dependency injection framework - private final DatabaseAvailabilityCheck databaseAvailablityCheck; + private final ConfigsDatabaseAvailabilityCheck databaseAvailablityCheck; // TODO inject via dependency injection framework private final DSLContext dslContext; @@ -30,7 +31,7 @@ public class ConfigsDatabaseInitializer implements DatabaseInitializer { // TODO inject via dependency injection framework private final String initialSchema; - public ConfigsDatabaseInitializer(final DatabaseAvailabilityCheck databaseAvailablityCheck, + public ConfigsDatabaseInitializer(final ConfigsDatabaseAvailabilityCheck databaseAvailablityCheck, final DSLContext dslContext, final String initialSchema) { this.databaseAvailablityCheck = databaseAvailablityCheck; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/JobsDatabaseInitializer.java b/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/JobsDatabaseInitializer.java index d3b8721238b9..e691dc287a9c 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/JobsDatabaseInitializer.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/init/impl/JobsDatabaseInitializer.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init.impl; import io.airbyte.db.check.DatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.JobsDatabaseAvailabilityCheck; import io.airbyte.db.init.DatabaseInitializer; import io.airbyte.db.instance.DatabaseConstants; import java.util.Collection; @@ -22,7 +23,7 @@ public class JobsDatabaseInitializer implements DatabaseInitializer { private static final Logger LOGGER = LoggerFactory.getLogger(JobsDatabaseInitializer.class); // TODO inject via dependency injection framework - private final DatabaseAvailabilityCheck databaseAvailablityCheck; + private final JobsDatabaseAvailabilityCheck databaseAvailablityCheck; // TODO inject via dependency injection framework private final DSLContext dslContext; @@ -30,7 +31,7 @@ public class JobsDatabaseInitializer implements DatabaseInitializer { // TODO inject via dependency injection framework private final String initialSchema; - public JobsDatabaseInitializer(final DatabaseAvailabilityCheck databaseAvailablityCheck, + public JobsDatabaseInitializer(final JobsDatabaseAvailabilityCheck databaseAvailablityCheck, final DSLContext dslContext, final String initialSchema) { this.databaseAvailablityCheck = databaseAvailablityCheck; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/BaseDatabaseInstance.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/BaseDatabaseInstance.java deleted file mode 100644 index e7a77a5c57a0..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/BaseDatabaseInstance.java +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance; - -import static org.jooq.impl.DSL.select; - -import io.airbyte.db.Database; -import io.airbyte.db.ExceptionWrappingDatabase; -import java.io.IOException; -import java.util.Set; -import java.util.function.Function; -import org.jooq.DSLContext; -import org.jooq.impl.DSL; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public abstract class BaseDatabaseInstance implements DatabaseInstance { - - // Public so classes consuming the getInitialized method have a sense of the time taken. - public static final long DEFAULT_CONNECTION_TIMEOUT_MS = 30 * 1000; - - private static final Logger LOGGER = LoggerFactory.getLogger(BaseDatabaseInstance.class); - - protected final DSLContext dslContext; - protected final String databaseName; - protected final Set initialExpectedTables; - protected final String initialSchema; - protected final Function isDatabaseReady; - - /** - * @param dslContext The configured {@link DSLContext}. - * @param databaseName this name is only for logging purpose; it may not be the actual database name - * in the server - * @param initialSchema the initial database structure. - * @param initialExpectedTables The set of tables that should be present in order to consider the - * database ready for use. - * @param isDatabaseReady a function to check if the database has been initialized and ready for - * consumption - */ - protected BaseDatabaseInstance(final DSLContext dslContext, - final String databaseName, - final String initialSchema, - final Set initialExpectedTables, - final Function isDatabaseReady) { - this.dslContext = dslContext; - this.databaseName = databaseName; - this.initialSchema = initialSchema; - this.initialExpectedTables = initialExpectedTables; - this.isDatabaseReady = isDatabaseReady; - } - - @Override - public boolean isInitialized() throws IOException { - final Database database = Database.createWithRetryTimeout(dslContext, - isDatabaseConnected(databaseName), - DEFAULT_CONNECTION_TIMEOUT_MS); - return new ExceptionWrappingDatabase(database).transaction(ctx -> initialExpectedTables.stream().allMatch(tableName -> hasTable(ctx, tableName))); - } - - @Override - public Database getInitialized() { - // When we don't need to setup the database, it means the database is initialized - // somewhere else, and it is considered ready only when data has been loaded into it. - return Database.createWithRetry(dslContext, isDatabaseReady); - } - - @Override - public Database getAndInitialize() throws IOException { - // When we need to setup the database, it means the database will be initialized after - // we connect to the database. So the database itself is considered ready as long as - // the connection is alive. - final Database database = Database.createWithRetry(dslContext, isDatabaseConnected(databaseName)); - - new ExceptionWrappingDatabase(database).transaction(ctx -> { - final boolean hasTables = initialExpectedTables.stream().allMatch(tableName -> hasTable(ctx, tableName)); - if (hasTables) { - LOGGER.info("The {} database has been initialized", databaseName); - return null; - } - LOGGER.info("The {} database has not been initialized; initializing it with schema: {}", databaseName, initialSchema); - ctx.execute(initialSchema); - return null; - }); - - return database; - } - - /** - * @return true if the table exists. - */ - protected static boolean hasTable(final DSLContext ctx, final String tableName) { - return ctx.fetchExists(select() - .from("information_schema.tables") - .where(DSL.field("table_name").eq(tableName) - .and(DSL.field("table_schema").eq("public")))); - } - - /** - * @return true if the table has data. - */ - protected static boolean hasData(final DSLContext ctx, final String tableName) { - return ctx.fetchExists(select().from(tableName)); - } - - protected static Function isDatabaseConnected(final String databaseName) { - return database -> { - try { - LOGGER.info("Testing {} database connection...", databaseName); - return database.query(ctx -> ctx.fetchExists(select().from("information_schema.tables"))); - } catch (final Exception e) { - LOGGER.error("Failed to verify database connection.", e); - return false; - } - }; - } - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseConstants.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseConstants.java index bbdcfb4bcf92..52d931505870 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseConstants.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; @@ -43,6 +43,16 @@ public final class DatabaseConstants { */ public static final String JOBS_SCHEMA_PATH = "jobs_database/schema.sql"; + /** + * Default database connection timeout in milliseconds. + */ + public static final long DEFAULT_CONNECTION_TIMEOUT_MS = 30 * 1000; + + /** + * Default amount of time to wait to assert that a database has been migrated, in milliseconds. + */ + public static final long DEFAULT_ASSERT_DATABASE_TIMEOUT_MS = 2 * DEFAULT_CONNECTION_TIMEOUT_MS; + /** * Private constructor to prevent instantiation. */ diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseInstance.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseInstance.java deleted file mode 100644 index 822328320655..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseInstance.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance; - -import io.airbyte.db.Database; -import java.io.IOException; - -public interface DatabaseInstance { - - /** - * Check is a database has been initialized. - * - * @deprecated Will be removed in future versions that separate the initialization from - * creation/retrieval of an instance. - */ - @Deprecated(forRemoval = true) - boolean isInitialized() throws IOException; - - /** - * Get a database that has been initialized and is ready to use. - * - * @deprecated Will be replaced in future versions that separate the initialization from - * creation/retrieval of an instance. - */ - @Deprecated(forRemoval = true) - Database getInitialized(); - - /** - * Get an empty database and initialize it. - * - * @deprecated Will be replaced in future versions that separate the initialization from - * creation/retrieval of an instance. - */ - @Deprecated(forRemoval = true) - Database getAndInitialize() throws IOException; - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseMigrator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseMigrator.java index 24c4bea051be..b9615a4b2d42 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseMigrator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/DatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayDatabaseMigrator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayDatabaseMigrator.java index 3890a4142467..90c6737b1783 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayDatabaseMigrator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayDatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayMigrationDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayMigrationDatabase.java index a0e9f1ad4a45..d5a3cdd63248 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayMigrationDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/FlywayMigrationDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; @@ -8,6 +8,7 @@ import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.init.DatabaseInitializationException; import java.io.IOException; import java.sql.Connection; import javax.sql.DataSource; @@ -45,7 +46,7 @@ public abstract class FlywayMigrationDatabase extends PostgresDatabase { private DSLContext dslContext; - protected abstract Database getAndInitializeDatabase(DSLContext dslContext) throws IOException; + protected abstract Database getDatabase(DSLContext dslContext) throws IOException; protected abstract DatabaseMigrator getDatabaseMigrator(Database database, Flyway flyway); @@ -55,6 +56,8 @@ public abstract class FlywayMigrationDatabase extends PostgresDatabase { protected abstract String[] getMigrationFileLocations(); + protected abstract void initializeDatabase(final DSLContext dslContext) throws DatabaseInitializationException, IOException; + @Override protected DSLContext create0() { return DSL.using(getInternalConnection(), SQLDialect.POSTGRES); @@ -86,8 +89,11 @@ private void createInternalConnection() throws Exception { dataSource = DataSourceFactory.create(container.getUsername(), container.getPassword(), container.getDriverClassName(), container.getJdbcUrl()); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); + + initializeDatabase(dslContext); + final Flyway flyway = FlywayFactory.create(dataSource, getInstalledBy(), getDbIdentifier(), getMigrationFileLocations()); - final Database database = getAndInitializeDatabase(dslContext); + final Database database = getDatabase(dslContext); final DatabaseMigrator migrator = getDatabaseMigrator(database, flyway); migrator.migrate(); diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheck.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheck.java deleted file mode 100644 index 06d6479ab758..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheck.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance; - -import com.google.common.annotations.VisibleForTesting; -import io.airbyte.commons.lang.Exceptions; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -/** - * Contains reusable methods asserting if a database is ready. - *

- * This is intended to be used by applications in combination with the bootloader, and the minimum - * migration env vars from {@link io.airbyte.config.Configs}, so applications know it is safe to - * start interacting with the database. - *

- * Methods have dynamic pool times, and have configurable timeouts. - * - * @deprecated This class has been marked as deprecated as we move to using an application framework - * to manage resources. This class will be removed in a future release. - */ -@Deprecated(forRemoval = true) -public class MinimumFlywayMigrationVersionCheck { - - // Exposed so applications have a default timeout variable. - public static final long DEFAULT_ASSERT_DATABASE_TIMEOUT_MS = 2 * BaseDatabaseInstance.DEFAULT_CONNECTION_TIMEOUT_MS; - @VisibleForTesting - public static final int NUM_POLL_TIMES = 10; - - private static final Logger LOGGER = LoggerFactory.getLogger(MinimumFlywayMigrationVersionCheck.class); - - /** - * Assert the given database can be connected to. - * - * @param db - * @param timeoutMs - */ - public static void assertDatabase(final DatabaseInstance db, final long timeoutMs) { - final var startTime = System.currentTimeMillis(); - final var sleepTime = timeoutMs / NUM_POLL_TIMES; - - var initialized = false; - while (!initialized) { - LOGGER.info("Waiting for database..."); - - if ((System.currentTimeMillis() - startTime) >= timeoutMs) { - throw new RuntimeException("Timeout while connecting to the database.."); - } - - // Assume the DB is not ready if initialized is false, or if there is an exception. Sleep between - // polls. - try { - initialized = db.isInitialized(); - if (!initialized) { - Thread.sleep(sleepTime); - } - } catch (final Exception e) { - Exceptions.toRuntime(() -> Thread.sleep(sleepTime)); - } - - } - } - - /** - * Assert the given database contains the minimum flyway migrations needed to run the application. - * - * @param migrator - * @param minimumFlywayVersion - * @param timeoutMs - * @throws InterruptedException - */ - public static void assertMigrations(final DatabaseMigrator migrator, final String minimumFlywayVersion, final long timeoutMs) - throws InterruptedException { - final var startTime = System.currentTimeMillis(); - final var sleepTime = timeoutMs / NUM_POLL_TIMES; - - var currDatabaseMigrationVersion = migrator.getLatestMigration().getVersion().getVersion(); - LOGGER.info("Current database migration version " + currDatabaseMigrationVersion); - LOGGER.info("Minimum Flyway version required " + minimumFlywayVersion); - - while (currDatabaseMigrationVersion.compareTo(minimumFlywayVersion) < 0) { - if (System.currentTimeMillis() - startTime >= timeoutMs) { - throw new RuntimeException("Timeout while waiting for database to fulfill minimum flyway migration version.."); - } - - Thread.sleep(sleepTime); - currDatabaseMigrationVersion = migrator.getLatestMigration().getVersion().getVersion(); - } - } - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/TableSchema.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/TableSchema.java index 5c0c57078910..b202ad0992a7 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/TableSchema.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/TableSchema.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseInstance.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseInstance.java deleted file mode 100644 index dd356bbede70..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseInstance.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance.configs; - -import io.airbyte.commons.resources.MoreResources; -import io.airbyte.db.Database; -import io.airbyte.db.ExceptionWrappingDatabase; -import io.airbyte.db.instance.BaseDatabaseInstance; -import io.airbyte.db.instance.DatabaseConstants; -import io.airbyte.db.instance.DatabaseInstance; -import java.io.IOException; -import java.util.function.Function; -import org.jooq.DSLContext; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class ConfigsDatabaseInstance extends BaseDatabaseInstance implements DatabaseInstance { - - private static final Logger LOGGER = LoggerFactory.getLogger(ConfigsDatabaseInstance.class); - - private static final Function IS_CONFIGS_DATABASE_READY = database -> { - try { - LOGGER.info("Testing if airbyte_configs has been created and seeded..."); - if (database.query(ctx -> hasTable(ctx, "airbyte_configs")) && database.query(ctx -> hasData(ctx, "airbyte_configs"))) { - return true; - } - - return database.query(ctx -> hasTable(ctx, "state")); - } catch (Exception e) { - return false; - } - }; - - private Database database; - - public ConfigsDatabaseInstance(final DSLContext dslContext) throws IOException { - super(dslContext, DatabaseConstants.CONFIGS_DATABASE_LOGGING_NAME, - MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH), - DatabaseConstants.CONFIGS_INITIAL_EXPECTED_TABLES, - IS_CONFIGS_DATABASE_READY); - } - - @Override - public boolean isInitialized() throws IOException { - if (database == null) { - database = Database.createWithRetry(dslContext, isDatabaseConnected(databaseName)); - } - - return new ExceptionWrappingDatabase(database).transaction(ctx -> { - // when we start fresh airbyte instance, we start with airbyte_configs configs table and then flyway - // breaks the table into individual table. - // state is the last table created by flyway migration. - // This is why we check if either of the two tables are present or not - if (hasTable(ctx, "state") || hasTable(ctx, "airbyte_configs")) { - LOGGER.info("The {} database is initialized", databaseName); - return true; - } - LOGGER.info("The {} database is not initialized; initializing it with schema", databaseName); - return false; - }); - } - - @Override - public Database getAndInitialize() throws IOException { - // When we need to setup the database, it means the database will be initialized after - // we connect to the database. So the database itself is considered ready as long as - // the connection is alive. - if (database == null) { - database = Database.createWithRetry(dslContext, isDatabaseConnected(databaseName)); - } - - new ExceptionWrappingDatabase(database).transaction(ctx -> { - if (hasTable(ctx, "state") || hasTable(ctx, "airbyte_configs")) { - LOGGER.info("The {} database has been initialized", databaseName); - return null; - } - LOGGER.info("The {} database has not been initialized; initializing it with schema: {}", databaseName, initialSchema); - ctx.execute(initialSchema); - return null; - }); - - return database; - } - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrationDevCenter.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrationDevCenter.java index 8fc570edbdd4..f4a3a8467363 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrationDevCenter.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrationDevCenter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; @@ -29,7 +29,7 @@ protected FlywayDatabaseMigrator getMigrator(final Database database, final Flyw @Override protected Database getDatabase(final DSLContext dslContext) throws IOException { - return new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + return new Database(dslContext); } @Override diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrator.java index 213758270cac..b3bd88db104f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTables.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTables.java index 2fecb97e5b27..71c6db9d8a8d 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTables.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTables.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTestProvider.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTestProvider.java index 4293e815cb25..d4c18fd5a7c5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTestProvider.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsDatabaseTestProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; @@ -7,9 +7,13 @@ import static org.jooq.impl.DSL.field; import static org.jooq.impl.DSL.table; +import io.airbyte.commons.resources.MoreResources; import io.airbyte.config.ConfigSchema; import io.airbyte.db.Database; import io.airbyte.db.ExceptionWrappingDatabase; +import io.airbyte.db.factory.DatabaseCheckFactory; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; import io.airbyte.db.instance.test.TestDatabaseProvider; import java.io.IOException; @@ -30,9 +34,11 @@ public ConfigsDatabaseTestProvider(final DSLContext dslContext, final Flyway fly } @Override - public Database create(final boolean runMigration) throws IOException { - final Database database = new ConfigsDatabaseInstance(dslContext) - .getAndInitialize(); + public Database create(final boolean runMigration) throws IOException, DatabaseInitializationException { + final String initalSchema = MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH); + DatabaseCheckFactory.createConfigsDatabaseInitializer(dslContext, DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS, initalSchema).initialize(); + + final Database database = new Database(dslContext); if (runMigration) { final DatabaseMigrator migrator = new ConfigsDatabaseMigrator( diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsFlywayMigrationDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsFlywayMigrationDatabase.java index 2550e1a2ec7b..d75bfceb1167 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsFlywayMigrationDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/ConfigsFlywayMigrationDatabase.java @@ -1,10 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; +import io.airbyte.commons.resources.MoreResources; import io.airbyte.db.Database; +import io.airbyte.db.factory.DatabaseCheckFactory; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; import io.airbyte.db.instance.FlywayMigrationDatabase; import java.io.IOException; @@ -17,8 +21,8 @@ public class ConfigsFlywayMigrationDatabase extends FlywayMigrationDatabase { @Override - protected Database getAndInitializeDatabase(final DSLContext dslContext) throws IOException { - return new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + protected Database getDatabase(final DSLContext dslContext) throws IOException { + return new Database(dslContext); } @Override @@ -41,4 +45,10 @@ protected String[] getMigrationFileLocations() { return new String[] {ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION}; } + @Override + protected void initializeDatabase(final DSLContext dslContext) throws DatabaseInitializationException, IOException { + final String initialSchema = MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH); + DatabaseCheckFactory.createConfigsDatabaseInitializer(dslContext, DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS, initialSchema).initialize(); + } + } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state.java index 2844b4b0c262..1064744e0c12 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; @@ -15,8 +15,6 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DatabaseDriver; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; -import java.io.IOException; import java.sql.SQLException; import java.time.OffsetDateTime; import java.util.Optional; @@ -120,15 +118,13 @@ static Optional getJobsDatabase(final String databaseUser, final Strin // Connect to the official job database. final DSLContext dslContext = DSLContextFactory.create(databaseUser, databasePassword, DatabaseDriver.POSTGRESQL.getDriverClassName(), databaseUrl, SQLDialect.POSTGRES); - final Database jobsDatabase = new JobsDatabaseInstance(dslContext).getInitialized(); + final Database jobsDatabase = new Database(dslContext); LOGGER.info("[{}] Connected to jobs database: {}", MIGRATION_NAME, databaseUrl); return Optional.of(jobsDatabase); } catch (final IllegalArgumentException e) { // If the environment variables do not exist, it means the migration is run in development. LOGGER.info("[{}] This is the dev environment; there is no jobs database", MIGRATION_NAME); return Optional.empty(); - } catch (final IOException e) { - throw new RuntimeException("Cannot connect to jobs database", e); } } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization.java index a2f6c15971f3..0b7fba718516 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinition.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinition.java index c8e7a1a73bc3..12642e1cce7c 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinition.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition.java index 26f51cbeeb06..70642b308db4 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth.java index 4a8ffcc2ad94..61bc8f8b0c5f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalog.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalog.java index 1c1777427ffe..6763f41e1153 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalog.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalog.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumns.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumns.java index 2c9fe64a0daa..76fa631bf3b4 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumns.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumns.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_32_001__AddConnectorDefinitionResourceLimits.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_32_001__AddConnectorDefinitionResourceLimits.java index 18e5f57d915e..5e5b18f3e944 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_32_001__AddConnectorDefinitionResourceLimits.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_32_001__AddConnectorDefinitionResourceLimits.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTable.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTable.java index dacfe99de3dd..1259b99afbf5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTable.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_46_001__AddMissingIndices.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_46_001__AddMissingIndices.java index 0453e636268e..c3c46411aa1f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_46_001__AddMissingIndices.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_46_001__AddMissingIndices.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_54_001__ChangeDefaultConnectionName.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_54_001__ChangeDefaultConnectionName.java index ff7248b3a4a8..5e96f783c9d0 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_54_001__ChangeDefaultConnectionName.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_54_001__ChangeDefaultConnectionName.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_56_001__AddWorkspaceSlugTombstoneIndex.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_56_001__AddWorkspaceSlugTombstoneIndex.java index f7b3729b5fb6..fbd5b0bb661d 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_56_001__AddWorkspaceSlugTombstoneIndex.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_56_001__AddWorkspaceSlugTombstoneIndex.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinition.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinition.java index e925361d1cf1..601db7b6ae87 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinition.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTable.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTable.java index 8d503738028c..72cf3c26bd3a 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTable.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinition.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinition.java index cd5c5785bcf2..761badd69396 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinition.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_004__AddOauthParamIndex.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_004__AddOauthParamIndex.java index 0c017e0545a1..a6e4fdd54827 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_004__AddOauthParamIndex.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_59_004__AddOauthParamIndex.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_65_001__CreateWorkspaceServiceAccountTable.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_65_001__CreateWorkspaceServiceAccountTable.java index e948eb00b98e..afba8cc8ea3f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_65_001__CreateWorkspaceServiceAccountTable.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_35_65_001__CreateWorkspaceServiceAccountTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java index 2bd534504b30..3646d4beb8a5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_36_3_001__AddScheduleTypeToConfigsTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_38_4_001__AddScheduleDataToConfigsTable.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_38_4_001__AddScheduleDataToConfigsTable.java index 942c481b34b4..b9fcbcaaf4de 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_38_4_001__AddScheduleDataToConfigsTable.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/configs/migrations/V0_38_4_001__AddScheduleDataToConfigsTable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/DevDatabaseMigrator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/DevDatabaseMigrator.java index a43b28944cb8..dbb85a10adee 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/DevDatabaseMigrator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/DevDatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.development; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/FlywayFormatter.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/FlywayFormatter.java index b2cef41133e9..adf1d637e5e4 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/FlywayFormatter.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/FlywayFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.development; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevCenter.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevCenter.java index 379ab7a56f0e..9b4d2d89af6b 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevCenter.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevCenter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.development; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevHelper.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevHelper.java index 9c11b7aaf788..3ef802101e8a 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevHelper.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/development/MigrationDevHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.development; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseInstance.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseInstance.java deleted file mode 100644 index 4a658191b027..000000000000 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseInstance.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance.jobs; - -import com.google.common.annotations.VisibleForTesting; -import io.airbyte.commons.resources.MoreResources; -import io.airbyte.db.Database; -import io.airbyte.db.instance.BaseDatabaseInstance; -import io.airbyte.db.instance.DatabaseConstants; -import io.airbyte.db.instance.DatabaseInstance; -import java.io.IOException; -import java.util.function.Function; -import org.jooq.DSLContext; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -public class JobsDatabaseInstance extends BaseDatabaseInstance implements DatabaseInstance { - - private static final Logger LOGGER = LoggerFactory.getLogger(JobsDatabaseInstance.class); - - private static final Function IS_JOBS_DATABASE_READY = database -> { - try { - LOGGER.info("Testing if jobs database is ready..."); - return database.query(ctx -> JobsDatabaseSchema.getTableNames().stream().allMatch(table -> hasTable(ctx, table))); - } catch (Exception e) { - return false; - } - }; - - @VisibleForTesting - public JobsDatabaseInstance(final DSLContext dslContext, final String schema) { - super(dslContext, DatabaseConstants.JOBS_DATABASE_LOGGING_NAME, schema, - DatabaseConstants.JOBS_INITIAL_EXPECTED_TABLES, IS_JOBS_DATABASE_READY); - } - - public JobsDatabaseInstance(final DSLContext dslContext) throws IOException { - this(dslContext, MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH)); - } - -} diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrationDevCenter.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrationDevCenter.java index e73e0890685f..6f8302a54551 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrationDevCenter.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrationDevCenter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; @@ -7,7 +7,6 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.FlywayFactory; import io.airbyte.db.instance.FlywayDatabaseMigrator; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.development.MigrationDevCenter; import java.io.IOException; import javax.sql.DataSource; @@ -30,7 +29,7 @@ protected FlywayDatabaseMigrator getMigrator(final Database database, final Flyw @Override protected Database getDatabase(final DSLContext dslContext) throws IOException { - return new ConfigsDatabaseInstance(dslContext).getAndInitialize(); + return new Database(dslContext); } @Override diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrator.java index 3d3f9dc010fa..3fa6a3466612 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseSchema.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseSchema.java index fffb5fe7ac2b..eb8a0522525f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseSchema.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseSchema.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseTestProvider.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseTestProvider.java index 850a020309aa..ff43fa0b1a1e 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseTestProvider.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsDatabaseTestProvider.java @@ -1,10 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; +import io.airbyte.commons.resources.MoreResources; import io.airbyte.db.Database; +import io.airbyte.db.factory.DatabaseCheckFactory; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; import io.airbyte.db.instance.test.TestDatabaseProvider; import java.io.IOException; @@ -22,9 +26,11 @@ public JobsDatabaseTestProvider(final DSLContext dslContext, final Flyway flyway } @Override - public Database create(final boolean runMigration) throws IOException { - final Database jobsDatabase = new JobsDatabaseInstance(dslContext) - .getAndInitialize(); + public Database create(final boolean runMigration) throws IOException, DatabaseInitializationException { + final String initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); + DatabaseCheckFactory.createJobsDatabaseInitializer(dslContext, DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS, initialSchema).initialize(); + + final Database jobsDatabase = new Database(dslContext); if (runMigration) { final DatabaseMigrator migrator = new JobsDatabaseMigrator( diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsFlywayMigrationDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsFlywayMigrationDatabase.java index 491fa3dc476b..31cf5ccf0e46 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsFlywayMigrationDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/JobsFlywayMigrationDatabase.java @@ -1,10 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; +import io.airbyte.commons.resources.MoreResources; import io.airbyte.db.Database; +import io.airbyte.db.factory.DatabaseCheckFactory; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; import io.airbyte.db.instance.FlywayMigrationDatabase; import java.io.IOException; @@ -17,8 +21,8 @@ public class JobsFlywayMigrationDatabase extends FlywayMigrationDatabase { @Override - protected Database getAndInitializeDatabase(final DSLContext dslContext) throws IOException { - return new JobsDatabaseInstance(dslContext).getAndInitialize(); + protected Database getDatabase(final DSLContext dslContext) { + return new Database(dslContext); } @Override @@ -41,4 +45,9 @@ protected String[] getMigrationFileLocations() { return new String[] {JobsDatabaseMigrator.MIGRATION_FILE_LOCATION}; } + protected void initializeDatabase(final DSLContext dslContext) throws DatabaseInitializationException, IOException { + final String initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); + DatabaseCheckFactory.createJobsDatabaseInitializer(dslContext, DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS, initialSchema).initialize(); + } + } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_29_15_001__Add_temporalWorkflowId_col_to_Attempts.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_29_15_001__Add_temporalWorkflowId_col_to_Attempts.java index d188ba6fe662..ba4a33910af6 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_29_15_001__Add_temporalWorkflowId_col_to_Attempts.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_29_15_001__Add_temporalWorkflowId_col_to_Attempts.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001__MigrateFailureReasonEnumValues.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001__MigrateFailureReasonEnumValues.java index 0683393a9380..22924f4fffd5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001__MigrateFailureReasonEnumValues.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001__MigrateFailureReasonEnumValues.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_Attempts.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_Attempts.java index 9b7c15ce726d..1aeadebdeaf4 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_Attempts.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_Attempts.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_62_001__AddJobIndices.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_62_001__AddJobIndices.java index a70e6a561318..a1db59de372c 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_62_001__AddJobIndices.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/jobs/migrations/V0_35_62_001__AddJobIndices.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProvider.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProvider.java index a5f0b9abe474..cf311028a2fc 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProvider.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProvider.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.test; import io.airbyte.db.Database; +import io.airbyte.db.init.DatabaseInitializationException; import java.io.IOException; /** @@ -18,6 +19,6 @@ public interface TestDatabaseProvider { * unit test. Usually this parameter should be false only when the migration itself is being * tested. */ - Database create(final boolean runMigration) throws IOException; + Database create(final boolean runMigration) throws IOException, DatabaseInitializationException; } diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProviders.java b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProviders.java index 04681147bda6..8a8264093cd7 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProviders.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/instance/test/TestDatabaseProviders.java @@ -1,11 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.test; import io.airbyte.db.Database; import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; import io.airbyte.db.instance.configs.ConfigsDatabaseTestProvider; import io.airbyte.db.instance.jobs.JobsDatabaseMigrator; @@ -40,14 +41,14 @@ public TestDatabaseProviders turnOffMigration() { return this; } - public Database createNewConfigsDatabase() throws IOException { + public Database createNewConfigsDatabase() throws IOException, DatabaseInitializationException { final Flyway flyway = FlywayFactory.create(dataSource, ConfigsDatabaseTestProvider.class.getSimpleName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); return new ConfigsDatabaseTestProvider(dslContext, flyway) .create(runMigration); } - public Database createNewJobsDatabase() throws IOException { + public Database createNewJobsDatabase() throws IOException, DatabaseInitializationException { final Flyway flyway = FlywayFactory.create(dataSource, JobsDatabaseTestProvider.class.getSimpleName(), JobsDatabaseMigrator.DB_IDENTIFIER, JobsDatabaseMigrator.MIGRATION_FILE_LOCATION); return new JobsDatabaseTestProvider(dslContext, flyway) diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/AbstractJdbcCompatibleSourceOperations.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/AbstractJdbcCompatibleSourceOperations.java index fefa0db06a58..5993d85ad26f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/AbstractJdbcCompatibleSourceOperations.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/AbstractJdbcCompatibleSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/DefaultJdbcDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/DefaultJdbcDatabase.java index d6c306dabe97..5d71040e6f12 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/DefaultJdbcDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/DefaultJdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcConstants.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcConstants.java index f40b4aa31295..cef99f5314d5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcConstants.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcDatabase.java index 2ace4f223217..18fb509c225f 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcSourceOperations.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcSourceOperations.java index e7d1a9786442..18e6f39bc888 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcSourceOperations.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcUtils.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcUtils.java index 50471c0da203..02bafe311602 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcUtils.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/JdbcUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/StreamingJdbcDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/StreamingJdbcDatabase.java index 40ec3e908b96..ba8697b45601 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/StreamingJdbcDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/StreamingJdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfig.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfig.java index e2f09fa06c6a..2387bced74a5 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfig.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimator.java index aa1a7dcb454b..781d4d744210 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeConstants.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeConstants.java index 2e92ce66e476..c69484cb1bca 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeConstants.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeEstimator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeEstimator.java index 12bff10708dc..a04a6581bc01 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeEstimator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/FetchSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimator.java index af3b3ed31124..c915a563a018 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/JdbcStreamingQueryConfig.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/JdbcStreamingQueryConfig.java index 3d92c0c92492..c6ad8e159c16 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/JdbcStreamingQueryConfig.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/JdbcStreamingQueryConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/NoOpStreamingQueryConfig.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/NoOpStreamingQueryConfig.java index 79fcf1db42c4..829319f17108 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/NoOpStreamingQueryConfig.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/NoOpStreamingQueryConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimator.java index b065140fa4d1..279039f25d50 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimator.java b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimator.java index 9e819f1ab3a1..83e02272fd33 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimator.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoDatabase.java b/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoDatabase.java index 49541e7e4efd..5c005fdc86d7 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoDatabase.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.mongodb; diff --git a/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoUtils.java b/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoUtils.java index ccf13a14e714..c2307a36f592 100644 --- a/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoUtils.java +++ b/airbyte-db/lib/src/main/java/io/airbyte/db/mongodb/MongoUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.mongodb; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/IncrementalUtilsTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/IncrementalUtilsTest.java index dc97f9e4335e..31a1430cdb6b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/IncrementalUtilsTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/IncrementalUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/PgLsnTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/PgLsnTest.java index 3ff39239c20b..a7cb7e563ea0 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/PgLsnTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/PgLsnTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/PostgresUtilsTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/PostgresUtilsTest.java index e5d4c1dac7fb..2b9e3018387c 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/PostgresUtilsTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/PostgresUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/AbstractDatabaseAvailabilityCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/CommonDatabaseCheckTest.java similarity index 88% rename from airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/AbstractDatabaseAvailabilityCheckTest.java rename to airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/CommonDatabaseCheckTest.java index c0e281268db0..92d572a1ff1b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/AbstractDatabaseAvailabilityCheckTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/CommonDatabaseCheckTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; @@ -16,7 +16,7 @@ /** * Common test setup for database availability check tests. */ -public abstract class AbstractDatabaseAvailabilityCheckTest { +class CommonDatabaseCheckTest { protected static final long TIMEOUT_MS = 500L; @@ -35,6 +35,7 @@ void setup() { dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); } + @SuppressWarnings("PMD.SignatureDeclareThrowsException") @AfterEach void cleanup() throws Exception { DataSourceFactory.close(dataSource); diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheckTest.java index c9a736899d51..0dc42ebe77d7 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheckTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseAvailabilityCheckTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; @@ -18,7 +18,7 @@ /** * Test suite for the {@link ConfigsDatabaseAvailabilityCheck} class. */ -public class ConfigsDatabaseAvailabilityCheckTest extends AbstractDatabaseAvailabilityCheckTest { +class ConfigsDatabaseAvailabilityCheckTest extends CommonDatabaseCheckTest { @Test void checkDatabaseAvailability() { @@ -28,10 +28,11 @@ void checkDatabaseAvailability() { @Test void checkDatabaseAvailabilityTimeout() { - final DSLContext dslContext = mock(DSLContext.class); - when(dslContext.fetchExists(any(Select.class))).thenThrow(new DataAccessException("test")); - final var check = new ConfigsDatabaseAvailabilityCheck(dslContext, TIMEOUT_MS); - Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + try (final DSLContext dslContext = mock(DSLContext.class)) { + when(dslContext.fetchExists(any(Select.class))).thenThrow(new DataAccessException("test")); + final var check = new ConfigsDatabaseAvailabilityCheck(dslContext, TIMEOUT_MS); + Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + } } @Test diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheckTest.java index 916f05ff5e44..cfe8ff855291 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheckTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/ConfigsDatabaseMigrationCheckTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; @@ -18,22 +18,25 @@ /** * Test suite for the {@link ConfigsDatabaseMigrationCheck} class. */ -public class ConfigsDatabaseMigrationCheckTest { +class ConfigsDatabaseMigrationCheckTest { + + private static final String CURRENT_VERSION = "1.2.3"; @Test void testMigrationCheck() { final var minimumVersion = "1.0.0"; - final var currentVersion = "1.2.3"; + final var currentVersion = CURRENT_VERSION; final var migrationVersion = MigrationVersion.fromVersion(currentVersion); final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); when(migrationInfo.getVersion()).thenReturn(migrationVersion); when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new ConfigsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new ConfigsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertDoesNotThrow(() -> check.check()); } @@ -45,19 +48,38 @@ void testMigrationCheckEqualVersion() { final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); when(migrationInfo.getVersion()).thenReturn(migrationVersion); when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new ConfigsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new ConfigsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertDoesNotThrow(() -> check.check()); } @Test void testMigrationCheckTimeout() { final var minimumVersion = "2.0.0"; - final var currentVersion = "1.2.3"; + final var currentVersion = CURRENT_VERSION; + final var migrationVersion = MigrationVersion.fromVersion(currentVersion); + final var migrationInfo = mock(MigrationInfo.class); + final var migrationInfoService = mock(MigrationInfoService.class); + final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); + + when(migrationInfo.getVersion()).thenReturn(migrationVersion); + when(migrationInfoService.current()).thenReturn(migrationInfo); + when(flyway.info()).thenReturn(migrationInfoService); + + final var check = new ConfigsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); + Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + } + + @Test + void testMigrationCheckNullDatabaseAvailibilityCheck() { + final var minimumVersion = "2.0.0"; + final var currentVersion = CURRENT_VERSION; final var migrationVersion = MigrationVersion.fromVersion(currentVersion); final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); @@ -67,14 +89,15 @@ void testMigrationCheckTimeout() { when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new ConfigsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new ConfigsDatabaseMigrationCheck(null, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); } @Test - void checkDatabaseAvailabilityNullFlyway() { + void testMigrationCheckNullFlyway() { final var minimumVersion = "2.0.0"; - final var check = new ConfigsDatabaseMigrationCheck(null, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); + final var check = new ConfigsDatabaseMigrationCheck(databaseAvailabilityCheck, null, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheckTest.java index 636c7092fbdd..ab9e665af08f 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheckTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseAvailabilityCheckTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; @@ -18,7 +18,7 @@ /** * Test suite for the {@link JobsDatabaseAvailabilityCheck} class. */ -public class JobsDatabaseAvailabilityCheckTest extends AbstractDatabaseAvailabilityCheckTest { +class JobsDatabaseAvailabilityCheckTest extends CommonDatabaseCheckTest { @Test void checkDatabaseAvailability() { @@ -28,10 +28,11 @@ void checkDatabaseAvailability() { @Test void checkDatabaseAvailabilityTimeout() { - final DSLContext dslContext = mock(DSLContext.class); - when(dslContext.fetchExists(any(Select.class))).thenThrow(new DataAccessException("test")); - final var check = new JobsDatabaseAvailabilityCheck(dslContext, TIMEOUT_MS); - Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + try (final DSLContext dslContext = mock(DSLContext.class)) { + when(dslContext.fetchExists(any(Select.class))).thenThrow(new DataAccessException("test")); + final var check = new JobsDatabaseAvailabilityCheck(dslContext, TIMEOUT_MS); + Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + } } @Test diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheckTest.java index 6b8c8caf023c..697aaf86a653 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheckTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/check/impl/JobsDatabaseMigrationCheckTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.check.impl; @@ -18,46 +18,68 @@ /** * Test suite for the {@link JobsDatabaseMigrationCheck} class. */ -public class JobsDatabaseMigrationCheckTest { +class JobsDatabaseMigrationCheckTest { + + private static final String CURRENT_VERSION = "1.2.3"; @Test void testMigrationCheck() { final var minimumVersion = "1.0.0"; - final var currentVersion = "1.2.3"; + final var currentVersion = CURRENT_VERSION; final var migrationVersion = MigrationVersion.fromVersion(currentVersion); final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); when(migrationInfo.getVersion()).thenReturn(migrationVersion); when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new JobsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new JobsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertDoesNotThrow(() -> check.check()); } @Test void testMigrationCheckEqualVersion() { - final var minimumVersion = "1.2.3"; + final var minimumVersion = CURRENT_VERSION; final var currentVersion = minimumVersion; final var migrationVersion = MigrationVersion.fromVersion(currentVersion); final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); when(migrationInfo.getVersion()).thenReturn(migrationVersion); when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new JobsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new JobsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertDoesNotThrow(() -> check.check()); } @Test void testMigrationCheckTimeout() { final var minimumVersion = "2.0.0"; - final var currentVersion = "1.2.3"; + final var currentVersion = CURRENT_VERSION; + final var migrationVersion = MigrationVersion.fromVersion(currentVersion); + final var migrationInfo = mock(MigrationInfo.class); + final var migrationInfoService = mock(MigrationInfoService.class); + final var flyway = mock(Flyway.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); + + when(migrationInfo.getVersion()).thenReturn(migrationVersion); + when(migrationInfoService.current()).thenReturn(migrationInfo); + when(flyway.info()).thenReturn(migrationInfoService); + + final var check = new JobsDatabaseMigrationCheck(databaseAvailabilityCheck, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); + Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); + } + + @Test + void testMigrationCheckNullDatabaseAvailabilityCheck() { + final var minimumVersion = "2.0.0"; + final var currentVersion = CURRENT_VERSION; final var migrationVersion = MigrationVersion.fromVersion(currentVersion); final var migrationInfo = mock(MigrationInfo.class); final var migrationInfoService = mock(MigrationInfoService.class); @@ -67,14 +89,15 @@ void testMigrationCheckTimeout() { when(migrationInfoService.current()).thenReturn(migrationInfo); when(flyway.info()).thenReturn(migrationInfoService); - final var check = new JobsDatabaseMigrationCheck(flyway, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var check = new JobsDatabaseMigrationCheck(null, flyway, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); } @Test - void checkDatabaseAvailabilityNullFlyway() { + void testMigrationCheckNullFlyway() { final var minimumVersion = "2.0.0"; - final var check = new JobsDatabaseMigrationCheck(null, minimumVersion, AbstractDatabaseAvailabilityCheckTest.TIMEOUT_MS); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); + final var check = new JobsDatabaseMigrationCheck(databaseAvailabilityCheck, null, minimumVersion, CommonDatabaseCheckTest.TIMEOUT_MS); Assertions.assertThrows(DatabaseCheckException.class, () -> check.check()); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/AbstractFactoryTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/CommonFactoryTest.java similarity index 87% rename from airbyte-db/lib/src/test/java/io/airbyte/db/factory/AbstractFactoryTest.java rename to airbyte-db/lib/src/test/java/io/airbyte/db/factory/CommonFactoryTest.java index 25f8b4c4ca3e..193f71fdc7cd 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/AbstractFactoryTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/CommonFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -11,7 +11,7 @@ /** * Common test suite for the classes found in the {@code io.airbyte.db.factory} package. */ -public abstract class AbstractFactoryTest { +class CommonFactoryTest { private static final String DATABASE_NAME = "airbyte_test_database"; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DSLContextFactoryTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DSLContextFactoryTest.java index c447c2b3ca3b..589a049565bd 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DSLContextFactoryTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DSLContextFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -16,7 +16,7 @@ /** * Test suite for the {@link DSLContextFactory} class. */ -public class DSLContextFactoryTest extends AbstractFactoryTest { +class DSLContextFactoryTest extends CommonFactoryTest { @Test void testCreatingADslContext() { diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DataSourceFactoryTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DataSourceFactoryTest.java index 8b1dac623c83..e676f98e8155 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DataSourceFactoryTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DataSourceFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -20,7 +20,7 @@ /** * Test suite for the {@link DataSourceFactory} class. */ -public class DataSourceFactoryTest extends AbstractFactoryTest { +class DataSourceFactoryTest extends CommonFactoryTest { @Test void testCreatingADataSourceWithJdbcUrl() { diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DatabaseCheckFactoryTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DatabaseCheckFactoryTest.java new file mode 100644 index 000000000000..014ac3e5fa1a --- /dev/null +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/DatabaseCheckFactoryTest.java @@ -0,0 +1,121 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.db.factory; + +import static org.mockito.Mockito.mock; + +import io.airbyte.db.check.impl.ConfigsDatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.ConfigsDatabaseMigrationCheck; +import io.airbyte.db.check.impl.JobsDatabaseAvailabilityCheck; +import io.airbyte.db.check.impl.JobsDatabaseMigrationCheck; +import io.airbyte.db.init.impl.ConfigsDatabaseInitializer; +import io.airbyte.db.init.impl.JobsDatabaseInitializer; +import org.flywaydb.core.Flyway; +import org.jooq.DSLContext; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + * Test suite for the {@link DatabaseCheckFactory} class. + */ +class DatabaseCheckFactoryTest { + + @Test + void testCreateConfigsDatabaseAvailabilityCheck() { + final var dslContext = mock(DSLContext.class); + final var timeoutMs = 500L; + final var check = DatabaseCheckFactory.createConfigsDatabaseAvailabilityCheck(dslContext, timeoutMs); + + Assertions.assertNotNull(check); + Assertions.assertEquals(ConfigsDatabaseAvailabilityCheck.class, check.getClass()); + Assertions.assertEquals(timeoutMs, check.getTimeoutMs()); + Assertions.assertTrue(check.getDslContext().isPresent()); + Assertions.assertEquals(dslContext, check.getDslContext().get()); + } + + @Test + void testCreateJobsDatabaseAvailabilityCheck() { + final var dslContext = mock(DSLContext.class); + final var timeoutMs = 500L; + final var check = DatabaseCheckFactory.createJobsDatabaseAvailabilityCheck(dslContext, timeoutMs); + + Assertions.assertNotNull(check); + Assertions.assertEquals(JobsDatabaseAvailabilityCheck.class, check.getClass()); + Assertions.assertEquals(timeoutMs, check.getTimeoutMs()); + Assertions.assertTrue(check.getDslContext().isPresent()); + Assertions.assertEquals(dslContext, check.getDslContext().get()); + } + + @Test + void testCreateConfigsDatabaseMigrationCheck() { + final var dslContext = mock(DSLContext.class); + final var flyway = mock(Flyway.class); + final var minimumMigrationVersion = "1.2.3"; + final var timeoutMs = 500L; + final var check = DatabaseCheckFactory.createConfigsDatabaseMigrationCheck(dslContext, flyway, minimumMigrationVersion, timeoutMs); + + Assertions.assertNotNull(check); + Assertions.assertEquals(ConfigsDatabaseMigrationCheck.class, check.getClass()); + Assertions.assertTrue(check.getDatabaseAvailabilityCheck().isPresent()); + Assertions.assertEquals(ConfigsDatabaseAvailabilityCheck.class, check.getDatabaseAvailabilityCheck().get().getClass()); + Assertions.assertEquals(minimumMigrationVersion, check.getMinimumFlywayVersion()); + Assertions.assertEquals(timeoutMs, check.getTimeoutMs()); + Assertions.assertTrue(check.getFlyway().isPresent()); + Assertions.assertEquals(flyway, check.getFlyway().get()); + } + + @Test + void testCreateJobsDatabaseMigrationCheck() { + final var dslContext = mock(DSLContext.class); + final var flyway = mock(Flyway.class); + final var minimumMigrationVersion = "1.2.3"; + final var timeoutMs = 500L; + final var check = DatabaseCheckFactory.createJobsDatabaseMigrationCheck(dslContext, flyway, minimumMigrationVersion, timeoutMs); + + Assertions.assertNotNull(check); + Assertions.assertEquals(JobsDatabaseMigrationCheck.class, check.getClass()); + Assertions.assertTrue(check.getDatabaseAvailabilityCheck().isPresent()); + Assertions.assertEquals(JobsDatabaseAvailabilityCheck.class, check.getDatabaseAvailabilityCheck().get().getClass()); + Assertions.assertEquals(minimumMigrationVersion, check.getMinimumFlywayVersion()); + Assertions.assertEquals(timeoutMs, check.getTimeoutMs()); + Assertions.assertTrue(check.getFlyway().isPresent()); + Assertions.assertEquals(flyway, check.getFlyway().get()); + } + + @Test + void testCreateConfigsDatabaseInitializer() { + final var dslContext = mock(DSLContext.class); + final var initialSchema = "SELECT 1;"; + final var timeoutMs = 500L; + final var initializer = DatabaseCheckFactory.createConfigsDatabaseInitializer(dslContext, timeoutMs, initialSchema); + + Assertions.assertNotNull(initializer); + Assertions.assertEquals(ConfigsDatabaseInitializer.class, initializer.getClass()); + Assertions.assertTrue(initializer.getDatabaseAvailabilityCheck().isPresent()); + Assertions.assertEquals(ConfigsDatabaseAvailabilityCheck.class, initializer.getDatabaseAvailabilityCheck().get().getClass()); + Assertions.assertEquals(timeoutMs, initializer.getDatabaseAvailabilityCheck().get().getTimeoutMs()); + Assertions.assertTrue(initializer.getDslContext().isPresent()); + Assertions.assertEquals(dslContext, initializer.getDslContext().get()); + Assertions.assertEquals(initialSchema, initializer.getInitialSchema()); + } + + @Test + void testCreateJobsDatabaseInitializer() { + final var dslContext = mock(DSLContext.class); + final var initialSchema = "SELECT 1;"; + final var timeoutMs = 500L; + final var initializer = DatabaseCheckFactory.createJobsDatabaseInitializer(dslContext, timeoutMs, initialSchema); + + Assertions.assertNotNull(initializer); + Assertions.assertEquals(JobsDatabaseInitializer.class, initializer.getClass()); + Assertions.assertTrue(initializer.getDatabaseAvailabilityCheck().isPresent()); + Assertions.assertEquals(JobsDatabaseAvailabilityCheck.class, initializer.getDatabaseAvailabilityCheck().get().getClass()); + Assertions.assertEquals(timeoutMs, initializer.getDatabaseAvailabilityCheck().get().getTimeoutMs()); + Assertions.assertTrue(initializer.getDslContext().isPresent()); + Assertions.assertEquals(dslContext, initializer.getDslContext().get()); + Assertions.assertEquals(initialSchema, initializer.getInitialSchema()); + } + +} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/FlywayFactoryTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/FlywayFactoryTest.java index 8782605dbb0a..8b377d19c0cd 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/factory/FlywayFactoryTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/factory/FlywayFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.factory; @@ -16,7 +16,7 @@ /** * Test suite for the {@link FlywayFactory} class. */ -public class FlywayFactoryTest extends AbstractFactoryTest { +class FlywayFactoryTest extends CommonFactoryTest { @Test void testCreatingAFlywayInstance() { diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/init/DatabaseInitializerTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/init/DatabaseInitializerTest.java index 6679fd06ff0f..a7f9049cf0ee 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/init/DatabaseInitializerTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/init/DatabaseInitializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init; @@ -15,7 +15,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -public class DatabaseInitializerTest { +class DatabaseInitializerTest { private static final Logger LOGGER = LoggerFactory.getLogger(DatabaseInitializerTest.class); @@ -60,7 +60,7 @@ public Optional> getTableNames() { }; - Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.init()); + Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.initialize()); } @Test diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/AbstractDatabaseInitializerTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/CommonDatabaseInitializerTest.java similarity index 87% rename from airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/AbstractDatabaseInitializerTest.java rename to airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/CommonDatabaseInitializerTest.java index 49782c0e4dc7..058ce3eee198 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/AbstractDatabaseInitializerTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/CommonDatabaseInitializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init.impl; @@ -16,7 +16,7 @@ /** * Common test setup for database initialization tests. */ -public class AbstractDatabaseInitializerTest { +class CommonDatabaseInitializerTest { protected PostgreSQLContainer container; @@ -33,6 +33,7 @@ void setup() { dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); } + @SuppressWarnings("PMD.SignatureDeclareThrowsException") @AfterEach void cleanup() throws Exception { DataSourceFactory.close(dataSource); diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializerTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializerTest.java index 85d556ba9a49..76f2fe44647b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializerTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/ConfigsDatabaseInitializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init.impl; @@ -9,8 +9,8 @@ import static org.mockito.Mockito.mock; import io.airbyte.commons.resources.MoreResources; -import io.airbyte.db.check.DatabaseAvailabilityCheck; import io.airbyte.db.check.DatabaseCheckException; +import io.airbyte.db.check.impl.ConfigsDatabaseAvailabilityCheck; import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.DatabaseConstants; import java.io.IOException; @@ -20,38 +20,38 @@ /** * Test suite for the {@link ConfigsDatabaseInitializer} class. */ -public class ConfigsDatabaseInitializerTest extends AbstractDatabaseInitializerTest { +class ConfigsDatabaseInitializerTest extends CommonDatabaseInitializerTest { @Test void testInitializingSchema() throws IOException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH); final var initializer = new ConfigsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertDoesNotThrow(() -> initializer.init()); + Assertions.assertDoesNotThrow(() -> initializer.initialize()); assertTrue(initializer.hasTable(dslContext, initializer.getTableNames().get().stream().findFirst().get())); } @Test void testInitializingSchemaAlreadyExists() throws IOException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH); dslContext.execute(initialSchema); final var initializer = new ConfigsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertDoesNotThrow(() -> initializer.init()); + Assertions.assertDoesNotThrow(() -> initializer.initialize()); assertTrue(initializer.hasTable(dslContext, initializer.getTableNames().get().stream().findFirst().get())); } @Test void testInitializationException() throws IOException, DatabaseCheckException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(ConfigsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.CONFIGS_SCHEMA_PATH); doThrow(new DatabaseCheckException("test")).when(databaseAvailabilityCheck).check(); final var initializer = new ConfigsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.init()); + Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.initialize()); } } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/JobsDatabaseInitializerTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/JobsDatabaseInitializerTest.java index fb903d299507..72271eb0cef7 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/JobsDatabaseInitializerTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/init/impl/JobsDatabaseInitializerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.init.impl; @@ -9,8 +9,8 @@ import static org.mockito.Mockito.mock; import io.airbyte.commons.resources.MoreResources; -import io.airbyte.db.check.DatabaseAvailabilityCheck; import io.airbyte.db.check.DatabaseCheckException; +import io.airbyte.db.check.impl.JobsDatabaseAvailabilityCheck; import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.DatabaseConstants; import java.io.IOException; @@ -20,53 +20,53 @@ /** * Test suite for the {@link JobsDatabaseInitializer} class. */ -public class JobsDatabaseInitializerTest extends AbstractDatabaseInitializerTest { +public class JobsDatabaseInitializerTest extends CommonDatabaseInitializerTest { @Test void testInitializingSchema() throws IOException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); final var initializer = new JobsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertDoesNotThrow(() -> initializer.init()); + Assertions.assertDoesNotThrow(() -> initializer.initialize()); assertTrue(initializer.hasTable(dslContext, initializer.getTableNames().get().stream().findFirst().get())); } @Test void testInitializingSchemaAlreadyExists() throws IOException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); dslContext.execute(initialSchema); final var initializer = new JobsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertDoesNotThrow(() -> initializer.init()); + Assertions.assertDoesNotThrow(() -> initializer.initialize()); assertTrue(initializer.hasTable(dslContext, initializer.getTableNames().get().stream().findFirst().get())); } @Test void testInitializationException() throws IOException, DatabaseCheckException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); doThrow(new DatabaseCheckException("test")).when(databaseAvailabilityCheck).check(); final var initializer = new JobsDatabaseInitializer(databaseAvailabilityCheck, dslContext, initialSchema); - Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.init()); + Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.initialize()); } @Test void testInitializationNullAvailabilityCheck() throws IOException { final var initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); final var initializer = new JobsDatabaseInitializer(null, dslContext, initialSchema); - Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.init()); + Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.initialize()); } @Test void testInitializationNullDslContext() throws IOException { - final var databaseAvailabilityCheck = mock(DatabaseAvailabilityCheck.class); + final var databaseAvailabilityCheck = mock(JobsDatabaseAvailabilityCheck.class); final var initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); final var initializer = new JobsDatabaseInitializer(databaseAvailabilityCheck, null, initialSchema); - Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.init()); + Assertions.assertThrows(DatabaseInitializationException.class, () -> initializer.initialize()); } } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/AbstractDatabaseTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/AbstractDatabaseTest.java index f2ca9b067629..4425415ea3ea 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/AbstractDatabaseTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/AbstractDatabaseTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance; @@ -7,6 +7,7 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.test.utils.DatabaseConnectionHelper; import java.io.IOException; import javax.sql.DataSource; @@ -41,7 +42,7 @@ public static void dbDown() { protected DSLContext dslContext; @BeforeEach - public void setup() throws IOException { + public void setup() throws IOException, DatabaseInitializationException { dataSource = DatabaseConnectionHelper.createDataSource(container); dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); database = getDatabase(dataSource, dslContext); @@ -54,15 +55,14 @@ void tearDown() throws Exception { } /** - * Create an initialized {@link Database}. The downstream implementation should do it by calling - * {@link DatabaseInstance#getAndInitialize} or {@link DatabaseInstance#getInitialized}, and + * Create a {@link Database}. The downstream implementation should call * {@link DatabaseMigrator#migrate} if necessary. * * @param dataSource The {@link DataSource} used to access the database. * @param dslContext The {@link DSLContext} used to execute queries. * @return an initialized {@link Database} instance. */ - public abstract Database getDatabase(DataSource dataSource, DSLContext dslContext) throws IOException; + public abstract Database getDatabase(DataSource dataSource, DSLContext dslContext) throws IOException, DatabaseInitializationException; public DataSource getDataSource() { return dataSource; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/BaseDatabaseInstanceTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/BaseDatabaseInstanceTest.java deleted file mode 100644 index ddacc12a61e3..000000000000 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/BaseDatabaseInstanceTest.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance; - -import static org.junit.jupiter.api.Assertions.assertFalse; -import static org.junit.jupiter.api.Assertions.assertTrue; - -import io.airbyte.db.Database; -import io.airbyte.db.factory.DSLContextFactory; -import io.airbyte.db.factory.DataSourceFactory; -import io.airbyte.test.utils.DatabaseConnectionHelper; -import javax.sql.DataSource; -import org.jooq.DSLContext; -import org.jooq.SQLDialect; -import org.junit.jupiter.api.AfterAll; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeAll; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import org.testcontainers.containers.PostgreSQLContainer; - -class BaseDatabaseInstanceTest { - - private static final String DATABASE_NAME = "airbyte_test_database"; - private static final String TABLE_NAME = "test_table"; - private static final String INIT_SCHEMA = "CREATE TABLE IF NOT EXISTS TEST_TABLE(\n" - + "id BIGINT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,\n" - + "value VARCHAR(50));"; - - private static PostgreSQLContainer container; - - @BeforeAll - public static void dbSetup() { - container = new PostgreSQLContainer<>("postgres:13-alpine") - .withDatabaseName(DATABASE_NAME) - .withUsername("docker") - .withPassword("docker"); - container.start(); - } - - @AfterAll - public static void dbDown() { - container.close(); - } - - private Database database; - private DataSource dataSource; - private DSLContext dslContext; - - @BeforeEach - void createDatabase() { - dataSource = DatabaseConnectionHelper.createDataSource(container); - dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES); - database = Database.createWithRetry(dslContext, BaseDatabaseInstance.isDatabaseConnected(DATABASE_NAME)); - } - - @AfterEach - void tearDown() throws Exception { - database.transaction(ctx -> ctx.execute(String.format("DROP TABLE IF EXISTS %s;", TABLE_NAME))); - dslContext.close(); - DataSourceFactory.close(dataSource); - } - - @Test - public void testIsDatabaseConnected() { - assertTrue(BaseDatabaseInstance.isDatabaseConnected(DATABASE_NAME).apply(database)); - } - - @Test - public void testHasTable() throws Exception { - // Table does not exist - assertFalse(database.query(ctx -> BaseDatabaseInstance.hasTable(ctx, TABLE_NAME)).booleanValue()); - - // Create table - database.transaction(ctx -> ctx.execute(INIT_SCHEMA)); - - // Table exists - assertTrue(database.query(ctx -> BaseDatabaseInstance.hasTable(ctx, TABLE_NAME)).booleanValue()); - } - - @Test - public void testHasData() throws Exception { - database.transaction(ctx -> ctx.execute(INIT_SCHEMA)); - - // Table is empty - assertFalse(database.query(ctx -> BaseDatabaseInstance.hasData(ctx, TABLE_NAME)).booleanValue()); - - // Write to table - database.transaction(ctx -> ctx.execute(String.format("INSERT INTO %s (value) values ('test_value')", TABLE_NAME))); - - // Table is no longer empty - assertTrue(database.query(ctx -> BaseDatabaseInstance.hasData(ctx, TABLE_NAME)).booleanValue()); - } - -} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheckTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheckTest.java deleted file mode 100644 index f1014be1b629..000000000000 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/MinimumFlywayMigrationVersionCheckTest.java +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance; - -import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; -import static org.junit.jupiter.api.Assertions.assertThrows; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.spy; -import static org.mockito.Mockito.times; -import static org.mockito.Mockito.verify; -import static org.mockito.Mockito.when; - -import io.airbyte.commons.lang.Exceptions; -import java.io.IOException; -import java.util.Date; -import lombok.val; -import org.flywaydb.core.api.MigrationInfo; -import org.flywaydb.core.api.MigrationState; -import org.flywaydb.core.api.MigrationType; -import org.flywaydb.core.api.MigrationVersion; -import org.junit.jupiter.api.Test; - -public class MinimumFlywayMigrationVersionCheckTest { - - private static final long DEFAULT_TIMEOUT_MS = 2 * 1000; - - @Test - void testDatabaseNotSetupFails() throws IOException { - val database = mock(DatabaseInstance.class); - when(database.isInitialized()).thenThrow(new IOException()).thenReturn(false); - - val startTime = System.currentTimeMillis(); - assertThrows(RuntimeException.class, () -> MinimumFlywayMigrationVersionCheck.assertDatabase(database, DEFAULT_TIMEOUT_MS)); - assertTrue(System.currentTimeMillis() - startTime >= DEFAULT_TIMEOUT_MS); - } - - @Test - void testDatabaseFailsPollsCorrectTimes() throws IOException { - val database = spy(DatabaseInstance.class); - when(database.isInitialized()).thenThrow(new IOException()).thenReturn(false); - - Exceptions.swallow(() -> MinimumFlywayMigrationVersionCheck.assertDatabase(database, DEFAULT_TIMEOUT_MS)); - verify(database, times(MinimumFlywayMigrationVersionCheck.NUM_POLL_TIMES)).isInitialized(); - } - - @Test - void testDatabaseSetupSucceeds() throws IOException { - val database = mock(DatabaseInstance.class); - when(database.isInitialized()) - .thenReturn(false) - .thenReturn(false) - .thenReturn(true); - - assertDoesNotThrow(() -> MinimumFlywayMigrationVersionCheck.assertDatabase(database, DEFAULT_TIMEOUT_MS)); - } - - @Test - void testMigrationMatchesMinimum() { - val version = "0.22.0.1"; - val migrator = mock(DatabaseMigrator.class); - when(migrator.getLatestMigration()).thenReturn(new StubMigrationInfo(version)); - - assertDoesNotThrow(() -> MinimumFlywayMigrationVersionCheck.assertMigrations(migrator, version, DEFAULT_TIMEOUT_MS)); - } - - @Test - void testMigrationExceedsMinimum() { - val minVersion = "0.22.0.1"; - val latestVersion = "0.30.0"; - val migrator = mock(DatabaseMigrator.class); - when(migrator.getLatestMigration()).thenReturn(new StubMigrationInfo(latestVersion)); - - assertDoesNotThrow(() -> MinimumFlywayMigrationVersionCheck.assertMigrations(migrator, minVersion, DEFAULT_TIMEOUT_MS)); - } - - @Test - void testMigrationFulfilledAfter() { - val startVersion = "0.22.0.1"; - val minVersion = "0.30.0"; - val latestVersion = "0.33.0.1"; - - val migrator = mock(DatabaseMigrator.class); - when(migrator.getLatestMigration()) - .thenReturn(new StubMigrationInfo(startVersion)) - .thenReturn(new StubMigrationInfo(startVersion)) - .thenReturn(new StubMigrationInfo(startVersion)) - .thenReturn(new StubMigrationInfo(latestVersion)); - - assertDoesNotThrow(() -> MinimumFlywayMigrationVersionCheck.assertMigrations(migrator, minVersion, DEFAULT_TIMEOUT_MS)); - } - - @Test - void testMigrationTimeout() { - val startVersion = "0.22.0.1"; - val minVersion = "0.30.0"; - - val migrator = mock(DatabaseMigrator.class); - when(migrator.getLatestMigration()).thenReturn(new StubMigrationInfo(startVersion)); - - val startTime = System.currentTimeMillis(); - assertThrows(RuntimeException.class, () -> MinimumFlywayMigrationVersionCheck.assertMigrations(migrator, minVersion, DEFAULT_TIMEOUT_MS)); - assertTrue(System.currentTimeMillis() - startTime >= DEFAULT_TIMEOUT_MS); - } - - @Test - void testMigrationPollsCorrectTimes() { - val startVersion = "0.22.0.1"; - val minVersion = "0.30.0"; - - val migrator = spy(DatabaseMigrator.class); - when(migrator.getLatestMigration()).thenReturn(new StubMigrationInfo(startVersion)); - - Exceptions.swallow(() -> MinimumFlywayMigrationVersionCheck.assertMigrations(migrator, minVersion, DEFAULT_TIMEOUT_MS)); - verify(migrator, times(MinimumFlywayMigrationVersionCheck.NUM_POLL_TIMES + 1)).getLatestMigration(); - } - - /** - * For testing purposes. - */ - private static class StubMigrationInfo implements MigrationInfo { - - private final String version; - - public StubMigrationInfo(final String version) { - this.version = version; - } - - @Override - public MigrationType getType() { - return null; - } - - @Override - public Integer getChecksum() { - return null; - } - - @Override - public MigrationVersion getVersion() { - return MigrationVersion.fromVersion(version); - } - - @Override - public String getDescription() { - return null; - } - - @Override - public String getScript() { - return null; - } - - @Override - public MigrationState getState() { - return null; - } - - @Override - public Date getInstalledOn() { - return null; - } - - @Override - public String getInstalledBy() { - return null; - } - - @Override - public Integer getInstalledRank() { - return null; - } - - @Override - public Integer getExecutionTime() { - return null; - } - - @Override - public String getPhysicalLocation() { - return null; - } - - @Override - public int compareVersion(final MigrationInfo o) { - return 0; - } - - @Override - public int compareTo(final MigrationInfo o) { - return 0; - } - - } - -} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/AbstractConfigsDatabaseTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/AbstractConfigsDatabaseTest.java index bcbd5c0c7446..62d8715b9a54 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/AbstractConfigsDatabaseTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/AbstractConfigsDatabaseTest.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; import io.airbyte.db.Database; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.AbstractDatabaseTest; import io.airbyte.db.instance.test.TestDatabaseProviders; import java.io.IOException; @@ -14,7 +15,7 @@ public abstract class AbstractConfigsDatabaseTest extends AbstractDatabaseTest { @Override - public Database getDatabase(final DataSource dataSource, final DSLContext dslContext) throws IOException { + public Database getDatabase(final DataSource dataSource, final DSLContext dslContext) throws IOException, DatabaseInitializationException { return new TestDatabaseProviders(dataSource, dslContext).turnOffMigration().createNewConfigsDatabase(); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigratorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigratorTest.java index 219bbba1830d..81d01f0feba8 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigratorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/ConfigsDatabaseMigratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/SetupForNormalizedTablesTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/SetupForNormalizedTablesTest.java index 66198e9032f3..2093ade5d02d 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/SetupForNormalizedTablesTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/SetupForNormalizedTablesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state_test.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state_test.java index b958954d8338..78960b19f7b7 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state_test.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_30_22_001__Store_last_sync_state_test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; @@ -22,6 +22,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.airbyte.commons.jackson.MoreMappers; import io.airbyte.commons.json.Jsons; +import io.airbyte.commons.resources.MoreResources; import io.airbyte.config.ConfigSchema; import io.airbyte.config.Configs; import io.airbyte.config.JobOutput; @@ -30,8 +31,12 @@ import io.airbyte.config.StandardSyncState; import io.airbyte.config.State; import io.airbyte.db.Database; +import io.airbyte.db.factory.DatabaseCheckFactory; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.configs.AbstractConfigsDatabaseTest; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; +import io.airbyte.db.instance.jobs.JobsDatabaseTestProvider; +import java.io.IOException; import java.sql.Connection; import java.sql.SQLException; import java.time.OffsetDateTime; @@ -89,8 +94,8 @@ class V0_30_22_001__Store_last_sync_state_test extends AbstractConfigsDatabaseTe @BeforeEach @Timeout(value = 2, unit = TimeUnit.MINUTES) - public void setupJobDatabase() throws Exception { - jobDatabase = new JobsDatabaseInstance(dslContext).getAndInitialize(); + public void setupJobDatabase() throws DatabaseInitializationException, IOException { + jobDatabase = new JobsDatabaseTestProvider(dslContext, null).create(false); } @Test @@ -285,4 +290,9 @@ final var record = ctx } } + private void initializeJobsDatabase(final DSLContext dslContext) throws DatabaseInitializationException, IOException { + final String initialSchema = MoreResources.readResource(DatabaseConstants.JOBS_SCHEMA_PATH); + DatabaseCheckFactory.createJobsDatabaseInitializer(dslContext, DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS, initialSchema).initialize(); + } + } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization_Test.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization_Test.java index 289085ed9c5e..a33cdabb49ca 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization_Test.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_32_8_001__AirbyteConfigDatabaseDenormalization_Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinitionTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinitionTest.java index fc715959b6df..d6befad631d3 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinitionTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_14_001__AddTombstoneToActorDefinitionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition_Test.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition_Test.java index 98b18daad065..6427c3402101 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition_Test.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_15_001__AddReleaseStageAndReleaseDateToActorDefinition_Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth_Test.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth_Test.java index 6da56e5f4280..cb68168e9b51 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth_Test.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_1_001__RemoveForeignKeyFromActorOauth_Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalogTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalogTest.java index 2ac67c52df65..6411f8573369 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalogTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_26_001__PersistDiscoveredCatalogTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumnsTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumnsTest.java index 46ed1d9c97ab..4572f584db8e 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumnsTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_28_001__AddActorCatalogMetadataColumnsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTableTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTableTest.java index 62db5e8f26ec..e9c60679d81d 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTableTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_3_001__DropAirbyteConfigsTableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinitionTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinitionTest.java index b70c2b5ea80f..bb24b17fd54b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinitionTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_001__AddPublicToActorDefinitionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTableTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTableTest.java index b24cbc0a332a..8a48a40c79d6 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTableTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_002__AddActorDefinitionWorkspaceGrantTableTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinitionTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinitionTest.java index 4c445e92d1a1..2e8ecf304059 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinitionTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_35_59_003__AddCustomToActorDefinitionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.configs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/development/MigrationDevHelperTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/development/MigrationDevHelperTest.java index ab899e943921..c646bf719c5b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/development/MigrationDevHelperTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/development/MigrationDevHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.development; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/AbstractJobsDatabaseTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/AbstractJobsDatabaseTest.java index fae7759a3d70..68ecc40ceb17 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/AbstractJobsDatabaseTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/AbstractJobsDatabaseTest.java @@ -1,10 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; import io.airbyte.db.Database; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.AbstractDatabaseTest; import io.airbyte.db.instance.test.TestDatabaseProviders; import java.io.IOException; @@ -14,7 +15,7 @@ public abstract class AbstractJobsDatabaseTest extends AbstractDatabaseTest { @Override - public Database getDatabase(final DataSource dataSource, final DSLContext dslContext) throws IOException { + public Database getDatabase(final DataSource dataSource, final DSLContext dslContext) throws IOException, DatabaseInitializationException { return new TestDatabaseProviders(dataSource, dslContext).turnOffMigration().createNewJobsDatabase(); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseInstanceTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseInstanceTest.java deleted file mode 100644 index aa1339876d8c..000000000000 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseInstanceTest.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance.jobs; - -import static org.jooq.impl.DSL.select; -import static org.junit.jupiter.api.Assertions.assertThrows; - -import io.airbyte.db.Database; -import org.jooq.exception.DataAccessException; -import org.junit.jupiter.api.Test; - -class JobsDatabaseInstanceTest extends AbstractJobsDatabaseTest { - - @Test - public void testGet() throws Exception { - final Database database = new JobsDatabaseInstance(getDslContext()).getInitialized(); - // check table - database.query(ctx -> ctx.fetchExists(select().from("airbyte_metadata"))); - } - - @Test - public void testGetAndInitialize() throws Exception { - final Database database = new JobsDatabaseInstance(getDslContext()).getInitialized(); - - // check table - database.query(ctx -> ctx.fetchExists(select().from("jobs"))); - database.query(ctx -> ctx.fetchExists(select().from("attempts"))); - database.query(ctx -> ctx.fetchExists(select().from("airbyte_metadata"))); - - // when the jobs database has been initialized, calling getAndInitialize again will not change - // anything - final String testSchema = "CREATE TABLE IF NOT EXISTS airbyte_test_metadata(id BIGINT PRIMARY KEY);"; - final Database database2 = new JobsDatabaseInstance(getDslContext(), testSchema).getAndInitialize(); - // the airbyte_test_metadata table does not exist - assertThrows(DataAccessException.class, () -> database2.query(ctx -> ctx.fetchExists(select().from("airbyte_test_metadata")))); - } - -} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseMigratorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseMigratorTest.java index 8447a8c4c8ea..eef7326110fa 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseMigratorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/JobsDatabaseMigratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001_MigrateFailureReasonEnumValues_Test.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001_MigrateFailureReasonEnumValues_Test.java index 4a1d0818b97f..481af60f362c 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001_MigrateFailureReasonEnumValues_Test.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_40_001_MigrateFailureReasonEnumValues_Test.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_AttemptsTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_AttemptsTest.java index eb3163d0e73e..8820d580c23c 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_AttemptsTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/jobs/migrations/V0_35_5_001__Add_failureSummary_col_to_AttemptsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.jobs.migrations; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseAvailabilityCheck.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseAvailabilityCheck.java new file mode 100644 index 000000000000..36c85e10658c --- /dev/null +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseAvailabilityCheck.java @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.db.instance.toys; + +import io.airbyte.db.check.DatabaseAvailabilityCheck; +import java.util.Optional; +import org.jooq.DSLContext; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class ToysDatabaseAvailabilityCheck implements DatabaseAvailabilityCheck { + + private static final Logger LOGGER = LoggerFactory.getLogger(ToysDatabaseAvailabilityCheck.class); + + private final DSLContext dslContext; + + private final long timeoutMs; + + public ToysDatabaseAvailabilityCheck(final DSLContext dslContext, final long timeoutMs) { + this.dslContext = dslContext; + this.timeoutMs = timeoutMs; + } + + @Override + public String getDatabaseName() { + return ToysDatabaseConstants.DATABASE_LOGGING_NAME; + } + + @Override + public Optional getDslContext() { + return Optional.ofNullable(dslContext); + } + + @Override + public Logger getLogger() { + return LOGGER; + } + + @Override + public long getTimeoutMs() { + return timeoutMs; + } + +} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseConstants.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseConstants.java new file mode 100644 index 000000000000..5ec38a3ea78a --- /dev/null +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseConstants.java @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.db.instance.toys; + +/** + * Collection of toys database related constants. + */ +public final class ToysDatabaseConstants { + + /** + * Logical name of the Toys database. + */ + public static final String DATABASE_LOGGING_NAME = "toys"; + + /** + * Expected table to be present in the Toys database after creation. + */ + public static final String TABLE_NAME = "toy_cars"; + + /** + * Path to the script that contains the initial schema definition for the Toys database. + */ + public static final String SCHEMA_PATH = "toys_database/schema.sql"; + + /** + * Private constructor to prevent instantiation. + */ + private ToysDatabaseConstants() {} + +} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInitializer.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInitializer.java new file mode 100644 index 000000000000..203468f4ba15 --- /dev/null +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInitializer.java @@ -0,0 +1,64 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.db.instance.toys; + +import io.airbyte.db.check.DatabaseAvailabilityCheck; +import io.airbyte.db.init.DatabaseInitializer; +import java.util.Collection; +import java.util.Optional; +import java.util.Set; +import org.jooq.DSLContext; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class ToysDatabaseInitializer implements DatabaseInitializer { + + private static final Logger LOGGER = LoggerFactory.getLogger(ToysDatabaseInitializer.class); + + private final DatabaseAvailabilityCheck databaseAvailablityCheck; + + private final DSLContext dslContext; + + private final String initialSchema; + + public ToysDatabaseInitializer(final DatabaseAvailabilityCheck databaseAvailablityCheck, + final DSLContext dslContext, + final String initialSchema) { + this.databaseAvailablityCheck = databaseAvailablityCheck; + this.dslContext = dslContext; + this.initialSchema = initialSchema; + } + + @Override + public Optional getDatabaseAvailabilityCheck() { + return Optional.ofNullable(databaseAvailablityCheck); + } + + @Override + public String getDatabaseName() { + return ToysDatabaseConstants.DATABASE_LOGGING_NAME; + } + + @Override + public Optional getDslContext() { + return Optional.ofNullable(dslContext); + } + + @Override + public String getInitialSchema() { + return initialSchema; + } + + @Override + public Logger getLogger() { + return LOGGER; + } + + @Override + public Optional> getTableNames() { + return Optional.of(Set.of(ToysDatabaseConstants.TABLE_NAME)); + } + +} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInstance.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInstance.java deleted file mode 100644 index 78bd6a232edb..000000000000 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseInstance.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.db.instance.toys; - -import io.airbyte.commons.resources.MoreResources; -import io.airbyte.db.Database; -import io.airbyte.db.instance.BaseDatabaseInstance; -import java.io.IOException; -import java.util.Collections; -import java.util.function.Function; -import org.jooq.DSLContext; - -/** - * A database instance for testing purposes only. - */ -public class ToysDatabaseInstance extends BaseDatabaseInstance { - - public static final String DATABASE_LOGGING_NAME = "toys"; - public static final String TABLE_NAME = "toy_cars"; - public static final String SCHEMA_PATH = "toys_database/schema.sql"; - public static final Function IS_DATABASE_READY = database -> { - try { - return database.query(ctx -> hasTable(ctx, TABLE_NAME)); - } catch (Exception e) { - return false; - } - }; - - protected ToysDatabaseInstance(final DSLContext dslContext) throws IOException { - super(dslContext, DATABASE_LOGGING_NAME, MoreResources.readResource(SCHEMA_PATH), Collections.singleton(TABLE_NAME), - IS_DATABASE_READY); - } - -} diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigrator.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigrator.java index f2f275f1bd5e..ef1bc6f11622 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigrator.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigrator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.toys; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigratorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigratorTest.java index 67206e2f857c..87e353d786f4 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigratorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/ToysDatabaseMigratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.toys; @@ -8,8 +8,11 @@ import io.airbyte.commons.resources.MoreResources; import io.airbyte.db.Database; +import io.airbyte.db.check.DatabaseAvailabilityCheck; import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.init.DatabaseInitializationException; import io.airbyte.db.instance.AbstractDatabaseTest; +import io.airbyte.db.instance.DatabaseConstants; import io.airbyte.db.instance.DatabaseMigrator; import java.io.IOException; import javax.sql.DataSource; @@ -24,12 +27,15 @@ class ToysDatabaseMigratorTest extends AbstractDatabaseTest { @Override public Database getDatabase(final DataSource dataSource, final DSLContext dslContext) throws IOException { - return new ToysDatabaseInstance(dslContext).getAndInitialize(); + return new Database(dslContext); } @Test public void testMigration() throws Exception { final DataSource dataSource = getDataSource(); + + initializeDatabase(getDslContext()); + final Flyway flyway = FlywayFactory.create(dataSource, getClass().getSimpleName(), ToysDatabaseMigrator.DB_IDENTIFIER, ToysDatabaseMigrator.MIGRATION_FILE_LOCATION); final DatabaseMigrator migrator = new ToysDatabaseMigrator(database, flyway); @@ -47,4 +53,11 @@ public void testMigration() throws Exception { assertEquals(postMigrationSchema, actualPostMigrationSchema, "The post migration schema dump has changed"); } + private void initializeDatabase(final DSLContext dslContext) throws DatabaseInitializationException, IOException { + final String initialSchema = MoreResources.readResource(ToysDatabaseConstants.SCHEMA_PATH); + final DatabaseAvailabilityCheck availabilityCheck = new ToysDatabaseAvailabilityCheck(dslContext, + DatabaseConstants.DEFAULT_CONNECTION_TIMEOUT_MS); + new ToysDatabaseInitializer(availabilityCheck, dslContext, initialSchema).initialize(); + } + } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_001__Add_timestamp_columns.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_001__Add_timestamp_columns.java index b509f328c57c..de6d385656ef 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_001__Add_timestamp_columns.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_001__Add_timestamp_columns.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.toys.migrations; @@ -7,7 +7,7 @@ import static org.jooq.impl.DSL.currentTimestamp; import static org.jooq.impl.DSL.field; -import io.airbyte.db.instance.toys.ToysDatabaseInstance; +import io.airbyte.db.instance.toys.ToysDatabaseConstants; import org.flywaydb.core.api.migration.BaseJavaMigration; import org.flywaydb.core.api.migration.Context; import org.jooq.DSLContext; @@ -19,10 +19,10 @@ public class V0_30_4_001__Add_timestamp_columns extends BaseJavaMigration { @Override public void migrate(final Context context) { final DSLContext dsl = DSL.using(context.getConnection()); - dsl.alterTable(ToysDatabaseInstance.TABLE_NAME) + dsl.alterTable(ToysDatabaseConstants.TABLE_NAME) .addColumn(field("created_at", SQLDataType.TIMESTAMP.defaultValue(currentTimestamp()).nullable(false))) .execute(); - dsl.alterTable(ToysDatabaseInstance.TABLE_NAME) + dsl.alterTable(ToysDatabaseConstants.TABLE_NAME) .addColumn(field("updated_at", SQLDataType.TIMESTAMP.defaultValue(currentTimestamp()).nullable(false))) .execute(); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_002__Remove_updated_at_column.java b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_002__Remove_updated_at_column.java index fe82bb1971aa..33a3a29270e9 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_002__Remove_updated_at_column.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/instance/toys/migrations/V0_30_4_002__Remove_updated_at_column.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.instance.toys.migrations; import static org.jooq.impl.DSL.field; -import io.airbyte.db.instance.toys.ToysDatabaseInstance; +import io.airbyte.db.instance.toys.ToysDatabaseConstants; import org.flywaydb.core.api.migration.BaseJavaMigration; import org.flywaydb.core.api.migration.Context; import org.jooq.DSLContext; @@ -17,7 +17,7 @@ public class V0_30_4_002__Remove_updated_at_column extends BaseJavaMigration { @Override public void migrate(final Context context) { final DSLContext dsl = DSL.using(context.getConnection()); - dsl.alterTable(ToysDatabaseInstance.TABLE_NAME) + dsl.alterTable(ToysDatabaseConstants.TABLE_NAME) .dropColumn(field("updated_at")) .execute(); } diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestDefaultJdbcDatabase.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestDefaultJdbcDatabase.java index a188788c85a0..7cf0e1c27605 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestDefaultJdbcDatabase.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestDefaultJdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestJdbcUtils.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestJdbcUtils.java index 0c86779cd057..58719973c854 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestJdbcUtils.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestJdbcUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestStreamingJdbcDatabase.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestStreamingJdbcDatabase.java index c7c08a33ec05..88c09cd7b96b 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestStreamingJdbcDatabase.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/TestStreamingJdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfigTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfigTest.java index 1a9fd943b504..cc9bcdf41b41 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfigTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/AdaptiveStreamingQueryConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimatorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimatorTest.java index eccf1be3b120..034986ff2a84 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimatorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/BaseSizeEstimatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimatorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimatorTest.java index 219d0e696273..4077daf53ab1 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimatorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/InitialSizeEstimatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimatorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimatorTest.java index c5a470891a70..038121f7cd21 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimatorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/SamplingSizeEstimatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimatorTest.java b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimatorTest.java index a49bb8bd85dd..7a09f9171af3 100644 --- a/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimatorTest.java +++ b/airbyte-db/lib/src/test/java/io/airbyte/db/jdbc/streaming/TwoStageSizeEstimatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.db.jdbc.streaming; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/BaseConnector.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/BaseConnector.java index d966460dcb88..7a784b16bb64 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/BaseConnector.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/BaseConnector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteExceptionHandler.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteExceptionHandler.java index 31cb0562aab0..b178a1c6ff14 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteExceptionHandler.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteExceptionHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteMessageConsumer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteMessageConsumer.java index fac982a826ec..3398d875aaeb 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteMessageConsumer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteStreamNameNamespacePair.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteStreamNameNamespacePair.java index 5c1f3601e01d..d733efbed0e3 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteStreamNameNamespacePair.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteStreamNameNamespacePair.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteTraceMessageUtility.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteTraceMessageUtility.java index 50f43a5330a9..765920ed2421 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteTraceMessageUtility.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/AirbyteTraceMessageUtility.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Command.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Command.java index 1a8bde8d7c33..28385f69e63a 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Command.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Command.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/CommitOnStateAirbyteMessageConsumer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/CommitOnStateAirbyteMessageConsumer.java index 83546f8068e2..dfe9a6c6fc60 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/CommitOnStateAirbyteMessageConsumer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/CommitOnStateAirbyteMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Destination.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Destination.java index 97eac6d7600a..5cace486a783 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Destination.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Destination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumer.java index 9fdf9892189e..d7a2ad69f2a1 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Integration.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Integration.java index 317c9e75d8d4..fdca6ef6b276 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Integration.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Integration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationCliParser.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationCliParser.java index ca6f46afd82f..59c2d9d214f6 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationCliParser.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationCliParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationConfig.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationConfig.java index 30831acb9e5e..9c9e6ff45935 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationConfig.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationRunner.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationRunner.java index 8422eae5d9ef..e487606e8f0f 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationRunner.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/IntegrationRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/JavaBaseConstants.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/JavaBaseConstants.java index b5a2a5840e16..4a18a86eb709 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/JavaBaseConstants.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/JavaBaseConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Source.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Source.java index 0b115092c85d..42a2d143ef79 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Source.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/Source.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/sentry/AirbyteSentry.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/sentry/AirbyteSentry.java index e38beb7e1900..b76dd4bfb31a 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/sentry/AirbyteSentry.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/sentry/AirbyteSentry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.sentry; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingDestination.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingDestination.java index e0567c405089..4c6e7509f1aa 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingDestination.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.spec_modification; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingSource.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingSource.java index afa0373865b0..1bf4ffc6407a 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingSource.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/spec_modification/SpecModifyingSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.spec_modification; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshBastionContainer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshBastionContainer.java index d3b1af0e408f..7b6032061ec7 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshBastionContainer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshBastionContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.ssh; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshHelpers.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshHelpers.java index 8af00da165ce..f1b0f30a47bb 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshHelpers.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.ssh; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshTunnel.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshTunnel.java index 9eaac1fa035b..803fce0b613c 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshTunnel.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshTunnel.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.ssh; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedDestination.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedDestination.java index 90056a65f2c7..b7397b3389d7 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedDestination.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.ssh; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedSource.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedSource.java index d66c4b87bfd3..1859765b6e09 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedSource.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/base/ssh/SshWrappedSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base.ssh; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/ExtendedNameTransformer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/ExtendedNameTransformer.java index 6af8c0bb97fa..f222c56ec6b4 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/ExtendedNameTransformer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/ExtendedNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/NamingConventionTransformer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/NamingConventionTransformer.java index d68a7cd568cc..91dd1a8fc435 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/NamingConventionTransformer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/NamingConventionTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/StandardNameTransformer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/StandardNameTransformer.java index 3b292dbb9c19..995b1f87b364 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/StandardNameTransformer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/StandardNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java index a37498631496..c7ae54a0ed81 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/CheckAndRemoveRecordWriter.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/CheckAndRemoveRecordWriter.java index 80cee22ab996..1c988ed33086 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/CheckAndRemoveRecordWriter.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/CheckAndRemoveRecordWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnCloseFunction.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnCloseFunction.java index ae39518553ac..bbba5879ac2e 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnCloseFunction.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnCloseFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnStartFunction.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnStartFunction.java index 58d8267f53bc..d71de0486909 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnStartFunction.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/OnStartFunction.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimator.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimator.java index cceada786996..aeebd06e74c3 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimator.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordWriter.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordWriter.java index 28ae42309528..247733f96cef 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordWriter.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/StreamDateFormatter.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/StreamDateFormatter.java index 4e049e4195c3..52d27061c60b 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/StreamDateFormatter.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/buffered_stream_consumer/StreamDateFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BaseSerializedBuffer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BaseSerializedBuffer.java index 2f30c34f0a0c..fe95b43b73d4 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BaseSerializedBuffer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BaseSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferStorage.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferStorage.java index ec2a60498fdf..b1ce87214118 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferStorage.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferStorage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferingStrategy.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferingStrategy.java index 1488e5dfbd3d..85f0d0022763 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferingStrategy.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/BufferingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/FileBuffer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/FileBuffer.java index 938706565aac..b85c8c97279c 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/FileBuffer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/FileBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryBuffer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryBuffer.java index 9e6e1b46e513..807bd436e435 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryBuffer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategy.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategy.java index 310005f889cd..d01454b500ee 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategy.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializableBuffer.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializableBuffer.java index a5f81c1298de..b75b971407c2 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializableBuffer.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializableBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategy.java b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategy.java index f55d3eeb1599..ee4b5b441750 100644 --- a/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategy.java +++ b/airbyte-integrations/bases/base-java/src/main/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteExceptionHandlerTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteExceptionHandlerTest.java index 2beeab4aaefe..9286fed8b0ba 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteExceptionHandlerTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteExceptionHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteTraceMessageUtilityTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteTraceMessageUtilityTest.java index 0763e79d2abf..19146e15b37b 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteTraceMessageUtilityTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/AirbyteTraceMessageUtilityTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumerTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumerTest.java index 59028e2bd592..2a4210b6f900 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumerTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/FailureTrackingAirbyteMessageConsumerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationCliParserTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationCliParserTest.java index 83be3bf94865..0a6fcf477def 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationCliParserTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationCliParserTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationConfigTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationConfigTest.java index b89a2567768e..34c310d118a7 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationConfigTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationRunnerTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationRunnerTest.java index 1b6f82cbaa7b..57c2c5beb3c7 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationRunnerTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/IntegrationRunnerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/NameTransformerTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/NameTransformerTest.java index 31dba62a4631..25731d7a3e5b 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/NameTransformerTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/base/NameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.base; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumerTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumerTest.java index 25e467bb5e81..58ab5fa56dc1 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumerTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/BufferedStreamConsumerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimatorTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimatorTest.java index 64e21425ef7b..ad5c066f4ad9 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimatorTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/buffered_stream_consumer/RecordSizeEstimatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.buffered_stream_consumer; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategyTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategyTest.java index 27713b7a7860..bc1029f95293 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategyTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/InMemoryRecordBufferingStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategyTest.java b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategyTest.java index 67007fe5d20a..397d09e97dad 100644 --- a/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategyTest.java +++ b/airbyte-integrations/bases/base-java/src/test/java/io/airbyte/integrations/destination/record_buffer/SerializedBufferingStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.record_buffer; diff --git a/airbyte-integrations/bases/base-normalization/README.md b/airbyte-integrations/bases/base-normalization/README.md index 4d02b23639ec..4dfa621ca0a8 100644 --- a/airbyte-integrations/bases/base-normalization/README.md +++ b/airbyte-integrations/bases/base-normalization/README.md @@ -96,6 +96,8 @@ identifier names from streams and catalogs. ## Integration Tests +Look at the `./setup/*.md` (e.g. `./setup/snowflake.md`) for how to set up integration environments. + With Gradle: ./gradlew :airbyte-integrations:bases:base-normalization:integrationTest diff --git a/airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/datatypes.sql b/airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/datatypes.sql index 18e2d61ecb8c..d03bf3613dc4 100644 --- a/airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/datatypes.sql +++ b/airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/datatypes.sql @@ -59,6 +59,10 @@ String {%- endmacro -%} +{#-- TODO: Remove this macro when dbt issue regarding unlimited varchars on postgres is resolved (https://github.com/dbt-labs/dbt-core/issues/5238) and we've upgraded to the latest version of dbt --#} +{%- macro postgres__type_string() -%} + text +{%- endmacro -%} {# float ------------------------------------------------- #} {% macro mysql__type_float() %} diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/dbt_integration_test.py b/airbyte-integrations/bases/base-normalization/integration_tests/dbt_integration_test.py index 430894514954..844f41ece940 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/dbt_integration_test.py +++ b/airbyte-integrations/bases/base-normalization/integration_tests/dbt_integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/dbt_project.yml b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/dbt_project.yml index 2e807c5e19ba..571d5bae581b 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/dbt_project.yml +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/dbt_project.yml @@ -1,45 +1,29 @@ -# This file is necessary to install dbt-utils with dbt deps -# the content will be overwritten by the transform function - -# Name your package! Package names should contain only lowercase characters -# and underscores. A good package name should reflect your organization's -# name or the intended use of these models -name: "airbyte_utils" +name: airbyte_utils version: "1.0" config-version: 2 - -# This setting configures which "profile" dbt uses for this project. Profiles contain -# database connection information, and should be configured in the ~/.dbt/profiles.yml file -profile: "normalize" - -# These configurations specify where dbt should look for different types of files. -# The `model-paths` config, for example, states that source models can be found -# in the "models/" directory. You probably won't need to change these! -model-paths: ["models"] -docs-paths: ["docs"] -analysis-paths: ["analysis"] -test-paths: ["tests"] -seed-paths: ["data"] -macro-paths: ["macros"] - -target-path: "../build" # directory which will store compiled SQL files -log-path: "../logs" # directory which will store DBT logs -packages-install-path: "/dbt" # directory which will store external DBT dependencies - -clean-targets: # directories to be removed by `dbt clean` - - "build" - - "dbt_modules" - +profile: normalize +model-paths: + - models +docs-paths: + - docs +analysis-paths: + - analysis +test-paths: + - tests +seed-paths: + - data +macro-paths: + - macros +target-path: ../build +log-path: ../logs +packages-install-path: /dbt +clean-targets: + - build + - dbt_modules quoting: database: true - # Temporarily disabling the behavior of the ExtendedNameTransformer on table/schema names, see (issue #1785) - # all schemas should be unquoted schema: false identifier: true - -# You can define configurations for models in the `model-paths` directory here. -# Using these configurations, you can enable or disable models, change how they -# are materialized, and more! models: +transient: false airbyte_utils: @@ -58,7 +42,77 @@ models: airbyte_views: +tags: airbyte_internal_views +materialized: view - dispatch: - macro_namespace: dbt_utils - search_order: ["airbyte_utils", "dbt_utils"] + search_order: + - airbyte_utils + - dbt_utils +vars: + json_column: _airbyte_data + models_to_source: + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_STG: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES + NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES + NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES + NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES: TEST_NORMALIZATION._AIRBYTE_RAW_NON_NESTED_STREAM_WITHOUT_NAMESPACE_RESULTING_INTO_LONG_NAMES + SOME_STREAM_THAT_WAS_EMPTY_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_SOME_STREAM_THAT_WAS_EMPTY + SOME_STREAM_THAT_WAS_EMPTY_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_SOME_STREAM_THAT_WAS_EMPTY + SOME_STREAM_THAT_WAS_EMPTY_STG: TEST_NORMALIZATION._AIRBYTE_RAW_SOME_STREAM_THAT_WAS_EMPTY + SOME_STREAM_THAT_WAS_EMPTY_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_SOME_STREAM_THAT_WAS_EMPTY + SOME_STREAM_THAT_WAS_EMPTY: TEST_NORMALIZATION._AIRBYTE_RAW_SOME_STREAM_THAT_WAS_EMPTY + SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB1: TEST_NORMALIZATION_NAMESPACE._AIRBYTE_RAW_SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES + SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB2: TEST_NORMALIZATION_NAMESPACE._AIRBYTE_RAW_SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES + SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES_AB3: TEST_NORMALIZATION_NAMESPACE._AIRBYTE_RAW_SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES + SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES: TEST_NORMALIZATION_NAMESPACE._AIRBYTE_RAW_SIMPLE_STREAM_WITH_NAMESPACE_RESULTING_INTO_LONG_NAMES + CONFLICT_STREAM_NAME_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_SCALAR_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_SCALAR + CONFLICT_STREAM_SCALAR_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_SCALAR + CONFLICT_STREAM_SCALAR_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_SCALAR + CONFLICT_STREAM_SCALAR: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_SCALAR + CONFLICT_STREAM_ARRAY_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_ARRAY + CONFLICT_STREAM_ARRAY_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_ARRAY + CONFLICT_STREAM_ARRAY_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_ARRAY + CONFLICT_STREAM_ARRAY: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_ARRAY + UNNEST_ALIAS_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + UNNEST_ALIAS_CHILDREN_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA: TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME_CONFLICT_STREAM_NAME: TEST_NORMALIZATION._AIRBYTE_RAW_CONFLICT_STREAM_NAME + UNNEST_ALIAS_CHILDREN_OWNER_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_COLUMN___WITH__QUOTES_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_COLUMN___WITH__QUOTES_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_COLUMN___WITH__QUOTES_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS + UNNEST_ALIAS_CHILDREN_OWNER_COLUMN___WITH__QUOTES: TEST_NORMALIZATION._AIRBYTE_RAW_UNNEST_ALIAS diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql index 070ff60ba2f0..8a87924032e4 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql @@ -1,10 +1,10 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" as (select * from( -- Final base SQL model --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" select _AIRBYTE_UNIQUE_KEY, ID, @@ -14,11 +14,11 @@ select _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_HASHID -from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" --- NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" +-- NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES where 1 = 1 and _AIRBYTE_ACTIVE_ROW = 1 ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" cluster by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" cluster by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql index d70e72e47308..2695e3388ca1 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql @@ -1,12 +1,12 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as (select * from( with __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" select _AIRBYTE_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_HASHID, get_path(parse_json(PARTITION), '"double_array_data"') as DOUBLE_ARRAY_DATA, @@ -14,7 +14,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as table_alias -- PARTITION at nested_stream_with_complex_columns_resulting_into_long_names/partition where 1 = 1 and PARTITION is not null @@ -64,9 +64,9 @@ select convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_PARTITION_HASHID from __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_AB3 --- PARTITION at nested_stream_with_complex_columns_resulting_into_long_names/partition from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" +-- PARTITION at nested_stream_with_complex_columns_resulting_into_long_names/partition from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" where 1 = 1 ) order by (_AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql index b550314ec9c2..436ec4cd9d19 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql @@ -1,12 +1,12 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" as (select * from( with __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" select _AIRBYTE_PARTITION_HASHID, @@ -14,7 +14,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as table_alias -- DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/DATA cross join table(flatten(DATA)) as DATA where 1 = 1 @@ -63,9 +63,9 @@ select convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_DATA_HASHID from __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA_AB3 --- DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/DATA from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" +-- DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/DATA from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" where 1 = 1 ) order by (_AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql index 9bd584e0f1d2..c5a250dd0bc3 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql @@ -1,12 +1,12 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" as (select * from( with __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" select _AIRBYTE_PARTITION_HASHID, @@ -14,7 +14,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" as table_alias -- DOUBLE_ARRAY_DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/double_array_data cross join table(flatten(DOUBLE_ARRAY_DATA)) as DOUBLE_ARRAY_DATA where 1 = 1 @@ -63,9 +63,9 @@ select convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_DOUBLE_ARRAY_DATA_HASHID from __dbt__cte__NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA_AB3 --- DOUBLE_ARRAY_DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/double_array_data from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" +-- DOUBLE_ARRAY_DATA at nested_stream_with_complex_columns_resulting_into_long_names/partition/double_array_data from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" where 1 = 1 ) order by (_AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql index 3bd7c7e79ee2..b3072ce0004c 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql @@ -1,6 +1,6 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as (select * from( -- depends_on: ref('NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_STG') @@ -8,8 +8,8 @@ with input_data as ( select * - from "AIRBYTE_DATABASE"._AIRBYTE_TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_STG" - -- NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES + from "INTEGRATION_TEST_NORMALIZATION"._AIRBYTE_TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_STG" + -- NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES ), scd_data as ( @@ -82,4 +82,4 @@ select from dedup_data where _AIRBYTE_ROW_NUM = 1 ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" cluster by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" cluster by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql index 38b63ebc54d3..ce844e3777ef 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES.sql @@ -6,8 +6,8 @@ begin; - merge into "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" as DBT_INTERNAL_DEST - using "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES__dbt_tmp" as DBT_INTERNAL_SOURCE + merge into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES" as DBT_INTERNAL_DEST + using "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES__dbt_tmp" as DBT_INTERNAL_SOURCE on DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql index 5692d73b418a..8be85b4920f8 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION.sql @@ -1,9 +1,9 @@ begin; - insert into "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" ("_AIRBYTE_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_HASHID", "DOUBLE_ARRAY_DATA", "DATA", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_PARTITION_HASHID") + insert into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION" ("_AIRBYTE_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_HASHID", "DOUBLE_ARRAY_DATA", "DATA", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_PARTITION_HASHID") ( select "_AIRBYTE_NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_HASHID", "DOUBLE_ARRAY_DATA", "DATA", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_PARTITION_HASHID" - from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION__dbt_tmp" + from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION__dbt_tmp" ); commit; \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql index d8e002d6d55a..abd722a837d6 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA.sql @@ -1,9 +1,9 @@ begin; - insert into "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" ("_AIRBYTE_PARTITION_HASHID", "CURRENCY", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DATA_HASHID") + insert into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA" ("_AIRBYTE_PARTITION_HASHID", "CURRENCY", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DATA_HASHID") ( select "_AIRBYTE_PARTITION_HASHID", "CURRENCY", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DATA_HASHID" - from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA__dbt_tmp" + from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DATA__dbt_tmp" ); commit; \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql index 7579d150c518..11746e9f32af 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA.sql @@ -1,9 +1,9 @@ begin; - insert into "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" ("_AIRBYTE_PARTITION_HASHID", "ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DOUBLE_ARRAY_DATA_HASHID") + insert into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA" ("_AIRBYTE_PARTITION_HASHID", "ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DOUBLE_ARRAY_DATA_HASHID") ( select "_AIRBYTE_PARTITION_HASHID", "ID", "_AIRBYTE_AB_ID", "_AIRBYTE_EMITTED_AT", "_AIRBYTE_NORMALIZED_AT", "_AIRBYTE_DOUBLE_ARRAY_DATA_HASHID" - from "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA__dbt_tmp" + from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_PARTITION_DOUBLE_ARRAY_DATA__dbt_tmp" ); commit; \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql index cbca5b47ca42..308aaf13f908 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_nested_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD.sql @@ -6,8 +6,8 @@ begin; - merge into "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as DBT_INTERNAL_DEST - using "AIRBYTE_DATABASE".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE + merge into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD" as DBT_INTERNAL_DEST + using "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."NESTED_STREAM_WITH_COMPLEX_COLUMNS_RESULTING_INTO_LONG_NAMES_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE on DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/dbt_project.yml b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/dbt_project.yml index 2e807c5e19ba..76a02e4351f0 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/dbt_project.yml +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/dbt_project.yml @@ -1,45 +1,29 @@ -# This file is necessary to install dbt-utils with dbt deps -# the content will be overwritten by the transform function - -# Name your package! Package names should contain only lowercase characters -# and underscores. A good package name should reflect your organization's -# name or the intended use of these models -name: "airbyte_utils" +name: airbyte_utils version: "1.0" config-version: 2 - -# This setting configures which "profile" dbt uses for this project. Profiles contain -# database connection information, and should be configured in the ~/.dbt/profiles.yml file -profile: "normalize" - -# These configurations specify where dbt should look for different types of files. -# The `model-paths` config, for example, states that source models can be found -# in the "models/" directory. You probably won't need to change these! -model-paths: ["models"] -docs-paths: ["docs"] -analysis-paths: ["analysis"] -test-paths: ["tests"] -seed-paths: ["data"] -macro-paths: ["macros"] - -target-path: "../build" # directory which will store compiled SQL files -log-path: "../logs" # directory which will store DBT logs -packages-install-path: "/dbt" # directory which will store external DBT dependencies - -clean-targets: # directories to be removed by `dbt clean` - - "build" - - "dbt_modules" - +profile: normalize +model-paths: + - models +docs-paths: + - docs +analysis-paths: + - analysis +test-paths: + - tests +seed-paths: + - data +macro-paths: + - macros +target-path: ../build +log-path: ../logs +packages-install-path: /dbt +clean-targets: + - build + - dbt_modules quoting: database: true - # Temporarily disabling the behavior of the ExtendedNameTransformer on table/schema names, see (issue #1785) - # all schemas should be unquoted schema: false identifier: true - -# You can define configurations for models in the `model-paths` directory here. -# Using these configurations, you can enable or disable models, change how they -# are materialized, and more! models: +transient: false airbyte_utils: @@ -58,7 +42,45 @@ models: airbyte_views: +tags: airbyte_internal_views +materialized: view - dispatch: - macro_namespace: dbt_utils - search_order: ["airbyte_utils", "dbt_utils"] + search_order: + - airbyte_utils + - dbt_utils +vars: + json_column: _airbyte_data + models_to_source: + EXCHANGE_RATE_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE + EXCHANGE_RATE_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE + EXCHANGE_RATE_AB3: TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE + EXCHANGE_RATE: TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE + DEDUP_EXCHANGE_RATE_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + DEDUP_EXCHANGE_RATE_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + DEDUP_EXCHANGE_RATE_STG: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + DEDUP_EXCHANGE_RATE_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + DEDUP_EXCHANGE_RATE: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + RENAMED_DEDUP_CDC_EXCLUDED_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_RENAMED_DEDUP_CDC_EXCLUDED + RENAMED_DEDUP_CDC_EXCLUDED_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_RENAMED_DEDUP_CDC_EXCLUDED + RENAMED_DEDUP_CDC_EXCLUDED_STG: TEST_NORMALIZATION._AIRBYTE_RAW_RENAMED_DEDUP_CDC_EXCLUDED + RENAMED_DEDUP_CDC_EXCLUDED_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_RENAMED_DEDUP_CDC_EXCLUDED + RENAMED_DEDUP_CDC_EXCLUDED: TEST_NORMALIZATION._AIRBYTE_RAW_RENAMED_DEDUP_CDC_EXCLUDED + DEDUP_CDC_EXCLUDED_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_CDC_EXCLUDED + DEDUP_CDC_EXCLUDED_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_CDC_EXCLUDED + DEDUP_CDC_EXCLUDED_STG: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_CDC_EXCLUDED + DEDUP_CDC_EXCLUDED_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_CDC_EXCLUDED + DEDUP_CDC_EXCLUDED: TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_CDC_EXCLUDED + POS_DEDUP_CDCX_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_POS_DEDUP_CDCX + POS_DEDUP_CDCX_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_POS_DEDUP_CDCX + POS_DEDUP_CDCX_STG: TEST_NORMALIZATION._AIRBYTE_RAW_POS_DEDUP_CDCX + POS_DEDUP_CDCX_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_POS_DEDUP_CDCX + POS_DEDUP_CDCX: TEST_NORMALIZATION._AIRBYTE_RAW_POS_DEDUP_CDCX + 1_prefix_startwith_number_ab1: TEST_NORMALIZATION._AIRBYTE_RAW_1_PREFIX_STARTWITH_NUMBER + 1_prefix_startwith_number_ab2: TEST_NORMALIZATION._AIRBYTE_RAW_1_PREFIX_STARTWITH_NUMBER + 1_prefix_startwith_number_stg: TEST_NORMALIZATION._AIRBYTE_RAW_1_PREFIX_STARTWITH_NUMBER + 1_prefix_startwith_number_scd: TEST_NORMALIZATION._AIRBYTE_RAW_1_PREFIX_STARTWITH_NUMBER + 1_prefix_startwith_number: TEST_NORMALIZATION._AIRBYTE_RAW_1_PREFIX_STARTWITH_NUMBER + MULTIPLE_COLUMN_NAMES_CONFLICTS_AB1: TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS + MULTIPLE_COLUMN_NAMES_CONFLICTS_AB2: TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS + MULTIPLE_COLUMN_NAMES_CONFLICTS_STG: TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS + MULTIPLE_COLUMN_NAMES_CONFLICTS_SCD: TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS + MULTIPLE_COLUMN_NAMES_CONFLICTS: TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql index e54fe5cedf12..7efd7f3244db 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql @@ -1,10 +1,10 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" as (select * from( -- Final base SQL model --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" select _AIRBYTE_UNIQUE_KEY, ID, @@ -19,11 +19,11 @@ select _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_DEDUP_EXCHANGE_RATE_HASHID -from "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" --- DEDUP_EXCHANGE_RATE from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" +-- DEDUP_EXCHANGE_RATE from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE where 1 = 1 and _AIRBYTE_ACTIVE_ROW = 1 ) order by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" cluster by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" cluster by (_AIRBYTE_UNIQUE_KEY, _AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql index b65fbb50b75e..220cd093da41 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql @@ -1,6 +1,6 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" as (select * from( -- depends_on: ref('DEDUP_EXCHANGE_RATE_STG') @@ -8,8 +8,8 @@ with input_data as ( select * - from "AIRBYTE_DATABASE"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" - -- DEDUP_EXCHANGE_RATE from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE + from "INTEGRATION_TEST_NORMALIZATION"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" + -- DEDUP_EXCHANGE_RATE from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE ), scd_data as ( @@ -100,4 +100,4 @@ select from dedup_data where _AIRBYTE_ROW_NUM = 1 ) order by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" cluster by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" cluster by (_AIRBYTE_ACTIVE_ROW, _AIRBYTE_UNIQUE_KEY_SCD, _AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql index 8280ecbf2960..c42e4f021b53 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql @@ -1,12 +1,12 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."EXCHANGE_RATE" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."EXCHANGE_RATE" as (select * from( with __dbt__cte__EXCHANGE_RATE_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE select to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, to_varchar(get_path(parse_json(_airbyte_data), '"currency"')) as CURRENCY, @@ -20,7 +20,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE as table_alias -- EXCHANGE_RATE where 1 = 1 ), __dbt__cte__EXCHANGE_RATE_AB2 as ( @@ -114,8 +114,8 @@ select convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_EXCHANGE_RATE_HASHID from __dbt__cte__EXCHANGE_RATE_AB3 --- EXCHANGE_RATE from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE +-- EXCHANGE_RATE from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE where 1 = 1 ) order by (_AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."EXCHANGE_RATE" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."EXCHANGE_RATE" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql index 6e3a836710ab..e91864477ee7 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql @@ -1,12 +1,12 @@ - create or replace view "AIRBYTE_DATABASE"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" + create or replace view "INTEGRATION_TEST_NORMALIZATION"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" as ( with __dbt__cte__DEDUP_EXCHANGE_RATE_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE select to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, to_varchar(get_path(parse_json(_airbyte_data), '"currency"')) as CURRENCY, @@ -19,7 +19,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE as table_alias -- DEDUP_EXCHANGE_RATE where 1 = 1 diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/MULTIPLE_COLUMN_NAMES_CONFLICTS_STG.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/MULTIPLE_COLUMN_NAMES_CONFLICTS_STG.sql index 0d8620316af6..639671b74a4b 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/MULTIPLE_COLUMN_NAMES_CONFLICTS_STG.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/first_output/airbyte_views/TEST_NORMALIZATION/MULTIPLE_COLUMN_NAMES_CONFLICTS_STG.sql @@ -1,12 +1,12 @@ - create or replace view "AIRBYTE_DATABASE"._AIRBYTE_TEST_NORMALIZATION."MULTIPLE_COLUMN_NAMES_CONFLICTS_STG" + create or replace view "INTEGRATION_TEST_NORMALIZATION"._AIRBYTE_TEST_NORMALIZATION."MULTIPLE_COLUMN_NAMES_CONFLICTS_STG" as ( with __dbt__cte__MULTIPLE_COLUMN_NAMES_CONFLICTS_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS select to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, to_varchar(get_path(parse_json(_airbyte_data), '"User Id"')) as "User Id", @@ -18,7 +18,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_MULTIPLE_COLUMN_NAMES_CONFLICTS as table_alias -- MULTIPLE_COLUMN_NAMES_CONFLICTS where 1 = 1 diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql index 00f8af4d282f..347a35673094 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE.sql @@ -6,8 +6,8 @@ begin; - merge into "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" as DBT_INTERNAL_DEST - using "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE__dbt_tmp" as DBT_INTERNAL_SOURCE + merge into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE" as DBT_INTERNAL_DEST + using "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE__dbt_tmp" as DBT_INTERNAL_SOURCE on DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql index f4b7a7831cdf..732318654574 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_incremental/scd/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_SCD.sql @@ -6,8 +6,8 @@ begin; - merge into "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" as DBT_INTERNAL_DEST - using "AIRBYTE_DATABASE".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE + merge into "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD" as DBT_INTERNAL_DEST + using "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_SCD__dbt_tmp" as DBT_INTERNAL_SOURCE on DBT_INTERNAL_SOURCE._AIRBYTE_UNIQUE_KEY_SCD = DBT_INTERNAL_DEST._AIRBYTE_UNIQUE_KEY_SCD diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql index 8280ecbf2960..c42e4f021b53 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_tables/TEST_NORMALIZATION/EXCHANGE_RATE.sql @@ -1,12 +1,12 @@ - create or replace table "AIRBYTE_DATABASE".TEST_NORMALIZATION."EXCHANGE_RATE" as + create or replace table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."EXCHANGE_RATE" as (select * from( with __dbt__cte__EXCHANGE_RATE_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE select to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, to_varchar(get_path(parse_json(_airbyte_data), '"currency"')) as CURRENCY, @@ -20,7 +20,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE as table_alias -- EXCHANGE_RATE where 1 = 1 ), __dbt__cte__EXCHANGE_RATE_AB2 as ( @@ -114,8 +114,8 @@ select convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT, _AIRBYTE_EXCHANGE_RATE_HASHID from __dbt__cte__EXCHANGE_RATE_AB3 --- EXCHANGE_RATE from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE +-- EXCHANGE_RATE from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_EXCHANGE_RATE where 1 = 1 ) order by (_AIRBYTE_EMITTED_AT) ); - alter table "AIRBYTE_DATABASE".TEST_NORMALIZATION."EXCHANGE_RATE" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file + alter table "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION."EXCHANGE_RATE" cluster by (_AIRBYTE_EMITTED_AT); \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql index 6e3a836710ab..e91864477ee7 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql +++ b/airbyte-integrations/bases/base-normalization/integration_tests/normalization_test_output/snowflake/test_simple_streams/second_output/airbyte_views/TEST_NORMALIZATION/DEDUP_EXCHANGE_RATE_STG.sql @@ -1,12 +1,12 @@ - create or replace view "AIRBYTE_DATABASE"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" + create or replace view "INTEGRATION_TEST_NORMALIZATION"._AIRBYTE_TEST_NORMALIZATION."DEDUP_EXCHANGE_RATE_STG" as ( with __dbt__cte__DEDUP_EXCHANGE_RATE_AB1 as ( -- SQL model to parse JSON blob stored in a single column and extract into separated field columns as described by the JSON Schema --- depends_on: "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE +-- depends_on: "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE select to_varchar(get_path(parse_json(_airbyte_data), '"id"')) as ID, to_varchar(get_path(parse_json(_airbyte_data), '"currency"')) as CURRENCY, @@ -19,7 +19,7 @@ select _AIRBYTE_AB_ID, _AIRBYTE_EMITTED_AT, convert_timezone('UTC', current_timestamp()) as _AIRBYTE_NORMALIZED_AT -from "AIRBYTE_DATABASE".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE as table_alias +from "INTEGRATION_TEST_NORMALIZATION".TEST_NORMALIZATION._AIRBYTE_RAW_DEDUP_EXCHANGE_RATE as table_alias -- DEDUP_EXCHANGE_RATE where 1 = 1 diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/test_ephemeral.py b/airbyte-integrations/bases/base-normalization/integration_tests/test_ephemeral.py index dd665482ffcd..22d968ec5da5 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/test_ephemeral.py +++ b/airbyte-integrations/bases/base-normalization/integration_tests/test_ephemeral.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/base-normalization/integration_tests/test_normalization.py b/airbyte-integrations/bases/base-normalization/integration_tests/test_normalization.py index 81ffd1d35ef6..2311db2d2014 100644 --- a/airbyte-integrations/bases/base-normalization/integration_tests/test_normalization.py +++ b/airbyte-integrations/bases/base-normalization/integration_tests/test_normalization.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json @@ -498,6 +498,8 @@ def to_lower_identifier(input: re.Match) -> str: def test_redshift_normalization_migration(tmp_path, setup_test_path): destination_type = DestinationType.REDSHIFT + if destination_type.value not in dbt_test_utils.get_test_targets(): + pytest.skip(f"Destinations {destination_type} is not in NORMALIZATION_TEST_TARGET env variable") base_dir = pathlib.Path(os.path.realpath(os.path.join(__file__, "../.."))) resources_dir = base_dir / "integration_tests/resources/redshift_normalization_migration" catalog_file = base_dir / resources_dir / "destination_catalog.json" diff --git a/airbyte-integrations/bases/base-normalization/main_dev_transform_catalog.py b/airbyte-integrations/bases/base-normalization/main_dev_transform_catalog.py index bce5a997abed..76b6c5f32af9 100644 --- a/airbyte-integrations/bases/base-normalization/main_dev_transform_catalog.py +++ b/airbyte-integrations/bases/base-normalization/main_dev_transform_catalog.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/main_dev_transform_config.py b/airbyte-integrations/bases/base-normalization/main_dev_transform_config.py index f8ca137198c6..9aa690bad0d4 100644 --- a/airbyte-integrations/bases/base-normalization/main_dev_transform_config.py +++ b/airbyte-integrations/bases/base-normalization/main_dev_transform_config.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/destination_type.py b/airbyte-integrations/bases/base-normalization/normalization/destination_type.py index c3d7d7b7f2ea..12da9b2bd044 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/destination_type.py +++ b/airbyte-integrations/bases/base-normalization/normalization/destination_type.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/catalog_processor.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/catalog_processor.py index b8491e000675..7e57f14c63ca 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/catalog_processor.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/catalog_processor.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/dbt_macro.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/dbt_macro.py index 2240776bd582..c5104365f306 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/dbt_macro.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/dbt_macro.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/destination_name_transformer.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/destination_name_transformer.py index e5fc2df0ae84..29db8e3ff7e3 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/destination_name_transformer.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/destination_name_transformer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/reserved_keywords.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/reserved_keywords.py index f23d6e607e38..43bc67b26e58 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/reserved_keywords.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/reserved_keywords.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/stream_processor.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/stream_processor.py index cd61fddc9311..161e9bcfae38 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/stream_processor.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/stream_processor.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/table_name_registry.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/table_name_registry.py index bb1df359c70c..71fcefeb1dc5 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/table_name_registry.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/table_name_registry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import hashlib diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/transform.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/transform.py index aa8fed6d0be9..f32f290de6a9 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/transform.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/utils.py b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/utils.py index ce0793843884..da05fe963fb9 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/utils.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_catalog/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/normalization/transform_config/transform.py b/airbyte-integrations/bases/base-normalization/normalization/transform_config/transform.py index 8de14eff04fb..e8eccdf967bd 100644 --- a/airbyte-integrations/bases/base-normalization/normalization/transform_config/transform.py +++ b/airbyte-integrations/bases/base-normalization/normalization/transform_config/transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/setup.py b/airbyte-integrations/bases/base-normalization/setup.py index a6f757637f33..23d57f71ecd9 100644 --- a/airbyte-integrations/bases/base-normalization/setup.py +++ b/airbyte-integrations/bases/base-normalization/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/setup/snowflake.md b/airbyte-integrations/bases/base-normalization/setup/snowflake.md new file mode 100644 index 000000000000..2bf2bc58e511 --- /dev/null +++ b/airbyte-integrations/bases/base-normalization/setup/snowflake.md @@ -0,0 +1,33 @@ +# Snowflake Setup + +## Setting up an integration user + +Here is the SQL to make an integration environment in Snowflake for this source via an ACCOUNTADMIN. Be sure to give a real password. + +```sql +CREATE WAREHOUSE INTEGRATION_TEST_WAREHOUSE_NORMALIZATION WITH WAREHOUSE_SIZE = 'XSMALL' WAREHOUSE_TYPE = 'STANDARD' AUTO_SUSPEND = 600 AUTO_RESUME = TRUE; + +CREATE DATABASE INTEGRATION_TEST_NORMALIZATION; + +CREATE ROLE INTEGRATION_TESTER_NORMALIZATION; + +GRANT ALL PRIVILEGES ON WAREHOUSE INTEGRATION_TEST_WAREHOUSE_NORMALIZATION TO ROLE INTEGRATION_TESTER_NORMALIZATION; +GRANT ALL PRIVILEGES ON DATABASE INTEGRATION_TEST_NORMALIZATION TO ROLE INTEGRATION_TESTER_NORMALIZATION; +GRANT ALL PRIVILEGES ON FUTURE SCHEMAS IN DATABASE INTEGRATION_TEST_NORMALIZATION TO ROLE INTEGRATION_TESTER_NORMALIZATION; +GRANT ALL PRIVILEGES ON FUTURE TABLES IN DATABASE INTEGRATION_TEST_NORMALIZATION TO ROLE INTEGRATION_TESTER_NORMALIZATION; + +# Add real password here and remove this comment +CREATE USER INTEGRATION_TEST_USER_NORMALIZATION PASSWORD='test' DEFAULT_ROLE=INTEGRATION_TESTER_NORMALIZATION DEFAULT_WAREHOUSE=INTEGRATION_TEST_WAREHOUSE_NORMALIZATION MUST_CHANGE_PASSWORD=false; + +GRANT ROLE INTEGRATION_TESTER_NORMALIZATION TO USER INTEGRATION_TEST_USER_NORMALIZATION; + +CREATE SCHEMA INTEGRATION_TEST_NORMALIZATION.TEST_SCHEMA; +``` + +If you ever need to start over, use this: +```sql +DROP DATABASE IF EXISTS INTEGRATION_TEST_NORMALIZATION; +DROP USER IF EXISTS INTEGRATION_TEST_USER_NORMALIZATION; +DROP ROLE IF EXISTS INTEGRATION_TESTER_NORMALIZATION; +DROP WAREHOUSE IF EXISTS INTEGRATION_TEST_WAREHOUSE_NORMALIZATION; +``` \ No newline at end of file diff --git a/airbyte-integrations/bases/base-normalization/unit_tests/test_destination_name_transformer.py b/airbyte-integrations/bases/base-normalization/unit_tests/test_destination_name_transformer.py index d6a435777ee1..496e1f421130 100644 --- a/airbyte-integrations/bases/base-normalization/unit_tests/test_destination_name_transformer.py +++ b/airbyte-integrations/bases/base-normalization/unit_tests/test_destination_name_transformer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/unit_tests/test_stream_processor.py b/airbyte-integrations/bases/base-normalization/unit_tests/test_stream_processor.py index 244119228938..cfc48bacbef1 100644 --- a/airbyte-integrations/bases/base-normalization/unit_tests/test_stream_processor.py +++ b/airbyte-integrations/bases/base-normalization/unit_tests/test_stream_processor.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/unit_tests/test_table_name_registry.py b/airbyte-integrations/bases/base-normalization/unit_tests/test_table_name_registry.py index 6526609ada66..27fbcb20235d 100644 --- a/airbyte-integrations/bases/base-normalization/unit_tests/test_table_name_registry.py +++ b/airbyte-integrations/bases/base-normalization/unit_tests/test_table_name_registry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-normalization/unit_tests/test_transform_config.py b/airbyte-integrations/bases/base-normalization/unit_tests/test_transform_config.py index 1bbde452307b..92c3c2950435 100644 --- a/airbyte-integrations/bases/base-normalization/unit_tests/test_transform_config.py +++ b/airbyte-integrations/bases/base-normalization/unit_tests/test_transform_config.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/ExecutableTestSource.java b/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/ExecutableTestSource.java index 0ccd71d4435a..765d1e720496 100644 --- a/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/ExecutableTestSource.java +++ b/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/ExecutableTestSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source.fs; diff --git a/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/TestSourceMain.java b/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/TestSourceMain.java index f2600ef10a7b..092939315928 100644 --- a/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/TestSourceMain.java +++ b/airbyte-integrations/bases/base-standard-source-test-file/src/main/java/io/airbyte/integrations/standardtest/source/fs/TestSourceMain.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source.fs; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/AirbyteDebeziumHandler.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/AirbyteDebeziumHandler.java index f78a5cf31c54..9d89d5a5a781 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/AirbyteDebeziumHandler.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/AirbyteDebeziumHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcMetadataInjector.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcMetadataInjector.java index 8ff35ddcaa0b..f5612fe04508 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcMetadataInjector.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcMetadataInjector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcSavedInfoFetcher.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcSavedInfoFetcher.java index a5b763fa6cdc..a0efa36f05a8 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcSavedInfoFetcher.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcSavedInfoFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcStateHandler.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcStateHandler.java index bfcdeef6571f..7b76186fc9c1 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcStateHandler.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcStateHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcTargetPosition.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcTargetPosition.java index 1bf4c96ea5d7..47209ada28f7 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcTargetPosition.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/CdcTargetPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteFileOffsetBackingStore.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteFileOffsetBackingStore.java index 1933b796eac4..89dbd3d1f472 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteFileOffsetBackingStore.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteFileOffsetBackingStore.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteSchemaHistoryStorage.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteSchemaHistoryStorage.java index 182c618da241..c36bd3cc48c1 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteSchemaHistoryStorage.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/AirbyteSchemaHistoryStorage.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtils.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtils.java index c2e9f00efdf9..ab0a9e6cde16 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtils.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumEventUtils.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumEventUtils.java index 610e822d67ef..da31b6143210 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumEventUtils.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumEventUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordIterator.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordIterator.java index 3fca89b95a13..76305dabf259 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordIterator.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordPublisher.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordPublisher.java index 916b0e569b81..1547af0ce906 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordPublisher.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/DebeziumRecordPublisher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/FilteredFileDatabaseHistory.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/FilteredFileDatabaseHistory.java index 3030c35b9b41..f04690767537 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/FilteredFileDatabaseHistory.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/FilteredFileDatabaseHistory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MSSQLConverter.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MSSQLConverter.java index e8550f03710a..9420b8ba9758 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MSSQLConverter.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MSSQLConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MySQLConverter.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MySQLConverter.java index eb53e6640eb4..70f68704d4d9 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MySQLConverter.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/MySQLConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/PostgresConverter.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/PostgresConverter.java index b763c9f8590f..5d6f21d9b9fb 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/PostgresConverter.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/PostgresConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; @@ -42,7 +42,7 @@ public void converterFor(final RelationalColumn field, final ConverterRegistrati } private void registerText(final RelationalColumn field, final ConverterRegistration registration) { - registration.register(SchemaBuilder.string(), x -> { + registration.register(SchemaBuilder.string().optional(), x -> { if (x == null) { return DebeziumConverterUtils.convertDefaultValue(field); } @@ -56,7 +56,7 @@ private void registerText(final RelationalColumn field, final ConverterRegistrat } private void registerDate(final RelationalColumn field, final ConverterRegistration registration) { - registration.register(SchemaBuilder.string(), x -> { + registration.register(SchemaBuilder.string().optional(), x -> { if (x == null) { return DebeziumConverterUtils.convertDefaultValue(field); } else if (x instanceof PGInterval) { @@ -78,7 +78,7 @@ private String convertInterval(final PGInterval pgInterval) { } private void registerMoney(final RelationalColumn field, final ConverterRegistration registration) { - registration.register(SchemaBuilder.string(), x -> { + registration.register(SchemaBuilder.string().optional(), x -> { if (x == null) { return DebeziumConverterUtils.convertDefaultValue(field); } else if (x instanceof Double) { diff --git a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/SnapshotMetadata.java b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/SnapshotMetadata.java index 3dbf8e73e0c5..b24cdf71fbe6 100644 --- a/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/SnapshotMetadata.java +++ b/airbyte-integrations/bases/debezium/src/main/java/io/airbyte/integrations/debezium/internals/SnapshotMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/AirbyteFileOffsetBackingStoreTest.java b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/AirbyteFileOffsetBackingStoreTest.java index a279014950d2..9f1e6d0ea052 100644 --- a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/AirbyteFileOffsetBackingStoreTest.java +++ b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/AirbyteFileOffsetBackingStoreTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumEventUtilsTest.java b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumEventUtilsTest.java index 3c563330b7e2..4de1b36524dd 100644 --- a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumEventUtilsTest.java +++ b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumEventUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumRecordPublisherTest.java b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumRecordPublisherTest.java index 596579de8560..31dacbc563ae 100644 --- a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumRecordPublisherTest.java +++ b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/DebeziumRecordPublisherTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtilsTest.java b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtilsTest.java index 294fb4990617..facb86d0bc54 100644 --- a/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtilsTest.java +++ b/airbyte-integrations/bases/debezium/src/test/java/io/airbyte/integrations/debezium/internals/DebeziumConverterUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium.internals; diff --git a/airbyte-integrations/bases/debezium/src/testFixtures/java/io/airbyte/integrations/debezium/CdcSourceTest.java b/airbyte-integrations/bases/debezium/src/testFixtures/java/io/airbyte/integrations/debezium/CdcSourceTest.java index 8752df819e44..a1049f0b7450 100644 --- a/airbyte-integrations/bases/debezium/src/testFixtures/java/io/airbyte/integrations/debezium/CdcSourceTest.java +++ b/airbyte-integrations/bases/debezium/src/testFixtures/java/io/airbyte/integrations/debezium/CdcSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.debezium; diff --git a/airbyte-integrations/bases/source-acceptance-test/setup.py b/airbyte-integrations/bases/source-acceptance-test/setup.py index 28b53bf2dd05..00d6f13e59b9 100644 --- a/airbyte-integrations/bases/source-acceptance-test/setup.py +++ b/airbyte-integrations/bases/source-acceptance-test/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py index 3d93f455c058..f29e537cb8ee 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py index 78d82285cfd1..1fe2b3629c28 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/config.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py index a86c3f2db053..c092929ab9ec 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py index 13d77c338baa..3875cad4dd29 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/plugin.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py index a5feda925317..aaa76829f4ce 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_core.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py index 9b2c3c279543..c88514487da6 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_full_refresh.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from collections import defaultdict diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py index 1d6f7cebb6b7..3745f1ce4db1 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/tests/test_incremental.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py index 66c1e2eaa5e6..5202c5e8abba 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/asserts.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py index c00ed886922f..9caefefb9011 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py index added3941495..ef717e68bac4 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/compare.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import functools diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py index c571f59221a4..6902c535834c 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/connector_runner.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py index ad350173e9bb..03c924e76869 100644 --- a/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py +++ b/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/utils/json_schema_helper.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py index 9f75c2f309a3..b3daaa5f36ec 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py index 155e3d0c9930..413eb608a95f 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_asserts.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py index 2b8643717a39..5dd17d333a0b 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_core.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock, patch diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py index ee80ed21918a..7db7b938a501 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_incremental.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py index e2e529e1513e..67043769f140 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_json_schema_helper.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from enum import Enum diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py index ad1e332d05b7..ea8fe2d57dc9 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Callable, Dict diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py index 38502e67b98d..7f5957de0979 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_spec_unit.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import io diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py index 3d31f897360b..6fd1e310385e 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_test_full_refresh.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Dict, List diff --git a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py index a39966a5a4fc..4ea8eabf3bc4 100644 --- a/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py +++ b/airbyte-integrations/bases/source-acceptance-test/unit_tests/test_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataArgumentsProvider.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataArgumentsProvider.java index 76d33b713f64..1422ce8eb825 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataArgumentsProvider.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataArgumentsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataTypeTestArgumentProvider.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataTypeTestArgumentProvider.java index 7d32d983dcd7..aec61c87fe31 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataTypeTestArgumentProvider.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DataTypeTestArgumentProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTest.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTest.java index d7bf90e24d8d..484d93038ba3 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTest.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; @@ -1085,7 +1085,7 @@ private List runSync( destination.start(destinationConfig, jobRoot); messages.forEach(message -> Exceptions.toRuntime(() -> destination.accept(message))); - destination.notifyEndOfStream(); + destination.notifyEndOfInput(); final List destinationOutput = new ArrayList<>(); while (!destination.isFinished()) { @@ -1344,7 +1344,7 @@ public void testStressPerformance() throws Exception { .format("Added %s messages to each of %s streams", currentRecordNumberForStream, currentStreamNumber)); // Close destination - destination.notifyEndOfStream(); + destination.notifyEndOfInput(); } private final static String LOREM_IPSUM = diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTestUtils.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTestUtils.java index 353d89e714da..6e5ee0bafbbf 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTestUtils.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/DestinationAcceptanceTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/JdbcDestinationAcceptanceTest.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/JdbcDestinationAcceptanceTest.java index 997cdf61a9d7..64641a141a90 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/JdbcDestinationAcceptanceTest.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/JdbcDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/LocalAirbyteDestination.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/LocalAirbyteDestination.java index c1ca42d5641f..8446a483644c 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/LocalAirbyteDestination.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/LocalAirbyteDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination; @@ -40,7 +40,7 @@ public void accept(final AirbyteMessage message) throws Exception { } @Override - public void notifyEndOfStream() { + public void notifyEndOfInput() { // nothing to do here } diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/AdvancedTestDataComparator.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/AdvancedTestDataComparator.java index 53dda303c32a..79cdb083508b 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/AdvancedTestDataComparator.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/AdvancedTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination.comparator; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/BasicTestDataComparator.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/BasicTestDataComparator.java index cd97e7a30cee..e9cc5fec41f8 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/BasicTestDataComparator.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/BasicTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination.comparator; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/ComparatorUtils.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/ComparatorUtils.java index 20e0e5de78b3..60fa12eb621f 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/ComparatorUtils.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/ComparatorUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination.comparator; diff --git a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/TestDataComparator.java b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/TestDataComparator.java index e803449194ad..fcf788a96445 100644 --- a/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/TestDataComparator.java +++ b/airbyte-integrations/bases/standard-destination-test/src/main/java/io/airbyte/integrations/standardtest/destination/comparator/TestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.destination.comparator; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceConnectorTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceConnectorTest.java index 3f99b6b8a384..2d039f4263cc 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceConnectorTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceConnectorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceDatabaseTypeTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceDatabaseTypeTest.java index 8e637e654e46..c8afd44fbebe 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceDatabaseTypeTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/AbstractSourceDatabaseTypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/PythonSourceAcceptanceTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/PythonSourceAcceptanceTest.java index 4c6bedec4c83..d07dce680e2c 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/PythonSourceAcceptanceTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/PythonSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/SourceAcceptanceTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/SourceAcceptanceTest.java index f1569cfea32f..186d0b3c14ad 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/SourceAcceptanceTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/SourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDataHolder.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDataHolder.java index 765023b9fd4d..b78ef70f689a 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDataHolder.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDataHolder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDestinationEnv.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDestinationEnv.java index 85b3bf68c6a2..d5b67ebf6344 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDestinationEnv.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestDestinationEnv.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestPythonSourceMain.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestPythonSourceMain.java index d1cbe29de3ea..2528d1eaebe1 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestPythonSourceMain.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestPythonSourceMain.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestRunner.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestRunner.java index 436ae0235fc6..3f4d8a0fafa5 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestRunner.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/TestRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceBasePerformanceTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceBasePerformanceTest.java index 4ca6b3d63008..a02b647aa6b5 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceBasePerformanceTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceBasePerformanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source.performancetest; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceFillDbWithTestData.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceFillDbWithTestData.java index 096bace51d14..e176b90c8705 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceFillDbWithTestData.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourceFillDbWithTestData.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source.performancetest; diff --git a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourcePerformanceTest.java b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourcePerformanceTest.java index a3b223cde537..77f894267e06 100644 --- a/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourcePerformanceTest.java +++ b/airbyte-integrations/bases/standard-source-test/src/main/java/io/airbyte/integrations/standardtest/source/performancetest/AbstractSourcePerformanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.standardtest.source.performancetest; diff --git a/airbyte-integrations/connector-templates/destination-java/Destination.java.hbs b/airbyte-integrations/connector-templates/destination-java/Destination.java.hbs index a77860d51c91..305b356b145e 100644 --- a/airbyte-integrations/connector-templates/destination-java/Destination.java.hbs +++ b/airbyte-integrations/connector-templates/destination-java/Destination.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/destination-java/DestinationAcceptanceTest.java.hbs b/airbyte-integrations/connector-templates/destination-java/DestinationAcceptanceTest.java.hbs index f50e93de4d2e..015e0feddd55 100644 --- a/airbyte-integrations/connector-templates/destination-java/DestinationAcceptanceTest.java.hbs +++ b/airbyte-integrations/connector-templates/destination-java/DestinationAcceptanceTest.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/__init__.py.hbs b/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/__init__.py.hbs index c7b75c48ff07..510a54ce9901 100644 --- a/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/__init__.py.hbs +++ b/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/__init__.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/destination.py.hbs b/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/destination.py.hbs index fc7a7f95566d..ab1c47ccd3f9 100644 --- a/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/destination.py.hbs +++ b/airbyte-integrations/connector-templates/destination-python/destination_{{snakeCase name}}/destination.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/destination-python/integration_tests/integration_test.py b/airbyte-integrations/connector-templates/destination-python/integration_tests/integration_test.py index ac63ebe36a53..0ca80eb91086 100644 --- a/airbyte-integrations/connector-templates/destination-python/integration_tests/integration_test.py +++ b/airbyte-integrations/connector-templates/destination-python/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/destination-python/main.py.hbs b/airbyte-integrations/connector-templates/destination-python/main.py.hbs index 81b5ec2b3304..7203c904115d 100644 --- a/airbyte-integrations/connector-templates/destination-python/main.py.hbs +++ b/airbyte-integrations/connector-templates/destination-python/main.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/destination-python/setup.py b/airbyte-integrations/connector-templates/destination-python/setup.py index 7dbabcc48bcb..fc0ed9135858 100644 --- a/airbyte-integrations/connector-templates/destination-python/setup.py +++ b/airbyte-integrations/connector-templates/destination-python/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/destination-python/unit_tests/unit_test.py b/airbyte-integrations/connector-templates/destination-python/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connector-templates/destination-python/unit_tests/unit_test.py +++ b/airbyte-integrations/connector-templates/destination-python/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/src/main/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}Source.java.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/src/main/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}Source.java.hbs index 3d3350f9a010..cda8b983b5f0 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/src/main/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}Source.java.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/src/main/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}Source.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceAcceptanceTest.java.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceAcceptanceTest.java.hbs index 7eebca640c09..c35378d0a682 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceAcceptanceTest.java.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceAcceptanceTest.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}JdbcSourceAcceptanceTest.java.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}JdbcSourceAcceptanceTest.java.hbs index 859168294ad1..051aa9ab416d 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}JdbcSourceAcceptanceTest.java.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}JdbcSourceAcceptanceTest.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceTests.java.hbs b/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceTests.java.hbs index 84053655ca20..2d5b3374288e 100644 --- a/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceTests.java.hbs +++ b/airbyte-integrations/connector-templates/source-java-jdbc/src/test/java/io/airbyte/integrations/source/{{snakeCase name}}/{{pascalCase name}}SourceTests.java.hbs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.{{snakeCase name}}; diff --git a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/__init__.py b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/__init__.py +++ b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python-http-api/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs index 879c836c23b9..7f60f8055e78 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/main.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs index 2312cdc4e9a0..7c93e7c474bc 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/setup.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/__init__.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/__init__.py.hbs index afb4c622976c..3e5799d143ec 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/__init__.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/__init__.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs index 8ea49ae1e7f4..4f71b376f93a 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/source_{{snakeCase name}}/source.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/__init__.py b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/__init__.py +++ b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_incremental_streams.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_incremental_streams.py.hbs index 0531b70f1e2b..8a5ef15a109e 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_incremental_streams.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_incremental_streams.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_source.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_source.py.hbs index 2fb4e6669af8..351aa7e3e4f7 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_source.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_source.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_streams.py.hbs b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_streams.py.hbs index cd3d48091baf..8a99d0edbcc6 100644 --- a/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_streams.py.hbs +++ b/airbyte-integrations/connector-templates/source-python-http-api/unit_tests/test_streams.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connector-templates/source-python/integration_tests/__init__.py b/airbyte-integrations/connector-templates/source-python/integration_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connector-templates/source-python/integration_tests/__init__.py +++ b/airbyte-integrations/connector-templates/source-python/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-python/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/main.py.hbs b/airbyte-integrations/connector-templates/source-python/main.py.hbs index 879c836c23b9..7f60f8055e78 100644 --- a/airbyte-integrations/connector-templates/source-python/main.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/main.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/setup.py.hbs b/airbyte-integrations/connector-templates/source-python/setup.py.hbs index 2b4366f114b0..7e8ace3b9be1 100644 --- a/airbyte-integrations/connector-templates/source-python/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/setup.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/__init__.py.hbs b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/__init__.py.hbs index afb4c622976c..3e5799d143ec 100644 --- a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/__init__.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/__init__.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs index b19f41953047..7e9ac4d03b07 100644 --- a/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/source_{{snakeCase name}}/source.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs b/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs +++ b/airbyte-integrations/connector-templates/source-python/unit_tests/unit_test.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/integration_tests/__init__.py b/airbyte-integrations/connector-templates/source-singer/integration_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connector-templates/source-singer/integration_tests/__init__.py +++ b/airbyte-integrations/connector-templates/source-singer/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py b/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connector-templates/source-singer/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/main.py.hbs b/airbyte-integrations/connector-templates/source-singer/main.py.hbs index e0e4a4f092ea..ded9c70588b4 100644 --- a/airbyte-integrations/connector-templates/source-singer/main.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/main.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs index 6552f263c4b8..d2049bccd395 100644 --- a/airbyte-integrations/connector-templates/source-singer/setup.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/setup.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/__init__.py.hbs b/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/__init__.py.hbs index 3135a0c26dda..4565c1b78d60 100644 --- a/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/__init__.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/__init__.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/source.py.hbs b/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/source.py.hbs index 0b5f7e8fa593..4f7b9b6c9aa0 100644 --- a/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/source.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/source_{{snakeCase name}}_singer/source.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connector-templates/source-singer/unit_tests/unit_test.py.hbs b/airbyte-integrations/connector-templates/source-singer/unit_tests/unit_test.py.hbs index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connector-templates/source-singer/unit_tests/unit_test.py.hbs +++ b/airbyte-integrations/connector-templates/source-singer/unit_tests/unit_test.py.hbs @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-amazon-sqs/destination_amazon_sqs/destination.py b/airbyte-integrations/connectors/destination-amazon-sqs/destination_amazon_sqs/destination.py index 0fcb4ce71c82..8f5bfa8e5a69 100644 --- a/airbyte-integrations/connectors/destination-amazon-sqs/destination_amazon_sqs/destination.py +++ b/airbyte-integrations/connectors/destination-amazon-sqs/destination_amazon_sqs/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-amazon-sqs/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-amazon-sqs/integration_tests/integration_test.py index 7033e41b6d60..cb9d6401ed8d 100644 --- a/airbyte-integrations/connectors/destination-amazon-sqs/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-amazon-sqs/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-amazon-sqs/main.py b/airbyte-integrations/connectors/destination-amazon-sqs/main.py index 78ae8ea9cab8..f55b798a8d88 100644 --- a/airbyte-integrations/connectors/destination-amazon-sqs/main.py +++ b/airbyte-integrations/connectors/destination-amazon-sqs/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-amazon-sqs/setup.py b/airbyte-integrations/connectors/destination-amazon-sqs/setup.py index 85d7dfc7cb22..53074d35f57e 100644 --- a/airbyte-integrations/connectors/destination-amazon-sqs/setup.py +++ b/airbyte-integrations/connectors/destination-amazon-sqs/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-amazon-sqs/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-amazon-sqs/unit_tests/unit_test.py index efa10988cb99..b88a5476f666 100644 --- a/airbyte-integrations/connectors/destination-amazon-sqs/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-amazon-sqs/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/aws.py b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/aws.py index d2ed9ed25d49..6793962a37ee 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/aws.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/aws.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/config_reader.py b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/config_reader.py index 013587e2b895..ac8517f7ebd2 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/config_reader.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/config_reader.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import enum diff --git a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/destination.py b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/destination.py index e3872055efcd..171ad251514c 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/destination.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/stream_writer.py b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/stream_writer.py index 7407a053b754..2e44303b2b78 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/stream_writer.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/destination_aws_datalake/stream_writer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/destination-aws-datalake/main.py b/airbyte-integrations/connectors/destination-aws-datalake/main.py index 269ccd00364b..291181f22358 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/main.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-aws-datalake/setup.py b/airbyte-integrations/connectors/destination-aws-datalake/setup.py index 1c631ec06f37..435c49f44da9 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/setup.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AthenaHelper.java b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AthenaHelper.java index c3dd70e91735..0eded5d91dbf 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AthenaHelper.java +++ b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AthenaHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.aws_datalake; diff --git a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AwsDatalakeDestinationConfig.java b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AwsDatalakeDestinationConfig.java index eb7caa25766d..c147b81c304a 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AwsDatalakeDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/AwsDatalakeDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.aws_datalake; diff --git a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/GlueHelper.java b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/GlueHelper.java index 929c87896ec0..84edbdd29834 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/GlueHelper.java +++ b/airbyte-integrations/connectors/destination-aws-datalake/src/main/java/GlueHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.aws_datalake; diff --git a/airbyte-integrations/connectors/destination-aws-datalake/src/test-integration/java/io/airbyte/integrations/destination/aws_datalake/AwsDatalakeDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-aws-datalake/src/test-integration/java/io/airbyte/integrations/destination/aws_datalake/AwsDatalakeDestinationAcceptanceTest.java index 2ea0b57e2614..3edec4d59095 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/src/test-integration/java/io/airbyte/integrations/destination/aws_datalake/AwsDatalakeDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-aws-datalake/src/test-integration/java/io/airbyte/integrations/destination/aws_datalake/AwsDatalakeDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.aws_datalake; diff --git a/airbyte-integrations/connectors/destination-aws-datalake/src/test/AwsDatalakeDestinationTest.java b/airbyte-integrations/connectors/destination-aws-datalake/src/test/AwsDatalakeDestinationTest.java index bb2e070ff921..415e11c2a2be 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/src/test/AwsDatalakeDestinationTest.java +++ b/airbyte-integrations/connectors/destination-aws-datalake/src/test/AwsDatalakeDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.aws_datalake; diff --git a/airbyte-integrations/connectors/destination-aws-datalake/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-aws-datalake/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/destination-aws-datalake/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-aws-datalake/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConnectionChecker.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConnectionChecker.java index 350acc503ab2..08cf885260b9 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConnectionChecker.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConnectionChecker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConsumer.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConsumer.java index fdd0364a21f0..1989560f45f9 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConsumer.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestination.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestination.java index 4c03f5b269a4..976d962ce04c 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestination.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConfig.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConfig.java index 1cebcd4b600c..6c053a63e640 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConstants.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConstants.java index ebf5e90326f7..f05d46c98eb1 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConstants.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormat.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormat.java index b0ea8449d7f0..dfc048872fbc 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormat.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfig.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfig.java index 24252c697593..628afaa73c15 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfig.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigs.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigs.java index 8b6d310785c3..fcf5014ccc6f 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigs.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfig.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfig.java index 17de6985078c..1cf31b543e9e 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfig.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvWriter.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvWriter.java index d267bf4d5325..95ec281772a8 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvWriter.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/BaseSheetGenerator.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/BaseSheetGenerator.java index a8bb3331273c..45c82e17696b 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/BaseSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/BaseSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/CsvSheetGenerator.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/CsvSheetGenerator.java index ce5afd96ba67..1b705f90c282 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/CsvSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/CsvSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGenerator.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGenerator.java index afb459f195e5..0fb6c6810d23 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGenerator.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGenerator.java index 2bcbc62a015e..cea0edc0519d 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlFormatConfig.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlFormatConfig.java index 4951f7fa2517..905bbddb7224 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlFormatConfig.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.jsonl; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlWriter.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlWriter.java index 874a2c280e90..26d3747a3490 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlWriter.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/jsonl/AzureBlobStorageJsonlWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.jsonl; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriter.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriter.java index 7a067bbc1395..0c9f13461e9f 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriter.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.writer; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriterFactory.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriterFactory.java index 004506652f4c..6eefa6d31ca1 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriterFactory.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/AzureBlobStorageWriterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.writer; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/BaseAzureBlobStorageWriter.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/BaseAzureBlobStorageWriter.java index 6fb54c80597f..9328a33c8605 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/BaseAzureBlobStorageWriter.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/BaseAzureBlobStorageWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.writer; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/ProductionWriterFactory.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/ProductionWriterFactory.java index a18dddfe98a7..29b1dddac78c 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/ProductionWriterFactory.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/main/java/io/airbyte/integrations/destination/azure_blob_storage/writer/ProductionWriterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.writer; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationAcceptanceTest.java index f4679ccf8400..fd08f5abca95 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageCsvDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageCsvDestinationAcceptanceTest.java index 7c35f6dd3071..b68283f0e1eb 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageCsvDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageCsvDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationAcceptanceTest.java index 8b399fa072cb..e56a4b8fdf65 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageJsonlDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageJsonlDestinationAcceptanceTest.java index cf7f89903d41..4e20f59826ec 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageJsonlDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test-integration/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageJsonlDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationTest.java index 586debf3b06e..7e5126f780f0 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigsTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigsTest.java index 078b85b510c0..61d156124060 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigsTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/AzureBlobStorageFormatConfigsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfigTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfigTest.java index 2fde68a082da..825962ea8dea 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/AzureBlobStorageCsvFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGeneratorTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGeneratorTest.java index 521a99eb9a37..7d428d9c9023 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGeneratorTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/NoFlatteningSheetGeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGeneratorTest.java b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGeneratorTest.java index 76cba41dde94..7be0e476b237 100644 --- a/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGeneratorTest.java +++ b/airbyte-integrations/connectors/destination-azure-blob-storage/src/test/java/io/airbyte/integrations/destination/azure_blob_storage/csv/RootLevelFlatteningSheetGeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.azure_blob_storage.csv; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestination.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestination.java index bed1d31255df..3660e3fbea75 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestination.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaFormat.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaFormat.java index 27420a0b7d69..24a02ae54126 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaFormat.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaFormat.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaType.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaType.java index c6b9ec38013b..1d890f3baa00 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaType.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/JsonSchemaType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryDenormalizedRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryDenormalizedRecordFormatter.java index 0ba0e225dc52..72f32b1cbbbc 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryDenormalizedRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryDenormalizedRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsBigQueryDenormalizedRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsBigQueryDenormalizedRecordFormatter.java index 55adb4216463..0d247f294a69 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsBigQueryDenormalizedRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsBigQueryDenormalizedRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationAcceptanceTest.java index 6603f588f937..b80a1cdebf9c 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationTest.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationTest.java index 0e2cda787ef1..8561f290a6a5 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationTest.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationAcceptanceTest.java index d49bd7f4097d..8bb59272fca0 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationTest.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationTest.java index 4052a89d9b18..2f14e32a8f81 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationTest.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedGcsDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestDataUtils.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestDataUtils.java index 04f211ec19fc..8bb921bbf3a1 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestDataUtils.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test-integration/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestDataUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.util; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedUtilsTest.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedUtilsTest.java index 5ab320d60c2c..37f48d9aa008 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedUtilsTest.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryDenormalizedUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestSchemaUtils.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestSchemaUtils.java index 9ff62908dfed..ebeabf419ac5 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestSchemaUtils.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/BigQueryDenormalizedTestSchemaUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.util; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestBigQueryDenormalizedRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestBigQueryDenormalizedRecordFormatter.java index 626159ef0e58..4a67fd9d467a 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestBigQueryDenormalizedRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestBigQueryDenormalizedRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.util; diff --git a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestGcsBigQueryDenormalizedRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestGcsBigQueryDenormalizedRecordFormatter.java index 66cc5c29f8f3..469980dc8f46 100644 --- a/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestGcsBigQueryDenormalizedRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery-denormalized/src/test/java/io/airbyte/integrations/destination/bigquery/util/TestGcsBigQueryDenormalizedRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.util; diff --git a/airbyte-integrations/connectors/destination-bigquery/build.gradle b/airbyte-integrations/connectors/destination-bigquery/build.gradle index d07349a16e45..dd4199cbc76d 100644 --- a/airbyte-integrations/connectors/destination-bigquery/build.gradle +++ b/airbyte-integrations/connectors/destination-bigquery/build.gradle @@ -28,6 +28,7 @@ dependencies { integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test') integrationTestJavaImplementation files(project(':airbyte-integrations:bases:base-normalization').airbyteDocker.outputs) integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-bigquery') + integrationTestJavaImplementation project(':airbyte-db:lib') implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs) } diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAvroSerializedBuffer.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAvroSerializedBuffer.java index 3c803815db84..817b40c2768d 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAvroSerializedBuffer.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAvroSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryConsts.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryConsts.java index e3dfd07aa5b8..3669d7680d89 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryConsts.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryConsts.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDestination.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDestination.java index b32ed96e9595..2ccc4f233317 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDestination.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsOperations.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsOperations.java index 8d4e35098991..72e3bc62f363 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsOperations.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordConsumer.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordConsumer.java index bb7113584a34..841d955ab290 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordConsumer.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformer.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformer.java index 8b35ff9ccf7c..a7ea38c7b3c4 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingConsumerFactory.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingConsumerFactory.java index 58f0e9888fa6..3c61de7e35e1 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingOperations.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingOperations.java index 6548c3b023a3..9e6e3a667709 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingOperations.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryStagingOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryUtils.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryUtils.java index b93a63758adc..3426c9719722 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryUtils.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryWriteConfig.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryWriteConfig.java index 0a6017c8b069..4483314f2370 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryWriteConfig.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryWriteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/UploadingMethod.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/UploadingMethod.java index 38c85e4ea7c7..7454c53aa0bd 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/UploadingMethod.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/UploadingMethod.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/BigQueryRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/BigQueryRecordFormatter.java index 08db217fc927..0b6e67b30f8e 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/BigQueryRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/BigQueryRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryRecordFormatter.java index 64fc975620ff..9214fe3ac7e8 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/DefaultBigQueryRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsAvroBigQueryRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsAvroBigQueryRecordFormatter.java index b74aeeb7f272..780e1693ea9f 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsAvroBigQueryRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsAvroBigQueryRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsCsvBigQueryRecordFormatter.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsCsvBigQueryRecordFormatter.java index 96e5d57d8a4e..3331672e63c8 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsCsvBigQueryRecordFormatter.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/formatter/GcsCsvBigQueryRecordFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.formatter; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/helpers/LoggerHelper.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/helpers/LoggerHelper.java index aeeae8d3975d..23a135c8fa4d 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/helpers/LoggerHelper.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/helpers/LoggerHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.helpers; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractBigQueryUploader.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractBigQueryUploader.java index 0ebbf354dc8c..2166ffffb87b 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractBigQueryUploader.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractBigQueryUploader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractGscBigQueryUploader.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractGscBigQueryUploader.java index 92ec6a8550b3..4b59f2239b56 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractGscBigQueryUploader.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/AbstractGscBigQueryUploader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryDirectUploader.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryDirectUploader.java index eba183c4b9a3..b9d05ca54d9c 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryDirectUploader.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryDirectUploader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryUploaderFactory.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryUploaderFactory.java index 1679c5339508..e4392bae4398 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryUploaderFactory.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/BigQueryUploaderFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsAvroBigQueryUploader.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsAvroBigQueryUploader.java index 89227c8fa0db..76c86b6ecbfc 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsAvroBigQueryUploader.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsAvroBigQueryUploader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsCsvBigQueryUploader.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsCsvBigQueryUploader.java index 887292c5f0a6..7ebfa37b6723 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsCsvBigQueryUploader.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/GcsCsvBigQueryUploader.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/UploaderType.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/UploaderType.java index 22f1b9e94c46..182b76e7aae4 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/UploaderType.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/UploaderType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/config/UploaderConfig.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/config/UploaderConfig.java index 6d93eb053580..b695992050ae 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/config/UploaderConfig.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/uploader/config/UploaderConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.uploader.config; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/writer/BigQueryTableWriter.java b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/writer/BigQueryTableWriter.java index cbf6b2bfdfc8..d3df0d237d82 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/writer/BigQueryTableWriter.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/writer/BigQueryTableWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery.writer; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java index 806064854746..45a1074d0706 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; @@ -11,37 +11,37 @@ import com.google.auth.oauth2.ServiceAccountCredentials; import com.google.cloud.bigquery.BigQuery; import com.google.cloud.bigquery.BigQueryOptions; +import com.google.cloud.bigquery.ConnectionProperty; import com.google.cloud.bigquery.Dataset; import com.google.cloud.bigquery.DatasetInfo; -import com.google.cloud.bigquery.Field; import com.google.cloud.bigquery.FieldList; -import com.google.cloud.bigquery.FieldValue; -import com.google.cloud.bigquery.FieldValueList; import com.google.cloud.bigquery.Job; import com.google.cloud.bigquery.JobId; import com.google.cloud.bigquery.JobInfo; import com.google.cloud.bigquery.QueryJobConfiguration; import com.google.cloud.bigquery.TableResult; import com.google.common.collect.ImmutableMap; -import com.google.common.collect.Maps; +import com.google.common.collect.Streams; import io.airbyte.commons.json.Jsons; import io.airbyte.commons.string.Strings; +import io.airbyte.db.bigquery.BigQueryResultSet; +import io.airbyte.db.bigquery.BigQuerySourceOperations; import io.airbyte.integrations.base.JavaBaseConstants; import io.airbyte.integrations.destination.NamingConventionTransformer; import io.airbyte.integrations.destination.StandardNameTransformer; import io.airbyte.integrations.standardtest.destination.DestinationAcceptanceTest; +import io.airbyte.integrations.standardtest.destination.comparator.TestDataComparator; import java.io.ByteArrayInputStream; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; -import java.util.ArrayList; +import java.util.Collections; import java.util.List; -import java.util.Map; import java.util.Optional; +import java.util.TimeZone; import java.util.UUID; import java.util.stream.Collectors; -import java.util.stream.StreamSupport; import org.apache.commons.lang3.tuple.ImmutablePair; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -100,6 +100,27 @@ protected boolean supportNamespaceTest() { return true; } + @Override + protected TestDataComparator getTestDataComparator() { + return new BigQueryTestDataComparator(); + } + + @Override + protected boolean supportBasicDataTypeTest() { + return true; + } + + @Override + protected boolean supportArrayDataTypeTest() { + // #13154 Normalization issue + return false; + } + + @Override + protected boolean supportObjectDataTypeTest() { + return true; + } + @Override protected Optional getNameTransformer() { return Optional.of(NAME_TRANSFORMER); @@ -145,52 +166,24 @@ protected List retrieveRecords(final TestDestinationEnv env, .collect(Collectors.toList()); } - @Override - protected List resolveIdentifier(final String identifier) { - final List result = new ArrayList<>(); - result.add(identifier); - result.add(namingResolver.getIdentifier(identifier)); - return result; - } - private List retrieveRecordsFromTable(final String tableName, final String schema) throws InterruptedException { + TimeZone.setDefault(TimeZone.getTimeZone("UTC")); + final QueryJobConfiguration queryConfig = QueryJobConfiguration .newBuilder( String.format("SELECT * FROM `%s`.`%s` order by %s asc;", schema, tableName, JavaBaseConstants.COLUMN_NAME_EMITTED_AT)) - .setUseLegacySql(false).build(); + .setUseLegacySql(false) + .setConnectionProperties(Collections.singletonList(ConnectionProperty.of("time_zone", "UTC"))) + .build(); final TableResult queryResults = executeQuery(bigquery, queryConfig).getLeft().getQueryResults(); final FieldList fields = queryResults.getSchema().getFields(); + BigQuerySourceOperations sourceOperations = new BigQuerySourceOperations(); - return StreamSupport - .stream(queryResults.iterateAll().spliterator(), false) - .map(row -> { - final Map jsonMap = Maps.newHashMap(); - for (final Field field : fields) { - final Object value = getTypedFieldValue(row, field); - jsonMap.put(field.getName(), value); - } - return jsonMap; - }) - .map(Jsons::jsonNode) - .collect(Collectors.toList()); - } - - private Object getTypedFieldValue(final FieldValueList row, final Field field) { - final FieldValue fieldValue = row.get(field.getName()); - if (fieldValue.getValue() != null) { - return switch (field.getType().getStandardType()) { - case FLOAT64, NUMERIC -> fieldValue.getDoubleValue(); - case INT64 -> fieldValue.getNumericValue().intValue(); - case STRING -> fieldValue.getStringValue(); - case BOOL -> fieldValue.getBooleanValue(); - default -> fieldValue.getValue(); - }; - } else { - return null; - } + return Streams.stream(queryResults.iterateAll()) + .map(fieldValues -> sourceOperations.rowToJson(new BigQueryResultSet(fieldValues, fields))).collect(Collectors.toList()); } @Override diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationTest.java index 021c246b8487..dab6a5fabfd6 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationAcceptanceTest.java index 6ca3d3441e2d..3fbffdc388b8 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationTest.java index 93dca8843be0..33a14f111f85 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryTestDataComparator.java b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryTestDataComparator.java new file mode 100644 index 000000000000..e2223f5494e2 --- /dev/null +++ b/airbyte-integrations/connectors/destination-bigquery/src/test-integration/java/io/airbyte/integrations/destination/bigquery/BigQueryTestDataComparator.java @@ -0,0 +1,95 @@ +/* + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. + */ + +package io.airbyte.integrations.destination.bigquery; + +import io.airbyte.integrations.destination.StandardNameTransformer; +import io.airbyte.integrations.standardtest.destination.comparator.AdvancedTestDataComparator; +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.ZoneOffset; +import java.time.ZonedDateTime; +import java.time.format.DateTimeFormatter; +import java.util.ArrayList; +import java.util.List; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class BigQueryTestDataComparator extends AdvancedTestDataComparator { + + private static final Logger LOGGER = LoggerFactory.getLogger(BigQueryTestDataComparator.class); + private final StandardNameTransformer namingResolver = new StandardNameTransformer(); + + private static final String BIGQUERY_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; + + @Override + protected List resolveIdentifier(final String identifier) { + final List result = new ArrayList<>(); + result.add(identifier); + result.add(namingResolver.getIdentifier(identifier)); + return result; + } + + private LocalDate parseDate(String dateValue) { + if (dateValue != null) { + var format = (dateValue.matches(".+Z") ? BIGQUERY_DATETIME_FORMAT : AIRBYTE_DATE_FORMAT); + return LocalDate.parse(dateValue, DateTimeFormatter.ofPattern(format)); + } else { + return null; + } + } + + private LocalDateTime parseDateTime(String dateTimeValue) { + if (dateTimeValue != null) { + var format = (dateTimeValue.matches(".+Z") ? BIGQUERY_DATETIME_FORMAT : AIRBYTE_DATETIME_FORMAT); + return LocalDateTime.parse(dateTimeValue, DateTimeFormatter.ofPattern(format)); + } else { + return null; + } + } + + @Override + protected boolean compareDateTimeValues(String expectedValue, String actualValue) { + var destinationDate = parseDateTime(actualValue); + var expectedDate = LocalDateTime.parse(expectedValue, DateTimeFormatter.ofPattern(AIRBYTE_DATETIME_FORMAT)); + // #13123 Normalization issue + if (expectedDate.isBefore(getBrokenDate().toLocalDateTime())) { + LOGGER + .warn("Validation is skipped due to known Normalization issue. Values older then 1583 year and with time zone stored wrongly(lose days)."); + return true; + } else { + return expectedDate.equals(destinationDate); + } + } + + @Override + protected boolean compareDateValues(String expectedValue, String actualValue) { + var destinationDate = parseDate(actualValue); + var expectedDate = LocalDate.parse(expectedValue, DateTimeFormatter.ofPattern(AIRBYTE_DATE_FORMAT)); + return expectedDate.equals(destinationDate); + } + + @Override + protected ZonedDateTime parseDestinationDateWithTz(String destinationValue) { + return ZonedDateTime.of(LocalDateTime.parse(destinationValue, DateTimeFormatter.ofPattern(BIGQUERY_DATETIME_FORMAT)), ZoneOffset.UTC); + } + + @Override + protected boolean compareDateTimeWithTzValues(String airbyteMessageValue, String destinationValue) { + // #13123 Normalization issue + if (parseDestinationDateWithTz(destinationValue).isBefore(getBrokenDate())) { + LOGGER + .warn("Validation is skipped due to known Normalization issue. Values older then 1583 year and with time zone stored wrongly(lose days)."); + return true; + } else { + return super.compareDateTimeWithTzValues(airbyteMessageValue, destinationValue); + } + } + + // #13123 Normalization issue + private ZonedDateTime getBrokenDate() { + return ZonedDateTime.of(1583, 1, 1, 0, 0, 0, 0, ZoneOffset.UTC); + } + +} diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformerTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformerTest.java index d5162d694293..0da94c16f7a1 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryUtilsTest.java b/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryUtilsTest.java index 80598d8955a6..5e5af0583afc 100644 --- a/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryUtilsTest.java +++ b/airbyte-integrations/connectors/destination-bigquery/src/test/java/io/airbyte/integrations/destination/bigquery/BigQueryUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.bigquery; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraConfig.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraConfig.java index 62a80f3b7803..2bc097205c4d 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraConfig.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProvider.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProvider.java index 19ed9d1267c9..2563ed777c21 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProvider.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraDestination.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraDestination.java index 90fb821b7477..25a9a2f71811 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraDestination.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumer.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumer.java index 5eb6f8b9f003..6bfbab11a46f 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumer.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformer.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformer.java index 791f6bd50de8..54049a61ed0d 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformer.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraRecord.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraRecord.java index b30ef015d837..94245930d987 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraRecord.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraRecord.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraStreamConfig.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraStreamConfig.java index 88a633422798..0822fa036eb6 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraStreamConfig.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/CassandraStreamConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/SessionManager.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/SessionManager.java index 43dc86f4fe83..d5215af8dd1e 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/SessionManager.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/SessionManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/Tuple.java b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/Tuple.java index 8968138a4353..d7b5aecba6ab 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/Tuple.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/main/java/io/airbyte/integrations/destination/cassandra/Tuple.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraContainerInitializr.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraContainerInitializr.java index 145a8f89da97..66a09f2bfe86 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraContainerInitializr.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraContainerInitializr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProviderIT.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProviderIT.java index b5e38367510d..ba99a600e2cd 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProviderIT.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraCqlProviderIT.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationAcceptanceTest.java index 83e7846c1ef2..3e32df81ce7b 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationIT.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationIT.java index 715900d9555b..8523749e9e50 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationIT.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraDestinationIT.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumerIT.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumerIT.java index 6e065affcde8..37c79aa5bd18 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumerIT.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/CassandraMessageConsumerIT.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java index b460b6963314..af9405a317c6 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test-integration/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraConfigTest.java b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraConfigTest.java index a7249d2814a9..703e670e06d1 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraConfigTest.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformerTest.java b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformerTest.java index b456ace632f1..4ae80e0df77a 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/CassandraNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java index b460b6963314..af9405a317c6 100644 --- a/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java +++ b/airbyte-integrations/connectors/destination-cassandra/src/test/java/io/airbyte/integrations/destination/cassandra/TestDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.cassandra; diff --git a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncrypt.java b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncrypt.java index ddbf1b7aa24f..b54b35a561c1 100644 --- a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncrypt.java +++ b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptAcceptanceTest.java b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptAcceptanceTest.java index de97c642e85f..92c06a253e25 100644 --- a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptTest.java b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptTest.java index ff1932d79056..89663d8f7c06 100644 --- a/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse-strict-encrypt/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationStrictEncryptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestination.java b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestination.java index e2660f403987..90d46dafaed6 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestination.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSQLNameTransformer.java b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSQLNameTransformer.java index c5e277c5e28e..093a4c0f205b 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSqlOperations.java b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSqlOperations.java index 046ef74d669a..09c48a7bb50b 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSqlOperations.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/main/java/io/airbyte/integrations/destination/clickhouse/ClickhouseSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationAcceptanceTest.java index c98713f52516..8ed8badcfdce 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseTestDataComparator.java b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseTestDataComparator.java index ee620f16ec7c..00e64e6256ec 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/ClickhouseTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshClickhouseDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshClickhouseDestinationAcceptanceTest.java index e42778b82c37..e235cc3950fa 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshClickhouseDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshClickhouseDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshKeyClickhouseDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshKeyClickhouseDestinationAcceptanceTest.java index 7fd4f3269985..8d3b074ecf61 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshKeyClickhouseDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshKeyClickhouseDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshPasswordClickhouseDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshPasswordClickhouseDestinationAcceptanceTest.java index 1bb01fb490d4..3b68003629da 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshPasswordClickhouseDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test-integration/java/io/airbyte/integrations/destination/clickhouse/SshPasswordClickhouseDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-clickhouse/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationTest.java b/airbyte-integrations/connectors/destination-clickhouse/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationTest.java index 49bedd273a49..265144afa6d8 100644 --- a/airbyte-integrations/connectors/destination-clickhouse/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationTest.java +++ b/airbyte-integrations/connectors/destination-clickhouse/src/test/java/io/airbyte/integrations/destination/clickhouse/ClickhouseDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.clickhouse; diff --git a/airbyte-integrations/connectors/destination-csv/src/main/java/io/airbyte/integrations/destination/csv/CsvDestination.java b/airbyte-integrations/connectors/destination-csv/src/main/java/io/airbyte/integrations/destination/csv/CsvDestination.java index bb4f8bfa9d19..f296f945e709 100644 --- a/airbyte-integrations/connectors/destination-csv/src/main/java/io/airbyte/integrations/destination/csv/CsvDestination.java +++ b/airbyte-integrations/connectors/destination-csv/src/main/java/io/airbyte/integrations/destination/csv/CsvDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.csv; diff --git a/airbyte-integrations/connectors/destination-csv/src/test-integration/java/io/airbyte/integrations/destination/csv/CsvDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-csv/src/test-integration/java/io/airbyte/integrations/destination/csv/CsvDestinationAcceptanceTest.java index e5682f03b11b..a298bca67da6 100644 --- a/airbyte-integrations/connectors/destination-csv/src/test-integration/java/io/airbyte/integrations/destination/csv/CsvDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-csv/src/test-integration/java/io/airbyte/integrations/destination/csv/CsvDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.csv; diff --git a/airbyte-integrations/connectors/destination-csv/src/test/java/io/airbyte/integrations/destination/csv/CsvDestinationTest.java b/airbyte-integrations/connectors/destination-csv/src/test/java/io/airbyte/integrations/destination/csv/CsvDestinationTest.java index 55565f9181fe..b4e157994526 100644 --- a/airbyte-integrations/connectors/destination-csv/src/test/java/io/airbyte/integrations/destination/csv/CsvDestinationTest.java +++ b/airbyte-integrations/connectors/destination-csv/src/test/java/io/airbyte/integrations/destination/csv/CsvDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.csv; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksConstants.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksConstants.java index 88e034c08b1e..c985c9cd6c23 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksConstants.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestination.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestination.java index 54288fc20732..7120c42697ec 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestination.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfig.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfig.java index e428cfe1741c..f84024acfb49 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksNameTransformer.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksNameTransformer.java index a648c0f77ad9..1d771a1e6c7d 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksNameTransformer.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksSqlOperations.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksSqlOperations.java index e3341d792b2f..432b4b543d6e 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksSqlOperations.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopier.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopier.java index 5538f91bc76d..cc0b3a619637 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopier.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierFactory.java b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierFactory.java index 84c32b786311..684c1aeef56e 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-databricks/src/main/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/test-integration/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-databricks/src/test-integration/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationAcceptanceTest.java index 9dd551a2059f..e3748408f620 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/test-integration/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-databricks/src/test-integration/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfigTest.java b/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfigTest.java index 5b4a1369a0e2..075b7c56c140 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfigTest.java +++ b/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksDestinationConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierTest.java b/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierTest.java index efe18299c202..75ddc62aa37a 100644 --- a/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-databricks/src/test/java/io/airbyte/integrations/destination/databricks/DatabricksStreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.databricks; diff --git a/airbyte-integrations/connectors/destination-dev-null/src/main/java/io/airbyte/integrations/destination/dev_null/DevNullDestination.java b/airbyte-integrations/connectors/destination-dev-null/src/main/java/io/airbyte/integrations/destination/dev_null/DevNullDestination.java index a7214e84c039..65d471b0a0e5 100644 --- a/airbyte-integrations/connectors/destination-dev-null/src/main/java/io/airbyte/integrations/destination/dev_null/DevNullDestination.java +++ b/airbyte-integrations/connectors/destination-dev-null/src/main/java/io/airbyte/integrations/destination/dev_null/DevNullDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dev_null; diff --git a/airbyte-integrations/connectors/destination-dev-null/src/test-integration/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-dev-null/src/test-integration/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationAcceptanceTest.java index 2946b692f022..04529157d8f9 100644 --- a/airbyte-integrations/connectors/destination-dev-null/src/test-integration/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-dev-null/src/test-integration/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dev_null; diff --git a/airbyte-integrations/connectors/destination-dev-null/src/test/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationTest.java b/airbyte-integrations/connectors/destination-dev-null/src/test/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationTest.java index eeade0389f25..c71088b41ee2 100644 --- a/airbyte-integrations/connectors/destination-dev-null/src/test/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationTest.java +++ b/airbyte-integrations/connectors/destination-dev-null/src/test/java/io/airbyte/integrations/destination/dev_null/DevNullDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dev_null; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbChecker.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbChecker.java index 9a3bb3603b34..7b16c9ed03df 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbChecker.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbChecker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbConsumer.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbConsumer.java index 01cea5db4924..efd8ee51f5cc 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbConsumer.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestination.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestination.java index 52db714a4a48..6ff7e999f175 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestination.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationConfig.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationConfig.java index 9e3823fe9e37..f3222d676d18 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbOutputTableHelper.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbOutputTableHelper.java index abdf07191798..0f53e6a0bd32 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbOutputTableHelper.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbOutputTableHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbWriter.java b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbWriter.java index 9f116de2d2c7..9527a1fdbbcc 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbWriter.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/main/java/io/airbyte/integrations/destination/dynamodb/DynamodbWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/test-integration/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-dynamodb/src/test-integration/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationAcceptanceTest.java index 122e44f118f0..364c39e2edb4 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/test-integration/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/test-integration/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-dynamodb/src/test/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationTest.java b/airbyte-integrations/connectors/destination-dynamodb/src/test/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationTest.java index ceff78a832e0..6b43938707ae 100644 --- a/airbyte-integrations/connectors/destination-dynamodb/src/test/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationTest.java +++ b/airbyte-integrations/connectors/destination-dynamodb/src/test/java/io/airbyte/integrations/destination/dynamodb/DynamodbDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.dynamodb; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/FailAfterNDestination.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/FailAfterNDestination.java index 59a73b68e5b8..1e0fb3d8b14f 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/FailAfterNDestination.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/FailAfterNDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/LoggingDestination.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/LoggingDestination.java index 171f73ed8dd1..f91dbc58ff35 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/LoggingDestination.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/LoggingDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/SilentDestination.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/SilentDestination.java index aec6c3b1e680..47e61ecc03d6 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/SilentDestination.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/SilentDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/TestingDestinations.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/TestingDestinations.java index a9055b8ba173..718ff5b0ff68 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/TestingDestinations.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/TestingDestinations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestination.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestination.java index b3be0d18c6e9..893997ae333c 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestination.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/BaseLogger.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/BaseLogger.java index 2f6f2c669f0b..abc2cd57fbe2 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/BaseLogger.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/BaseLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/EveryNthLogger.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/EveryNthLogger.java index 53ebadd769c9..bd021cc61ea8 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/EveryNthLogger.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/EveryNthLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/FirstNLogger.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/FirstNLogger.java index a877b0edce0c..ef8fb8806a77 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/FirstNLogger.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/FirstNLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/LoggingConsumer.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/LoggingConsumer.java index ff7ce7ad282a..0b62220acdcd 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/LoggingConsumer.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/LoggingConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/RandomSamplingLogger.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/RandomSamplingLogger.java index 93831e0e3c20..4fa159d6f32a 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/RandomSamplingLogger.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/RandomSamplingLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLogger.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLogger.java index b4d2a3f81c78..1c4230d3e862 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLogger.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLoggerFactory.java b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLoggerFactory.java index 4ac900c8584c..f0a6969aa88f 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLoggerFactory.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/main/java/io/airbyte/integrations/destination/e2e_test/logging/TestingLoggerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test.logging; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/test-integration/java/io/airbyte/integrations/destination/e2e_test/TestingSilentDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-e2e-test/src/test-integration/java/io/airbyte/integrations/destination/e2e_test/TestingSilentDestinationAcceptanceTest.java index b7b7034a5918..b360748c95f2 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/test-integration/java/io/airbyte/integrations/destination/e2e_test/TestingSilentDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/test-integration/java/io/airbyte/integrations/destination/e2e_test/TestingSilentDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-e2e-test/src/test/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestinationTest.java b/airbyte-integrations/connectors/destination-e2e-test/src/test/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestinationTest.java index 74448fe9b5d7..c9a41fcfef77 100644 --- a/airbyte-integrations/connectors/destination-e2e-test/src/test/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestinationTest.java +++ b/airbyte-integrations/connectors/destination-e2e-test/src/test/java/io/airbyte/integrations/destination/e2e_test/ThrottledDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.e2e_test; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfiguration.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfiguration.java index 4ec0dfd3d01a..27c2c91eb9fe 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfiguration.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAirbyteMessageConsumerFactory.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAirbyteMessageConsumerFactory.java index b254d14a0691..8317a4b04602 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAirbyteMessageConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAirbyteMessageConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAuthenticationMethod.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAuthenticationMethod.java index 0ca9a3789ffd..caf73c37770d 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAuthenticationMethod.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchAuthenticationMethod.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnection.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnection.java index 6c71404f6011..100fb60a03c0 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnection.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnection.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestination.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestination.java index 01ac17eefa7f..33382e9f299f 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestination.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchWriteConfig.java b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchWriteConfig.java index bcc561f28400..f76aee42265c 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchWriteConfig.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/main/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchWriteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/test-integration/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-elasticsearch/src/test-integration/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationAcceptanceTest.java index db97e9428baa..d5bcf27d6a0a 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/test-integration/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/test-integration/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfigurationTest.java b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfigurationTest.java index a91e7d0ba87e..73ac06a4feb4 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfigurationTest.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ConnectorConfigurationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnectionTest.java b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnectionTest.java index 75661fb786aa..5137d3fd9d6f 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnectionTest.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchConnectionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationTest.java b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationTest.java index 6f9d584a550f..11d3dd454aa1 100644 --- a/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationTest.java +++ b/airbyte-integrations/connectors/destination-elasticsearch/src/test/java/io/airbyte/integrations/destination/elasticsearch/ElasticsearchDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.elasticsearch; diff --git a/airbyte-integrations/connectors/destination-firestore/destination_firestore/destination.py b/airbyte-integrations/connectors/destination-firestore/destination_firestore/destination.py index 1b0cab3f6c00..0fb001a02e50 100644 --- a/airbyte-integrations/connectors/destination-firestore/destination_firestore/destination.py +++ b/airbyte-integrations/connectors/destination-firestore/destination_firestore/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-firestore/destination_firestore/writer.py b/airbyte-integrations/connectors/destination-firestore/destination_firestore/writer.py index 81a1df4ec080..f45ce8c11a01 100644 --- a/airbyte-integrations/connectors/destination-firestore/destination_firestore/writer.py +++ b/airbyte-integrations/connectors/destination-firestore/destination_firestore/writer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-firestore/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-firestore/integration_tests/integration_test.py index 9eb035976fd8..14987e41c5de 100644 --- a/airbyte-integrations/connectors/destination-firestore/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-firestore/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-firestore/main.py b/airbyte-integrations/connectors/destination-firestore/main.py index 3a31bc0145ca..e6c75277dc89 100644 --- a/airbyte-integrations/connectors/destination-firestore/main.py +++ b/airbyte-integrations/connectors/destination-firestore/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-firestore/setup.py b/airbyte-integrations/connectors/destination-firestore/setup.py index ac8edcfc5df0..2ccfbd228c79 100644 --- a/airbyte-integrations/connectors/destination-firestore/setup.py +++ b/airbyte-integrations/connectors/destination-firestore/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-firestore/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-firestore/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/destination-firestore/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-firestore/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestination.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestination.java index ef007eb0a142..18bd7cd8053a 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestination.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfig.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfig.java index 935c7485315b..ba070797edd9 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsNameTransformer.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsNameTransformer.java index 1072d5228937..1017396236fb 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsNameTransformer.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsStorageOperations.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsStorageOperations.java index 7ea0b80b8c42..58881e4042e6 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsStorageOperations.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/GcsStorageOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriter.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriter.java index bcc33609dbdb..d976aa073078 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriter.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.avro; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfig.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfig.java index 16fe2ac58e79..3dfa3971c840 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfig.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.credential; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfigs.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfigs.java index b9166c16cce4..fe9300c9153c 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfigs.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.credential; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialType.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialType.java index 8746139ac13a..d36c33bdf20f 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialType.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsCredentialType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.credential; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsHmacKeyCredentialConfig.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsHmacKeyCredentialConfig.java index 445da428b87c..75970600aa91 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsHmacKeyCredentialConfig.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/credential/GcsHmacKeyCredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.credential; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvWriter.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvWriter.java index 0ffee7b1e056..5e4415d30660 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvWriter.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.csv; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlWriter.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlWriter.java index 71b3e9f36943..2068153188c8 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlWriter.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.jsonl; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/parquet/GcsParquetWriter.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/parquet/GcsParquetWriter.java index e37bbfb0deb9..0c61ec5b58a5 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/parquet/GcsParquetWriter.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/parquet/GcsParquetWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.parquet; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsS3FileSystem.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsS3FileSystem.java index b6f7673ff488..dd98f2c9f962 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsS3FileSystem.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsS3FileSystem.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.util; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsUtils.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsUtils.java index b417a7044784..0bb29a2a99b5 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsUtils.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/util/GcsUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.util; diff --git a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/writer/BaseGcsWriter.java b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/writer/BaseGcsWriter.java index a94cb81e3f78..abc28d701ae7 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/writer/BaseGcsWriter.java +++ b/airbyte-integrations/connectors/destination-gcs/src/main/java/io/airbyte/integrations/destination/gcs/writer/BaseGcsWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.writer; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroDestinationAcceptanceTest.java index 758e61ad06dc..447e93292fd2 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroTestDataComparator.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroTestDataComparator.java index f2defee00e13..4f32e5b9377f 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsAvroTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvDestinationAcceptanceTest.java index b0ddc3252130..1d63c0768ffd 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvGzipDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvGzipDestinationAcceptanceTest.java index 12554114fcea..c21e7545f5ca 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvGzipDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsCsvGzipDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsDestinationAcceptanceTest.java index 28d3363d662b..38878e47c52b 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlDestinationAcceptanceTest.java index c8ab816ed7d8..14772da50ff0 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlGzipDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlGzipDestinationAcceptanceTest.java index 98b8cdf2dfc8..b7b81c69cff3 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlGzipDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsJsonlGzipDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsParquetDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsParquetDestinationAcceptanceTest.java index c42ec2abc957..fbbda1270e96 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsParquetDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test-integration/java/io/airbyte/integrations/destination/gcs/GcsParquetDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfigTest.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfigTest.java index 2dbcc466cbd7..8fb0200cae9e 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfigTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/GcsDestinationConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroFormatConfigTest.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroFormatConfigTest.java index c27afac7d9c6..7f0c573397df 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.avro; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriterTest.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriterTest.java index 1b6b605d5719..c27da81fb152 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriterTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/avro/GcsAvroWriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.avro; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvFormatConfigTest.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvFormatConfigTest.java index 43aa4d4014c6..e93c539c1f5f 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/csv/GcsCsvFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.csv; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlFormatConfigTest.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlFormatConfigTest.java index 7110a27b12d9..5939ae990775 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/jsonl/GcsJsonlFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.jsonl; diff --git a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/util/ConfigTestUtils.java b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/util/ConfigTestUtils.java index b3f92906f806..e1fd35b93435 100644 --- a/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/util/ConfigTestUtils.java +++ b/airbyte-integrations/connectors/destination-gcs/src/test/java/io/airbyte/integrations/destination/gcs/util/ConfigTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.gcs.util; diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/buffer.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/buffer.py index 8f1f2f4d8b50..0d5cd0e6599b 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/buffer.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/buffer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/client.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/client.py index 4f3913fc7507..67271b74bc45 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/client.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/destination.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/destination.py index 89b76428ddd2..32b45fb2302c 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/destination.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, Mapping diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/helpers.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/helpers.py index efe5efe5067d..a1a2628ecc64 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/helpers.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/spreadsheet.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/spreadsheet.py index 7cba109fdd96..cc104973ff16 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/spreadsheet.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/spreadsheet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List, Mapping diff --git a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/writer.py b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/writer.py index f7db744bbbb0..3a66c4479306 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/writer.py +++ b/airbyte-integrations/connectors/destination-google-sheets/destination_google_sheets/writer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/integration_test.py index d06b970d9364..b5d1c02dc251 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # fixture for the _customIntegrationTest test. diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_buffer.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_buffer.py index 689bbf4c6c3a..cd40d82aa4c4 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_buffer.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_buffer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_client.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_client.py index 253013f16029..6f8f0bce4132 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_client.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_destination.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_destination.py index 49ef1ca28883..2267d106c701 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_destination.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_helpers.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_helpers.py index eedf355a4c88..b520a01c78f7 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_helpers.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_spreadsheet.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_spreadsheet.py index 3db55b15c137..21c5e90de789 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_spreadsheet.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_spreadsheet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_writer.py b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_writer.py index 1bd6090ce3c5..de7c54390bae 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_writer.py +++ b/airbyte-integrations/connectors/destination-google-sheets/integration_tests/test_writer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/destination-google-sheets/main.py b/airbyte-integrations/connectors/destination-google-sheets/main.py index 29202589faa4..ba00650428ec 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/main.py +++ b/airbyte-integrations/connectors/destination-google-sheets/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/setup.py b/airbyte-integrations/connectors/destination-google-sheets/setup.py index fb61d56b08fd..55850d3f47f4 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/setup.py +++ b/airbyte-integrations/connectors/destination-google-sheets/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-google-sheets/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-google-sheets/unit_tests/unit_test.py index e6c9eb9d6c57..97d7c0d46bdd 100644 --- a/airbyte-integrations/connectors/destination-google-sheets/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-google-sheets/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # fixture for the unit_tests diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestination.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestination.java index 0fad1b91df28..967f26ec1feb 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestination.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/DataAdapter.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/DataAdapter.java index fac3ff8989d2..5675f8dddf5b 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/DataAdapter.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/DataAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcBufferedConsumerFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcBufferedConsumerFactory.java index a861100a6dcc..3cbda6b7be68 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcBufferedConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcBufferedConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcSqlOperations.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcSqlOperations.java index 0b5c1877984a..8805b8b8cd02 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcSqlOperations.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/JdbcSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperations.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperations.java index 37212fcff9e1..77be0d088239 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperations.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtils.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtils.java index 236bc71fc63d..98d1483a6a5b 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtils.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/StagingFilenameGenerator.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/StagingFilenameGenerator.java index 7a988c8179be..c2ec1fd8b80f 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/StagingFilenameGenerator.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/StagingFilenameGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/WriteConfig.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/WriteConfig.java index ef0bbfbf3715..ac5f91357166 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/WriteConfig.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/WriteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/constants/GlobalDataSizeConstants.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/constants/GlobalDataSizeConstants.java index 2bd20ed00723..ddb74afed296 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/constants/GlobalDataSizeConstants.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/constants/GlobalDataSizeConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.constants; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyConsumerFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyConsumerFactory.java index cc94d4e35084..12bdfa66ae49 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyDestination.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyDestination.java index 657f8432669f..3454d58081ae 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyDestination.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/CopyDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopier.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopier.java index d655bea2f147..6f2d8216c6b2 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopier.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopierFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopierFactory.java index bb37e1bf6ea3..c74b652edb83 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/StreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestination.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestination.java index b7b5fd468a4f..1871254fd3fa 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestination.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageConfig.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageConfig.java index d2bbb77b2f6f..e56f4cbca6ef 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageConfig.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.azure; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopier.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopier.java index 186fa0f9f6cd..ee419593d311 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopier.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.azure; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopierFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopierFactory.java index dada3af173ec..2d2f1d7754bc 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/azure/AzureBlobStorageStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.azure; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsConfig.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsConfig.java index 3f24d412786a..e00c8d6f7323 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsConfig.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.gcs; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopier.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopier.java index 248eac9cdfe0..cc76dbd0c86d 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopier.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.gcs; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopierFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopierFactory.java index 0a31c4db9cd5..fe16e0a7cda3 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/gcs/GcsStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.gcs; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfig.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfig.java index 6b13de6f73c5..679c62963ff5 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfig.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.s3; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopier.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopier.java index 42acaf8ce9a0..a4d317fb09f8 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopier.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.s3; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierFactory.java index 6aad77fcc951..8acc1486f54e 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.s3; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingConsumerFactory.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingConsumerFactory.java index 031d5a0f4a24..c79dafc509af 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.staging; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingOperations.java b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingOperations.java index e2a1b799e48c..9ca35c7694df 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingOperations.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/main/java/io/airbyte/integrations/destination/staging/StagingOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.staging; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestinationTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestinationTest.java index a62128c41fc8..22123691f6f3 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestinationTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/AbstractJdbcDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/DataAdapterTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/DataAdapterTest.java index 8434b1d65ff8..c655b492523b 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/DataAdapterTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/DataAdapterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtilsTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtilsTest.java index 6b7e668ed568..2170f9b2122f 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtilsTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/SqlOperationsUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/TestJdbcSqlOperations.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/TestJdbcSqlOperations.java index 76a0bf53b6d5..ed6ce081bf3c 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/TestJdbcSqlOperations.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/TestJdbcSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestinationTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestinationTest.java index 1a785038cb33..23375ce3e705 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestinationTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/SwitchingDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfigTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfigTest.java index 4622a985ff11..02475f3c68a6 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfigTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3CopyConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.s3; diff --git a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierTest.java b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierTest.java index 6ab765f52b63..5344366bd828 100644 --- a/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-jdbc/src/test/java/io/airbyte/integrations/destination/jdbc/copy/s3/S3StreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.jdbc.copy.s3; diff --git a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestination.java b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestination.java index 6c52c8385094..0291b88fe58c 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestination.java +++ b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestinationConfig.java b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestinationConfig.java index 6c28fcc3bd5c..646b5ae142c0 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaProtocol.java b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaProtocol.java index 175f4dfc0f08..ddc31e7aec49 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaProtocol.java +++ b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaProtocol.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumer.java b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumer.java index 2f4443e05876..0b23ab2eaffd 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumer.java +++ b/airbyte-integrations/connectors/destination-kafka/src/main/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-kafka/src/test-integration/java/io/airbyte/integrations/destination/kafka/KafkaDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-kafka/src/test-integration/java/io/airbyte/integrations/destination/kafka/KafkaDestinationAcceptanceTest.java index 50ac4977adea..0335f43274d0 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/test-integration/java/io/airbyte/integrations/destination/kafka/KafkaDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-kafka/src/test-integration/java/io/airbyte/integrations/destination/kafka/KafkaDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-kafka/src/test/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumerTest.java b/airbyte-integrations/connectors/destination-kafka/src/test/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumerTest.java index 2e268273e463..2195de34f78b 100644 --- a/airbyte-integrations/connectors/destination-kafka/src/test/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumerTest.java +++ b/airbyte-integrations/connectors/destination-kafka/src/test/java/io/airbyte/integrations/destination/kafka/KafkaRecordConsumerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kafka; diff --git a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenCharactersStripper.java b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenCharactersStripper.java index 8ac45582d1b1..0e2717795da2 100644 --- a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenCharactersStripper.java +++ b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenCharactersStripper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenDestination.java b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenDestination.java index d69c10df6e46..d4da608b8534 100644 --- a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenDestination.java +++ b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenHttpClient.java b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenHttpClient.java index 2e4a423b1491..96abfdad2820 100644 --- a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenHttpClient.java +++ b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenHttpClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenRecordsConsumer.java b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenRecordsConsumer.java index da38f66c7869..e737df607588 100644 --- a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenRecordsConsumer.java +++ b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenRecordsConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenTimestampService.java b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenTimestampService.java index 5bb542d5aa24..f40724126b7b 100644 --- a/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenTimestampService.java +++ b/airbyte-integrations/connectors/destination-keen/src/main/java/io/airbyte/integrations/destination/keen/KeenTimestampService.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/test-integration/java/io/airbyte/integrations/destination/keen/KeenDestinationTest.java b/airbyte-integrations/connectors/destination-keen/src/test-integration/java/io/airbyte/integrations/destination/keen/KeenDestinationTest.java index 0f8ef69f1dda..9639e82cddb0 100644 --- a/airbyte-integrations/connectors/destination-keen/src/test-integration/java/io/airbyte/integrations/destination/keen/KeenDestinationTest.java +++ b/airbyte-integrations/connectors/destination-keen/src/test-integration/java/io/airbyte/integrations/destination/keen/KeenDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-keen/src/test/java/KeenTimestampServiceTest.java b/airbyte-integrations/connectors/destination-keen/src/test/java/KeenTimestampServiceTest.java index 817cc0860066..fbd5e62cdc68 100644 --- a/airbyte-integrations/connectors/destination-keen/src/test/java/KeenTimestampServiceTest.java +++ b/airbyte-integrations/connectors/destination-keen/src/test/java/KeenTimestampServiceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.keen; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisClientPool.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisClientPool.java index bc83a8351df5..d7e5ffe5476c 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisClientPool.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisClientPool.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisConfig.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisConfig.java index b9a0a17ad00e..6b2a7348019f 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisConfig.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisDestination.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisDestination.java index 0d314dc48805..5c88b6f87bf1 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisDestination.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisMessageConsumer.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisMessageConsumer.java index 001783a6cd27..b76ce98c93e1 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisMessageConsumer.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformer.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformer.java index 845c6aac5c03..96d8f360eae4 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformer.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisRecord.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisRecord.java index 1b22b6839a22..d4278d1bfa22 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisRecord.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisRecord.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStream.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStream.java index 3b2f42fa50fb..045af3744fed 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStream.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStream.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStreamConfig.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStreamConfig.java index e653e3af51b5..f7253ab8259a 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStreamConfig.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisStreamConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisUtils.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisUtils.java index 663a045389ce..0b7ecd6a1c2a 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisUtils.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/KinesisUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/Tuple.java b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/Tuple.java index dce5355e32c4..c72791470ae8 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/Tuple.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/main/java/io/airbyte/integrations/destination/kinesis/Tuple.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisContainerInitializr.java b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisContainerInitializr.java index 8ade3fc29709..0648d27ca9e5 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisContainerInitializr.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisContainerInitializr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java index ae40d6499f7c..0922fdcd3d4f 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationAcceptanceTest.java index a4b212842b57..5fc67d869cf4 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationTest.java b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationTest.java index 72c441168a2e..e40870c64e0c 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationTest.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisStreamTest.java b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisStreamTest.java index 778724f88fab..36979697fd25 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisStreamTest.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test-integration/java/io/airbyte/integrations/destination/kinesis/KinesisStreamTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisConfigTest.java b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisConfigTest.java index 05ae72d4c5f4..e3f7c5f101f6 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisConfigTest.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java index ae40d6499f7c..0922fdcd3d4f 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformerTest.java b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformerTest.java index c1b1f7e306e4..59f3eeb7ec7c 100644 --- a/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-kinesis/src/test/java/io/airbyte/integrations/destination/kinesis/KinesisNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.kinesis; diff --git a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/client.py b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/client.py index 37e8378e7145..fa251f80769c 100644 --- a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/client.py +++ b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, List, Mapping, Tuple, Union diff --git a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/destination.py b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/destination.py index 50b9368c6819..a2f8ad15477c 100644 --- a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/destination.py +++ b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/writer.py b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/writer.py index d446ee399df6..2a5c1c7981ac 100644 --- a/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/writer.py +++ b/airbyte-integrations/connectors/destination-kvdb/destination_kvdb/writer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from collections import Mapping diff --git a/airbyte-integrations/connectors/destination-kvdb/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-kvdb/integration_tests/integration_test.py index 50ba2dfcf58a..73eba0b56631 100644 --- a/airbyte-integrations/connectors/destination-kvdb/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-kvdb/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-kvdb/main.py b/airbyte-integrations/connectors/destination-kvdb/main.py index a1eb39dfa4ea..d41e96459c08 100644 --- a/airbyte-integrations/connectors/destination-kvdb/main.py +++ b/airbyte-integrations/connectors/destination-kvdb/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-kvdb/setup.py b/airbyte-integrations/connectors/destination-kvdb/setup.py index b2a64b94f010..696f6db70915 100644 --- a/airbyte-integrations/connectors/destination-kvdb/setup.py +++ b/airbyte-integrations/connectors/destination-kvdb/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-kvdb/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-kvdb/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/destination-kvdb/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-kvdb/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-local-json/src/main/java/io/airbyte/integrations/destination/local_json/LocalJsonDestination.java b/airbyte-integrations/connectors/destination-local-json/src/main/java/io/airbyte/integrations/destination/local_json/LocalJsonDestination.java index c0a9f0865d04..aca334e441fe 100644 --- a/airbyte-integrations/connectors/destination-local-json/src/main/java/io/airbyte/integrations/destination/local_json/LocalJsonDestination.java +++ b/airbyte-integrations/connectors/destination-local-json/src/main/java/io/airbyte/integrations/destination/local_json/LocalJsonDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.local_json; diff --git a/airbyte-integrations/connectors/destination-local-json/src/test-integration/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-local-json/src/test-integration/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationAcceptanceTest.java index 63e7dd55d6c6..40cd49469759 100644 --- a/airbyte-integrations/connectors/destination-local-json/src/test-integration/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-local-json/src/test-integration/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.local_json; diff --git a/airbyte-integrations/connectors/destination-local-json/src/test/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationTest.java b/airbyte-integrations/connectors/destination-local-json/src/test/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationTest.java index 961a6cad7ac7..4ced42edee2b 100644 --- a/airbyte-integrations/connectors/destination-local-json/src/test/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationTest.java +++ b/airbyte-integrations/connectors/destination-local-json/src/test/java/io/airbyte/integrations/destination/local_json/LocalJsonDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.local_json; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestination.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestination.java index 0f8525efc728..cf081ae9ecc0 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestination.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreNameTransformer.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreNameTransformer.java index c6f058e4f9ff..b1c0067f0360 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreNameTransformer.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreSqlOperations.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreSqlOperations.java index 6dd6c3abc753..d8d988655448 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreSqlOperations.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/main/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariaDbTestDataComparator.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariaDbTestDataComparator.java index d10d4349dc23..1089f2df1168 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariaDbTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariaDbTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationAcceptanceTest.java index 130eb81da275..7ed9b3e4c0ff 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshKeyMariadbColumnstoreDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshKeyMariadbColumnstoreDestinationAcceptanceTest.java index a21d00d9ca5f..221f48f1840a 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshKeyMariadbColumnstoreDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshKeyMariadbColumnstoreDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshMariadbColumnstoreDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshMariadbColumnstoreDestinationAcceptanceTest.java index 9bf1686c021b..324d2fa6db75 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshMariadbColumnstoreDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshMariadbColumnstoreDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshPasswordMariadbColumnstoreDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshPasswordMariadbColumnstoreDestinationAcceptanceTest.java index 1037b1932de8..c3fb81f263b1 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshPasswordMariadbColumnstoreDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test-integration/java/io/airbyte/integrations/destination/mariadb_columnstore/SshPasswordMariadbColumnstoreDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationTest.java b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationTest.java index 19b6624a508d..a4083db9c05d 100644 --- a/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationTest.java +++ b/airbyte-integrations/connectors/destination-mariadb-columnstore/src/test/java/io/airbyte/integrations/destination/mariadb_columnstore/MariadbColumnstoreDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mariadb_columnstore; diff --git a/airbyte-integrations/connectors/destination-meilisearch/src/main/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestination.java b/airbyte-integrations/connectors/destination-meilisearch/src/main/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestination.java index c8cf60999201..ba9caf250ac9 100644 --- a/airbyte-integrations/connectors/destination-meilisearch/src/main/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestination.java +++ b/airbyte-integrations/connectors/destination-meilisearch/src/main/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.meilisearch; diff --git a/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java index bd94430bebdb..b0226b6ccde8 100644 --- a/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-meilisearch/src/test-integration/java/io/airbyte/integrations/destination/meilisearch/MeiliSearchDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.meilisearch; diff --git a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.destination.mongodb/MongodbDestinationStrictEncrypt.java b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.destination.mongodb/MongodbDestinationStrictEncrypt.java index d20ced77f266..fdf208f48c57 100644 --- a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.destination.mongodb/MongodbDestinationStrictEncrypt.java +++ b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.destination.mongodb/MongodbDestinationStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptAcceptanceTest.java b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptAcceptanceTest.java index 24b1344473da..c771043f2625 100644 --- a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptTest.java b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptTest.java index 16bc1fc86816..7f497d3ac540 100644 --- a/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptTest.java +++ b/airbyte-integrations/connectors/destination-mongodb-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationStrictEncryptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbDestination.java b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbDestination.java index b0b10e97e44f..f308be6aebfb 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbDestination.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbNameTransformer.java b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbNameTransformer.java index e2caaa5c6d2c..97f479537b51 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbNameTransformer.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbRecordConsumer.java b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbRecordConsumer.java index 4c0d64b963c6..662d21664874 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbRecordConsumer.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbRecordConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbWriteConfig.java b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbWriteConfig.java index 3b8ffaeb68b5..01ddd9ba1d5b 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbWriteConfig.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/MongodbWriteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/exception/MongodbDatabaseException.java b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/exception/MongodbDatabaseException.java index 5e54c82134fd..7acc48165c05 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/exception/MongodbDatabaseException.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/main/java/io/airbyte/integrations/destination/mongodb/exception/MongodbDatabaseException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb.exception; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mongodb/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationAcceptanceTest.java index a04fdd273ec6..2115990996e8 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/test-integration/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mongodb/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationTest.java b/airbyte-integrations/connectors/destination-mongodb/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationTest.java index 539f631474eb..1c8e204e7d2e 100644 --- a/airbyte-integrations/connectors/destination-mongodb/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationTest.java +++ b/airbyte-integrations/connectors/destination-mongodb/src/test/java/io/airbyte/integrations/destination/mongodb/MongodbDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mongodb; diff --git a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestination.java b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestination.java index a5955a84a009..fe0d6fa6a8b7 100644 --- a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestination.java +++ b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mqtt; diff --git a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestinationConfig.java b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestinationConfig.java index 6803812d46b0..3f2b63ee7530 100644 --- a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mqtt; diff --git a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumer.java b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumer.java index 1bb2561ff0ff..abbabf34fd7a 100644 --- a/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumer.java +++ b/airbyte-integrations/connectors/destination-mqtt/src/main/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mqtt; diff --git a/airbyte-integrations/connectors/destination-mqtt/src/test-integration/java/io/airbyte/integrations/destination/mqtt/MqttDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mqtt/src/test-integration/java/io/airbyte/integrations/destination/mqtt/MqttDestinationAcceptanceTest.java index d4f9b381187c..c6bbf9d810a3 100644 --- a/airbyte-integrations/connectors/destination-mqtt/src/test-integration/java/io/airbyte/integrations/destination/mqtt/MqttDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mqtt/src/test-integration/java/io/airbyte/integrations/destination/mqtt/MqttDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mqtt; diff --git a/airbyte-integrations/connectors/destination-mqtt/src/test/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumerTest.java b/airbyte-integrations/connectors/destination-mqtt/src/test/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumerTest.java index 94b085584867..9f3c2d93bd1b 100644 --- a/airbyte-integrations/connectors/destination-mqtt/src/test/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumerTest.java +++ b/airbyte-integrations/connectors/destination-mqtt/src/test/java/io/airbyte/integrations/destination/mqtt/MqttRecordConsumerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mqtt; diff --git a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestination.java b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestination.java index 3d20f3ae16dd..30283cca1d9e 100644 --- a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestination.java +++ b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestinationAcceptanceTest.java index f3515a45bac0..a48e8c5929e8 100644 --- a/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mssql_strict_encrypt/MssqlStrictEncryptDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java index bd4f667a2e38..07b67f108c09 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java +++ b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLNameTransformer.java b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLNameTransformer.java index 2702b7ce057b..101ac6745090 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java index fbd5ea137169..c9f6f6271f08 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java +++ b/airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTest.java index aaab1f2815e5..0628854149f3 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTestSSL.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTestSSL.java index bc7d4900bf89..93a808088ea8 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTestSSL.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationAcceptanceTestSSL.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLTestDataComparator.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLTestDataComparator.java index fa98a860f767..b22c87193595 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/MSSQLTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshKeyMSSQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshKeyMSSQLDestinationAcceptanceTest.java index 42efd59b66db..160b7ca5a5de 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshKeyMSSQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshKeyMSSQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshMSSQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshMSSQLDestinationAcceptanceTest.java index 54c754db6555..b0f295d5a07a 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshMSSQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshMSSQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshPasswordMSSQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshPasswordMSSQLDestinationAcceptanceTest.java index eb6332f7287d..4871d20ec011 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshPasswordMSSQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test-integration/java/io/airbyte/integrations/destination/mssql/SshPasswordMSSQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mssql/src/test/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationTest.java b/airbyte-integrations/connectors/destination-mssql/src/test/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationTest.java index 31b04f70250a..a4bc7cf413ef 100644 --- a/airbyte-integrations/connectors/destination-mssql/src/test/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationTest.java +++ b/airbyte-integrations/connectors/destination-mssql/src/test/java/io/airbyte/integrations/destination/mssql/MSSQLDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mssql; diff --git a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestinationStrictEncrypt.java b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestinationStrictEncrypt.java index d0f2c565ca1a..9e3f51cf3eda 100644 --- a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestinationStrictEncrypt.java +++ b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestinationStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLStrictEncryptDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLStrictEncryptDestinationAcceptanceTest.java index de08ff4095c6..0351cdf7bf81 100644 --- a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLStrictEncryptDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLStrictEncryptDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mysql/MySqlDestinationStrictEncryptTest.java b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mysql/MySqlDestinationStrictEncryptTest.java index 1b77e7859a3c..b6513e6a6df3 100644 --- a/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mysql/MySqlDestinationStrictEncryptTest.java +++ b/airbyte-integrations/connectors/destination-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/destination/mysql/MySqlDestinationStrictEncryptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestination.java b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestination.java index 7a8b7d711ec7..ef77708960eb 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestination.java +++ b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformer.java b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformer.java index 9f9edbbf6043..0f3df8b65a45 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLSqlOperations.java b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLSqlOperations.java index 78957bf88ac2..2e42913fd709 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLSqlOperations.java +++ b/airbyte-integrations/connectors/destination-mysql/src/main/java/io/airbyte/integrations/destination/mysql/MySQLSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLDestinationAcceptanceTest.java index 487a53583ed2..a8cb7a1286ec 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySqlTestDataComparator.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySqlTestDataComparator.java index e2526da095a0..52cbba91356f 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySqlTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySqlTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshKeyMySQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshKeyMySQLDestinationAcceptanceTest.java index 0678a7efb497..0a4957aa4aea 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshKeyMySQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshKeyMySQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshMySQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshMySQLDestinationAcceptanceTest.java index 8d5c6c2fa138..4860d1be50fc 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshMySQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshMySQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshPasswordMySQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshPasswordMySQLDestinationAcceptanceTest.java index 271f810439fe..398d3d5af8fe 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshPasswordMySQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshPasswordMySQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SslMySQLDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SslMySQLDestinationAcceptanceTest.java index a1cf7b228e44..b0d67f8a33ad 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SslMySQLDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SslMySQLDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLDestinationTest.java b/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLDestinationTest.java index 6a98e8f3fa66..6af06f2b6444 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLDestinationTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformerTest.java b/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformerTest.java index 4b08851619fe..3771be26b0e6 100644 --- a/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-mysql/src/test/java/io/airbyte/integrations/destination/mysql/MySQLNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.mysql; diff --git a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestination.java b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestination.java index 530d90b019f1..e63786900bab 100644 --- a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestination.java +++ b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleContainer.java b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleContainer.java index c7661da0690a..4a2e6b17bae2 100644 --- a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleContainer.java +++ b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationAcceptanceTest.java index dbd2f5584234..0bd2aad08d3e 100644 --- a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationTest.java b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationTest.java index 445b4f5991bd..4c834fb23a07 100644 --- a/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationTest.java +++ b/airbyte-integrations/connectors/destination-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/destination/oracle_strict_encrypt/OracleStrictEncryptDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java index ce3a1c6b0a4e..4c0158b0e73c 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java +++ b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleNameTransformer.java b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleNameTransformer.java index 7f43f613c2c4..b038780364a8 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleNameTransformer.java +++ b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleOperations.java b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleOperations.java index a133dfb5285f..34d025b4e674 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleOperations.java +++ b/airbyte-integrations/connectors/destination-oracle/src/main/java/io/airbyte/integrations/destination/oracle/OracleOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/NneOracleDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/NneOracleDestinationAcceptanceTest.java index 998f3c04c888..920359059334 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/NneOracleDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/NneOracleDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleContainer.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleContainer.java index b527403ee2bf..1a1d72e22b88 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleContainer.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleTestDataComparator.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleTestDataComparator.java index 0ddb650fe2c6..48cae2881d0b 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/OracleTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshKeyOracleDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshKeyOracleDestinationAcceptanceTest.java index a35927d5a87c..41d990a9d71f 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshKeyOracleDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshKeyOracleDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshOracleDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshOracleDestinationAcceptanceTest.java index 6df5846130a1..64a4968f7a31 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshOracleDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshOracleDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshPasswordOracleDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshPasswordOracleDestinationAcceptanceTest.java index 2963d3a0cad8..a32548591a1c 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshPasswordOracleDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/SshPasswordOracleDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/UnencryptedOracleDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/UnencryptedOracleDestinationAcceptanceTest.java index 4825b35373b7..fb72ca759059 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/UnencryptedOracleDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test-integration/java/io/airbyte/integrations/destination/oracle/UnencryptedOracleDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-oracle/src/test/java/io/airbyte/integrations/destination/oracle/OracleDestinationTest.java b/airbyte-integrations/connectors/destination-oracle/src/test/java/io/airbyte/integrations/destination/oracle/OracleDestinationTest.java index caa807e40f84..f6221dd7196a 100644 --- a/airbyte-integrations/connectors/destination-oracle/src/test/java/io/airbyte/integrations/destination/oracle/OracleDestinationTest.java +++ b/airbyte-integrations/connectors/destination-oracle/src/test/java/io/airbyte/integrations/destination/oracle/OracleDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.oracle; diff --git a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncrypt.java b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncrypt.java index b95124f73bc7..0605cf8341f3 100644 --- a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncrypt.java +++ b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptAcceptanceTest.java b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptAcceptanceTest.java index 3663cd4cde6a..41c09201ea15 100644 --- a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptTest.java b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptTest.java index ff892ed7d3f8..c7120c4f789e 100644 --- a/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptTest.java +++ b/airbyte-integrations/connectors/destination-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationStrictEncryptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDataAdapter.java b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDataAdapter.java index c86c140683f7..7707a5ce4627 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDataAdapter.java +++ b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDataAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestination.java b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestination.java index 0f90fad62500..1d381021af5c 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestination.java +++ b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSQLNameTransformer.java b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSQLNameTransformer.java index 27d71218f152..43eb09a6b324 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSqlOperations.java b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSqlOperations.java index f779791cc977..f2efec4ef256 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSqlOperations.java +++ b/airbyte-integrations/connectors/destination-postgres/src/main/java/io/airbyte/integrations/destination/postgres/PostgresSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationAcceptanceTest.java index c794d86aeeb0..a6f426d24805 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresTestDataComparator.java b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresTestDataComparator.java index f5ca73b1805e..98b0c90a8e04 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/PostgresTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshKeyPostgresDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshKeyPostgresDestinationAcceptanceTest.java index 3a4115ed39e4..d4ad263e245a 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshKeyPostgresDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshKeyPostgresDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPasswordPostgresDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPasswordPostgresDestinationAcceptanceTest.java index 25a853f9b6c1..c018f6c11897 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPasswordPostgresDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPasswordPostgresDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPostgresDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPostgresDestinationAcceptanceTest.java index 8e94f51722be..668f7bbc0303 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPostgresDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test-integration/java/io/airbyte/integrations/destination/postgres/SshPostgresDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-postgres/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationTest.java b/airbyte-integrations/connectors/destination-postgres/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationTest.java index 2bcece2a15ee..c2b0a24c40eb 100644 --- a/airbyte-integrations/connectors/destination-postgres/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationTest.java +++ b/airbyte-integrations/connectors/destination-postgres/src/test/java/io/airbyte/integrations/destination/postgres/PostgresDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.postgres; diff --git a/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubConsumer.java b/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubConsumer.java index dd1d9dea8b90..cef941529bf2 100644 --- a/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubConsumer.java +++ b/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pubsub; diff --git a/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubDestination.java b/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubDestination.java index b7f2f441ac89..db75c837b37d 100644 --- a/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubDestination.java +++ b/airbyte-integrations/connectors/destination-pubsub/src/main/java/io/airbyte/integrations/destination/pubsub/PubsubDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pubsub; diff --git a/airbyte-integrations/connectors/destination-pubsub/src/test-integration/java/io/airbyte/integrations/destination/pubsub/PubsubDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-pubsub/src/test-integration/java/io/airbyte/integrations/destination/pubsub/PubsubDestinationAcceptanceTest.java index aaadb701bd9f..143eeb3c74d8 100644 --- a/airbyte-integrations/connectors/destination-pubsub/src/test-integration/java/io/airbyte/integrations/destination/pubsub/PubsubDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-pubsub/src/test-integration/java/io/airbyte/integrations/destination/pubsub/PubsubDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pubsub; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestination.java b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestination.java index 5b00b99d34f8..960a0060deee 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestination.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationConfig.java b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationConfig.java index c67056a1f35b..11888d82d787 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationConfig.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumer.java b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumer.java index 129b9e86348c..851d4ea179ee 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumer.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarUtils.java b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarUtils.java index fed932ee4181..fcdd94d0c8e0 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarUtils.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/main/java/io/airbyte/integrations/destination/pulsar/PulsarUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/test-integration/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-pulsar/src/test-integration/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationAcceptanceTest.java index f31ec96dbfa6..1acd5d4a1c11 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/test-integration/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/test-integration/java/io/airbyte/integrations/destination/pulsar/PulsarDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-pulsar/src/test/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumerTest.java b/airbyte-integrations/connectors/destination-pulsar/src/test/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumerTest.java index 1e1b89061e97..28725a066759 100644 --- a/airbyte-integrations/connectors/destination-pulsar/src/test/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumerTest.java +++ b/airbyte-integrations/connectors/destination-pulsar/src/test/java/io/airbyte/integrations/destination/pulsar/PulsarRecordConsumerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.pulsar; diff --git a/airbyte-integrations/connectors/destination-rabbitmq/destination_rabbitmq/destination.py b/airbyte-integrations/connectors/destination-rabbitmq/destination_rabbitmq/destination.py index 49b6b08b6601..6516832e459b 100644 --- a/airbyte-integrations/connectors/destination-rabbitmq/destination_rabbitmq/destination.py +++ b/airbyte-integrations/connectors/destination-rabbitmq/destination_rabbitmq/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-rabbitmq/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-rabbitmq/integration_tests/integration_test.py index 5f74ab61801f..305817736c1e 100644 --- a/airbyte-integrations/connectors/destination-rabbitmq/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-rabbitmq/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-rabbitmq/main.py b/airbyte-integrations/connectors/destination-rabbitmq/main.py index 4d0f4f220e88..ef46fee083d4 100644 --- a/airbyte-integrations/connectors/destination-rabbitmq/main.py +++ b/airbyte-integrations/connectors/destination-rabbitmq/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-rabbitmq/setup.py b/airbyte-integrations/connectors/destination-rabbitmq/setup.py index f7f79031ff17..f6ce57810010 100644 --- a/airbyte-integrations/connectors/destination-rabbitmq/setup.py +++ b/airbyte-integrations/connectors/destination-rabbitmq/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-rabbitmq/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-rabbitmq/unit_tests/unit_test.py index b22b7262e0c5..59ae8d924bab 100644 --- a/airbyte-integrations/connectors/destination-rabbitmq/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-rabbitmq/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCache.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCache.java index 9ced659af909..575d0f532db3 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCache.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCache.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCacheFactory.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCacheFactory.java index bc5ac480c1c1..8acdca3e4b63 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCacheFactory.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisCacheFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisConfig.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisConfig.java index d8db22364091..f77d45d15342 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisConfig.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisDestination.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisDestination.java index 3163d7158a03..5fe3f7ffe286 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisDestination.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisHCache.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisHCache.java index 400c641e60a3..dce3cced25ba 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisHCache.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisHCache.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisMessageConsumer.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisMessageConsumer.java index 523e16e1fdef..fc2b0d0ab756 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisMessageConsumer.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisNameTransformer.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisNameTransformer.java index f18f8631f6a7..4c76b47288aa 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisNameTransformer.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisPoolManager.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisPoolManager.java index d6eb665feda3..3137d8dd989e 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisPoolManager.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisPoolManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisRecord.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisRecord.java index f3d3827bfacc..107612cfecc2 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisRecord.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisRecord.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisStreamConfig.java b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisStreamConfig.java index 1e56e726e410..f043f0acdf2c 100644 --- a/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisStreamConfig.java +++ b/airbyte-integrations/connectors/destination-redis/src/main/java/io/airbyte/integrations/destination/redis/RedisStreamConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisContainerInitializr.java b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisContainerInitializr.java index 6c8a0dc2c205..ca4242806b6e 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisContainerInitializr.java +++ b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisContainerInitializr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java index 62f8f6ce3fd8..c0f7a0e28cf1 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java +++ b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationAcceptanceTest.java index 9dcc2312e2fc..77def78edd80 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationTest.java b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationTest.java index 4a4047052cb0..c644d33db917 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationTest.java +++ b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisHCacheTest.java b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisHCacheTest.java index bf587a907322..4a6e681e4322 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisHCacheTest.java +++ b/airbyte-integrations/connectors/destination-redis/src/test-integration/java/io/airbyte/integrations/destination/redis/RedisHCacheTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisConfigTest.java b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisConfigTest.java index 09cf1461f1d1..88d08e0bd158 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisConfigTest.java +++ b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java index d7566271a408..fe7f7d187064 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java +++ b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisNameTransformerTest.java b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisNameTransformerTest.java index 7876e63bcb78..fba124c2ca3d 100644 --- a/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-redis/src/test/java/io/airbyte/integrations/destination/redis/RedisNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redis; diff --git a/airbyte-integrations/connectors/destination-redshift/Dockerfile b/airbyte-integrations/connectors/destination-redshift/Dockerfile index 0f9491dec4f7..a6bf71cbe1eb 100644 --- a/airbyte-integrations/connectors/destination-redshift/Dockerfile +++ b/airbyte-integrations/connectors/destination-redshift/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION destination-redshift COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.3.36 +LABEL io.airbyte.version=0.3.37 LABEL io.airbyte.name=airbyte/destination-redshift diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftDestination.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftDestination.java index 1853b43bc4c8..d13742cb0531 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftDestination.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; @@ -8,7 +8,6 @@ import io.airbyte.integrations.base.Destination; import io.airbyte.integrations.base.IntegrationRunner; import io.airbyte.integrations.destination.jdbc.copy.SwitchingDestination; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -27,8 +26,8 @@ public class RedshiftDestination extends SwitchingDestination getTypeToDestination() { return Map.of( - DestinationType.INSERT_WITH_SUPER_TMP_TYPE, new RedshiftInsertDestination(RedshiftDataTmpTableMode.SUPER), - DestinationType.COPY_S3_WITH_SUPER_TMP_TYPE, new RedshiftStagingS3Destination(RedshiftDataTmpTableMode.SUPER)); + DestinationType.STANDARD, new RedshiftInsertDestination(), + DestinationType.COPY_S3, new RedshiftStagingS3Destination()); } public static DestinationType determineUploadMode(final JsonNode config) { @@ -55,14 +54,14 @@ public static DestinationType determineUploadMode(final JsonNode config) { && isNullOrEmpty(secretAccessKeyNode)) { LOGGER.warn("The \"standard\" upload mode is not performant, and is not recommended for production. " + "Please use the Amazon S3 upload mode if you are syncing a large amount of data."); - return DestinationType.INSERT_WITH_SUPER_TMP_TYPE; + return DestinationType.STANDARD; } if (isNullOrEmpty(bucketNode) && isNullOrEmpty(regionNode) && isNullOrEmpty(accessKeyIdNode) && isNullOrEmpty(secretAccessKeyNode)) { throw new RuntimeException("Error: Partially missing S3 Configuration."); } - return DestinationType.COPY_S3_WITH_SUPER_TMP_TYPE; + return DestinationType.COPY_S3; } public static void main(final String[] args) throws Exception { diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestination.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestination.java index 419f3c931232..273af8b101b0 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestination.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; @@ -12,7 +12,6 @@ import io.airbyte.db.jdbc.DefaultJdbcDatabase; import io.airbyte.db.jdbc.JdbcDatabase; import io.airbyte.integrations.destination.jdbc.AbstractJdbcDestination; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; import io.airbyte.integrations.destination.redshift.operations.RedshiftSqlOperations; import java.util.Map; import java.util.Optional; @@ -30,8 +29,8 @@ public class RedshiftInsertDestination extends AbstractJdbcDestination { "ssl", "true", "sslfactory", "com.amazon.redshift.ssl.NonValidatingFactory"); - public RedshiftInsertDestination(final RedshiftDataTmpTableMode redshiftDataTmpTableMode) { - super(DRIVER_CLASS, new RedshiftSQLNameTransformer(), new RedshiftSqlOperations(redshiftDataTmpTableMode)); + public RedshiftInsertDestination() { + super(DRIVER_CLASS, new RedshiftSQLNameTransformer(), new RedshiftSqlOperations()); } @Override diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftSQLNameTransformer.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftSQLNameTransformer.java index 90758a916577..2626d47428a8 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3Destination.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3Destination.java index 0132dac48388..63a30f615a39 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3Destination.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3Destination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; @@ -22,7 +22,6 @@ import io.airbyte.integrations.destination.NamingConventionTransformer; import io.airbyte.integrations.destination.jdbc.AbstractJdbcDestination; import io.airbyte.integrations.destination.record_buffer.FileBuffer; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; import io.airbyte.integrations.destination.redshift.operations.RedshiftS3StagingSqlOperations; import io.airbyte.integrations.destination.redshift.operations.RedshiftSqlOperations; import io.airbyte.integrations.destination.s3.S3Destination; @@ -42,11 +41,9 @@ public class RedshiftStagingS3Destination extends AbstractJdbcDestination implements Destination { private static final Logger LOGGER = LoggerFactory.getLogger(RedshiftStagingS3Destination.class); - private final RedshiftDataTmpTableMode redshiftDataTmpTableMode; - public RedshiftStagingS3Destination(final RedshiftDataTmpTableMode redshiftDataTmpTableMode) { - super(RedshiftInsertDestination.DRIVER_CLASS, new RedshiftSQLNameTransformer(), new RedshiftSqlOperations(redshiftDataTmpTableMode)); - this.redshiftDataTmpTableMode = redshiftDataTmpTableMode; + public RedshiftStagingS3Destination() { + super(RedshiftInsertDestination.DRIVER_CLASS, new RedshiftSQLNameTransformer(), new RedshiftSqlOperations()); } @Override @@ -56,7 +53,7 @@ public AirbyteConnectionStatus check(final JsonNode config) { final NamingConventionTransformer nameTransformer = getNamingResolver(); final RedshiftS3StagingSqlOperations redshiftS3StagingSqlOperations = - new RedshiftS3StagingSqlOperations(nameTransformer, s3Config.getS3Client(), s3Config, redshiftDataTmpTableMode); + new RedshiftS3StagingSqlOperations(nameTransformer, s3Config.getS3Client(), s3Config); final DataSource dataSource = getDataSource(config); try { final JdbcDatabase database = new DefaultJdbcDatabase(dataSource); @@ -113,7 +110,7 @@ public AirbyteMessageConsumer getConsumer(final JsonNode config, return new StagingConsumerFactory().create( outputRecordCollector, getDatabase(getDataSource(config)), - new RedshiftS3StagingSqlOperations(getNamingResolver(), s3Config.getS3Client(), s3Config, redshiftDataTmpTableMode), + new RedshiftS3StagingSqlOperations(getNamingResolver(), s3Config.getS3Client(), s3Config), getNamingResolver(), CsvSerializedBuffer.createFunction(null, () -> new FileBuffer(CsvSerializedBuffer.CSV_GZ_SUFFIX)), config, diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopier.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopier.java index aee4a963bdf4..f069088f7115 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopier.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.copiers; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierFactory.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierFactory.java index 8b5b11c51798..d0c4673828fe 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.copiers; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/enums/RedshiftDataTmpTableMode.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/enums/RedshiftDataTmpTableMode.java deleted file mode 100644 index 7f120831a2c6..000000000000 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/enums/RedshiftDataTmpTableMode.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. - */ - -package io.airbyte.integrations.destination.redshift.enums; - -import io.airbyte.integrations.base.JavaBaseConstants; - -/** - * This enum determines the type for _airbyte_data_ column at _airbyte_raw_**some_table_name** - */ -public enum RedshiftDataTmpTableMode { - - SUPER { - - @Override - public String getTableCreationMode() { - return "SUPER"; - } - - @Override - public String getInsertRowMode() { - return "(?, JSON_PARSE(?), ?),\n"; - } - - }; - - public abstract String getTableCreationMode(); - - public abstract String getInsertRowMode(); - - public String getTmpTableSqlStatement(String schemaName, String tableName) { - return String.format(""" - CREATE TABLE IF NOT EXISTS %s.%s ( - %s VARCHAR PRIMARY KEY, - %s %s, - %s TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP) - """, schemaName, tableName, JavaBaseConstants.COLUMN_NAME_AB_ID, - JavaBaseConstants.COLUMN_NAME_DATA, - getTableCreationMode(), - JavaBaseConstants.COLUMN_NAME_EMITTED_AT); - } - -} diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Entry.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Entry.java index 014acc0ac4ca..d4ae18975144 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Entry.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Entry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.manifest; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Manifest.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Manifest.java index 5cadf9586c35..7f19787e2a36 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Manifest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/manifest/Manifest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.manifest; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftS3StagingSqlOperations.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftS3StagingSqlOperations.java index 36a3269eddcd..6312810e8ea3 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftS3StagingSqlOperations.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftS3StagingSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.operations; @@ -11,7 +11,6 @@ import io.airbyte.integrations.base.sentry.AirbyteSentry; import io.airbyte.integrations.destination.NamingConventionTransformer; import io.airbyte.integrations.destination.record_buffer.SerializableBuffer; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; import io.airbyte.integrations.destination.redshift.manifest.Entry; import io.airbyte.integrations.destination.redshift.manifest.Manifest; import io.airbyte.integrations.destination.s3.S3DestinationConfig; @@ -34,9 +33,7 @@ public class RedshiftS3StagingSqlOperations extends RedshiftSqlOperations implem public RedshiftS3StagingSqlOperations(NamingConventionTransformer nameTransformer, AmazonS3 s3Client, - S3DestinationConfig s3Config, - RedshiftDataTmpTableMode redshiftDataTmpTableMode) { - super(redshiftDataTmpTableMode); + S3DestinationConfig s3Config) { this.nameTransformer = nameTransformer; this.s3StorageOperations = new S3StorageOperations(nameTransformer, s3Client, s3Config); this.s3Config = s3Config; diff --git a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperations.java b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperations.java index 27dab227bc79..b416d5f3b604 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperations.java +++ b/airbyte-integrations/connectors/destination-redshift/src/main/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.operations; @@ -12,7 +12,6 @@ import io.airbyte.integrations.base.JavaBaseConstants; import io.airbyte.integrations.destination.jdbc.JdbcSqlOperations; import io.airbyte.integrations.destination.jdbc.SqlOperationsUtils; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; import io.airbyte.protocol.models.AirbyteRecordMessage; import java.nio.charset.StandardCharsets; import java.sql.SQLException; @@ -58,15 +57,19 @@ having count(*) = 3) ALTER TABLE %1$s RENAME %3$s_reserve to %3$s; """; - private final RedshiftDataTmpTableMode redshiftDataTmpTableMode; - - public RedshiftSqlOperations(final RedshiftDataTmpTableMode redshiftDataTmpTableMode) { - this.redshiftDataTmpTableMode = redshiftDataTmpTableMode; - } + public RedshiftSqlOperations() {} @Override public String createTableQuery(final JdbcDatabase database, final String schemaName, final String tableName) { - return redshiftDataTmpTableMode.getTmpTableSqlStatement(schemaName, tableName); + return String.format(""" + CREATE TABLE IF NOT EXISTS %s.%s ( + %s VARCHAR PRIMARY KEY, + %s SUPER, + %s TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP) + """, schemaName, tableName, + JavaBaseConstants.COLUMN_NAME_AB_ID, + JavaBaseConstants.COLUMN_NAME_DATA, + JavaBaseConstants.COLUMN_NAME_EMITTED_AT); } @Override @@ -88,7 +91,7 @@ public void insertRecordsInternal(final JdbcDatabase database, JavaBaseConstants.COLUMN_NAME_AB_ID, JavaBaseConstants.COLUMN_NAME_DATA, JavaBaseConstants.COLUMN_NAME_EMITTED_AT); - final String recordQueryComponent = redshiftDataTmpTableMode.getInsertRowMode(); + final String recordQueryComponent = "(?, JSON_PARSE(?), ?),\n"; SqlOperationsUtils.insertRawRecordsInSingleQuery(insertQueryComponent, recordQueryComponent, database, records); } diff --git a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestinationAcceptanceTest.java index f8a8eef92a09..10bdf80c1fd4 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftInsertDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; diff --git a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftS3StagingInsertDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftS3StagingInsertDestinationAcceptanceTest.java index 9956c32ab75f..673b4a957401 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftS3StagingInsertDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftS3StagingInsertDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; diff --git a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3DestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3DestinationAcceptanceTest.java index a13c2bcb0da0..5bda7cfec80c 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3DestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftStagingS3DestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; diff --git a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftTestDataComparator.java b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftTestDataComparator.java index 6b018e9cd7f4..ef4cf8f9cd28 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test-integration/java/io/airbyte/integrations/destination/redshift/RedshiftTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; diff --git a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/RedshiftDestinationTest.java b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/RedshiftDestinationTest.java index 19e3733e8ef4..58d1e53fc9f6 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/RedshiftDestinationTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/RedshiftDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift; @@ -19,21 +19,21 @@ public class RedshiftDestinationTest { @Test @DisplayName("When given S3 credentials should use COPY with SUPER Datatype") - public void useCopyStrategyTestWithSuperTmpTable() { + public void useS3Staging() { final var stubConfig = mapper.createObjectNode(); stubConfig.put("s3_bucket_name", "fake-bucket"); stubConfig.put("s3_bucket_region", "fake-region"); stubConfig.put("access_key_id", "test"); stubConfig.put("secret_access_key", "test key"); - assertEquals(DestinationType.COPY_S3_WITH_SUPER_TMP_TYPE, RedshiftDestination.determineUploadMode(stubConfig)); + assertEquals(DestinationType.COPY_S3, RedshiftDestination.determineUploadMode(stubConfig)); } @Test @DisplayName("When not given S3 credentials should use INSERT with SUPER Datatype") - public void useInsertStrategyTestWithSuperDatatype() { + public void useStandardInsert() { final var stubConfig = mapper.createObjectNode(); - assertEquals(DestinationType.INSERT_WITH_SUPER_TMP_TYPE, RedshiftDestination.determineUploadMode(stubConfig)); + assertEquals(DestinationType.STANDARD, RedshiftDestination.determineUploadMode(stubConfig)); } } diff --git a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierTest.java b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierTest.java index 949c72268d5a..c6eca7829607 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/copiers/RedshiftStreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.copiers; diff --git a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperationsTest.java b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperationsTest.java index e4b87fa4358a..8a5f1f3df5b3 100644 --- a/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperationsTest.java +++ b/airbyte-integrations/connectors/destination-redshift/src/test/java/io/airbyte/integrations/destination/redshift/operations/RedshiftSqlOperationsTest.java @@ -1,99 +1,93 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.redshift.operations; import static org.junit.jupiter.api.Assertions.assertEquals; -import java.util.Random; - import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.ImmutableMap; - +import io.airbyte.commons.json.Jsons; +import java.util.Random; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; -import io.airbyte.commons.json.Jsons; -import io.airbyte.integrations.destination.redshift.enums.RedshiftDataTmpTableMode; - @DisplayName("RedshiftSqlOperations") public class RedshiftSqlOperationsTest { - private static final Random RANDOM = new Random(); - - private static final RedshiftDataTmpTableMode redshiftDataTmpTableMode = RedshiftDataTmpTableMode.SUPER; - - private String generateBigString(final int addExtraCharacters) { - final int length = RedshiftSqlOperations.REDSHIFT_VARCHAR_MAX_BYTE_SIZE + addExtraCharacters; - return RANDOM - .ints('a', 'z' + 1) - .limit(length) - .collect(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append) - .toString(); - } - - @Test - @DisplayName("isValidData should return true for valid data") - public void isValidDataForValid() { - JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() - .put("id", 3) - .put("currency", generateBigString(0)) - .put("date", "2020-10-10T00:00:00Z") - .put("HKD", 10.5) - .put("NZD", 1.14) - .build()); - - RedshiftSqlOperations uut = new RedshiftSqlOperations(redshiftDataTmpTableMode); - boolean isValid = uut.isValidData(testNode); - assertEquals(true, isValid); - } - - @Test - @DisplayName("isValidData should return false for invalid data - string too long") - public void isValidDataForInvalidNode() { - JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() - .put("id", 3) - .put("currency", generateBigString(1)) - .put("date", "2020-10-10T00:00:00Z") - .put("HKD", 10.5) - .put("NZD", 1.14) - .build()); - - RedshiftSqlOperations uut = new RedshiftSqlOperations(redshiftDataTmpTableMode); - boolean isValid = uut.isValidData(testNode); - assertEquals(false, isValid); - } - - @Test - @DisplayName("isValidData should return false for invalid data - total object too big") - public void isValidDataForInvalidObject() { - JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() - .put("key1", generateBigString(-1)) - .put("key2", generateBigString(-1)) - .put("key3", generateBigString(-1)) - .put("key4", generateBigString(-1)) - .put("key5", generateBigString(-1)) - .put("key6", generateBigString(-1)) - .put("key7", generateBigString(-1)) - .put("key8", generateBigString(-1)) - .put("key9", generateBigString(-1)) - .put("key10", generateBigString(-1)) - .put("key11", generateBigString(-1)) - .put("key12", generateBigString(-1)) - .put("key13", generateBigString(-1)) - .put("key14", generateBigString(-1)) - .put("key15", generateBigString(-1)) - .put("key16", generateBigString(-1)) - .put("key17", generateBigString(-1)) - .put("key18", generateBigString(-1)) - .put("key19", generateBigString(-1)) - .put("key20", generateBigString(-1)) - .build()); - - RedshiftSqlOperations uut = new RedshiftSqlOperations(redshiftDataTmpTableMode); - boolean isValid = uut.isValidData(testNode); - assertEquals(false, isValid); - } + private static final Random RANDOM = new Random(); + + private String generateBigString(final int addExtraCharacters) { + final int length = RedshiftSqlOperations.REDSHIFT_VARCHAR_MAX_BYTE_SIZE + addExtraCharacters; + return RANDOM + .ints('a', 'z' + 1) + .limit(length) + .collect(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append) + .toString(); + } + + @Test + @DisplayName("isValidData should return true for valid data") + public void isValidDataForValid() { + JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() + .put("id", 3) + .put("currency", generateBigString(0)) + .put("date", "2020-10-10T00:00:00Z") + .put("HKD", 10.5) + .put("NZD", 1.14) + .build()); + + RedshiftSqlOperations uut = new RedshiftSqlOperations(); + boolean isValid = uut.isValidData(testNode); + assertEquals(true, isValid); + } + + @Test + @DisplayName("isValidData should return false for invalid data - string too long") + public void isValidDataForInvalidNode() { + JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() + .put("id", 3) + .put("currency", generateBigString(1)) + .put("date", "2020-10-10T00:00:00Z") + .put("HKD", 10.5) + .put("NZD", 1.14) + .build()); + + RedshiftSqlOperations uut = new RedshiftSqlOperations(); + boolean isValid = uut.isValidData(testNode); + assertEquals(false, isValid); + } + + @Test + @DisplayName("isValidData should return false for invalid data - total object too big") + public void isValidDataForInvalidObject() { + JsonNode testNode = Jsons.jsonNode(ImmutableMap.builder() + .put("key1", generateBigString(-1)) + .put("key2", generateBigString(-1)) + .put("key3", generateBigString(-1)) + .put("key4", generateBigString(-1)) + .put("key5", generateBigString(-1)) + .put("key6", generateBigString(-1)) + .put("key7", generateBigString(-1)) + .put("key8", generateBigString(-1)) + .put("key9", generateBigString(-1)) + .put("key10", generateBigString(-1)) + .put("key11", generateBigString(-1)) + .put("key12", generateBigString(-1)) + .put("key13", generateBigString(-1)) + .put("key14", generateBigString(-1)) + .put("key15", generateBigString(-1)) + .put("key16", generateBigString(-1)) + .put("key17", generateBigString(-1)) + .put("key18", generateBigString(-1)) + .put("key19", generateBigString(-1)) + .put("key20", generateBigString(-1)) + .build()); + + RedshiftSqlOperations uut = new RedshiftSqlOperations(); + boolean isValid = uut.isValidData(testNode); + assertEquals(false, isValid); + } } diff --git a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetDestination.java b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetDestination.java index 32f338b337b7..6aa685421abe 100644 --- a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetDestination.java +++ b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.rockset; diff --git a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetSQLNameTransformer.java b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetSQLNameTransformer.java index 2edf60143c6a..62b95153329e 100644 --- a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.rockset; diff --git a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetUtils.java b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetUtils.java index 9ec1dab6a850..a9be79edc183 100644 --- a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetUtils.java +++ b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.rockset; diff --git a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetWriteApiConsumer.java b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetWriteApiConsumer.java index 3822bf13e55a..06087c69f005 100644 --- a/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetWriteApiConsumer.java +++ b/airbyte-integrations/connectors/destination-rockset/src/main/java/io/airbyte/integrations/destination/rockset/RocksetWriteApiConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.rockset; diff --git a/airbyte-integrations/connectors/destination-rockset/src/test-integration/java/io/airbyte/integrations/destination/rockset/RocksetDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-rockset/src/test-integration/java/io/airbyte/integrations/destination/rockset/RocksetDestinationAcceptanceTest.java index a0efe58576ac..1cdc35181cae 100644 --- a/airbyte-integrations/connectors/destination-rockset/src/test-integration/java/io/airbyte/integrations/destination/rockset/RocksetDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-rockset/src/test-integration/java/io/airbyte/integrations/destination/rockset/RocksetDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.rockset; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryption.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryption.java index 1538951fd0f6..f6a81e10851e 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryption.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecorator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecorator.java index d62d748ca53c..3cbb9cb03b03 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecorator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecorator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobDecorator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobDecorator.java index 33ec4425b81b..3481fc5be7ff 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobDecorator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobDecorator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobStorageOperations.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobStorageOperations.java index a173a2a9e799..d131470e976e 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobStorageOperations.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/BlobStorageOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/EncryptionConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/EncryptionConfig.java index a4f746ee7d33..c63e5fa2a465 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/EncryptionConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/EncryptionConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/NoEncryption.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/NoEncryption.java index 91c6ffbdd018..a9e2663c2353 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/NoEncryption.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/NoEncryption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3ConsumerFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3ConsumerFactory.java index 88b641d8b423..24a5adea0caa 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3ConsumerFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3ConsumerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Destination.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Destination.java index f37d17f7fae5..7bb980af9334 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Destination.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Destination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfig.java index ac03abd8d16e..7c8044706f5d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfigFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfigFactory.java index a1a4cb4668ad..1b7c822ee54b 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfigFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConfigFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConstants.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConstants.java index 03f889bda857..c3b9013acb53 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConstants.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3DestinationConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Format.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Format.java index dae6d347d6c9..8a7e132c806e 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Format.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3Format.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfig.java index f2bc1d4b0246..88e1b124d16c 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfigs.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfigs.java index ba104a23dfc2..5c0a43be3d6a 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfigs.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3FormatConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3StorageOperations.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3StorageOperations.java index e2c3c3a553d5..091da9231465 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3StorageOperations.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/S3StorageOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/SerializedBufferFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/SerializedBufferFactory.java index 220e92a2cb9d..3d1552675026 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/SerializedBufferFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/SerializedBufferFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/WriteConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/WriteConfig.java index a8e908650c72..3eddd2e187cc 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/WriteConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/WriteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroConstants.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroConstants.java index 50b9012fbbd9..fb89be7c7143 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroConstants.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformer.java index b0481d53bbc2..c1873144aa9d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroRecordFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroRecordFactory.java index bc1f19321229..365c652eb13e 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroRecordFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroRecordFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBuffer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBuffer.java index 9f983d1b8aa5..b925df4b956a 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBuffer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdater.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdater.java index 1a4377b3bbc0..102e6b98507a 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdater.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdater.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonSchemaType.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonSchemaType.java index 8736dc0f00f3..e5121cdf0421 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonSchemaType.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonSchemaType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroSchemaConverter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroSchemaConverter.java index 379674ebecb2..73703c98ac11 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroSchemaConverter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroSchemaConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfig.java index 4905686eb906..3f8aae7ed646 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroWriter.java index a5a28f5347b7..ee32e54230f3 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/avro/S3AvroWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/BlobStorageCredentialConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/BlobStorageCredentialConfig.java index 2b95fe87f04a..6eedb235cd89 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/BlobStorageCredentialConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/BlobStorageCredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.credential; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3AccessKeyCredentialConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3AccessKeyCredentialConfig.java index d7cb0a562f99..f806c2a62328 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3AccessKeyCredentialConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3AccessKeyCredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.credential; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialConfig.java index 99aec90b639e..fcba996beedc 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.credential; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialType.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialType.java index f617cf761713..6c96c6f8273c 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialType.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3CredentialType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.credential; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3InstanceProfileCredentialConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3InstanceProfileCredentialConfig.java index e8b91cd81ad6..83df886c1abc 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3InstanceProfileCredentialConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/credential/S3InstanceProfileCredentialConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.credential; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/BaseSheetGenerator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/BaseSheetGenerator.java index 086e6182ba50..41b0b5539de1 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/BaseSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/BaseSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBuffer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBuffer.java index 0934213545ba..2a63471e2371 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBuffer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerator.java index f22c01d5b2b1..a5139f615a30 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerators.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerators.java index 0c682785fef9..b5fca483c218 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerators.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/CsvSheetGenerators.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGenerator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGenerator.java index a5c00bebd524..b62bbe105d37 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGenerator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGenerator.java index 4f466b736680..3f72ac27f144 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfig.java index 68991bc42335..4ca449379109 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriter.java index 831992850008..77116fcd1164 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/StagingDatabaseCsvSheetGenerator.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/StagingDatabaseCsvSheetGenerator.java index e194ebf7c7c0..27130ff8150a 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/StagingDatabaseCsvSheetGenerator.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/csv/StagingDatabaseCsvSheetGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBuffer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBuffer.java index cf9da23fb71a..1f0a177d1982 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBuffer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.jsonl; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfig.java index 49a0a9b5d00f..93c10dc677c2 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.jsonl; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlWriter.java index 79845e757254..9bff187613e8 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.jsonl; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBuffer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBuffer.java index 70daa4fad575..9ec576078861 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBuffer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBuffer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetConstants.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetConstants.java index 7343d5a700bf..b17aa6fe2de0 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetConstants.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfig.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfig.java index 8a245552a43b..88e389e65d9b 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfig.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetWriter.java index 678c6cef7816..8f86f4041e04 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/AvroRecordHelper.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/AvroRecordHelper.java index 56fa772159fc..63151d6cbf53 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/AvroRecordHelper.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/AvroRecordHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionType.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionType.java index b82a03d085d2..0af9dd4ca8bf 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionType.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelper.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelper.java index ec506158d009..b5a36ab84b1d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelper.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3NameTransformer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3NameTransformer.java index 6e64bf3204b8..f1fdb8b60ab5 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3NameTransformer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3NameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelper.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelper.java index d362cd5ed024..8dc5db52574c 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelper.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerHelper.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerHelper.java index 06b983132f17..8bcc3837b3d5 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerHelper.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerWithMetadata.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerWithMetadata.java index cbde9943e24e..6f97b8169073 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerWithMetadata.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/util/StreamTransferManagerWithMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/BaseS3Writer.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/BaseS3Writer.java index 86e48b2e6d6e..7d0fcda79bd4 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/BaseS3Writer.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/BaseS3Writer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationFileWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationFileWriter.java index e7e46d4f99e4..3dfaabdc6605 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationFileWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationFileWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationWriter.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationWriter.java index 35f35122f243..caf2a6d94314 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationWriter.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/DestinationWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/ProductionWriterFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/ProductionWriterFactory.java index 68fe1248759e..5f7679a3df5b 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/ProductionWriterFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/ProductionWriterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/S3WriterFactory.java b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/S3WriterFactory.java index 4db7d33c5a89..a5ff267ede79 100644 --- a/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/S3WriterFactory.java +++ b/airbyte-integrations/connectors/destination-s3/src/main/java/io/airbyte/integrations/destination/s3/writer/S3WriterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroDestinationAcceptanceTest.java index 42acf8d7ae3d..869e7b142a24 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroParquetTestDataComparator.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroParquetTestDataComparator.java index 7df36ff6b734..bebc239063c2 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroParquetTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3AvroParquetTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvDestinationAcceptanceTest.java index 3115dfb73ae6..0d9b7cdaf7cd 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvGzipDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvGzipDestinationAcceptanceTest.java index 9323bb578f71..9d04fdcb0de5 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvGzipDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3CsvGzipDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3DestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3DestinationAcceptanceTest.java index 21abc09870ab..51fef93df087 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3DestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3DestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlDestinationAcceptanceTest.java index a28a0b2b59dd..4801f3886585 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlGzipDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlGzipDestinationAcceptanceTest.java index 872516dbe912..b0df618b22bc 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlGzipDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3JsonlGzipDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3ParquetDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3ParquetDestinationAcceptanceTest.java index 6d2b2570ee41..fab39c0d3240 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3ParquetDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test-integration/java/io/airbyte/integrations/destination/s3/S3ParquetDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecoratorTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecoratorTest.java index d61a361625d9..4c583609b01c 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecoratorTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/AesCbcEnvelopeEncryptionBlobDecoratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/BlobDecoratorTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/BlobDecoratorTest.java index cf20c18351ab..759f2d65ff15 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/BlobDecoratorTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/BlobDecoratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationConfigTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationConfigTest.java index 22a6b4509b9d..e81900c78683 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationConfigTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationTest.java index 550bf0ae1bb6..edc75469de90 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3DestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3FormatConfigsTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3FormatConfigsTest.java index 25a0ce7a1bf0..99091c667850 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3FormatConfigsTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3FormatConfigsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3StorageOperationsTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3StorageOperationsTest.java index 64f0dec55a17..73cbc601bd0c 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3StorageOperationsTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/S3StorageOperationsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformerTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformerTest.java index 780502d769fb..f07e32e06f2f 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBufferTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBufferTest.java index 73f37adbe1bd..89a8db86c316 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBufferTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/AvroSerializedBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdaterTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdaterTest.java index 772a6110ef20..0334e33e7ae4 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdaterTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonFieldNameUpdaterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroConverterTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroConverterTest.java index 20ffbdd15c2a..290b4d543fb0 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroConverterTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/JsonToAvroConverterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfigTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfigTest.java index 7d4b23544bb3..96356a920b2b 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/avro/S3AvroFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.avro; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBufferTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBufferTest.java index 5758350a0ba2..34e096710976 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBufferTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/CsvSerializedBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGeneratorTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGeneratorTest.java index a265dbbed5af..2756dd7d4daf 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGeneratorTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/NoFlatteningSheetGeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGeneratorTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGeneratorTest.java index e05dc8f52a84..041a360cc685 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGeneratorTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/RootLevelFlatteningSheetGeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfigTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfigTest.java index db5bff339d43..81edbff96c36 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriterTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriterTest.java index c37de783b4cc..56e3a59b8db3 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriterTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/csv/S3CsvWriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.csv; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBufferTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBufferTest.java index 267fd0f953ac..3d7b1551aed7 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBufferTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/JsonLSerializedBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.jsonl; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfigTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfigTest.java index 60b411da50b7..e72d2336b30d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/jsonl/S3JsonlFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.jsonl; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBufferTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBufferTest.java index 67124ced6dd8..f025a0a0a8b9 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBufferTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/ParquetSerializedBufferTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfigTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfigTest.java index 024d905f4b26..0939e896401d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfigTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/parquet/S3ParquetFormatConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.parquet; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelperTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelperTest.java index e7a64e57ad9d..29eafb0a515d 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelperTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/CompressionTypeHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/ConfigTestUtils.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/ConfigTestUtils.java index f9bf6b1771c5..aa6764c62237 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/ConfigTestUtils.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/ConfigTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelperTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelperTest.java index 5751b2512f28..d5a4fce7d923 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelperTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/util/S3OutputPathHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.util; diff --git a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/writer/BaseS3WriterTest.java b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/writer/BaseS3WriterTest.java index c289730629f6..d5fd051eee91 100644 --- a/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/writer/BaseS3WriterTest.java +++ b/airbyte-integrations/connectors/destination-s3/src/test/java/io/airbyte/integrations/destination/s3/writer/BaseS3WriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.s3.writer; diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/__init__.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/__init__.py index b681df45f84e..4fa334b3fd62 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/__init__.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/destination.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/destination.py index 0705ec76e081..81c5c0423742 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/destination.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/destination_scaffold_destination_python/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/integration_tests/integration_test.py index ac63ebe36a53..0ca80eb91086 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/main.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/main.py index bcbe773a0799..1ab487aee973 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/main.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py index 4e2dbe001f95..28ce3e24d610 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scaffold-destination-python/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-scaffold-destination-python/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/destination-scaffold-destination-python/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-scaffold-destination-python/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaConfig.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaConfig.java index 7833e408ca33..801401a00141 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaConfig.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProvider.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProvider.java index 5ec345daceba..2a5fd6e1da9e 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProvider.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaDestination.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaDestination.java index 1fd5fdd03059..3a282b7425f7 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaDestination.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaMessageConsumer.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaMessageConsumer.java index b6f83fb761af..8cfbc7d0e94f 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaMessageConsumer.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaMessageConsumer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformer.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformer.java index 06e4611827df..39e92310840f 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformer.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaSessionPool.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaSessionPool.java index fa82736872aa..38f69b4c1407 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaSessionPool.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaSessionPool.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaStreamConfig.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaStreamConfig.java index 37004d4e9b60..aa2209a01e0f 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaStreamConfig.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/ScyllaStreamConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Triplet.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Triplet.java index 0735a7502aa4..4e5b420f54d5 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Triplet.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Triplet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Tuple.java b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Tuple.java index 0b1ee0177ad2..6a563a6d30b7 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Tuple.java +++ b/airbyte-integrations/connectors/destination-scylla/src/main/java/io/airbyte/integrations/destination/scylla/Tuple.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaContainerInitializr.java b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaContainerInitializr.java index 8313b56309c4..74cebb59a568 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaContainerInitializr.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaContainerInitializr.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProviderTest.java b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProviderTest.java index 29f2e7c513ee..55b026d5c503 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProviderTest.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaCqlProviderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationAcceptanceTest.java index 138566f8843e..95479b3bb44f 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationTest.java b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationTest.java index 9a55f43a29c6..21171a22bfeb 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationTest.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/ScyllaDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java index 4c26abda813f..40279a85cef4 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test-integration/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaConfigTest.java b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaConfigTest.java index 98328e5a1411..6bd590d08979 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaConfigTest.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformerTest.java b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformerTest.java index 5c1f82fbfcef..61d8568f6720 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/ScyllaNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java index 4378545da4bb..7bb2926b12cc 100644 --- a/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java +++ b/airbyte-integrations/connectors/destination-scylla/src/test/java/io/airbyte/integrations/destination/scylla/TestDataFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.scylla; diff --git a/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/client.py b/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/client.py index 885f519bcb36..9d7fb9392f06 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/client.py +++ b/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/destination.py b/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/destination.py index bbb1fc7601b4..aca87cc2b837 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/destination.py +++ b/airbyte-integrations/connectors/destination-sftp-json/destination_sftp_json/destination.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-sftp-json/integration_tests/integration_test.py b/airbyte-integrations/connectors/destination-sftp-json/integration_tests/integration_test.py index 612fce6fcd9c..165bb8233805 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/destination-sftp-json/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-sftp-json/main.py b/airbyte-integrations/connectors/destination-sftp-json/main.py index c2cb6a96c8bb..581015d27180 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/main.py +++ b/airbyte-integrations/connectors/destination-sftp-json/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-sftp-json/setup.py b/airbyte-integrations/connectors/destination-sftp-json/setup.py index 7c97c5a9a52b..a0117919072e 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/setup.py +++ b/airbyte-integrations/connectors/destination-sftp-json/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-sftp-json/unit_tests/unit_test.py b/airbyte-integrations/connectors/destination-sftp-json/unit_tests/unit_test.py index 93331b2932db..fc99664eb140 100644 --- a/airbyte-integrations/connectors/destination-sftp-json/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/destination-sftp-json/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/destination-snowflake/README.md b/airbyte-integrations/connectors/destination-snowflake/README.md index b57ab9ba2713..60e47af8335c 100644 --- a/airbyte-integrations/connectors/destination-snowflake/README.md +++ b/airbyte-integrations/connectors/destination-snowflake/README.md @@ -8,13 +8,15 @@ 1. Create a file at `secrets/config.json` with the following format: ``` { - "host": "ACCOUNT.REGION.PROVIDER.snowflakecomputing.com", + "host": "testhost.snowflakecomputing.com", "role": "AIRBYTE_ROLE", "warehouse": "AIRBYTE_WAREHOUSE", "database": "AIRBYTE_DATABASE", "schema": "AIRBYTE_SCHEMA", "username": "AIRBYTE_USER", - "password": "SOMEPASSWORD" + "credentials": { + "password": "test" + } } ``` @@ -25,7 +27,61 @@ Put the contents of the `Snowflake Integration Test Config` secret on LastPass u 1. Put the contents of the `destination snowflake - insert staging test creds` secret into `internal_staging_config.json`. 1. Put the contents of the `destination snowflake - gcs copy test creds` secret into `secrets/copy_gcs_config.json` 1. Put the contents of the `destination snowflake - s3 copy test creds` secret into `secrets/copy_s3_config.json` +1. Put the contents of the `destination snowflake - s3 copy encrypted test creds` secret into `secrets/copy_s3_encrypted_config.json` 1. Put the contents of the `destination snowflake - azure blob copy test creds` secret into `secrets/copy_azure_blob_config.json` 1. Put the contents of the `destination snowflake - s3 copy encrypted test creds` secret into `secrets/copy_s3_encrypted_config.json` The query timeout for insert data to table has been updated from 30 minutes to 3 hours. + +## Setting up an integration user + +Here is the SQL to make an integration environment in Snowflake for this destination via an ACCOUNTADMIN. Be sure to give a real password. + +```sql +CREATE WAREHOUSE INTEGRATION_TEST_WAREHOUSE_DESTINATION WITH WAREHOUSE_SIZE = 'XSMALL' WAREHOUSE_TYPE = 'STANDARD' AUTO_SUSPEND = 600 AUTO_RESUME = TRUE; + +CREATE DATABASE INTEGRATION_TEST_DESTINATION; +CREATE SCHEMA INTEGRATION_TEST_DESTINATION.RESTRICTED_SCHEMA; + +CREATE ROLE INTEGRATION_TESTER_DESTINATION; + +# put real bucket name here and remove this comment +CREATE STORAGE INTEGRATION IF NOT EXISTS GCS_AIRBYTE_INTEGRATION + TYPE = EXTERNAL_STAGE + STORAGE_PROVIDER = GCS + ENABLED = TRUE + STORAGE_ALLOWED_LOCATIONS = ('gcs://bucketname'); + +# put real bucket name here and remove this comment +CREATE STAGE IF NOT EXISTS GCS_AIRBYTE_STAGE + url = 'gcs://bucketname' + storage_integration = GCS_AIRBYTE_INTEGRATION; + +GRANT ALL PRIVILEGES ON WAREHOUSE INTEGRATION_TEST_WAREHOUSE_DESTINATION TO ROLE INTEGRATION_TESTER_DESTINATION; +GRANT ALL PRIVILEGES ON DATABASE INTEGRATION_TEST_DESTINATION TO ROLE INTEGRATION_TESTER_DESTINATION; + +GRANT ALL PRIVILEGES ON FUTURE SCHEMAS IN DATABASE INTEGRATION_TEST_DESTINATION TO ROLE INTEGRATION_TESTER_DESTINATION; +GRANT ALL PRIVILEGES ON FUTURE TABLES IN DATABASE INTEGRATION_TEST_DESTINATION TO ROLE INTEGRATION_TESTER_DESTINATION; + +GRANT USAGE ON INTEGRATION GCS_AIRBYTE_INTEGRATION TO ROLE INTEGRATION_TESTER_DESTINATION; +GRANT USAGE ON STAGE GCS_AIRBYTE_STAGE TO ROLE INTEGRATION_TESTER_DESTINATION; + +# Add real password here and remove this comment +CREATE USER INTEGRATION_TEST_USER_DESTINATION PASSWORD='test' DEFAULT_ROLE=INTEGRATION_TESTER_DESTINATION DEFAULT_WAREHOUSE=INTEGRATION_TEST_WAREHOUSE_DESTINATION MUST_CHANGE_PASSWORD=false; + +GRANT ROLE INTEGRATION_TESTER_DESTINATION TO USER INTEGRATION_TEST_USER_DESTINATION; + +CREATE SCHEMA INTEGRATION_TEST_DESTINATION.TEST_SCHEMA; + +DESC STORAGE INTEGRATION GCS_AIRBYTE_INTEGRATION; +``` + +That last query (`DESC STORAGE`) will show a `STORAGE_GCP_SERVICE_ACCOUNT` property with an email as the property value. Add read/write permissions to your bucket with that email if it's not already there. + +If you ever need to start over, use this: +```sql +DROP DATABASE IF EXISTS INTEGRATION_TEST_DESTINATION; +DROP USER IF EXISTS INTEGRATION_TEST_USER_DESTINATION; +DROP ROLE IF EXISTS INTEGRATION_TESTER_DESTINATION; +DROP WAREHOUSE IF EXISTS INTEGRATION_TEST_WAREHOUSE_DESTINATION; +``` \ No newline at end of file diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopier.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopier.java index 081f4025f0a5..716e6eb28722 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopier.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopierFactory.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopierFactory.java index 97fdd780436c..8b943db4a705 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStorageStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyAzureBlobStorageDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyAzureBlobStorageDestination.java index 311d2ab40756..6eecd117b388 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyAzureBlobStorageDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyAzureBlobStorageDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyGcsDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyGcsDestination.java index 8f014ff19f77..7362bee85a50 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyGcsDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeCopyGcsDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDatabase.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDatabase.java index fcd41de74e48..13bcc3c49283 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDatabase.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.java index 4fe7030811f4..eb2080c1c360 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationResolver.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationResolver.java index 2145eee51628..bc3edc4a0383 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationResolver.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationResolver.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopier.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopier.java index 61a0d7d35724..06a23b29e7c1 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopier.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopierFactory.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopierFactory.java index 19a2f5e016a0..b08af2b87ef8 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsStreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestination.java index dbe75b00fbe7..1c394eeed505 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java index 02d7847c91fa..eecb1cacd6e6 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperations.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperations.java index 9c0fb55916f8..0dbf747efd7a 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperations.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeParallelCopyStreamCopier.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeParallelCopyStreamCopier.java index abd495f26b8c..8754557c6596 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeParallelCopyStreamCopier.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeParallelCopyStreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingDestination.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingDestination.java index ab302c79a5ff..b8e949fdb5f9 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingDestination.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperations.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperations.java index a09cc2b6e49a..29f4fbb5877d 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperations.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java index e524f0b2e982..2bf16feba612 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java index 52d203e660a3..d31927e5011a 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSQLNameTransformer.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSQLNameTransformer.java index 86a2c0f14269..dae0335b767e 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSQLNameTransformer.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSQLNameTransformer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java index ef4be90e93df..1043cfb2d68e 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/main/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobCopyDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobCopyDestinationAcceptanceTest.java index edbf4202994c..7b0ca305297f 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobCopyDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobCopyDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationIntegrationTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationIntegrationTest.java index 5b54f81f1b1e..33491e888667 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationIntegrationTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsCopyDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsCopyDestinationAcceptanceTest.java index c4d8c51b09ce..1e8e5863d5db 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsCopyDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeGcsCopyDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestinationAcceptanceTest.java index ca170706647a..aa5cfb450be1 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInsertDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestinationAcceptanceTest.java index 05f448304c92..fa33f5c97cc5 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyDestinationAcceptanceTest.java index 7c2c3a9cc137..84af0e20938f 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyEncryptedDestinationAcceptanceTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyEncryptedDestinationAcceptanceTest.java index 848fd8329e0b..2fba654e1c02 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyEncryptedDestinationAcceptanceTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3CopyEncryptedDestinationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestDataComparator.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestDataComparator.java index 6c734476e478..59bc0b80c051 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestDataComparator.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestDataComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestSourceOperations.java b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestSourceOperations.java index 11f7a333839a..f2958524dcdf 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestSourceOperations.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test-integration/java/io/airbyte/integrations/destination/snowflake/SnowflakeTestSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStreamCopierTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStreamCopierTest.java index bf6063ef81a6..bf5a7b5bc35e 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeAzureBlobStreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationTest.java index cd7f376b84dd..45f69d7b90e9 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeDestinationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeGCSStreamCopierTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeGCSStreamCopierTest.java index b014919448d7..30b65bf69c5c 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeGCSStreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeGCSStreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperationsTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperationsTest.java index df40e263721b..77385c67fce0 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperationsTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeInternalStagingSqlOperationsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperationsTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperationsTest.java index 7d1b10ab430a..b04114183cb5 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperationsTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StagingSqlOperationsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierTest.java index 4ae1bc9c32db..9e5e555a6a2a 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeS3StreamCopierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlNameTransformerTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlNameTransformerTest.java index 133d5c050cac..7adc961bffc8 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlNameTransformerTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlNameTransformerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperationsTest.java b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperationsTest.java index bd0674bdbddf..a5b08cd5d4aa 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperationsTest.java +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/java/io/airbyte/integrations/destination/snowflake/SnowflakeSqlOperationsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.destination.snowflake; diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/config.json new file mode 100644 index 000000000000..b7db8623d33b --- /dev/null +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/config.json @@ -0,0 +1,11 @@ +{ + "host": "testhost.snowflakecomputing.com", + "role": "AIRBYTE_ROLE", + "warehouse": "AIRBYTE_WAREHOUSE", + "database": "AIRBYTE_DATABASE", + "schema": "RESTRICTED_SCHEMA", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + } +} diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_azure_blog_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_azure_blog_config.json new file mode 100644 index 000000000000..32c9b8e067bb --- /dev/null +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_azure_blog_config.json @@ -0,0 +1,18 @@ +{ + "host": "testhost.snowflakecomputing.com", + "role": "AIRBYTE_ROLE", + "warehouse": "AIRBYTE_WAREHOUSE", + "database": "AIRBYTE_DATABASE", + "schema": "AIRBYTE_SCHEMA", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + }, + "loading_method": { + "method": "Azure Blob Staging", + "azure_blob_storage_account_name": "account", + "azure_blob_storage_endpoint_domain_name": "blob.core.windows.net", + "azure_blob_storage_container_name": "snowflake-container", + "azure_blob_storage_sas_token": "token" + } +} diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_gcs_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_gcs_config.json index b95bd0ede782..3bcf98a5736d 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_gcs_config.json +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_gcs_config.json @@ -1,11 +1,13 @@ { - "host": "test.us-east-2.aws", + "host": "testhost.snowflakecomputing.com", "role": "AIRBYTE_ROLE", "warehouse": "AIRBYTE_WAREHOUSE", "database": "AIRBYTE_DATABASE", "schema": "AIRBYTE_SCHEMA", - "username": "AIRBYTE_USERNAME_TEST", - "password": "test", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + }, "loading_method": { "method": "GCS Staging", "project_id": "test", diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_config.json index 8e41cce8879c..cd982b0f2805 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_config.json +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_config.json @@ -1,11 +1,13 @@ { - "host": "test.us-east-2.aws", + "host": "testhost.snowflakecomputing.com", "role": "AIRBYTE_ROLE", "warehouse": "AIRBYTE_WAREHOUSE", "database": "AIRBYTE_DATABASE", "schema": "AIRBYTE_SCHEMA", - "username": "AIRBYTE_USERNAME_TEST", - "password": "test", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + }, "loading_method": { "method": "S3 Staging", "s3_bucket_name": "airbyte-snowflake-integration-tests", diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_encrypted_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_encrypted_config.json new file mode 100644 index 000000000000..da8a8cbe1927 --- /dev/null +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/copy_s3_encrypted_config.json @@ -0,0 +1,22 @@ +{ + "host": "testhost.snowflakecomputing.com", + "role": "AIRBYTE_ROLE", + "warehouse": "AIRBYTE_WAREHOUSE", + "database": "AIRBYTE_DATABASE", + "schema": "AIRBYTE_SCHEMA", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + }, + "loading_method": { + "method": "S3 Staging", + "s3_bucket_name": "airbyte-snowflake-integration-tests", + "s3_bucket_region": "us-east-2", + "access_key_id": "test", + "secret_access_key": "test", + "part_size": 5, + "encryption": { + "encryption_type": "aes_cbc_envelope" + } + } +} diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/insert_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/insert_config.json index 6f5ec2e7c8a8..dd4d388f3af1 100644 --- a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/insert_config.json +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/insert_config.json @@ -4,6 +4,8 @@ "warehouse": "AIRBYTE_WAREHOUSE", "database": "AIRBYTE_DATABASE", "schema": "AIRBYTE_SCHEMA", - "username": "AIRBYTE_INTEGRATION_TEST", - "password": "testPass" + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + } } diff --git a/airbyte-integrations/connectors/destination-snowflake/src/test/resources/internal_staging_config.json b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/internal_staging_config.json new file mode 100644 index 000000000000..1af71ab28c97 --- /dev/null +++ b/airbyte-integrations/connectors/destination-snowflake/src/test/resources/internal_staging_config.json @@ -0,0 +1,14 @@ +{ + "host": "testhost.snowflakecomputing.com", + "role": "AIRBYTE_ROLE", + "warehouse": "AIRBYTE_WAREHOUSE", + "database": "AIRBYTE_DATABASE", + "schema": "AIRBYTE_SCHEMA", + "username": "AIRBYTE_USER", + "credentials": { + "password": "test" + }, + "loading_method": { + "method": "Internal Staging" + } +} diff --git a/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-airtable/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-airtable/main.py b/airbyte-integrations/connectors/source-airtable/main.py index 8f9444c11464..bfbccaf1ea57 100644 --- a/airbyte-integrations/connectors/source-airtable/main.py +++ b/airbyte-integrations/connectors/source-airtable/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-airtable/setup.py b/airbyte-integrations/connectors/source-airtable/setup.py index 30fc95dc88a6..0e7ced22fe22 100644 --- a/airbyte-integrations/connectors/source-airtable/setup.py +++ b/airbyte-integrations/connectors/source-airtable/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-airtable/source_airtable/helpers.py b/airbyte-integrations/connectors/source-airtable/source_airtable/helpers.py index 714a10dbf643..b571a42b101d 100644 --- a/airbyte-integrations/connectors/source-airtable/source_airtable/helpers.py +++ b/airbyte-integrations/connectors/source-airtable/source_airtable/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-airtable/source_airtable/source.py b/airbyte-integrations/connectors/source-airtable/source_airtable/source.py index c7aca043ccef..32f17b1590a4 100644 --- a/airbyte-integrations/connectors/source-airtable/source_airtable/source.py +++ b/airbyte-integrations/connectors/source-airtable/source_airtable/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-airtable/unit_tests/conftest.py b/airbyte-integrations/connectors/source-airtable/unit_tests/conftest.py index 68e63dfab0a8..09cc0925179e 100644 --- a/airbyte-integrations/connectors/source-airtable/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-airtable/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-airtable/unit_tests/test_helpers.py b/airbyte-integrations/connectors/source-airtable/unit_tests/test_helpers.py index 75f051ce0d31..589c0dcfe99c 100644 --- a/airbyte-integrations/connectors/source-airtable/unit_tests/test_helpers.py +++ b/airbyte-integrations/connectors/source-airtable/unit_tests/test_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-airtable/unit_tests/test_source.py b/airbyte-integrations/connectors/source-airtable/unit_tests/test_source.py index 04906f3b610d..33adb61820f6 100644 --- a/airbyte-integrations/connectors/source-airtable/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-airtable/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock, patch diff --git a/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml b/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml index f20b0cbf5b1c..e5c5223f6961 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-amazon-ads/acceptance-test-config.yml @@ -22,7 +22,7 @@ tests: extra_fields: no exact_order: no extra_records: no - timeout_seconds: 600 + timeout_seconds: 900 - config_path: "secrets/config.json" configured_catalog_path: "integration_tests/configured_catalog_sponsored_display.json" empty_streams: ["sponsored_display_targetings"] @@ -34,6 +34,6 @@ tests: full_refresh: - config_path: "secrets/config_test_account.json" configured_catalog_path: "integration_tests/configured_catalog.json" - timeout_seconds: 1500 + timeout_seconds: 1800 - config_path: "secrets/config.json" configured_catalog_path: "integration_tests/configured_catalog_sponsored_display.json" diff --git a/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-ads/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-ads/main.py b/airbyte-integrations/connectors/source-amazon-ads/main.py index 1d56bfc5231a..013bac373446 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/main.py +++ b/airbyte-integrations/connectors/source-amazon-ads/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-ads/setup.py b/airbyte-integrations/connectors/source-amazon-ads/setup.py index 8fe44f74e5b5..3c7d5d5e9732 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/setup.py +++ b/airbyte-integrations/connectors/source-amazon-ads/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/constants.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/constants.py index e5ab6f8b3957..0d422403b0bb 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/constants.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from enum import Enum diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/common.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/common.py index 840c2c17588c..2303c24353b1 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/common.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/profile.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/profile.py index 7f06836bdd9e..97307672f539 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/profile.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/profile.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_brands.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_brands.py index fabb010756ef..be1d4f6588c1 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_brands.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_brands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_display.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_display.py index 7337c8788e18..881d186769d8 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_display.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_display.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_products.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_products.py index 66900416af18..ecf9f9f7988c 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_products.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/schemas/sponsored_products.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/source.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/source.py index 1d836efff447..dc20266eb346 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/source.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/spec.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/spec.py index c814ba687a5f..bf7a598f0791 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/spec.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/common.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/common.py index bdeacf5cdb0d..c983af4e9587 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/common.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/profiles.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/profiles.py index 3e5b1650dc83..61f4dd84836e 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/profiles.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/profiles.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, List, Mapping diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_report.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_report.py index be4d1c0fc26f..06f1f9ccfc62 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_report.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from .report_streams import ReportStream diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_video_report.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_video_report.py index 83d42554c4b2..12dd7017f146 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_video_report.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/brands_video_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from .report_streams import ReportStream diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/display_report.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/display_report.py index ebcaaedfcd2a..1dbd7156df48 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/display_report.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/display_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from enum import Enum diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/products_report.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/products_report.py index 8da6b2037a97..b81141a95d7c 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/products_report.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/products_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/report_streams.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/report_streams.py index dcbd8943ba36..369137d387a5 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/report_streams.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/report_streams/report_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_brands.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_brands.py index b6b39070d3af..d2b69fda42a6 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_brands.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_brands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_amazon_ads.schemas import BrandsAdGroup, BrandsCampaign diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_display.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_display.py index ea9546a113f8..ae3eb1d8ad24 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_display.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_display.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_amazon_ads.schemas import DisplayAdGroup, DisplayCampaign, DisplayProductAds, DisplayTargeting diff --git a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_products.py b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_products.py index 1c69bb3bb5bb..444b7eb4ff44 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_products.py +++ b/airbyte-integrations/connectors/source-amazon-ads/source_amazon_ads/streams/sponsored_products.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_amazon_ads.schemas import Keywords, NegativeKeywords, ProductAd, ProductAdGroups, ProductCampaign, ProductTargeting diff --git a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/conftest.py b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/conftest.py index 0a08432ad3be..a774e5e53153 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_report_streams.py b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_report_streams.py index 3c4ca65f3f89..07d3b51b7c10 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_report_streams.py +++ b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_report_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_source.py b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_source.py index c304d01cdd92..812cd676dca7 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import responses diff --git a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_streams.py index 6d9c98a6ddc7..2de4fe0a5611 100644 --- a/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-amazon-ads/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/main.py b/airbyte-integrations/connectors/source-amazon-seller-partner/main.py index 6359ad8e270e..c49f02b26c56 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/main.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/setup.py b/airbyte-integrations/connectors/source-amazon-seller-partner/setup.py index cfd866ce5167..cf803280fc8e 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/setup.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py index b30ed7a8c52d..135f4d9906d4 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import hashlib diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/constants.py b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/constants.py index 313271028d50..3097cec7b8dc 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/constants.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # """ diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py index 89aa3cf56c22..14c9e74d78fc 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py index 86eed973d3fa..ae21b0dfe846 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/source_amazon_seller_partner/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_reports_streams_rate_limits.py b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_reports_streams_rate_limits.py index 222a97274da6..7b31d4341450 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_reports_streams_rate_limits.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_reports_streams_rate_limits.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_source.py b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_source.py index ca2690c7e4a7..81156d1c3796 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_transform_function.py b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_transform_function.py index 160dedee9fcb..9a5e7be02555 100644 --- a/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_transform_function.py +++ b/airbyte-integrations/connectors/source-amazon-seller-partner/unit_tests/test_transform_function.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-sqs/main.py b/airbyte-integrations/connectors/source-amazon-sqs/main.py index 44544efe727c..9e8101b22d2d 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/main.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-sqs/setup.py b/airbyte-integrations/connectors/source-amazon-sqs/setup.py index 2379bb4c07ce..3c124cc3854b 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/setup.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-sqs/source_amazon_sqs/source.py b/airbyte-integrations/connectors/source-amazon-sqs/source_amazon_sqs/source.py index 280f0f9488b1..6c71470a9e03 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/source_amazon_sqs/source.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/source_amazon_sqs/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amazon-sqs/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-amazon-sqs/unit_tests/unit_test.py index fdaeed172a07..2b3ead8fc352 100644 --- a/airbyte-integrations/connectors/source-amazon-sqs/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-amazon-sqs/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py index e946df03c937..480378d7bf20 100644 --- a/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-amplitude/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amplitude/main.py b/airbyte-integrations/connectors/source-amplitude/main.py index 81cadf7ebd1c..0490e0e59b85 100644 --- a/airbyte-integrations/connectors/source-amplitude/main.py +++ b/airbyte-integrations/connectors/source-amplitude/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amplitude/setup.py b/airbyte-integrations/connectors/source-amplitude/setup.py index 5a0c75710ea0..53f876e2687d 100644 --- a/airbyte-integrations/connectors/source-amplitude/setup.py +++ b/airbyte-integrations/connectors/source-amplitude/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py b/airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py index 0c1ba40d5004..d3222cca9829 100644 --- a/airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py +++ b/airbyte-integrations/connectors/source-amplitude/source_amplitude/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amplitude/source_amplitude/errors.py b/airbyte-integrations/connectors/source-amplitude/source_amplitude/errors.py index 037dd7f6401b..b1572995dbbb 100644 --- a/airbyte-integrations/connectors/source-amplitude/source_amplitude/errors.py +++ b/airbyte-integrations/connectors/source-amplitude/source_amplitude/errors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-amplitude/source_amplitude/source.py b/airbyte-integrations/connectors/source-amplitude/source_amplitude/source.py index c5327dd4324d..51552b3e9036 100644 --- a/airbyte-integrations/connectors/source-amplitude/source_amplitude/source.py +++ b/airbyte-integrations/connectors/source-amplitude/source_amplitude/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from base64 import b64encode diff --git a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_api.py b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_api.py index ef3bfd2844e4..8c73b502f045 100644 --- a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_api.py +++ b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_errors.py b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_errors.py index f691390f40ec..b249e4148fd3 100755 --- a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_errors.py +++ b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_errors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_source.py b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_source.py index d22bbc71846a..f1a7731cc401 100644 --- a/airbyte-integrations/connectors/source-amplitude/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-amplitude/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-apify-dataset/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-apify-dataset/main.py b/airbyte-integrations/connectors/source-apify-dataset/main.py index bfe99c0a8112..c07dd2721a29 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/main.py +++ b/airbyte-integrations/connectors/source-apify-dataset/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-apify-dataset/setup.py b/airbyte-integrations/connectors/source-apify-dataset/setup.py index 253bb1ee5cfa..8a67515bbd2d 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/setup.py +++ b/airbyte-integrations/connectors/source-apify-dataset/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-apify-dataset/source_apify_dataset/source.py b/airbyte-integrations/connectors/source-apify-dataset/source_apify_dataset/source.py index 0cf4c6f9b7af..efc026e654b1 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/source_apify_dataset/source.py +++ b/airbyte-integrations/connectors/source-apify-dataset/source_apify_dataset/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import concurrent.futures diff --git a/airbyte-integrations/connectors/source-apify-dataset/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-apify-dataset/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-apify-dataset/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-apify-dataset/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-appsflyer/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appsflyer/main.py b/airbyte-integrations/connectors/source-appsflyer/main.py index 779916e11255..138ee8e7c75a 100644 --- a/airbyte-integrations/connectors/source-appsflyer/main.py +++ b/airbyte-integrations/connectors/source-appsflyer/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appsflyer/setup.py b/airbyte-integrations/connectors/source-appsflyer/setup.py index b78170f7aa5d..4f8c6c9cc829 100644 --- a/airbyte-integrations/connectors/source-appsflyer/setup.py +++ b/airbyte-integrations/connectors/source-appsflyer/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/daily_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/daily_report.py index bfdacd290a8d..ed056197a323 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/daily_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/daily_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/geo_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/geo_report.py index b08ef7597fca..a6aab7c79481 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/geo_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/geo_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/partners_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/partners_report.py index dd36a51b3fc3..e18148fdeb5e 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/partners_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/partners_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/raw_data.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/raw_data.py index e91adb0c1b85..53061b3758d6 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/raw_data.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/raw_data.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_daily_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_daily_report.py index 0772d976b744..edab68355f46 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_daily_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_daily_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_geo_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_geo_report.py index a9427f72b1e1..6eccc0742d53 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_geo_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_geo_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_partners_report.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_partners_report.py index 9fc160e85f77..eeb363c2f1e8 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_partners_report.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/retargeting_partners_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/uninstall_events.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/uninstall_events.py index 22ac4927f5b8..cd95b3c6751b 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/uninstall_events.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/fields/uninstall_events.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # This order matters diff --git a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/source.py b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/source.py index a22fb73bd807..c273ca287021 100644 --- a/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/source.py +++ b/airbyte-integrations/connectors/source-appsflyer/source_appsflyer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import csv diff --git a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_incremental_streams.py index 06f9cebc729d..50f890165cb4 100644 --- a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_source.py b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_source.py index eacfb10c0af2..958914dc71eb 100644 --- a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_streams.py index f23d2b30b24c..bb1a3255e654 100644 --- a/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-appsflyer/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-appstore-singer/main.py b/airbyte-integrations/connectors/source-appstore-singer/main.py index 38c9705f5bcd..da76eb4b542a 100644 --- a/airbyte-integrations/connectors/source-appstore-singer/main.py +++ b/airbyte-integrations/connectors/source-appstore-singer/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appstore-singer/setup.py b/airbyte-integrations/connectors/source-appstore-singer/setup.py index 877b38905fa6..9b6f3284ce24 100644 --- a/airbyte-integrations/connectors/source-appstore-singer/setup.py +++ b/airbyte-integrations/connectors/source-appstore-singer/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appstore-singer/source_appstore_singer/source.py b/airbyte-integrations/connectors/source-appstore-singer/source_appstore_singer/source.py index 25712b2548d0..b23efedfaf2d 100644 --- a/airbyte-integrations/connectors/source-appstore-singer/source_appstore_singer/source.py +++ b/airbyte-integrations/connectors/source-appstore-singer/source_appstore_singer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-appstore-singer/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-appstore-singer/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-appstore-singer/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-appstore-singer/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-asana/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-asana/main.py b/airbyte-integrations/connectors/source-asana/main.py index 0757c48c6fda..f2c818f1da5e 100644 --- a/airbyte-integrations/connectors/source-asana/main.py +++ b/airbyte-integrations/connectors/source-asana/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-asana/setup.py b/airbyte-integrations/connectors/source-asana/setup.py index 34267a542dc9..d355b1c993f7 100644 --- a/airbyte-integrations/connectors/source-asana/setup.py +++ b/airbyte-integrations/connectors/source-asana/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-asana/source_asana/oauth.py b/airbyte-integrations/connectors/source-asana/source_asana/oauth.py index 0b93e4d74aee..3c6cd2a80ee4 100644 --- a/airbyte-integrations/connectors/source-asana/source_asana/oauth.py +++ b/airbyte-integrations/connectors/source-asana/source_asana/oauth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Tuple diff --git a/airbyte-integrations/connectors/source-asana/source_asana/source.py b/airbyte-integrations/connectors/source-asana/source_asana/source.py index fa5347c5a369..4b82cb45e4ea 100644 --- a/airbyte-integrations/connectors/source-asana/source_asana/source.py +++ b/airbyte-integrations/connectors/source-asana/source_asana/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-asana/source_asana/streams.py b/airbyte-integrations/connectors/source-asana/source_asana/streams.py index 03f902df6b44..78b30294a151 100644 --- a/airbyte-integrations/connectors/source-asana/source_asana/streams.py +++ b/airbyte-integrations/connectors/source-asana/source_asana/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from __future__ import annotations diff --git a/airbyte-integrations/connectors/source-asana/unit_tests/test_oauth.py b/airbyte-integrations/connectors/source-asana/unit_tests/test_oauth.py index e473ad1a6692..da39d1a6ac73 100644 --- a/airbyte-integrations/connectors/source-asana/unit_tests/test_oauth.py +++ b/airbyte-integrations/connectors/source-asana/unit_tests/test_oauth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-asana/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-asana/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-asana/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-asana/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/main.py b/airbyte-integrations/connectors/source-aws-cloudtrail/main.py index e2931eea0794..6780e61f8a99 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/main.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py b/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py index 0ec2e3718935..21615878b89f 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/source_aws_cloudtrail/source.py b/airbyte-integrations/connectors/source-aws-cloudtrail/source_aws_cloudtrail/source.py index 9bc8cfae4e1c..58cb77f3faa4 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/source_aws_cloudtrail/source.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/source_aws_cloudtrail/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-aws-cloudtrail/unit_tests/test_event_stream_slices.py b/airbyte-integrations/connectors/source-aws-cloudtrail/unit_tests/test_event_stream_slices.py index 4c1c6080ddc0..07ba3718e637 100644 --- a/airbyte-integrations/connectors/source-aws-cloudtrail/unit_tests/test_event_stream_slices.py +++ b/airbyte-integrations/connectors/source-aws-cloudtrail/unit_tests/test_event_stream_slices.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from itertools import islice diff --git a/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-azure-table/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-azure-table/main.py b/airbyte-integrations/connectors/source-azure-table/main.py index 90e389de12a5..2500a55f7189 100644 --- a/airbyte-integrations/connectors/source-azure-table/main.py +++ b/airbyte-integrations/connectors/source-azure-table/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-azure-table/setup.py b/airbyte-integrations/connectors/source-azure-table/setup.py index 6142a1c3923d..b20c67685965 100644 --- a/airbyte-integrations/connectors/source-azure-table/setup.py +++ b/airbyte-integrations/connectors/source-azure-table/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-azure-table/source_azure_table/constants.py b/airbyte-integrations/connectors/source-azure-table/source_azure_table/constants.py index 8a48585b4a59..6b50ed939c75 100644 --- a/airbyte-integrations/connectors/source-azure-table/source_azure_table/constants.py +++ b/airbyte-integrations/connectors/source-azure-table/source_azure_table/constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # azure_storage_account_name_key_name = "storage_account_name" diff --git a/airbyte-integrations/connectors/source-azure-table/source_azure_table/reader.py b/airbyte-integrations/connectors/source-azure-table/source_azure_table/reader.py index 8b1444eaeade..8bc29d12d41f 100644 --- a/airbyte-integrations/connectors/source-azure-table/source_azure_table/reader.py +++ b/airbyte-integrations/connectors/source-azure-table/source_azure_table/reader.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-azure-table/source_azure_table/source.py b/airbyte-integrations/connectors/source-azure-table/source_azure_table/source.py index af57df513251..08964b43aae1 100644 --- a/airbyte-integrations/connectors/source-azure-table/source_azure_table/source.py +++ b/airbyte-integrations/connectors/source-azure-table/source_azure_table/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-azure-table/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-azure-table/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-azure-table/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-azure-table/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bamboo-hr/main.py b/airbyte-integrations/connectors/source-bamboo-hr/main.py index 9dc72c8bf3d5..96d204f2e55e 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/main.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bamboo-hr/setup.py b/airbyte-integrations/connectors/source-bamboo-hr/setup.py index 9830ffd66d1e..729180812e43 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/setup.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bamboo-hr/source_bamboo_hr/source.py b/airbyte-integrations/connectors/source-bamboo-hr/source_bamboo_hr/source.py index 93156a5cd97c..d262d6d3e05c 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/source_bamboo_hr/source.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/source_bamboo_hr/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bamboo-hr/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-bamboo-hr/unit_tests/unit_test.py index aa593ce3bba0..c7ae21fda467 100644 --- a/airbyte-integrations/connectors/source-bamboo-hr/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-bamboo-hr/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bigcommerce/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bigcommerce/main.py b/airbyte-integrations/connectors/source-bigcommerce/main.py index 04fe99f46639..4c82ab2b1f2e 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/main.py +++ b/airbyte-integrations/connectors/source-bigcommerce/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bigcommerce/setup.py b/airbyte-integrations/connectors/source-bigcommerce/setup.py index 399889173652..ba80263df970 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/setup.py +++ b/airbyte-integrations/connectors/source-bigcommerce/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bigcommerce/source_bigcommerce/source.py b/airbyte-integrations/connectors/source-bigcommerce/source_bigcommerce/source.py index 2b7c62c403fa..4c23e6d72779 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/source_bigcommerce/source.py +++ b/airbyte-integrations/connectors/source-bigcommerce/source_bigcommerce/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bigcommerce/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-bigcommerce/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-bigcommerce/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-bigcommerce/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bigquery/src/main/java/io/airbyte/integrations/source/bigquery/BigQuerySource.java b/airbyte-integrations/connectors/source-bigquery/src/main/java/io/airbyte/integrations/source/bigquery/BigQuerySource.java index 51d849295bdf..4ec30fa12140 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/main/java/io/airbyte/integrations/source/bigquery/BigQuerySource.java +++ b/airbyte-integrations/connectors/source-bigquery/src/main/java/io/airbyte/integrations/source/bigquery/BigQuerySource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/AbstractBigQuerySourceTest.java b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/AbstractBigQuerySourceTest.java index 05d87d840cc5..e4901436bc8e 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/AbstractBigQuerySourceTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/AbstractBigQuerySourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceAcceptanceTest.java b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceAcceptanceTest.java index cfaf256c126a..b5e2df7778cd 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceDatatypeTest.java b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceDatatypeTest.java index 12bc13c2d146..05bc5b55ccff 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceEscapeColumnNameTest.java b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceEscapeColumnNameTest.java index 60d7e4ad7094..71098636a5c4 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceEscapeColumnNameTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQuerySourceEscapeColumnNameTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQueryStructureSourceTest.java b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQueryStructureSourceTest.java index 3445cfb7a4ae..2492c597e62e 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQueryStructureSourceTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test-integration/java/io/airbyte/integrations/source/bigquery/BigQueryStructureSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bigquery/src/test/java/io/airbyte/integrations/source/bigquery/BigQuerySourceTest.java b/airbyte-integrations/connectors/source-bigquery/src/test/java/io/airbyte/integrations/source/bigquery/BigQuerySourceTest.java index df616266ba45..306eddcc6612 100644 --- a/airbyte-integrations/connectors/source-bigquery/src/test/java/io/airbyte/integrations/source/bigquery/BigQuerySourceTest.java +++ b/airbyte-integrations/connectors/source-bigquery/src/test/java/io/airbyte/integrations/source/bigquery/BigQuerySourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.bigquery; diff --git a/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-bing-ads/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bing-ads/main.py b/airbyte-integrations/connectors/source-bing-ads/main.py index b3c738bd64c7..8db0b49c0acb 100644 --- a/airbyte-integrations/connectors/source-bing-ads/main.py +++ b/airbyte-integrations/connectors/source-bing-ads/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bing-ads/setup.py b/airbyte-integrations/connectors/source-bing-ads/setup.py index 897671c508de..6ebf94d3eae5 100644 --- a/airbyte-integrations/connectors/source-bing-ads/setup.py +++ b/airbyte-integrations/connectors/source-bing-ads/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/cache.py b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/cache.py index 29f4e246a168..5584138142ef 100644 --- a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/cache.py +++ b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/cache.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import contextlib diff --git a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/client.py b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/client.py index 82bf40fe329c..adee0c764964 100644 --- a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/client.py +++ b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import sys diff --git a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/reports.py b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/reports.py index b6af1070d4c0..3f8ecb022cc3 100644 --- a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/reports.py +++ b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/reports.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/source.py b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/source.py index f8383a243938..424734f013c6 100644 --- a/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/source.py +++ b/airbyte-integrations/connectors/source-bing-ads/source_bing_ads/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_client.py b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_client.py index e05ba1a61702..6360f31f7fa5 100644 --- a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_client.py +++ b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime, timedelta diff --git a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_reports.py b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_reports.py index fdacd4cbdfc4..5ec08a203f58 100644 --- a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_reports.py +++ b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_reports.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_source.py b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_source.py index 9c5a4376f19e..7871efbbd8be 100644 --- a/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-bing-ads/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-braintree/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-braintree/main.py b/airbyte-integrations/connectors/source-braintree/main.py index 0c865b69fa61..b35db340be44 100644 --- a/airbyte-integrations/connectors/source-braintree/main.py +++ b/airbyte-integrations/connectors/source-braintree/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-braintree/setup.py b/airbyte-integrations/connectors/source-braintree/setup.py index d99b0fce933b..9066e4df9d91 100644 --- a/airbyte-integrations/connectors/source-braintree/setup.py +++ b/airbyte-integrations/connectors/source-braintree/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/cards.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/cards.py index ad52effc97db..b4534df66529 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/cards.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/cards.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/common.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/common.py index 225ab050f4d1..e4794cc27846 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/common.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/customer.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/customer.py index 6594f9a6de46..382762cabc26 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/customer.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/customer.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/discount.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/discount.py index ee76f9ee93b7..420b24245228 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/discount.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/discount.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/dispute.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/dispute.py index f4589bfc6c2b..d45902891ceb 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/dispute.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/dispute.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import date, datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/merchant_account.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/merchant_account.py index c3a10da02b3e..8348dfa605c7 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/merchant_account.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/merchant_account.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/plan.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/plan.py index 5f0273c73153..838a5c3aed05 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/plan.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/plan.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/subscription.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/subscription.py index 656ba6589b96..a97916b1442b 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/subscription.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/subscription.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/transaction.py b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/transaction.py index 2511164b5cf5..5cca781f59d5 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/transaction.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/schemas/transaction.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import date, datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/source.py b/airbyte-integrations/connectors/source-braintree/source_braintree/source.py index 080123e568cf..32c5c7fc44e7 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/source.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/spec.py b/airbyte-integrations/connectors/source-braintree/source_braintree/spec.py index d7faf0bc6baf..523ffd0ed258 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/spec.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-braintree/source_braintree/streams.py b/airbyte-integrations/connectors/source-braintree/source_braintree/streams.py index e70684f08f87..87ce4a6134c6 100644 --- a/airbyte-integrations/connectors/source-braintree/source_braintree/streams.py +++ b/airbyte-integrations/connectors/source-braintree/source_braintree/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-braintree/unit_tests/conftest.py b/airbyte-integrations/connectors/source-braintree/unit_tests/conftest.py index 1e778a7020e0..76b3959a825e 100644 --- a/airbyte-integrations/connectors/source-braintree/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-braintree/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-braintree/unit_tests/test_source.py b/airbyte-integrations/connectors/source-braintree/unit_tests/test_source.py index 97ede16a12f8..afda2f726ddf 100644 --- a/airbyte-integrations/connectors/source-braintree/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-braintree/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import jsonschema diff --git a/airbyte-integrations/connectors/source-braintree/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-braintree/unit_tests/test_streams.py index 4da958ca56ed..939b5b0c6d43 100644 --- a/airbyte-integrations/connectors/source-braintree/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-braintree/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-cart/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-cart/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-cart/integration_tests/integration_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-cart/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-cart/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-cart/main.py b/airbyte-integrations/connectors/source-cart/main.py index e05ea7340da1..c27dd020faf9 100644 --- a/airbyte-integrations/connectors/source-cart/main.py +++ b/airbyte-integrations/connectors/source-cart/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-cart/setup.py b/airbyte-integrations/connectors/source-cart/setup.py index 9f76e176a808..4b843619ac54 100644 --- a/airbyte-integrations/connectors/source-cart/setup.py +++ b/airbyte-integrations/connectors/source-cart/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-cart/source_cart/source.py b/airbyte-integrations/connectors/source-cart/source_cart/source.py index cdaacec0686c..5d073b8ac990 100644 --- a/airbyte-integrations/connectors/source-cart/source_cart/source.py +++ b/airbyte-integrations/connectors/source-cart/source_cart/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from functools import wraps diff --git a/airbyte-integrations/connectors/source-cart/source_cart/streams.py b/airbyte-integrations/connectors/source-cart/source_cart/streams.py index 7915ba0c71cb..5b7f06c36623 100644 --- a/airbyte-integrations/connectors/source-cart/source_cart/streams.py +++ b/airbyte-integrations/connectors/source-cart/source_cart/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import urllib.parse diff --git a/airbyte-integrations/connectors/source-cart/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-cart/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-cart/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-cart/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chargebee/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargebee/main.py b/airbyte-integrations/connectors/source-chargebee/main.py index e43d8ae4e024..1305ba18374c 100644 --- a/airbyte-integrations/connectors/source-chargebee/main.py +++ b/airbyte-integrations/connectors/source-chargebee/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargebee/setup.py b/airbyte-integrations/connectors/source-chargebee/setup.py index c58743120e34..221df87f314f 100644 --- a/airbyte-integrations/connectors/source-chargebee/setup.py +++ b/airbyte-integrations/connectors/source-chargebee/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/rate_limiting.py b/airbyte-integrations/connectors/source-chargebee/source_chargebee/rate_limiting.py index 02c8914dca58..28d5d77a7760 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/rate_limiting.py +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/rate_limiting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import sys diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/source.py b/airbyte-integrations/connectors/source-chargebee/source_chargebee/source.py index e7120792bb38..bd1c3fff7ab9 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/source.py +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-chargebee/source_chargebee/streams.py b/airbyte-integrations/connectors/source-chargebee/source_chargebee/streams.py index 872de1233ae0..38d8e1ce7203 100644 --- a/airbyte-integrations/connectors/source-chargebee/source_chargebee/streams.py +++ b/airbyte-integrations/connectors/source-chargebee/source_chargebee/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, List, Mapping, MutableMapping, Optional diff --git a/airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py b/airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py index a576ec252bb7..aa51ffea60a8 100644 --- a/airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-chargebee/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-chargebee/unit_tests/test_source.py b/airbyte-integrations/connectors/source-chargebee/unit_tests/test_source.py index c57e94826af4..50c93508de71 100644 --- a/airbyte-integrations/connectors/source-chargebee/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-chargebee/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-chargebee/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-chargebee/unit_tests/test_streams.py index 2dab8f37dda4..d1f95c30e010 100644 --- a/airbyte-integrations/connectors/source-chargebee/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-chargebee/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import responses diff --git a/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chargify/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargify/main.py b/airbyte-integrations/connectors/source-chargify/main.py index 54d1c92f1463..326456ff2932 100644 --- a/airbyte-integrations/connectors/source-chargify/main.py +++ b/airbyte-integrations/connectors/source-chargify/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargify/setup.py b/airbyte-integrations/connectors/source-chargify/setup.py index ac59d3fa25b3..8a2c8bae3a63 100644 --- a/airbyte-integrations/connectors/source-chargify/setup.py +++ b/airbyte-integrations/connectors/source-chargify/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargify/source_chargify/source.py b/airbyte-integrations/connectors/source-chargify/source_chargify/source.py index 380837e59d16..3ca4b2b7233f 100644 --- a/airbyte-integrations/connectors/source-chargify/source_chargify/source.py +++ b/airbyte-integrations/connectors/source-chargify/source_chargify/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chargify/unit_tests/test_source.py b/airbyte-integrations/connectors/source-chargify/unit_tests/test_source.py index e1071572aa11..ea0c66543de1 100644 --- a/airbyte-integrations/connectors/source-chargify/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-chargify/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-chargify/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-chargify/unit_tests/test_streams.py index 3eedddcfb963..073d96df5155 100644 --- a/airbyte-integrations/connectors/source-chargify/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-chargify/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-chartmogul/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chartmogul/main.py b/airbyte-integrations/connectors/source-chartmogul/main.py index 89e0ffbb2977..2a5da0db24c7 100644 --- a/airbyte-integrations/connectors/source-chartmogul/main.py +++ b/airbyte-integrations/connectors/source-chartmogul/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chartmogul/setup.py b/airbyte-integrations/connectors/source-chartmogul/setup.py index 446c4426fb9b..70170ea1ca70 100644 --- a/airbyte-integrations/connectors/source-chartmogul/setup.py +++ b/airbyte-integrations/connectors/source-chartmogul/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-chartmogul/source_chartmogul/source.py b/airbyte-integrations/connectors/source-chartmogul/source_chartmogul/source.py index 7f83d9e1b168..7315c0688515 100644 --- a/airbyte-integrations/connectors/source-chartmogul/source_chartmogul/source.py +++ b/airbyte-integrations/connectors/source-chartmogul/source_chartmogul/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_source.py b/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_source.py index 7eaa76a7c268..357994bff328 100644 --- a/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_streams.py index fc11b843aba8..3007790f7202 100644 --- a/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-chartmogul/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseStrictEncryptSource.java b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseStrictEncryptSource.java index 5bc51a9bdf3a..c2a5e31dc1be 100644 --- a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseStrictEncryptSource.java +++ b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseStrictEncryptSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.clickhouse; diff --git a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseStrictEncryptJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseStrictEncryptJdbcSourceAcceptanceTest.java index 66fad2735dbe..84dbca208db3 100644 --- a/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseStrictEncryptJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseStrictEncryptJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseSource.java b/airbyte-integrations/connectors/source-clickhouse/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseSource.java index 232c522f7181..48991668dff1 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseSource.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/main/java/io/airbyte/integrations/source/clickhouse/ClickHouseSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.clickhouse; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshClickHouseSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshClickHouseSourceAcceptanceTest.java index 371ec2d33499..1a08cc757aa1 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshClickHouseSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshClickHouseSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcSourceAcceptanceTest.java index 3d058d8468a3..456e9ec9bacf 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcStressTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcStressTest.java index 0c5c4e9bf2f1..6e9ad0c59521 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcStressTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseJdbcStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseSourceAcceptanceTest.java index 94162d2e915f..716103a4a386 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/ClickHouseSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyClickhouseSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyClickhouseSourceAcceptanceTest.java index 224586996793..a79988846820 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyClickhouseSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyClickhouseSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordClickhouseSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordClickhouseSourceAcceptanceTest.java index c38804d1403b..b7002176c0d7 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordClickhouseSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordClickhouseSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SslClickHouseJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SslClickHouseJdbcSourceAcceptanceTest.java index 293902a419ad..85bad3d20b1f 100644 --- a/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SslClickHouseJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-clickhouse/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SslClickHouseJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-close-com/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-close-com/main.py b/airbyte-integrations/connectors/source-close-com/main.py index c2245b1659e8..406b219615d3 100644 --- a/airbyte-integrations/connectors/source-close-com/main.py +++ b/airbyte-integrations/connectors/source-close-com/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-close-com/setup.py b/airbyte-integrations/connectors/source-close-com/setup.py index 6848970e051e..9400772e183b 100644 --- a/airbyte-integrations/connectors/source-close-com/setup.py +++ b/airbyte-integrations/connectors/source-close-com/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-close-com/source_close_com/source.py b/airbyte-integrations/connectors/source-close-com/source_close_com/source.py index 1f270e26a50a..6e237f87cc9d 100644 --- a/airbyte-integrations/connectors/source-close-com/source_close_com/source.py +++ b/airbyte-integrations/connectors/source-close-com/source_close_com/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-close-com/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-close-com/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-close-com/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-close-com/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceStrictEncrypt.java b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceStrictEncrypt.java index fa1120011000..0e927beb802c 100644 --- a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceStrictEncrypt.java +++ b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSslTestContainer.java b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSslTestContainer.java index 0c0222bb2352..3dfcd4117ab7 100644 --- a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSslTestContainer.java +++ b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSslTestContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbEncryptSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbEncryptSourceAcceptanceTest.java index c916da52c641..542a333f5e88 100644 --- a/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbEncryptSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbEncryptSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSource.java b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSource.java index cec260cbd011..589843fa28ca 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSource.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcDatabase.java b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcDatabase.java index da17e8dbd7fd..5bc097de64e3 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcDatabase.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcDatabase.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcSourceOperations.java b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcSourceOperations.java index 3196bc461198..f29eee7df9f1 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcSourceOperations.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/main/java/io/airbyte/integrations/source/cockroachdb/CockroachJdbcSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceAcceptanceTest.java index 068b5cab71b8..54fe61172b72 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceDatatypeTest.java b/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceDatatypeTest.java index 9035639065cf..d7a9d59e865f 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/test-integration/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbJdbcSourceAcceptanceTest.java index b907646a1f16..9fb55debe528 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceTest.java b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceTest.java index c4e0d0aaa501..e6fb1610b6a9 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSpecTest.java b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSpecTest.java index f4bda4c1342f..e341eb12ee9c 100644 --- a/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSpecTest.java +++ b/airbyte-integrations/connectors/source-cockroachdb/src/test/java/io/airbyte/integrations/source/cockroachdb/CockroachDbSpecTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.cockroachdb; diff --git a/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-commercetools/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-commercetools/main.py b/airbyte-integrations/connectors/source-commercetools/main.py index fbc273f9f7c6..1e0e342dd430 100644 --- a/airbyte-integrations/connectors/source-commercetools/main.py +++ b/airbyte-integrations/connectors/source-commercetools/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-commercetools/setup.py b/airbyte-integrations/connectors/source-commercetools/setup.py index 58d4955ee1a0..f2f3e3c6edfa 100644 --- a/airbyte-integrations/connectors/source-commercetools/setup.py +++ b/airbyte-integrations/connectors/source-commercetools/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-commercetools/source_commercetools/source.py b/airbyte-integrations/connectors/source-commercetools/source_commercetools/source.py index 1523a91446e2..8f2f21661fa2 100644 --- a/airbyte-integrations/connectors/source-commercetools/source_commercetools/source.py +++ b/airbyte-integrations/connectors/source-commercetools/source_commercetools/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-confluence/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-confluence/main.py b/airbyte-integrations/connectors/source-confluence/main.py index 11b575ce0c4a..f18b541fbda0 100644 --- a/airbyte-integrations/connectors/source-confluence/main.py +++ b/airbyte-integrations/connectors/source-confluence/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-confluence/setup.py b/airbyte-integrations/connectors/source-confluence/setup.py index c5e5646e909f..383131cd102b 100644 --- a/airbyte-integrations/connectors/source-confluence/setup.py +++ b/airbyte-integrations/connectors/source-confluence/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-confluence/source_confluence/source.py b/airbyte-integrations/connectors/source-confluence/source_confluence/source.py index cb2510c20f15..f816b11cfb58 100644 --- a/airbyte-integrations/connectors/source-confluence/source_confluence/source.py +++ b/airbyte-integrations/connectors/source-confluence/source_confluence/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-confluence/unit_tests/conftest.py b/airbyte-integrations/connectors/source-confluence/unit_tests/conftest.py index 29078266ccf9..83c87905384d 100644 --- a/airbyte-integrations/connectors/source-confluence/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-confluence/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-confluence/unit_tests/test_source.py b/airbyte-integrations/connectors/source-confluence/unit_tests/test_source.py index e03a34880368..0271f916d332 100644 --- a/airbyte-integrations/connectors/source-confluence/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-confluence/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/main/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2StrictEncryptSource.java b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/main/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2StrictEncryptSource.java index 677c2229878f..c9db0e569e5b 100644 --- a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/main/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2StrictEncryptSource.java +++ b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/main/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2StrictEncryptSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.db2_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2StrictEncryptSourceCertificateAcceptanceTest.java b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2StrictEncryptSourceCertificateAcceptanceTest.java index 627194c578d7..355064d976d6 100644 --- a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2StrictEncryptSourceCertificateAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2StrictEncryptSourceCertificateAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2JdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2JdbcSourceAcceptanceTest.java index 61f79b0655d9..54dd2be9b6cd 100644 --- a/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2JdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-db2-strict-encrypt/src/test/java/io/airbyte/integrations/source/db2_strict_encrypt/Db2JdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.db2_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2Source.java b/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2Source.java index 9264b08b5b25..a7f55002056e 100644 --- a/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2Source.java +++ b/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2Source.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.db2; diff --git a/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2SourceOperations.java b/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2SourceOperations.java index 17800463f683..3bf50749b4fc 100644 --- a/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2SourceOperations.java +++ b/airbyte-integrations/connectors/source-db2/src/main/java/io.airbyte.integrations.source.db2/Db2SourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.db2; diff --git a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceAcceptanceTest.java b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceAcceptanceTest.java index 9e72e7e00d67..d48aa427ed48 100644 --- a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceCertificateAcceptanceTest.java b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceCertificateAcceptanceTest.java index 666f0865ac75..9f3ea0629b19 100644 --- a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceCertificateAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceCertificateAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceDatatypeTest.java b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceDatatypeTest.java index 2bfa9c4ee9ec..f86538bb4c44 100644 --- a/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-db2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/Db2SourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-db2/src/test/java/io.airbyte.integrations.source.db2/Db2JdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-db2/src/test/java/io.airbyte.integrations.source.db2/Db2JdbcSourceAcceptanceTest.java index e1ec166197f4..b70a65cc50e4 100644 --- a/airbyte-integrations/connectors/source-db2/src/test/java/io.airbyte.integrations.source.db2/Db2JdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-db2/src/test/java/io.airbyte.integrations.source.db2/Db2JdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.db2; diff --git a/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-delighted/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-delighted/main.py b/airbyte-integrations/connectors/source-delighted/main.py index 39b0225242fe..cdb05df7cceb 100644 --- a/airbyte-integrations/connectors/source-delighted/main.py +++ b/airbyte-integrations/connectors/source-delighted/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # MIT License diff --git a/airbyte-integrations/connectors/source-delighted/setup.py b/airbyte-integrations/connectors/source-delighted/setup.py index 096214a03e44..8b1d24a2e4e5 100644 --- a/airbyte-integrations/connectors/source-delighted/setup.py +++ b/airbyte-integrations/connectors/source-delighted/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-delighted/source_delighted/source.py b/airbyte-integrations/connectors/source-delighted/source_delighted/source.py index 796c1362410a..87d8d0c18130 100644 --- a/airbyte-integrations/connectors/source-delighted/source_delighted/source.py +++ b/airbyte-integrations/connectors/source-delighted/source_delighted/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-delighted/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-delighted/unit_tests/unit_test.py index b6eddc0ecae5..eed97adb87dc 100644 --- a/airbyte-integrations/connectors/source-delighted/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-delighted/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-dixa/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-dixa/main.py b/airbyte-integrations/connectors/source-dixa/main.py index 7b7c69dc2fa3..cc52fafeb23d 100644 --- a/airbyte-integrations/connectors/source-dixa/main.py +++ b/airbyte-integrations/connectors/source-dixa/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-dixa/setup.py b/airbyte-integrations/connectors/source-dixa/setup.py index 552e2aa9ba17..e84209cdac98 100644 --- a/airbyte-integrations/connectors/source-dixa/setup.py +++ b/airbyte-integrations/connectors/source-dixa/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-dixa/source_dixa/source.py b/airbyte-integrations/connectors/source-dixa/source_dixa/source.py index 64d40cecf251..ac2546f8ca88 100644 --- a/airbyte-integrations/connectors/source-dixa/source_dixa/source.py +++ b/airbyte-integrations/connectors/source-dixa/source_dixa/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-dixa/source_dixa/utils.py b/airbyte-integrations/connectors/source-dixa/source_dixa/utils.py index d3155e67fa8d..c4eaa8c04b30 100644 --- a/airbyte-integrations/connectors/source-dixa/source_dixa/utils.py +++ b/airbyte-integrations/connectors/source-dixa/source_dixa/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-dixa/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-dixa/unit_tests/unit_test.py index f6d270920ee2..8d8e552fe4a2 100644 --- a/airbyte-integrations/connectors/source-dixa/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-dixa/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime, timezone diff --git a/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-drift/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/main.py b/airbyte-integrations/connectors/source-drift/main.py index 88080fd895a5..1322c59b0c16 100644 --- a/airbyte-integrations/connectors/source-drift/main.py +++ b/airbyte-integrations/connectors/source-drift/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/setup.py b/airbyte-integrations/connectors/source-drift/setup.py index 26d968fc4385..6510762bcc02 100644 --- a/airbyte-integrations/connectors/source-drift/setup.py +++ b/airbyte-integrations/connectors/source-drift/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/source_drift/client/api.py b/airbyte-integrations/connectors/source-drift/source_drift/client/api.py index 1031f652b36c..e32e8d14383b 100644 --- a/airbyte-integrations/connectors/source-drift/source_drift/client/api.py +++ b/airbyte-integrations/connectors/source-drift/source_drift/client/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/source_drift/client/client.py b/airbyte-integrations/connectors/source-drift/source_drift/client/client.py index c410218c0629..c3a0623d060f 100644 --- a/airbyte-integrations/connectors/source-drift/source_drift/client/client.py +++ b/airbyte-integrations/connectors/source-drift/source_drift/client/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/source_drift/client/common.py b/airbyte-integrations/connectors/source-drift/source_drift/client/common.py index 0d24c753a9a9..24e2725c0315 100644 --- a/airbyte-integrations/connectors/source-drift/source_drift/client/common.py +++ b/airbyte-integrations/connectors/source-drift/source_drift/client/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/source_drift/client/fixture.py b/airbyte-integrations/connectors/source-drift/source_drift/client/fixture.py index 765db21a054f..ab44ce69c822 100644 --- a/airbyte-integrations/connectors/source-drift/source_drift/client/fixture.py +++ b/airbyte-integrations/connectors/source-drift/source_drift/client/fixture.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/source_drift/source.py b/airbyte-integrations/connectors/source-drift/source_drift/source.py index 995fb5f2fa0d..c59dcceb6ef2 100644 --- a/airbyte-integrations/connectors/source-drift/source_drift/source.py +++ b/airbyte-integrations/connectors/source-drift/source_drift/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-drift/unit_tests/test_client.py b/airbyte-integrations/connectors/source-drift/unit_tests/test_client.py index 4ab042952106..7926a4a0a098 100644 --- a/airbyte-integrations/connectors/source-drift/unit_tests/test_client.py +++ b/airbyte-integrations/connectors/source-drift/unit_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-e2e-test-cloud/src/main/java/io/airbyte/integrations/source/e2e_test/CloudTestingSources.java b/airbyte-integrations/connectors/source-e2e-test-cloud/src/main/java/io/airbyte/integrations/source/e2e_test/CloudTestingSources.java index 5a55f7fa2751..c1beb62c5266 100644 --- a/airbyte-integrations/connectors/source-e2e-test-cloud/src/main/java/io/airbyte/integrations/source/e2e_test/CloudTestingSources.java +++ b/airbyte-integrations/connectors/source-e2e-test-cloud/src/main/java/io/airbyte/integrations/source/e2e_test/CloudTestingSources.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test-cloud/src/test-integration/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesAcceptanceTest.java b/airbyte-integrations/connectors/source-e2e-test-cloud/src/test-integration/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesAcceptanceTest.java index a41114cef82e..72d72a6a8443 100644 --- a/airbyte-integrations/connectors/source-e2e-test-cloud/src/test-integration/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-e2e-test-cloud/src/test-integration/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test-cloud/src/test/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesTest.java b/airbyte-integrations/connectors/source-e2e-test-cloud/src/test/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesTest.java index d84879038cc0..21eb653aa2d9 100644 --- a/airbyte-integrations/connectors/source-e2e-test-cloud/src/test/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesTest.java +++ b/airbyte-integrations/connectors/source-e2e-test-cloud/src/test/java/io/airbyte/integrations/source/e2e_test/CloudTestingSourcesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfig.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfig.java index ee3120782abc..57b69f8ace10 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfig.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConstants.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConstants.java index 8f4ce4ac3bfe..6836725e716f 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConstants.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSource.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSource.java index a804ed663e63..62c8d8451064 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSource.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyConstants.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyConstants.java index cc84cde48999..b4740d0538b0 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyConstants.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyExceptionAfterNSource.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyExceptionAfterNSource.java index 9f04e1a7bc5a..00b890cba9b0 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyExceptionAfterNSource.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyExceptionAfterNSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyInfiniteFeedSource.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyInfiniteFeedSource.java index 812e4d2279d1..7c9e79d6d11b 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyInfiniteFeedSource.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/LegacyInfiniteFeedSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/TestingSources.java b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/TestingSources.java index 76b7dd057371..047ce4424c85 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/TestingSources.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/main/java/io/airbyte/integrations/source/e2e_test/TestingSources.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/test-integration/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-e2e-test/src/test-integration/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSourceAcceptanceTest.java index 67f6d88470b1..006be0c2130e 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/test-integration/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/test-integration/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfigTest.java b/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfigTest.java index 9f9fd715894e..e3f653739dd5 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfigTest.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/ContinuousFeedConfigTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/GeneratorTest.java b/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/GeneratorTest.java index 54a8795b523c..e5223fa123df 100644 --- a/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/GeneratorTest.java +++ b/airbyte-integrations/connectors/source-e2e-test/src/test/java/io/airbyte/integrations/source/e2e_test/GeneratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.e2e_test; diff --git a/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-exchange-rates/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-exchange-rates/main.py b/airbyte-integrations/connectors/source-exchange-rates/main.py index 8f386ca14095..fb5bde735f74 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/main.py +++ b/airbyte-integrations/connectors/source-exchange-rates/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-exchange-rates/setup.py b/airbyte-integrations/connectors/source-exchange-rates/setup.py index 84ea1e232996..13c2d8928d74 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/setup.py +++ b/airbyte-integrations/connectors/source-exchange-rates/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-exchange-rates/source_exchange_rates/source.py b/airbyte-integrations/connectors/source-exchange-rates/source_exchange_rates/source.py index e53616999027..223f2e903a2b 100644 --- a/airbyte-integrations/connectors/source-exchange-rates/source_exchange_rates/source.py +++ b/airbyte-integrations/connectors/source-exchange-rates/source_exchange_rates/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/conftest.py b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/conftest.py index 8bcb821e0323..cc287c76d23e 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/conftest.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/test_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/test_streams.py index c86637efda66..13320f547700 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/integration_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-facebook-marketing/main.py b/airbyte-integrations/connectors/source-facebook-marketing/main.py index 3b2e15b60877..dbb3ac7a756a 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/main.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/setup.py b/airbyte-integrations/connectors/source-facebook-marketing/setup.py index 130f97f3d666..9a923005d5f9 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/setup.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py index 9b08b0418143..8d7fc9be82c4 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/source.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/source.py index d559e2af6c45..f0db25ad0955 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/source.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/spec.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/spec.py index 56052299f180..10fd2e4e125e 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/spec.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job.py index c27702cf09ae..2f307c4fc9f7 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job_manager.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job_manager.py index a24d2deac0bb..ae9f19ea6f00 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job_manager.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/async_job_manager.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py index b0a07c153b41..963ca239a286 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_insight_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_streams.py index b0d7832c4f3c..85b24b9397fc 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/base_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/common.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/common.py index b36966a7e829..a32e09638061 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/common.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import http.client diff --git a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/streams.py b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/streams.py index 1320b2ff7fb1..27e636b66a93 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/source_facebook_marketing/streams/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/conftest.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/conftest.py index 472a7ff7c251..b00621561dee 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/helpers.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/helpers.py index 4d9098f381c1..e26e4747a284 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/helpers.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_api.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_api.py index 9e0dd972225f..9731f8f5d5a6 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_api.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job.py index 9ea4581f17d6..31225d5a6a21 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job_manager.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job_manager.py index 2d3b7ca3e756..88acf18ad615 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job_manager.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_async_job_manager.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_insight_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_insight_streams.py index ffc1377632f3..267271837d47 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_insight_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_insight_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_streams.py index 4cc4024816fc..093f46f944c0 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_base_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_client.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_client.py index f24ac6ec3756..91a9077c28f9 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_client.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_deep_merge.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_deep_merge.py index 2089e0cac64d..2ca84bf9ffcc 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_deep_merge.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_deep_merge.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from copy import deepcopy diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_source.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_source.py index c65081eef053..e4b2d2af6a6b 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pydantic diff --git a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_streams.py index 187e7f8ff108..a8bd84878a02 100644 --- a/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-facebook-marketing/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-facebook-pages/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-pages/main.py b/airbyte-integrations/connectors/source-facebook-pages/main.py index 61c86be7a48e..d5147c0c6ccd 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/main.py +++ b/airbyte-integrations/connectors/source-facebook-pages/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-pages/setup.py b/airbyte-integrations/connectors/source-facebook-pages/setup.py index 00a2800c1534..0069aab99022 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/setup.py +++ b/airbyte-integrations/connectors/source-facebook-pages/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py index 99e143e8577f..0fb48a0f2acf 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py +++ b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/metrics.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # PAGE_METRICS = [ diff --git a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/source.py b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/source.py index de2ddc87497f..2cb39422af0a 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/source.py +++ b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py index b65f1b7175c1..f86e62d5d9b3 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py +++ b/airbyte-integrations/connectors/source-facebook-pages/source_facebook_pages/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py b/airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py index 4143b5507d2b..dd248f986766 100644 --- a/airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py +++ b/airbyte-integrations/connectors/source-facebook-pages/tools/schema_gen.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # """ diff --git a/airbyte-integrations/connectors/source-facebook-pages/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-facebook-pages/unit_tests/unit_test.py index 4d44a3ecb240..7bed0453072e 100755 --- a/airbyte-integrations/connectors/source-facebook-pages/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-facebook-pages/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-faker/Dockerfile b/airbyte-integrations/connectors/source-faker/Dockerfile index 77fcee276c17..bc9d825d4109 100644 --- a/airbyte-integrations/connectors/source-faker/Dockerfile +++ b/airbyte-integrations/connectors/source-faker/Dockerfile @@ -34,5 +34,5 @@ COPY source_faker ./source_faker ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.0 +LABEL io.airbyte.version=0.1.4 LABEL io.airbyte.name=airbyte/source-faker diff --git a/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-faker/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-faker/integration_tests/catalog.json b/airbyte-integrations/connectors/source-faker/integration_tests/catalog.json index ec7b3a0f98ee..5ebcdfb9c62f 100644 --- a/airbyte-integrations/connectors/source-faker/integration_tests/catalog.json +++ b/airbyte-integrations/connectors/source-faker/integration_tests/catalog.json @@ -28,8 +28,7 @@ "name": { "type": "string" }, "sex": { "type": "string" }, "address": { "type": "string" }, - "mail": { "type": "string" }, - "birthdate": { "type": "string", "format": "date" } + "mail": { "type": "string" } } }, "supported_sync_modes": ["incremental", "full_refresh"], diff --git a/airbyte-integrations/connectors/source-faker/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-faker/integration_tests/configured_catalog.json index 6cfd99a5fc02..d089cabcd4b1 100644 --- a/airbyte-integrations/connectors/source-faker/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-faker/integration_tests/configured_catalog.json @@ -21,8 +21,7 @@ "name": { "type": "string" }, "sex": { "type": "string" }, "address": { "type": "string" }, - "mail": { "type": "string" }, - "birthdate": { "type": "date" } + "mail": { "type": "string" } } }, "supported_sync_modes": ["incremental", "full_refresh"], diff --git a/airbyte-integrations/connectors/source-faker/integration_tests/expected_records.txt b/airbyte-integrations/connectors/source-faker/integration_tests/expected_records.txt index 5960c79779b8..185bd299ad99 100644 --- a/airbyte-integrations/connectors/source-faker/integration_tests/expected_records.txt +++ b/airbyte-integrations/connectors/source-faker/integration_tests/expected_records.txt @@ -1,10 +1,10 @@ -{"stream": "Users", "data": {"job": "Musician", "company": "Williams-Sheppard", "ssn": "498-52-4970", "residence": "Unit 5938 Box 2421\nDPO AP 33335", "current_location": [52.958961, 143.143712], "blood_group": "B+", "website": ["http://www.rivera.com/", "http://grimes-green.net/", "http://www.larsen.com/"], "username": "leeashley", "name": "Gary Cross", "sex": "M", "address": "711 Golden Overpass\nWest Andreaville, MA 71317", "mail": "tamaramorrison@hotmail.com", "birthdate": "1945-06-07", "id": 0, "created_at": "1976-03-27T12:40:22", "updated_at": "2000-04-13T06:17:38"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Therapist, occupational", "company": "Stewart-Allen", "ssn": "189-25-3060", "residence": "1122 Megan Squares Suite 848\nPort Jason, OR 55475", "current_location": [65.610695, -32.24732], "blood_group": "O-", "website": ["https://www.salazar-tucker.com/", "http://www.dennis.com/", "https://www.simmons-brown.com/", "http://www.walters.com/"], "username": "myersmitchell", "name": "Chelsea Greer", "sex": "F", "address": "Unit 0903 Box 2173\nDPO AP 08507", "mail": "stephenschristine@yahoo.com", "birthdate": "1915-10-23", "id": 1, "created_at": "1974-11-24T20:47:03", "updated_at": "1985-01-10T17:47:40"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Illustrator", "company": "Graham-Brown", "ssn": "479-06-9773", "residence": "45792 Tammy Centers Apt. 258\nDavidmouth, HI 02231", "current_location": [36.600983, 40.066283], "blood_group": "AB+", "website": ["https://castro.info/", "http://williams.info/", "https://howard.org/"], "username": "smithjames", "name": "Jasmine Perry", "sex": "F", "address": "76960 Savage Port\nBartonton, NV 08874", "mail": "jacqueline78@yahoo.com", "birthdate": "1982-09-09", "id": 2, "created_at": "2011-02-06T22:32:40", "updated_at": "2021-05-30T16:13:19"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Academic librarian", "company": "Simpson LLC", "ssn": "858-60-0817", "residence": "81206 Stewart Forest Apt. 089\nEast Davidborough, ME 37198", "current_location": [-41.0853825, -126.215901], "blood_group": "O-", "website": ["http://www.sloan-marsh.com/", "https://www.meyer.com/", "https://www.williams.com/", "https://browning.org/"], "username": "monica23", "name": "Steven Bowman", "sex": "M", "address": "22455 Higgins Junction Apt. 042\nNew Keith, OH 17493", "mail": "danny30@yahoo.com", "birthdate": "1930-09-22", "id": 3, "created_at": "2005-08-05T11:36:52", "updated_at": "2019-08-02T23:04:14"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Building services engineer", "company": "Powell-Murphy", "ssn": "425-14-1629", "residence": "5517 Holly Meadow Apt. 452\nLake Anne, SC 11894", "current_location": [-72.327639, -134.543372], "blood_group": "B-", "website": ["http://garcia.net/", "https://kramer-klein.com/"], "username": "ryanhoward", "name": "Daniel Duarte", "sex": "M", "address": "731 Sanders Fords\nPort Jasonberg, ID 60585", "mail": "jward@gmail.com", "birthdate": "1987-06-07", "id": 4, "created_at": "1980-02-06T13:15:11", "updated_at": "2003-03-15T20:31:32"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Surveyor, rural practice", "company": "Little-Henderson", "ssn": "534-64-5284", "residence": "389 Alec Squares Suite 508\nPort Jonathan, FL 50177", "current_location": [66.4839605, -21.954682], "blood_group": "O-", "website": ["http://www.perez.com/"], "username": "mistymurray", "name": "Joan Atkins", "sex": "F", "address": "809 Erika Valley Apt. 634\nPetersenfort, WY 51431", "mail": "melissayates@hotmail.com", "birthdate": "1906-04-25", "id": 5, "created_at": "1982-05-20T20:41:25", "updated_at": "2020-05-29T07:50:41"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Immigration officer", "company": "Hudson, Cook and Snyder", "ssn": "269-39-6686", "residence": "22345 Sheri Orchard Suite 279\nLake Hollystad, AZ 80687", "current_location": [35.165804, 27.598858], "blood_group": "O-", "website": ["http://smith.org/"], "username": "james71", "name": "Ashley Dunn", "sex": "F", "address": "519 Kramer Crossroad Suite 418\nNorth Kimberly, MN 99672", "mail": "stanleyclarke@gmail.com", "birthdate": "1912-05-11", "id": 6, "created_at": "1972-09-20T17:24:07", "updated_at": "2003-01-31T16:46:49"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Freight forwarder", "company": "Duffy Ltd", "ssn": "583-74-3539", "residence": "412 Snow Manors Apt. 161\nSouth Kimtown, NV 57004", "current_location": [21.942823, -163.821807], "blood_group": "O-", "website": ["https://www.jones-howard.com/", "https://smith.com/", "http://www.smith.com/"], "username": "michelelopez", "name": "Melissa Cantu", "sex": "F", "address": "420 Michael Mountains Suite 485\nNew Victoria, ND 76634", "mail": "eric22@gmail.com", "birthdate": "1949-04-11", "id": 7, "created_at": "1986-07-11T18:55:27", "updated_at": "2004-08-04T16:06:58"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Fast food restaurant manager", "company": "Carter Group", "ssn": "680-06-2167", "residence": "12648 Yang Divide Suite 451\nSouth Cynthia, NC 08084", "current_location": [11.047629, 39.379532], "blood_group": "A+", "website": ["https://watson.com/", "http://www.rodriguez-jacobs.com/", "https://saunders.com/", "http://giles-thomas.info/"], "username": "amontgomery", "name": "Christina Smith", "sex": "F", "address": "489 Roger Terrace\nDavisfort, IN 71770", "mail": "bramirez@gmail.com", "birthdate": "1943-01-15", "id": 8, "created_at": "1972-10-04T19:18:09", "updated_at": "2015-06-29T09:01:24"}, "emitted_at": 1649892395000} -{"stream": "Users", "data": {"job": "Academic librarian", "company": "Ross-Zamora", "ssn": "728-51-7285", "residence": "4391 Chad Greens Suite 851\nPort Frank, LA 37561", "current_location": [49.5419055, -107.833532], "blood_group": "B-", "website": ["https://osborne.com/"], "username": "qtaylor", "name": "Melissa James", "sex": "F", "address": "637 Neal Island Suite 074\nLake Tyler, RI 28775", "mail": "kellypeter@gmail.com", "birthdate": "2021-06-15", "id": 9, "created_at": "1974-07-10T19:02:25", "updated_at": "2005-11-07T09:09:06"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Musician", "company": "Williams-Sheppard", "ssn": "498-52-4970", "residence": "Unit 5938 Box 2421\nDPO AP 33335", "current_location": [52.958961, 143.143712], "blood_group": "B+", "website": ["http://www.rivera.com/", "http://grimes-green.net/", "http://www.larsen.com/"], "username": "leeashley", "name": "Gary Cross", "sex": "M", "address": "711 Golden Overpass\nWest Andreaville, MA 71317", "mail": "tamaramorrison@hotmail.com", "id": 1, "created_at": "1976-03-27T12:40:22", "updated_at": "2000-04-13T06:17:38"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Therapist, occupational", "company": "Stewart-Allen", "ssn": "189-25-3060", "residence": "1122 Megan Squares Suite 848\nPort Jason, OR 55475", "current_location": [65.610695, -32.24732], "blood_group": "O-", "website": ["https://www.salazar-tucker.com/", "http://www.dennis.com/", "https://www.simmons-brown.com/", "http://www.walters.com/"], "username": "myersmitchell", "name": "Chelsea Greer", "sex": "F", "address": "Unit 0903 Box 2173\nDPO AP 08507", "mail": "stephenschristine@yahoo.com", "id": 2, "created_at": "1974-11-24T20:47:03", "updated_at": "1985-01-10T17:47:40"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Illustrator", "company": "Graham-Brown", "ssn": "479-06-9773", "residence": "45792 Tammy Centers Apt. 258\nDavidmouth, HI 02231", "current_location": [36.600983, 40.066283], "blood_group": "AB+", "website": ["https://castro.info/", "http://williams.info/", "https://howard.org/"], "username": "smithjames", "name": "Jasmine Perry", "sex": "F", "address": "76960 Savage Port\nBartonton, NV 08874", "mail": "jacqueline78@yahoo.com", "id": 3, "created_at": "2011-02-06T22:32:40", "updated_at": "2021-05-30T16:13:19"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Academic librarian", "company": "Simpson LLC", "ssn": "858-60-0817", "residence": "81206 Stewart Forest Apt. 089\nEast Davidborough, ME 37198", "current_location": [-41.0853825, -126.215901], "blood_group": "O-", "website": ["http://www.sloan-marsh.com/", "https://www.meyer.com/", "https://www.williams.com/", "https://browning.org/"], "username": "monica23", "name": "Steven Bowman", "sex": "M", "address": "22455 Higgins Junction Apt. 042\nNew Keith, OH 17493", "mail": "danny30@yahoo.com", "id": 4, "created_at": "2005-08-05T11:36:52", "updated_at": "2019-08-02T23:04:14"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Building services engineer", "company": "Powell-Murphy", "ssn": "425-14-1629", "residence": "5517 Holly Meadow Apt. 452\nLake Anne, SC 11894", "current_location": [-72.327639, -134.543372], "blood_group": "B-", "website": ["http://garcia.net/", "https://kramer-klein.com/"], "username": "ryanhoward", "name": "Daniel Duarte", "sex": "M", "address": "731 Sanders Fords\nPort Jasonberg, ID 60585", "mail": "jward@gmail.com", "id": 5, "created_at": "1980-02-06T13:15:11", "updated_at": "2003-03-15T20:31:32"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Surveyor, rural practice", "company": "Little-Henderson", "ssn": "534-64-5284", "residence": "389 Alec Squares Suite 508\nPort Jonathan, FL 50177", "current_location": [66.4839605, -21.954682], "blood_group": "O-", "website": ["http://www.perez.com/"], "username": "mistymurray", "name": "Joan Atkins", "sex": "F", "address": "809 Erika Valley Apt. 634\nPetersenfort, WY 51431", "mail": "melissayates@hotmail.com", "id": 6, "created_at": "1982-05-20T20:41:25", "updated_at": "2020-05-29T07:50:41"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Immigration officer", "company": "Hudson, Cook and Snyder", "ssn": "269-39-6686", "residence": "22345 Sheri Orchard Suite 279\nLake Hollystad, AZ 80687", "current_location": [35.165804, 27.598858], "blood_group": "O-", "website": ["http://smith.org/"], "username": "james71", "name": "Ashley Dunn", "sex": "F", "address": "519 Kramer Crossroad Suite 418\nNorth Kimberly, MN 99672", "mail": "stanleyclarke@gmail.com", "id": 7, "created_at": "1972-09-20T17:24:07", "updated_at": "2003-01-31T16:46:49"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Freight forwarder", "company": "Duffy Ltd", "ssn": "583-74-3539", "residence": "412 Snow Manors Apt. 161\nSouth Kimtown, NV 57004", "current_location": [21.942823, -163.821807], "blood_group": "O-", "website": ["https://www.jones-howard.com/", "https://smith.com/", "http://www.smith.com/"], "username": "michelelopez", "name": "Melissa Cantu", "sex": "F", "address": "420 Michael Mountains Suite 485\nNew Victoria, ND 76634", "mail": "eric22@gmail.com", "id": 8, "created_at": "1986-07-11T18:55:27", "updated_at": "2004-08-04T16:06:58"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Fast food restaurant manager", "company": "Carter Group", "ssn": "680-06-2167", "residence": "12648 Yang Divide Suite 451\nSouth Cynthia, NC 08084", "current_location": [11.047629, 39.379532], "blood_group": "A+", "website": ["https://watson.com/", "http://www.rodriguez-jacobs.com/", "https://saunders.com/", "http://giles-thomas.info/"], "username": "amontgomery", "name": "Christina Smith", "sex": "F", "address": "489 Roger Terrace\nDavisfort, IN 71770", "mail": "bramirez@gmail.com", "id": 9, "created_at": "1972-10-04T19:18:09", "updated_at": "2015-06-29T09:01:24"}, "emitted_at": 1649892395000} +{"stream": "Users", "data": {"job": "Academic librarian", "company": "Ross-Zamora", "ssn": "728-51-7285", "residence": "4391 Chad Greens Suite 851\nPort Frank, LA 37561", "current_location": [49.5419055, -107.833532], "blood_group": "B-", "website": ["https://osborne.com/"], "username": "qtaylor", "name": "Melissa James", "sex": "F", "address": "637 Neal Island Suite 074\nLake Tyler, RI 28775", "mail": "kellypeter@gmail.com", "id": 10, "created_at": "1974-07-10T19:02:25", "updated_at": "2005-11-07T09:09:06"}, "emitted_at": 1649892395000} diff --git a/airbyte-integrations/connectors/source-faker/main.py b/airbyte-integrations/connectors/source-faker/main.py index f7fdeaa94cc7..15947dc56432 100644 --- a/airbyte-integrations/connectors/source-faker/main.py +++ b/airbyte-integrations/connectors/source-faker/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-faker/setup.py b/airbyte-integrations/connectors/source-faker/setup.py index 19781fda2983..7bb17317d8b5 100644 --- a/airbyte-integrations/connectors/source-faker/setup.py +++ b/airbyte-integrations/connectors/source-faker/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-faker/source_faker/products.json b/airbyte-integrations/connectors/source-faker/source_faker/products.json new file mode 100644 index 000000000000..fc6379603eb6 --- /dev/null +++ b/airbyte-integrations/connectors/source-faker/source_faker/products.json @@ -0,0 +1,100 @@ +[{"id":1,"make":"Mazda","model":"MX-5","year":2008,"price":2869,"created_at":"2022-02-01 17:02:19"}, +{"id":2,"make":"Mercedes-Benz","model":"C-Class","year":2009,"price":42397,"created_at":"2021-01-25 14:31:33"}, +{"id":3,"make":"Honda","model":"Accord Crosstour","year":2011,"price":63293,"created_at":"2021-02-11 05:36:03"}, +{"id":4,"make":"GMC","model":"Jimmy","year":1998,"price":34079,"created_at":"2022-01-24 03:00:03"}, +{"id":5,"make":"Infiniti","model":"FX","year":2004,"price":17036,"created_at":"2021-10-02 03:55:44"}, +{"id":6,"make":"Dodge","model":"Intrepid","year":2002,"price":65498,"created_at":"2022-01-18 00:41:08"}, +{"id":7,"make":"Nissan","model":"Frontier","year":2005,"price":14516,"created_at":"2021-04-22 16:37:44"}, +{"id":8,"make":"Chevrolet","model":"Express 1500","year":2007,"price":13023,"created_at":"2021-07-12 07:13:04"}, +{"id":9,"make":"Bentley","model":"Continental GTC","year":2008,"price":43458,"created_at":"2021-03-17 05:43:15"}, +{"id":10,"make":"Cadillac","model":"DTS","year":2008,"price":43859,"created_at":"2021-08-12 07:33:58"}, +{"id":11,"make":"Dodge","model":"Ram 2500","year":2000,"price":82904,"created_at":"2021-09-03 10:51:16"}, +{"id":12,"make":"Suzuki","model":"SJ 410","year":1984,"price":38667,"created_at":"2021-01-11 00:15:46"}, +{"id":13,"make":"Audi","model":"S4","year":2005,"price":2391,"created_at":"2021-09-06 03:31:10"}, +{"id":14,"make":"Chevrolet","model":"Suburban 2500","year":1998,"price":55733,"created_at":"2021-10-18 17:26:05"}, +{"id":15,"make":"Ford","model":"Ranger","year":2000,"price":20228,"created_at":"2022-03-24 04:03:19"}, +{"id":16,"make":"Chevrolet","model":"Corvette","year":2009,"price":75052,"created_at":"2021-12-31 03:38:21"}, +{"id":17,"make":"Mitsubishi","model":"Pajero","year":1993,"price":84058,"created_at":"2021-10-15 00:25:34"}, +{"id":18,"make":"Lincoln","model":"LS","year":2002,"price":34081,"created_at":"2022-02-14 22:12:01"}, +{"id":19,"make":"Dodge","model":"Magnum","year":2005,"price":85545,"created_at":"2021-07-25 22:49:48"}, +{"id":20,"make":"Pontiac","model":"Grand Am","year":2001,"price":54837,"created_at":"2021-10-15 14:08:30"}, +{"id":21,"make":"Chevrolet","model":"Suburban 1500","year":2006,"price":89410,"created_at":"2021-03-23 15:40:43"}, +{"id":22,"make":"GMC","model":"Sierra 1500","year":2005,"price":14288,"created_at":"2021-08-30 13:40:04"}, +{"id":23,"make":"GMC","model":"3500","year":1995,"price":12011,"created_at":"2022-04-24 13:11:08"}, +{"id":24,"make":"Mazda","model":"Mazda5","year":2006,"price":6393,"created_at":"2021-07-07 14:14:33"}, +{"id":25,"make":"Chevrolet","model":"Camaro","year":1967,"price":71590,"created_at":"2021-01-10 21:50:22"}, +{"id":26,"make":"Ford","model":"Explorer Sport Trac","year":2010,"price":23498,"created_at":"2022-04-20 00:52:20"}, +{"id":27,"make":"Dodge","model":"Caravan","year":1985,"price":50071,"created_at":"2022-01-05 10:13:31"}, +{"id":28,"make":"Nissan","model":"240SX","year":1992,"price":38379,"created_at":"2022-04-07 04:48:48"}, +{"id":29,"make":"Oldsmobile","model":"Intrigue","year":2002,"price":21376,"created_at":"2021-10-01 13:30:49"}, +{"id":30,"make":"Audi","model":"TT","year":2011,"price":40893,"created_at":"2021-02-28 23:06:37"}, +{"id":31,"make":"Ford","model":"Crown Victoria","year":2006,"price":86225,"created_at":"2021-01-28 23:33:27"}, +{"id":32,"make":"Toyota","model":"Tacoma","year":2003,"price":73558,"created_at":"2022-01-28 22:02:04"}, +{"id":33,"make":"Buick","model":"Regal","year":1994,"price":32279,"created_at":"2022-04-04 13:35:49"}, +{"id":34,"make":"Mercedes-Benz","model":"C-Class","year":2001,"price":98732,"created_at":"2021-03-30 23:16:05"}, +{"id":35,"make":"GMC","model":"Sierra 3500","year":2002,"price":48267,"created_at":"2021-07-30 20:29:51"}, +{"id":36,"make":"Pontiac","model":"G6","year":2005,"price":16766,"created_at":"2021-03-24 07:53:33"}, +{"id":37,"make":"Subaru","model":"Outback Sport","year":2002,"price":34523,"created_at":"2021-12-23 22:47:32"}, +{"id":38,"make":"Ferrari","model":"F430","year":2007,"price":31677,"created_at":"2021-01-11 04:49:57"}, +{"id":39,"make":"Mitsubishi","model":"Montero","year":2003,"price":67136,"created_at":"2021-05-10 07:37:56"}, +{"id":40,"make":"Nissan","model":"Sentra","year":1993,"price":78236,"created_at":"2021-11-10 23:48:26"}, +{"id":41,"make":"Mitsubishi","model":"3000GT","year":1993,"price":58150,"created_at":"2021-09-08 06:55:22"}, +{"id":42,"make":"Ford","model":"E350","year":2012,"price":55270,"created_at":"2021-03-24 13:17:37"}, +{"id":43,"make":"Ford","model":"Taurus","year":1987,"price":13522,"created_at":"2021-10-27 21:03:59"}, +{"id":44,"make":"Chevrolet","model":"Avalanche","year":2012,"price":9862,"created_at":"2021-07-13 12:22:26"}, +{"id":45,"make":"Dodge","model":"Charger","year":2012,"price":81887,"created_at":"2021-04-24 01:48:24"}, +{"id":46,"make":"Jaguar","model":"S-Type","year":2005,"price":34372,"created_at":"2021-04-03 08:56:17"}, +{"id":47,"make":"Plymouth","model":"Grand Voyager","year":1994,"price":90637,"created_at":"2022-04-21 09:21:08"}, +{"id":48,"make":"Pontiac","model":"6000","year":1989,"price":65165,"created_at":"2021-10-30 13:03:07"}, +{"id":49,"make":"Lexus","model":"IS","year":2006,"price":22434,"created_at":"2021-01-16 10:45:52"}, +{"id":50,"make":"Isuzu","model":"VehiCROSS","year":2001,"price":38180,"created_at":"2021-12-13 16:29:27"}, +{"id":51,"make":"Buick","model":"Regal","year":2000,"price":38680,"created_at":"2021-12-29 22:25:54"}, +{"id":52,"make":"Mercedes-Benz","model":"E-Class","year":2007,"price":51556,"created_at":"2021-07-06 11:42:23"}, +{"id":53,"make":"Buick","model":"LeSabre","year":2001,"price":10904,"created_at":"2022-01-05 18:23:35"}, +{"id":54,"make":"Porsche","model":"928","year":1989,"price":70917,"created_at":"2022-01-02 23:16:45"}, +{"id":55,"make":"Lexus","model":"RX","year":2007,"price":5212,"created_at":"2021-07-10 15:02:53"}, +{"id":56,"make":"Ford","model":"Econoline E250","year":1996,"price":75095,"created_at":"2021-02-04 16:17:18"}, +{"id":57,"make":"Chevrolet","model":"Blazer","year":2001,"price":61918,"created_at":"2021-12-08 07:25:30"}, +{"id":58,"make":"GMC","model":"Savana 3500","year":2003,"price":30307,"created_at":"2021-11-21 23:11:45"}, +{"id":59,"make":"BMW","model":"M","year":2002,"price":24598,"created_at":"2021-05-28 04:08:53"}, +{"id":60,"make":"Saturn","model":"S-Series","year":1992,"price":96288,"created_at":"2021-08-24 04:43:43"}, +{"id":61,"make":"Chrysler","model":"Sebring","year":2003,"price":34753,"created_at":"2021-02-11 11:25:35"}, +{"id":62,"make":"Lotus","model":"Evora","year":2010,"price":42760,"created_at":"2021-08-31 00:29:05"}, +{"id":63,"make":"Jeep","model":"Wrangler","year":2011,"price":8684,"created_at":"2021-06-24 10:38:05"}, +{"id":64,"make":"Ford","model":"Expedition","year":2012,"price":25653,"created_at":"2021-07-01 16:13:20"}, +{"id":65,"make":"Chevrolet","model":"Avalanche 2500","year":2006,"price":3158,"created_at":"2021-08-14 10:55:13"}, +{"id":66,"make":"Mazda","model":"Mazda3","year":2012,"price":79820,"created_at":"2021-05-25 21:55:52"}, +{"id":67,"make":"Toyota","model":"Tacoma","year":2005,"price":73572,"created_at":"2021-01-22 09:56:02"}, +{"id":68,"make":"Ford","model":"Explorer Sport","year":2000,"price":64579,"created_at":"2021-02-16 06:56:06"}, +{"id":69,"make":"GMC","model":"Savana Cargo Van","year":2006,"price":65944,"created_at":"2021-09-12 14:08:53"}, +{"id":70,"make":"Chevrolet","model":"HHR","year":2009,"price":8953,"created_at":"2021-08-17 04:25:43"}, +{"id":71,"make":"Ford","model":"Bronco II","year":1989,"price":41811,"created_at":"2021-07-14 14:20:28"}, +{"id":72,"make":"Chevrolet","model":"Suburban 2500","year":2011,"price":57488,"created_at":"2021-09-22 12:32:57"}, +{"id":73,"make":"Suzuki","model":"Grand Vitara","year":2008,"price":6408,"created_at":"2021-11-12 23:19:52"}, +{"id":74,"make":"Mazda","model":"Mazda6","year":2012,"price":14805,"created_at":"2021-06-01 01:55:32"}, +{"id":75,"make":"Chevrolet","model":"Tahoe","year":1998,"price":33585,"created_at":"2022-01-09 04:28:54"}, +{"id":76,"make":"Ford","model":"Explorer Sport Trac","year":2010,"price":2087,"created_at":"2022-03-28 00:28:16"}, +{"id":77,"make":"Ford","model":"F150","year":2007,"price":17621,"created_at":"2021-03-23 15:08:10"}, +{"id":78,"make":"Ford","model":"Taurus","year":1995,"price":16478,"created_at":"2021-06-07 22:29:50"}, +{"id":79,"make":"Mitsubishi","model":"Truck","year":1992,"price":70616,"created_at":"2022-01-30 05:14:02"}, +{"id":80,"make":"Dodge","model":"Colt","year":1994,"price":34163,"created_at":"2022-04-02 18:06:30"}, +{"id":81,"make":"Mazda","model":"RX-7","year":1991,"price":29634,"created_at":"2021-01-06 10:30:59"}, +{"id":82,"make":"Pontiac","model":"Grand Prix","year":1984,"price":88575,"created_at":"2021-02-24 06:06:57"}, +{"id":83,"make":"Mazda","model":"Mazdaspeed 3","year":2012,"price":77723,"created_at":"2021-11-11 22:48:05"}, +{"id":84,"make":"Alfa Romeo","model":"Spider","year":1992,"price":64288,"created_at":"2021-01-06 03:50:27"}, +{"id":85,"make":"Audi","model":"S8","year":2002,"price":33718,"created_at":"2021-07-21 11:14:54"}, +{"id":86,"make":"Isuzu","model":"Amigo","year":1992,"price":53335,"created_at":"2022-03-02 10:42:21"}, +{"id":87,"make":"Toyota","model":"Paseo","year":1996,"price":74558,"created_at":"2021-10-02 14:54:58"}, +{"id":88,"make":"Lincoln","model":"Continental Mark VII","year":1986,"price":42150,"created_at":"2021-10-02 04:48:53"}, +{"id":89,"make":"Dodge","model":"Dakota","year":1997,"price":64516,"created_at":"2021-09-09 23:13:26"}, +{"id":90,"make":"Chevrolet","model":"Tahoe","year":1998,"price":51461,"created_at":"2021-04-06 08:29:19"}, +{"id":91,"make":"Pontiac","model":"Vibe","year":2006,"price":12134,"created_at":"2021-01-11 22:30:14"}, +{"id":92,"make":"Volkswagen","model":"Eos","year":2011,"price":53128,"created_at":"2021-01-12 23:25:06"}, +{"id":93,"make":"Mazda","model":"Mazdaspeed6","year":2007,"price":90902,"created_at":"2021-12-29 14:29:03"}, +{"id":94,"make":"Nissan","model":"Xterra","year":2005,"price":41532,"created_at":"2021-09-07 09:00:49"}, +{"id":95,"make":"Mercury","model":"Sable","year":2005,"price":71337,"created_at":"2021-01-31 22:13:44"}, +{"id":96,"make":"BMW","model":"330","year":2006,"price":14494,"created_at":"2021-09-17 20:52:48"}, +{"id":97,"make":"Audi","model":"R8","year":2008,"price":17642,"created_at":"2021-09-21 11:56:24"}, +{"id":98,"make":"Cadillac","model":"CTS-V","year":2007,"price":19914,"created_at":"2021-09-02 15:38:46"}, +{"id":99,"make":"GMC","model":"1500 Club Coupe","year":1997,"price":82288,"created_at":"2021-04-20 18:58:15"}, +{"id":100,"make":"Buick","model":"Somerset","year":1986,"price":64148,"created_at":"2021-06-10 19:07:38"}] \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-faker/source_faker/products_catalog.json b/airbyte-integrations/connectors/source-faker/source_faker/products_catalog.json new file mode 100644 index 000000000000..484f58f8bd13 --- /dev/null +++ b/airbyte-integrations/connectors/source-faker/source_faker/products_catalog.json @@ -0,0 +1,16 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "id": { "type": "number" }, + "make": { "type": "string" }, + "model": { "type": "string" }, + "year": { "type": "string" }, + "price": { "type": "number" }, + "created_at": { + "type": "string", + "format": "date-time", + "airbyte_type": "timestamp_without_timezone" + } + } +} diff --git a/airbyte-integrations/connectors/source-faker/source_faker/purchases_catalog.json b/airbyte-integrations/connectors/source-faker/source_faker/purchases_catalog.json new file mode 100644 index 000000000000..7d07183a028f --- /dev/null +++ b/airbyte-integrations/connectors/source-faker/source_faker/purchases_catalog.json @@ -0,0 +1,24 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "id": { "type": "number" }, + "user_id": { "type": "number" }, + "product_id": { "type": "number" }, + "added_to_cart_at": { + "type": "string", + "format": "date-time", + "airbyte_type": "timestamp_without_timezone" + }, + "purchased_at": { + "type": "string", + "format": "date-time", + "airbyte_type": "timestamp_without_timezone" + }, + "returned_at": { + "type": "string", + "format": "date-time", + "airbyte_type": "timestamp_without_timezone" + } + } +} diff --git a/airbyte-integrations/connectors/source-faker/source_faker/source.py b/airbyte-integrations/connectors/source-faker/source_faker/source.py index 933005e16341..5873e31e8866 100644 --- a/airbyte-integrations/connectors/source-faker/source_faker/source.py +++ b/airbyte-integrations/connectors/source-faker/source_faker/source.py @@ -1,11 +1,12 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # +import datetime import json import os -from datetime import datetime +import random from typing import Dict, Generator from airbyte_cdk.logger import AirbyteLogger @@ -59,12 +60,23 @@ def discover(self, logger: AirbyteLogger, config: Dict[str, any]) -> AirbyteCata by their names and types) """ streams = [] + dirname = os.path.dirname(os.path.realpath(__file__)) # Fake Users - dirname = os.path.dirname(os.path.realpath(__file__)) - spec_path = os.path.join(dirname, "catalog.json") + spec_path = os.path.join(dirname, "users_catalog.json") catalog = read_json(spec_path) streams.append(AirbyteStream(name="Users", json_schema=catalog, supported_sync_modes=["full_refresh", "incremental"])) + + # Fake Products + spec_path = os.path.join(dirname, "products_catalog.json") + catalog = read_json(spec_path) + streams.append(AirbyteStream(name="Products", json_schema=catalog, supported_sync_modes=["full_refresh"])) + + # Fake Purchases + spec_path = os.path.join(dirname, "purchases_catalog.json") + catalog = read_json(spec_path) + streams.append(AirbyteStream(name="Purchases", json_schema=catalog, supported_sync_modes=["full_refresh", "incremental"])) + return AirbyteCatalog(streams=streams) def read( @@ -91,25 +103,69 @@ def read( """ count: int = config["count"] if "count" in config else 0 - seed: int = config["seed"] if "seed" in config else state["seed"] if "seed" in state else None + seed: int = config["seed"] if "seed" in config else None + records_per_sync: int = config["records_per_sync"] if "records_per_sync" in config else 500 + records_per_slice: int = config["records_per_slice"] if "records_per_slice" in config else 100 + Faker.seed(seed) fake = Faker() + to_generate_users = False + to_generate_purchases = False + purchases_stream = None + purchases_count = state["Purchases"]["purchases_count"] if "Purchases" in state else 0 + for stream in catalog.streams: + if stream.stream.name == "Users": + to_generate_users = True + for stream in catalog.streams: + if stream.stream.name == "Purchases": + purchases_stream = stream + to_generate_purchases = True + + if to_generate_purchases and not to_generate_users: + raise ValueError("Purchases stream cannot be enabled without Users stream") + for stream in catalog.streams: if stream.stream.name == "Users": cursor = get_stream_cursor(state, stream.stream.name) total_records = cursor + records_in_sync = 0 + records_in_page = 0 for i in range(cursor, count): - yield AirbyteMessage( - type=Type.RECORD, - record=AirbyteRecordMessage( - stream=stream.stream.name, data=emit_user(fake, i), emitted_at=int(datetime.now().timestamp()) * 1000 - ), - ) - total_records = total_records + 1 - - yield emit_state(stream.stream.name, total_records, seed) + user = generate_user(fake, i) + yield generate_record(stream, user) + total_records += 1 + records_in_sync += 1 + records_in_page += 1 + + if to_generate_purchases: + purchases = generate_purchases(fake, user, purchases_count) + for p in purchases: + yield generate_record(purchases_stream, p) + purchases_count += 1 + + if records_in_page == records_per_slice: + yield generate_state(state, stream, {"cursor": total_records, "seed": seed}) + records_in_page = 0 + + if records_in_sync == records_per_sync: + break + + yield generate_state(state, stream, {"cursor": total_records, "seed": seed}) + if purchases_stream is not None: + yield generate_state(state, purchases_stream, {"purchases_count": purchases_count}) + + elif stream.stream.name == "Products": + products = generate_products() + for p in products: + yield generate_record(stream, p) + yield generate_state(state, stream, {"product_count": len(products)}) + + elif stream.stream.name == "Purchases": + # Purchases are generated as part of Users stream + True + else: raise ValueError(stream.stream.name) @@ -119,17 +175,28 @@ def get_stream_cursor(state: Dict[str, any], stream: str) -> int: return cursor -def emit_state(stream: str, value: int, seed: int): - message = AirbyteMessage(type=Type.STATE, state=AirbyteStateMessage(data={stream: {"cursor": value, "seed": seed}})) - return message +def generate_record(stream: any, data: any): + return AirbyteMessage( + type=Type.RECORD, + record=AirbyteRecordMessage(stream=stream.stream.name, data=data, emitted_at=int(datetime.datetime.now().timestamp()) * 1000), + ) + + +def generate_state(state: Dict[str, any], stream: any, data: any): + state[ + stream.stream.name + ] = data # since we have multiple streams, we need to build up the "combined state" for all streams and emit that each time until the platform has support for per-stream state + return AirbyteMessage(type=Type.STATE, state=AirbyteStateMessage(data=state)) -def emit_user(fake: Faker, idx: int): +def generate_user(fake: Faker, user_id: int): profile = fake.profile() + del profile["birthdate"] # the birthdate field seems to not obey the seed at the moment, so we'll ignore it + time_a = fake.date_time() time_b = fake.date_time() metadata = { - "id": idx, + "id": user_id + 1, "created_at": time_a if time_a <= time_b else time_b, "updated_at": time_a if time_a > time_b else time_b, } @@ -137,6 +204,50 @@ def emit_user(fake: Faker, idx: int): return profile +def generate_purchases(fake: Faker, user: any, purchases_count: int) -> list[Dict]: + purchases: list[Dict] = [] + purchase_percent_remaining = 80 # ~ 20% of people will have no purchases + total_products = len(generate_products()) + purchase_percent_remaining = purchase_percent_remaining - random.randrange(1, 100) + i = 0 + while purchase_percent_remaining > 0: + id = purchases_count + i + 1 + product_id = random.randrange(1, total_products) + added_to_cart_at = random_date_in_range(user["created_at"]) + purchased_at = ( + random_date_in_range(added_to_cart_at) if added_to_cart_at is not None and random.randrange(1, 100) <= 70 else None + ) # 70% likely to purchase the item in the cart + returned_at = ( + random_date_in_range(purchased_at) if purchased_at is not None and random.randrange(1, 100) <= 15 else None + ) # 15% likely to return the item + purchase = { + "id": id, + "product_id": product_id, + "user_id": user["id"], + "added_to_cart_at": added_to_cart_at, + "purchased_at": purchased_at, + "returned_at": returned_at, + } + purchases.append(purchase) + + purchase_percent_remaining = purchase_percent_remaining - random.randrange(1, 100) + i += 1 + return purchases + + +def generate_products() -> list[Dict]: + dirname = os.path.dirname(os.path.realpath(__file__)) + return read_json(os.path.join(dirname, "products.json")) + + def read_json(filepath): with open(filepath, "r") as f: return json.loads(f.read()) + + +def random_date_in_range(start_date: datetime.datetime, end_date: datetime.datetime = datetime.datetime.now()) -> datetime.datetime: + time_between_dates = end_date - start_date + days_between_dates = time_between_dates.days + random_number_of_days = random.randrange(days_between_dates) + random_date = start_date + datetime.timedelta(days=random_number_of_days) + return random_date diff --git a/airbyte-integrations/connectors/source-faker/source_faker/spec.json b/airbyte-integrations/connectors/source-faker/source_faker/spec.json index f4f58007bcea..c056a36a0712 100644 --- a/airbyte-integrations/connectors/source-faker/source_faker/spec.json +++ b/airbyte-integrations/connectors/source-faker/source_faker/spec.json @@ -9,10 +9,10 @@ "properties": { "count": { "title": "Count", - "description": "How many fake records should be generated", + "description": "How many users should be generated in total. This setting does not apply to the purchases or products stream.", "type": "integer", "minimum": 1, - "default": 100, + "default": 1000, "order": 0 }, "seed": { @@ -21,6 +21,22 @@ "type": "integer", "default": -1, "order": 1 + }, + "records_per_sync": { + "title": "Records Per Sync", + "description": "How many fake records will be returned for each sync, for each stream? By default, it will take 2 syncs to create the requested 1000 records.", + "type": "integer", + "minimum": 1, + "default": 500, + "order": 2 + }, + "records_per_slice": { + "title": "Records Per Stream Slice", + "description": "How many fake records will be in each page (stream slice), before a state message is emitted?", + "type": "integer", + "minimum": 1, + "default": 100, + "order": 3 } } } diff --git a/airbyte-integrations/connectors/source-faker/source_faker/catalog.json b/airbyte-integrations/connectors/source-faker/source_faker/users_catalog.json similarity index 89% rename from airbyte-integrations/connectors/source-faker/source_faker/catalog.json rename to airbyte-integrations/connectors/source-faker/source_faker/users_catalog.json index 6f2670530cc5..28b2410e0a8a 100644 --- a/airbyte-integrations/connectors/source-faker/source_faker/catalog.json +++ b/airbyte-integrations/connectors/source-faker/source_faker/users_catalog.json @@ -24,7 +24,6 @@ "name": { "type": "string" }, "sex": { "type": "string" }, "address": { "type": "string" }, - "mail": { "type": "string" }, - "birthdate": { "type": "string", "format": "date" } + "mail": { "type": "string" } } } diff --git a/airbyte-integrations/connectors/source-faker/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-faker/unit_tests/unit_test.py index 93648451e62d..93df146d0c0d 100644 --- a/airbyte-integrations/connectors/source-faker/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-faker/unit_tests/unit_test.py @@ -1,8 +1,9 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import jsonschema +import pytest from airbyte_cdk.models import AirbyteMessage, ConfiguredAirbyteCatalog, Type from source_faker import SourceFaker @@ -14,7 +15,7 @@ def test_source_streams(): catalog = AirbyteMessage(type=Type.CATALOG, catalog=catalog).dict(exclude_unset=True) schemas = [stream["json_schema"] for stream in catalog["catalog"]["streams"]] - assert len(schemas) == 1 + assert len(schemas) == 3 assert schemas[0]["properties"] == { "id": {"type": "number"}, "created_at": {"type": "string", "format": "date-time", "airbyte_type": "timestamp_without_timezone"}, @@ -31,14 +32,13 @@ def test_source_streams(): "sex": {"type": "string"}, "address": {"type": "string"}, "mail": {"type": "string"}, - "birthdate": {"type": "string", "format": "date"}, } for schema in schemas: jsonschema.Draft7Validator.check_schema(schema) -def test_read_random_data(): +def test_read_small_random_data(): source = SourceFaker() logger = None config = {"count": 10} @@ -50,14 +50,101 @@ def test_read_random_data(): record_rows_count = 0 state_rows_count = 0 + latest_state = {} for row in iterator: if row.type is Type.RECORD: record_rows_count = record_rows_count + 1 if row.type is Type.STATE: state_rows_count = state_rows_count + 1 + latest_state = row assert record_rows_count == 10 assert state_rows_count == 1 + assert latest_state.state.data == {"Users": {"cursor": 10, "seed": None}} + + +def test_read_big_random_data(): + source = SourceFaker() + logger = None + config = {"count": 1000, "records_per_slice": 100, "records_per_sync": 1000} + catalog = ConfiguredAirbyteCatalog( + streams=[ + {"stream": {"name": "Users", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + {"stream": {"name": "Products", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + ] + ) + state = {} + iterator = source.read(logger, config, catalog, state) + + record_rows_count = 0 + state_rows_count = 0 + latest_state = {} + for row in iterator: + if row.type is Type.RECORD: + record_rows_count = record_rows_count + 1 + if row.type is Type.STATE: + state_rows_count = state_rows_count + 1 + latest_state = row + + assert record_rows_count == 1000 + 100 # 1000 users, and 100 products + assert state_rows_count == 10 + 1 + 1 # 1000/100 + one more state at the end, and one state for the products + assert latest_state.state.data == {"Products": {"product_count": 100}, "Users": {"cursor": 1000, "seed": None}} + + +def test_with_purchases(): + source = SourceFaker() + logger = None + config = {"count": 1000, "records_per_sync": 1000} + catalog = ConfiguredAirbyteCatalog( + streams=[ + {"stream": {"name": "Users", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + {"stream": {"name": "Products", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + {"stream": {"name": "Purchases", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + ] + ) + state = {} + iterator = source.read(logger, config, catalog, state) + + record_rows_count = 0 + state_rows_count = 0 + latest_state = {} + for row in iterator: + if row.type is Type.RECORD: + record_rows_count = record_rows_count + 1 + if row.type is Type.STATE: + state_rows_count = state_rows_count + 1 + latest_state = row + + assert record_rows_count > 1000 + 100 # should be greater than 1000 users, and 100 products + assert state_rows_count > 10 + 1 + 1 # should be greater than 1000/100 + one more state at the end, and one state for the products + assert latest_state.state.data["Users"] == {"cursor": 1000, "seed": None} + assert latest_state.state.data["Products"] == {"product_count": 100} + assert latest_state.state.data["Purchases"]["purchases_count"] > 0 + + +def test_sync_ends_with_limit(): + source = SourceFaker() + logger = None + config = {"count": 100, "records_per_sync": 5} + catalog = ConfiguredAirbyteCatalog( + streams=[{"stream": {"name": "Users", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}] + ) + state = {} + iterator = source.read(logger, config, catalog, state) + + record_rows_count = 0 + state_rows_count = 0 + latest_state = {} + for row in iterator: + if row.type is Type.RECORD: + record_rows_count = record_rows_count + 1 + if row.type is Type.STATE: + state_rows_count = state_rows_count + 1 + latest_state = row + + assert record_rows_count == 5 + assert state_rows_count == 1 + assert latest_state.state.data == {"Users": {"cursor": 5, "seed": None}} def test_read_with_seed(): @@ -77,3 +164,18 @@ def test_read_with_seed(): records = [row for row in iterator if row.type is Type.RECORD] assert records[0].record.data["company"] == "Gibson-Townsend" assert records[0].record.data["mail"] == "zamoradenise@yahoo.com" + + +def test_ensure_no_purchases_without_users(): + with pytest.raises(ValueError): + source = SourceFaker() + logger = None + config = {"count": 100} + catalog = ConfiguredAirbyteCatalog( + streams=[ + {"stream": {"name": "Purchases", "json_schema": {}}, "sync_mode": "full_refresh", "destination_sync_mode": "overwrite"}, + ] + ) + state = {} + iterator = source.read(logger, config, catalog, state) + iterator.__next__() diff --git a/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-file-secure/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file-secure/main.py b/airbyte-integrations/connectors/source-file-secure/main.py index 2ba9b1095e95..8756df9a8cc9 100644 --- a/airbyte-integrations/connectors/source-file-secure/main.py +++ b/airbyte-integrations/connectors/source-file-secure/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file-secure/setup.py b/airbyte-integrations/connectors/source-file-secure/setup.py index 7ec39455292f..3224d6f24176 100644 --- a/airbyte-integrations/connectors/source-file-secure/setup.py +++ b/airbyte-integrations/connectors/source-file-secure/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file-secure/source_file_secure/source.py b/airbyte-integrations/connectors/source-file-secure/source_file_secure/source.py index 761a867576a7..db36e11d2053 100644 --- a/airbyte-integrations/connectors/source-file-secure/source_file_secure/source.py +++ b/airbyte-integrations/connectors/source-file-secure/source_file_secure/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-file-secure/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-file-secure/unit_tests/unit_test.py index 61568885be2b..bc6cf351c119 100644 --- a/airbyte-integrations/connectors/source-file-secure/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-file-secure/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-file/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/integration_tests/client_storage_providers_test.py b/airbyte-integrations/connectors/source-file/integration_tests/client_storage_providers_test.py index 604420e9c252..9ae3febf47fc 100644 --- a/airbyte-integrations/connectors/source-file/integration_tests/client_storage_providers_test.py +++ b/airbyte-integrations/connectors/source-file/integration_tests/client_storage_providers_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/integration_tests/conftest.py b/airbyte-integrations/connectors/source-file/integration_tests/conftest.py index c2e10868fb36..5d156ade8c3c 100644 --- a/airbyte-integrations/connectors/source-file/integration_tests/conftest.py +++ b/airbyte-integrations/connectors/source-file/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/integration_tests/file_formats_test.py b/airbyte-integrations/connectors/source-file/integration_tests/file_formats_test.py index 75da00168ff0..c5a9b399df0d 100644 --- a/airbyte-integrations/connectors/source-file/integration_tests/file_formats_test.py +++ b/airbyte-integrations/connectors/source-file/integration_tests/file_formats_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/main.py b/airbyte-integrations/connectors/source-file/main.py index 59723e5e4f1c..b40c1b502ebe 100644 --- a/airbyte-integrations/connectors/source-file/main.py +++ b/airbyte-integrations/connectors/source-file/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/setup.py b/airbyte-integrations/connectors/source-file/setup.py index 941ccd5a186e..68057573e763 100644 --- a/airbyte-integrations/connectors/source-file/setup.py +++ b/airbyte-integrations/connectors/source-file/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/source_file/client.py b/airbyte-integrations/connectors/source-file/source_file/client.py index 0ece40b60286..f82e2937b92c 100644 --- a/airbyte-integrations/connectors/source-file/source_file/client.py +++ b/airbyte-integrations/connectors/source-file/source_file/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-file/source_file/source.py b/airbyte-integrations/connectors/source-file/source_file/source.py index 6a8405925c08..bac45796dfc0 100644 --- a/airbyte-integrations/connectors/source-file/source_file/source.py +++ b/airbyte-integrations/connectors/source-file/source_file/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-flexport/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/main.py b/airbyte-integrations/connectors/source-flexport/main.py index 0147afb4bb46..c862c5c6ccf0 100644 --- a/airbyte-integrations/connectors/source-flexport/main.py +++ b/airbyte-integrations/connectors/source-flexport/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/setup.py b/airbyte-integrations/connectors/source-flexport/setup.py index 0c0b777b0011..f985e3b238ad 100644 --- a/airbyte-integrations/connectors/source-flexport/setup.py +++ b/airbyte-integrations/connectors/source-flexport/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/source.py b/airbyte-integrations/connectors/source-flexport/source_flexport/source.py index 81e3d2637fc5..eebebbc97c18 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/source.py +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py b/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py index df7157e8bcd5..f865ecec888d 100644 --- a/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py +++ b/airbyte-integrations/connectors/source-flexport/source_flexport/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-flexport/unit_tests/test_incremental_streams.py index e9072f76e0d0..44533ade6b9b 100644 --- a/airbyte-integrations/connectors/source-flexport/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-flexport/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-flexport/unit_tests/test_source.py b/airbyte-integrations/connectors/source-flexport/unit_tests/test_source.py index 83d005cabeae..b825686a42bc 100644 --- a/airbyte-integrations/connectors/source-flexport/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-flexport/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-flexport/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-flexport/unit_tests/test_streams.py index 5b89deb29887..6ce42c90d393 100644 --- a/airbyte-integrations/connectors/source-flexport/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-flexport/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshdesk/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/integration_tests/test_client.py b/airbyte-integrations/connectors/source-freshdesk/integration_tests/test_client.py index a10643db0c46..5b197e9fa5f8 100644 --- a/airbyte-integrations/connectors/source-freshdesk/integration_tests/test_client.py +++ b/airbyte-integrations/connectors/source-freshdesk/integration_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/main.py b/airbyte-integrations/connectors/source-freshdesk/main.py index 0811ef301550..560502362ddb 100644 --- a/airbyte-integrations/connectors/source-freshdesk/main.py +++ b/airbyte-integrations/connectors/source-freshdesk/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/setup.py b/airbyte-integrations/connectors/source-freshdesk/setup.py index 323f191ae8db..70b9e6d3fa46 100644 --- a/airbyte-integrations/connectors/source-freshdesk/setup.py +++ b/airbyte-integrations/connectors/source-freshdesk/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/api.py b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/api.py index a9e0021d2010..c02c575b93a5 100644 --- a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/api.py +++ b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/client.py b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/client.py index 325088ad7f2c..4c6a305a85b6 100644 --- a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/client.py +++ b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/errors.py b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/errors.py index 4173b68648f5..846386294717 100644 --- a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/errors.py +++ b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/errors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/source.py b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/source.py index aa5427887ef1..dec7ee54460c 100644 --- a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/source.py +++ b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/utils.py b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/utils.py index f88669b8a28f..279eb00b1848 100644 --- a/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/utils.py +++ b/airbyte-integrations/connectors/source-freshdesk/source_freshdesk/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_300_page.py b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_300_page.py index a8c3a9cc255c..a23a1ea702c7 100644 --- a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_300_page.py +++ b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_300_page.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_call_credit.py b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_call_credit.py index 16802a462b85..fe5ce8b51cc7 100644 --- a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_call_credit.py +++ b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_call_credit.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_client.py b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_client.py index 9219fd64be9a..fab3cb17b700 100644 --- a/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_client.py +++ b/airbyte-integrations/connectors/source-freshdesk/unit_tests/test_client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshsales/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-freshsales/integration_tests/integration_test.py index 947827faf311..869f9c8fc10e 100644 --- a/airbyte-integrations/connectors/source-freshsales/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-freshsales/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/main.py b/airbyte-integrations/connectors/source-freshsales/main.py index 3f4d8a1f45c4..704ed876aba8 100644 --- a/airbyte-integrations/connectors/source-freshsales/main.py +++ b/airbyte-integrations/connectors/source-freshsales/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/setup.py b/airbyte-integrations/connectors/source-freshsales/setup.py index 2539849d0c67..3e74cf762515 100644 --- a/airbyte-integrations/connectors/source-freshsales/setup.py +++ b/airbyte-integrations/connectors/source-freshsales/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/source_freshsales/source.py b/airbyte-integrations/connectors/source-freshsales/source_freshsales/source.py index 974114398ffc..a81a27bf2039 100644 --- a/airbyte-integrations/connectors/source-freshsales/source_freshsales/source.py +++ b/airbyte-integrations/connectors/source-freshsales/source_freshsales/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshsales/unit_tests/conftest.py b/airbyte-integrations/connectors/source-freshsales/unit_tests/conftest.py index d03c2820311d..c40a4656127d 100644 --- a/airbyte-integrations/connectors/source-freshsales/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-freshsales/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-freshsales/unit_tests/test_source.py b/airbyte-integrations/connectors/source-freshsales/unit_tests/test_source.py index 0a07fc972adf..a4d48a5ad534 100644 --- a/airbyte-integrations/connectors/source-freshsales/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-freshsales/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-freshservice/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshservice/main.py b/airbyte-integrations/connectors/source-freshservice/main.py index 28a989744131..4ae95ef40055 100644 --- a/airbyte-integrations/connectors/source-freshservice/main.py +++ b/airbyte-integrations/connectors/source-freshservice/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshservice/setup.py b/airbyte-integrations/connectors/source-freshservice/setup.py index 6a9ee60422cf..023788265154 100644 --- a/airbyte-integrations/connectors/source-freshservice/setup.py +++ b/airbyte-integrations/connectors/source-freshservice/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-freshservice/source_freshservice/source.py b/airbyte-integrations/connectors/source-freshservice/source_freshservice/source.py index 7a5eb4e80c4b..5feaa31e3004 100644 --- a/airbyte-integrations/connectors/source-freshservice/source_freshservice/source.py +++ b/airbyte-integrations/connectors/source-freshservice/source_freshservice/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-freshservice/source_freshservice/streams.py b/airbyte-integrations/connectors/source-freshservice/source_freshservice/streams.py index 1ef15932bf9a..f575842b06f6 100644 --- a/airbyte-integrations/connectors/source-freshservice/source_freshservice/streams.py +++ b/airbyte-integrations/connectors/source-freshservice/source_freshservice/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-freshservice/unit_tests/conftest.py b/airbyte-integrations/connectors/source-freshservice/unit_tests/conftest.py index 589503290036..77034c0c810c 100644 --- a/airbyte-integrations/connectors/source-freshservice/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-freshservice/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-freshservice/unit_tests/test_source.py b/airbyte-integrations/connectors/source-freshservice/unit_tests/test_source.py index 93a5c65d7b5b..bdb582bfbd03 100644 --- a/airbyte-integrations/connectors/source-freshservice/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-freshservice/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest import mock diff --git a/airbyte-integrations/connectors/source-github/Dockerfile b/airbyte-integrations/connectors/source-github/Dockerfile index caf7b635c246..7bb71f29dae9 100644 --- a/airbyte-integrations/connectors/source-github/Dockerfile +++ b/airbyte-integrations/connectors/source-github/Dockerfile @@ -12,5 +12,5 @@ RUN pip install . ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.2.30 +LABEL io.airbyte.version=0.2.31 LABEL io.airbyte.name=airbyte/source-github diff --git a/airbyte-integrations/connectors/source-github/acceptance-test-config.yml b/airbyte-integrations/connectors/source-github/acceptance-test-config.yml index e82a09a1a021..bee378b5049a 100644 --- a/airbyte-integrations/connectors/source-github/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-github/acceptance-test-config.yml @@ -44,6 +44,7 @@ tests: review_comments: ["airbytehq/integration-test", "updated_at"] reviews: ["airbytehq/integration-test", "pull_request_updated_at"] stargazers: ["airbytehq/integration-test", "starred_at"] + workflow_runs: ["airbytehq/integration-test", "updated_at"] workflows: ["airbytehq/integration-test", "updated_at"] full_refresh: - config_path: "secrets/config.json" diff --git a/airbyte-integrations/connectors/source-github/fixtures/github.py b/airbyte-integrations/connectors/source-github/fixtures/github.py index 83c84de5425a..ae32574b2355 100644 --- a/airbyte-integrations/connectors/source-github/fixtures/github.py +++ b/airbyte-integrations/connectors/source-github/fixtures/github.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # type: ignore diff --git a/airbyte-integrations/connectors/source-github/fixtures/main.py b/airbyte-integrations/connectors/source-github/fixtures/main.py index f64e67802890..6153a4c13439 100644 --- a/airbyte-integrations/connectors/source-github/fixtures/main.py +++ b/airbyte-integrations/connectors/source-github/fixtures/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # type: ignore diff --git a/airbyte-integrations/connectors/source-github/integration_tests/abnormal_state.json b/airbyte-integrations/connectors/source-github/integration_tests/abnormal_state.json index 830a02d3b3d6..086002a01cac 100644 --- a/airbyte-integrations/connectors/source-github/integration_tests/abnormal_state.json +++ b/airbyte-integrations/connectors/source-github/integration_tests/abnormal_state.json @@ -133,5 +133,10 @@ "airbytehq/integration-test": { "updated_at": "2121-12-31T23:59:59Z" } + }, + "workflow_runs": { + "airbytehq/integration-test": { + "updated_at": "2121-12-31T23:59:59Z" + } } } diff --git a/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-github/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-github/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-github/integration_tests/configured_catalog.json index 674ca4be0147..afe7f85524f8 100644 --- a/airbyte-integrations/connectors/source-github/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-github/integration_tests/configured_catalog.json @@ -375,10 +375,10 @@ "stream": { "name": "workflow_runs", "json_schema": {}, - "supported_sync_modes": ["full_refresh"], + "supported_sync_modes": ["full_refresh", "incremental"], "source_defined_primary_key": [["id"]] }, - "sync_mode": "full_refresh", + "sync_mode": "incremental", "destination_sync_mode": "overwrite" }, { diff --git a/airbyte-integrations/connectors/source-github/main.py b/airbyte-integrations/connectors/source-github/main.py index afc4e36e7f9a..52a95e4438e0 100644 --- a/airbyte-integrations/connectors/source-github/main.py +++ b/airbyte-integrations/connectors/source-github/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-github/setup.py b/airbyte-integrations/connectors/source-github/setup.py index 012ca57a69ee..2f966207e021 100644 --- a/airbyte-integrations/connectors/source-github/setup.py +++ b/airbyte-integrations/connectors/source-github/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-github/source_github/source.py b/airbyte-integrations/connectors/source-github/source_github/source.py index c888c38c036c..fc8153131fa6 100644 --- a/airbyte-integrations/connectors/source-github/source_github/source.py +++ b/airbyte-integrations/connectors/source-github/source_github/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-github/source_github/streams.py b/airbyte-integrations/connectors/source-github/source_github/streams.py index cd0b364b809c..b2018cb13121 100644 --- a/airbyte-integrations/connectors/source-github/source_github/streams.py +++ b/airbyte-integrations/connectors/source-github/source_github/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import time @@ -14,6 +14,8 @@ from airbyte_cdk.sources.streams.http import HttpStream, HttpSubStream from requests.exceptions import HTTPError +from .utils import getter + DEFAULT_PAGE_SIZE = 100 @@ -202,6 +204,8 @@ def __slice_key(self): return "repository" return "organization" + record_slice_key = __slice_key + def convert_cursor_value(self, value): return value @@ -216,7 +220,7 @@ def get_updated_state(self, current_stream_state: MutableMapping[str, Any], late Return the latest state by comparing the cursor value in the latest record with the stream's most recent state object and returning an updated state object. """ - slice_value = latest_record[self.__slice_key] + slice_value = getter(latest_record, self.record_slice_key) updated_state = self.convert_cursor_value(latest_record[self.cursor_field]) stream_state_value = current_stream_state.get(slice_value, {}).get(self.cursor_field) if stream_state_value: @@ -1051,12 +1055,15 @@ def convert_cursor_value(self, value): return pendulum.parse(value).in_tz(tz="UTC").format("YYYY-MM-DDTHH:mm:ss[Z]") -class WorkflowRuns(GithubStream): +class WorkflowRuns(SemiIncrementalMixin, GithubStream): """ Get all workflows of a GitHub repository API documentation: https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository """ + # key for accessing slice value from record + record_slice_key = ["repository", "full_name"] + def path(self, stream_slice: Mapping[str, Any] = None, **kwargs) -> str: return f"repos/{stream_slice['repository']}/actions/runs" diff --git a/airbyte-integrations/connectors/source-github/source_github/utils.py b/airbyte-integrations/connectors/source-github/source_github/utils.py new file mode 100644 index 000000000000..04391bae6a6d --- /dev/null +++ b/airbyte-integrations/connectors/source-github/source_github/utils.py @@ -0,0 +1,11 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +def getter(D: dict, key_or_keys): + if not isinstance(key_or_keys, list): + key_or_keys = [key_or_keys] + for k in key_or_keys: + D = D[k] + return D diff --git a/airbyte-integrations/connectors/source-github/unit_tests/test_source.py b/airbyte-integrations/connectors/source-github/unit_tests/test_source.py index d0621f8c7f72..41aec0d9971f 100644 --- a/airbyte-integrations/connectors/source-github/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-github/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-github/unit_tests/test_stream.py b/airbyte-integrations/connectors/source-github/unit_tests/test_stream.py index de2c1b40e755..13250f301e76 100644 --- a/airbyte-integrations/connectors/source-github/unit_tests/test_stream.py +++ b/airbyte-integrations/connectors/source-github/unit_tests/test_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-github/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-github/unit_tests/unit_test.py index 6e6669d7be31..c57abef1fa5c 100644 --- a/airbyte-integrations/connectors/source-github/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-github/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from airbyte_cdk.sources.streams.http.auth import MultipleTokenAuthenticator diff --git a/airbyte-integrations/connectors/source-github/unit_tests/utils.py b/airbyte-integrations/connectors/source-github/unit_tests/utils.py index 6f844e8f33dd..472fe907a89f 100644 --- a/airbyte-integrations/connectors/source-github/unit_tests/utils.py +++ b/airbyte-integrations/connectors/source-github/unit_tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, MutableMapping diff --git a/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-gitlab/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-gitlab/main.py b/airbyte-integrations/connectors/source-gitlab/main.py index 7d84a30fbab4..9a81531eeb80 100644 --- a/airbyte-integrations/connectors/source-gitlab/main.py +++ b/airbyte-integrations/connectors/source-gitlab/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-gitlab/setup.py b/airbyte-integrations/connectors/source-gitlab/setup.py index 7bd2751938b6..c1975a634c42 100644 --- a/airbyte-integrations/connectors/source-gitlab/setup.py +++ b/airbyte-integrations/connectors/source-gitlab/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-gitlab/source_gitlab/source.py b/airbyte-integrations/connectors/source-gitlab/source_gitlab/source.py index d05a71888383..12db84130748 100644 --- a/airbyte-integrations/connectors/source-gitlab/source_gitlab/source.py +++ b/airbyte-integrations/connectors/source-gitlab/source_gitlab/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-gitlab/source_gitlab/streams.py b/airbyte-integrations/connectors/source-gitlab/source_gitlab/streams.py index 7f30cfbb82bd..e134a2075acb 100644 --- a/airbyte-integrations/connectors/source-gitlab/source_gitlab/streams.py +++ b/airbyte-integrations/connectors/source-gitlab/source_gitlab/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-gitlab/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-gitlab/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-gitlab/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-gitlab/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml b/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml index f316cda4576b..2a27b94e3b46 100644 --- a/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-google-ads/acceptance-test-config.yml @@ -37,6 +37,7 @@ tests: # future_state_path: "integration_tests/abnormal_state.json" # cursor_paths: # ad_group_ad_report: ["segments.date"] - full_refresh: - - config_path: "secrets/config.json" - configured_catalog_path: "integration_tests/configured_catalog.json" +# This one is disabled due to the issue https://github.com/airbytehq/airbyte/issues/13148 +# full_refresh: +# - config_path: "secrets/config.json" +# configured_catalog_path: "integration_tests/configured_catalog.json" diff --git a/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-ads/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-google-ads/integration_tests/configured_catalog.json index 6c10f506f304..0f1b89da1c0e 100644 --- a/airbyte-integrations/connectors/source-google-ads/integration_tests/configured_catalog.json +++ b/airbyte-integrations/connectors/source-google-ads/integration_tests/configured_catalog.json @@ -113,10 +113,7 @@ "sync_mode": "incremental", "destination_sync_mode": "overwrite", "cursor_field": ["segments.date"], - "primary_key": [ - ["ad_group_ad.ad.id"], - ["segments.date"] - ] + "primary_key": [["ad_group_ad.ad.id"], ["segments.date"]] }, { "stream": { diff --git a/airbyte-integrations/connectors/source-google-ads/integration_tests/conftest.py b/airbyte-integrations/connectors/source-google-ads/integration_tests/conftest.py index d03c2820311d..c40a4656127d 100644 --- a/airbyte-integrations/connectors/source-google-ads/integration_tests/conftest.py +++ b/airbyte-integrations/connectors/source-google-ads/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-ads/integration_tests/test_incremental.py b/airbyte-integrations/connectors/source-google-ads/integration_tests/test_incremental.py index 00361c910748..a057b04d189a 100644 --- a/airbyte-integrations/connectors/source-google-ads/integration_tests/test_incremental.py +++ b/airbyte-integrations/connectors/source-google-ads/integration_tests/test_incremental.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-google-ads/main.py b/airbyte-integrations/connectors/source-google-ads/main.py index 67c9a2411396..128cd4ef2136 100644 --- a/airbyte-integrations/connectors/source-google-ads/main.py +++ b/airbyte-integrations/connectors/source-google-ads/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/setup.py b/airbyte-integrations/connectors/source-google-ads/setup.py index 8d02bb8faaaf..107707b960b2 100644 --- a/airbyte-integrations/connectors/source-google-ads/setup.py +++ b/airbyte-integrations/connectors/source-google-ads/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/custom_query_stream.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/custom_query_stream.py index 1537b47fc404..ef9d3408f5f0 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/custom_query_stream.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/custom_query_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/google_ads.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/google_ads.py index bdf8b52b3647..4950f820f3c0 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/google_ads.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/google_ads.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/models.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/models.py index cc8bade1da57..8ca50723ef7f 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/models.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/models.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from dataclasses import dataclass diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/source.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/source.py index 483594e6ce55..2b4cb261ed57 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/source.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py b/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py index da8e679d559f..7ff591a2eded 100644 --- a/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py +++ b/airbyte-integrations/connectors/source-google-ads/source_google_ads/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/common.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/common.py index b3a63b672481..eb396a16ef00 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/common.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/conftest.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/conftest.py index ab864b417bd2..a3d748c37aeb 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_custom_query.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_custom_query.py index 0d3727c3cde3..3d451325d258 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_custom_query.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_custom_query.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_google_ads.custom_query_stream import CustomQuery diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_google_ads.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_google_ads.py index 103c17f496ec..ecbfbd4997e3 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_google_ads.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_google_ads.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import date diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_models.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_models.py index 592747344d10..d78c61f98078 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_models.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_models.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_source.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_source.py index a34cec25f15c..961d652e80dd 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from collections import namedtuple diff --git a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_streams.py index 9c76757bc885..acb65d2d75cd 100644 --- a/airbyte-integrations/connectors/source-google-ads/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-google-ads/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/main.py b/airbyte-integrations/connectors/source-google-analytics-v4/main.py index 452d5f8d4227..162cf47be716 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/main.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/setup.py b/airbyte-integrations/connectors/source-google-analytics-v4/setup.py index 11d9c84b6b51..5fdb02797790 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/setup.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/source.py b/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/source.py index 70a0f5cdc0de..7a1326e56fea 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/source.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-google-analytics-v4/unit_tests/unit_test.py index f5134467f412..1fb064553f8e 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-google-analytics-v4/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-directory/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/main.py b/airbyte-integrations/connectors/source-google-directory/main.py index b8f3ffa6715c..bcd0e5e4874e 100644 --- a/airbyte-integrations/connectors/source-google-directory/main.py +++ b/airbyte-integrations/connectors/source-google-directory/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/setup.py b/airbyte-integrations/connectors/source-google-directory/setup.py index 31545b105515..a309e4c25cc8 100644 --- a/airbyte-integrations/connectors/source-google-directory/setup.py +++ b/airbyte-integrations/connectors/source-google-directory/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/source_google_directory/api.py b/airbyte-integrations/connectors/source-google-directory/source_google_directory/api.py index f3a5ba0ab415..fd2cd744fb27 100644 --- a/airbyte-integrations/connectors/source-google-directory/source_google_directory/api.py +++ b/airbyte-integrations/connectors/source-google-directory/source_google_directory/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/source_google_directory/client.py b/airbyte-integrations/connectors/source-google-directory/source_google_directory/client.py index 086e51c1077b..3696729916f4 100644 --- a/airbyte-integrations/connectors/source-google-directory/source_google_directory/client.py +++ b/airbyte-integrations/connectors/source-google-directory/source_google_directory/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/source_google_directory/source.py b/airbyte-integrations/connectors/source-google-directory/source_google_directory/source.py index 98762996cd34..5ded1830068e 100644 --- a/airbyte-integrations/connectors/source-google-directory/source_google_directory/source.py +++ b/airbyte-integrations/connectors/source-google-directory/source_google_directory/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/source_google_directory/utils.py b/airbyte-integrations/connectors/source-google-directory/source_google_directory/utils.py index f7f9edf99c2b..3830437bfb96 100644 --- a/airbyte-integrations/connectors/source-google-directory/source_google_directory/utils.py +++ b/airbyte-integrations/connectors/source-google-directory/source_google_directory/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-directory/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-google-directory/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-google-directory/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-google-directory/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-search-console/credentials/get_authentication_url.py b/airbyte-integrations/connectors/source-google-search-console/credentials/get_authentication_url.py index 8418242f261e..46403c8ea203 100755 --- a/airbyte-integrations/connectors/source-google-search-console/credentials/get_authentication_url.py +++ b/airbyte-integrations/connectors/source-google-search-console/credentials/get_authentication_url.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-search-console/credentials/get_refresh_token.py b/airbyte-integrations/connectors/source-google-search-console/credentials/get_refresh_token.py index d23cfc2ea9a8..82ae8200e50a 100755 --- a/airbyte-integrations/connectors/source-google-search-console/credentials/get_refresh_token.py +++ b/airbyte-integrations/connectors/source-google-search-console/credentials/get_refresh_token.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py b/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py index 93a4d6ef2a89..1a7e5f6ec50c 100755 --- a/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py +++ b/airbyte-integrations/connectors/source-google-search-console/credentials/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100755 --- a/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-search-console/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-search-console/main.py b/airbyte-integrations/connectors/source-google-search-console/main.py index 57b1f36cc79b..71ec406fd087 100755 --- a/airbyte-integrations/connectors/source-google-search-console/main.py +++ b/airbyte-integrations/connectors/source-google-search-console/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-search-console/setup.py b/airbyte-integrations/connectors/source-google-search-console/setup.py index 909e4b5db91d..973381d4139b 100755 --- a/airbyte-integrations/connectors/source-google-search-console/setup.py +++ b/airbyte-integrations/connectors/source-google-search-console/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/service_account_authenticator.py b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/service_account_authenticator.py index 184ed815081e..f51180871eda 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/service_account_authenticator.py +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/service_account_authenticator.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import requests diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/source.py b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/source.py index 834b7cb69eec..45892ba20e4f 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/source.py +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/streams.py b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/streams.py index afc05f754b53..01f185178c14 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/streams.py +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-google-search-console/unit_tests/conftest.py b/airbyte-integrations/connectors/source-google-search-console/unit_tests/conftest.py index 7f34bec9b24b..77ccfd4c7b05 100644 --- a/airbyte-integrations/connectors/source-google-search-console/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-google-search-console/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture @@ -17,8 +17,8 @@ def config_fixture(requests_mock): "auth_type": "Client", "client_id": "client_id", "client_secret": "client_secret", - "refresh_token": "refresh_token" - } + "refresh_token": "refresh_token", + }, } return config diff --git a/airbyte-integrations/connectors/source-google-search-console/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-google-search-console/unit_tests/unit_test.py index 69dd72fa7f0e..b05bcbf0d254 100755 --- a/airbyte-integrations/connectors/source-google-search-console/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-google-search-console/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging @@ -8,10 +8,10 @@ import pytest from airbyte_cdk.models import SyncMode -from source_google_search_console.streams import ROW_LIMIT, SearchAnalyticsByDate, GoogleSearchConsole from source_google_search_console.source import SourceGoogleSearchConsole +from source_google_search_console.streams import ROW_LIMIT, GoogleSearchConsole, SearchAnalyticsByDate -logger = logging.getLogger('airbyte') +logger = logging.getLogger("airbyte") class MockResponse: @@ -116,12 +116,9 @@ def test_updated_state(): [ ( GoogleSearchConsole, - {'keys': ['keys']}, + {"keys": ["keys"]}, ), - ( - SearchAnalyticsByDate, - {"date": "keys", "search_type": "web", "site_url": "https://domain1.com"} - ) + (SearchAnalyticsByDate, {"date": "keys", "search_type": "web", "site_url": "https://domain1.com"}), ], ) @patch.multiple(GoogleSearchConsole, __abstractmethods__=set()) @@ -171,6 +168,8 @@ def test_streams(config): def test_get_start_date(): stream = SearchAnalyticsByDate(None, ["https://domain1.com", "https://domain2.com"], "2021-09-01", "2021-09-07") date = "2021-09-07" - state_date = stream._get_start_date(stream_state={"https://domain1.com": {"web": {"date": date}}}, site_url="https://domain1.com", search_type="web") + state_date = stream._get_start_date( + stream_state={"https://domain1.com": {"web": {"date": date}}}, site_url="https://domain1.com", search_type="web" + ) assert date == str(state_date) diff --git a/airbyte-integrations/connectors/source-google-sheets/Dockerfile b/airbyte-integrations/connectors/source-google-sheets/Dockerfile index 62f9c0581de0..11bf0493ba19 100644 --- a/airbyte-integrations/connectors/source-google-sheets/Dockerfile +++ b/airbyte-integrations/connectors/source-google-sheets/Dockerfile @@ -34,5 +34,5 @@ COPY google_sheets_source ./google_sheets_source ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.2.13 +LABEL io.airbyte.version=0.2.14 LABEL io.airbyte.name=airbyte/source-google-sheets diff --git a/airbyte-integrations/connectors/source-google-sheets/README.md b/airbyte-integrations/connectors/source-google-sheets/README.md index 50a0d4c9d71f..de4f98dd178d 100644 --- a/airbyte-integrations/connectors/source-google-sheets/README.md +++ b/airbyte-integrations/connectors/source-google-sheets/README.md @@ -47,10 +47,10 @@ and place them into `secrets/config.json`. ### Locally running the connector ``` -python main_dev.py spec -python main_dev.py check --config secrets/config.json -python main_dev.py discover --config secrets/config.json -python main_dev.py read --config secrets/config.json --catalog sample_files/configured_catalog.json +python main.py spec +python main.py check --config secrets/config.json +python main.py discover --config secrets/config.json +python main.py read --config secrets/config.json --catalog sample_files/configured_catalog.json ``` ### Unit Tests diff --git a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/client.py b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/client.py index e23eec85f96e..63aa1893fb5e 100644 --- a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/client.py +++ b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py index efc29628f5a6..fdc5243e603f 100644 --- a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py +++ b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py @@ -1,9 +1,10 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json +import socket from typing import Dict, Generator from airbyte_cdk.logger import AirbyteLogger @@ -24,7 +25,12 @@ from .models.spreadsheet import Spreadsheet from .models.spreadsheet_values import SpreadsheetValues +# set default batch read size ROW_BATCH_SIZE = 200 +# override default socket timeout to be 10 mins instead of 60 sec. +# on behalf of https://github.com/airbytehq/oncall/issues/242 +DEFAULT_SOCKET_TIMEOUT: int = 600 +socket.setdefaulttimeout(DEFAULT_SOCKET_TIMEOUT) class GoogleSheetsSource(Source): diff --git a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/helpers.py b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/helpers.py index 941159ff171b..33874db0a4ba 100644 --- a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/helpers.py +++ b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py index 0537f3ab1f32..770c01ad5291 100644 --- a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py +++ b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # @@ -7,7 +7,7 @@ from typing import List, Optional -from pydantic import BaseModel, Extra, Field +from pydantic import BaseModel, Extra class SpreadsheetProperties(BaseModel): diff --git a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet_values.py b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet_values.py index 90f6f6d1f83f..6de545987c9d 100644 --- a/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet_values.py +++ b/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/models/spreadsheet_values.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-sheets/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-sheets/main.py b/airbyte-integrations/connectors/source-google-sheets/main.py index c5139ebcbf2a..273beff12e23 100644 --- a/airbyte-integrations/connectors/source-google-sheets/main.py +++ b/airbyte-integrations/connectors/source-google-sheets/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-sheets/setup.py b/airbyte-integrations/connectors/source-google-sheets/setup.py index 3427b7276773..05a832168409 100644 --- a/airbyte-integrations/connectors/source-google-sheets/setup.py +++ b/airbyte-integrations/connectors/source-google-sheets/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-sheets/unit_tests/test_helpers.py b/airbyte-integrations/connectors/source-google-sheets/unit_tests/test_helpers.py index 91c77ad7c8e5..227ecfb5b5b9 100644 --- a/airbyte-integrations/connectors/source-google-sheets/unit_tests/test_helpers.py +++ b/airbyte-integrations/connectors/source-google-sheets/unit_tests/test_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100755 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/main.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/main.py index 37f9f361866e..a17c09516856 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/main.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py index 546fa2fc6bff..17c54059d10c 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py index ee0cf335d930..74e7a689140c 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py index d9bcb9784fc2..ae24dca63c55 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/source.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/source.py index 859c09df06b5..e047a372f512 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/source.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/utils.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/utils.py index ccbdb5a9a059..d6bfdcc6299f 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/utils.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/source_google_workspace_admin_reports/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-google-workspace-admin-reports/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-google-workspace-admin-reports/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-google-workspace-admin-reports/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-google-workspace-admin-reports/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-greenhouse/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-greenhouse/main.py b/airbyte-integrations/connectors/source-greenhouse/main.py index 0e9604e3440b..6ec61baf00da 100644 --- a/airbyte-integrations/connectors/source-greenhouse/main.py +++ b/airbyte-integrations/connectors/source-greenhouse/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-greenhouse/setup.py b/airbyte-integrations/connectors/source-greenhouse/setup.py index 1b676a6c6a3f..ebb8f91512d5 100644 --- a/airbyte-integrations/connectors/source-greenhouse/setup.py +++ b/airbyte-integrations/connectors/source-greenhouse/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/source.py b/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/source.py index 9f5479743393..0b4e92621782 100644 --- a/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/source.py +++ b/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/streams.py b/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/streams.py index 46f5112eea49..22cbaa82c010 100644 --- a/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/streams.py +++ b/airbyte-integrations/connectors/source-greenhouse/source_greenhouse/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-greenhouse/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-greenhouse/unit_tests/test_streams.py index 266ca628a661..5a883f8b013d 100644 --- a/airbyte-integrations/connectors/source-greenhouse/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-greenhouse/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-harvest/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-harvest/main.py b/airbyte-integrations/connectors/source-harvest/main.py index 9a55c93e8ff2..a343c23484eb 100644 --- a/airbyte-integrations/connectors/source-harvest/main.py +++ b/airbyte-integrations/connectors/source-harvest/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-harvest/setup.py b/airbyte-integrations/connectors/source-harvest/setup.py index 9e11d5308a3e..f7bc9e62a88c 100644 --- a/airbyte-integrations/connectors/source-harvest/setup.py +++ b/airbyte-integrations/connectors/source-harvest/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-harvest/source_harvest/auth.py b/airbyte-integrations/connectors/source-harvest/source_harvest/auth.py index 665213218c38..26bf79acf644 100644 --- a/airbyte-integrations/connectors/source-harvest/source_harvest/auth.py +++ b/airbyte-integrations/connectors/source-harvest/source_harvest/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Mapping diff --git a/airbyte-integrations/connectors/source-harvest/source_harvest/source.py b/airbyte-integrations/connectors/source-harvest/source_harvest/source.py index a2b60b6e2aa3..93dab5b9e291 100644 --- a/airbyte-integrations/connectors/source-harvest/source_harvest/source.py +++ b/airbyte-integrations/connectors/source-harvest/source_harvest/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-harvest/source_harvest/streams.py b/airbyte-integrations/connectors/source-harvest/source_harvest/streams.py index ff7e0462d020..e1b7f79d5ab8 100644 --- a/airbyte-integrations/connectors/source-harvest/source_harvest/streams.py +++ b/airbyte-integrations/connectors/source-harvest/source_harvest/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-harvest/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-harvest/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-harvest/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-harvest/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-hellobaton/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hellobaton/main.py b/airbyte-integrations/connectors/source-hellobaton/main.py index 978a73078c1b..ecdeca2e5d0b 100644 --- a/airbyte-integrations/connectors/source-hellobaton/main.py +++ b/airbyte-integrations/connectors/source-hellobaton/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hellobaton/setup.py b/airbyte-integrations/connectors/source-hellobaton/setup.py index eda15c9efb4b..41fd67159b9b 100644 --- a/airbyte-integrations/connectors/source-hellobaton/setup.py +++ b/airbyte-integrations/connectors/source-hellobaton/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/source.py b/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/source.py index 1c6edc6479c4..5cdfe7f80da2 100644 --- a/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/source.py +++ b/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/streams.py b/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/streams.py index 9b36eab62204..f9d9d02682f8 100644 --- a/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/streams.py +++ b/airbyte-integrations/connectors/source-hellobaton/source_hellobaton/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-hubspot/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/main.py b/airbyte-integrations/connectors/source-hubspot/main.py index 2d902157fd45..098d3a7eccf3 100644 --- a/airbyte-integrations/connectors/source-hubspot/main.py +++ b/airbyte-integrations/connectors/source-hubspot/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/setup.py b/airbyte-integrations/connectors/source-hubspot/setup.py index 76a85a488bf9..a20b4a89a5ae 100644 --- a/airbyte-integrations/connectors/source-hubspot/setup.py +++ b/airbyte-integrations/connectors/source-hubspot/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/source_hubspot/errors.py b/airbyte-integrations/connectors/source-hubspot/source_hubspot/errors.py index 3239b8f44851..45645eb78c35 100644 --- a/airbyte-integrations/connectors/source-hubspot/source_hubspot/errors.py +++ b/airbyte-integrations/connectors/source-hubspot/source_hubspot/errors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/source_hubspot/source.py b/airbyte-integrations/connectors/source-hubspot/source_hubspot/source.py index 9a0b24916c05..21db272eac69 100644 --- a/airbyte-integrations/connectors/source-hubspot/source_hubspot/source.py +++ b/airbyte-integrations/connectors/source-hubspot/source_hubspot/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-hubspot/source_hubspot/streams.py b/airbyte-integrations/connectors/source-hubspot/source_hubspot/streams.py index 47ca31e01673..913676f8e6da 100644 --- a/airbyte-integrations/connectors/source-hubspot/source_hubspot/streams.py +++ b/airbyte-integrations/connectors/source-hubspot/source_hubspot/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/conftest.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/conftest.py index 311d2be22557..89815e74905e 100644 --- a/airbyte-integrations/connectors/source-hubspot/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-hubspot/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_field_type_converting.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_field_type_converting.py index 798902cdde62..bf185671513a 100644 --- a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_field_type_converting.py +++ b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_field_type_converting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_source.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_source.py index 54b1722420f3..aecc7e99e5aa 100644 --- a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_streams.py index d3016f5d500a..97de1919d2a0 100644 --- a/airbyte-integrations/connectors/source-hubspot/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-hubspot/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-hubspot/unit_tests/utils.py b/airbyte-integrations/connectors/source-hubspot/unit_tests/utils.py index 252dc029e2e8..0ccf5f1eabde 100644 --- a/airbyte-integrations/connectors/source-hubspot/unit_tests/utils.py +++ b/airbyte-integrations/connectors/source-hubspot/unit_tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, MutableMapping diff --git a/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-instagram/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/integration_tests/conftest.py b/airbyte-integrations/connectors/source-instagram/integration_tests/conftest.py index 3a4d4173f026..ecd6bce811b2 100644 --- a/airbyte-integrations/connectors/source-instagram/integration_tests/conftest.py +++ b/airbyte-integrations/connectors/source-instagram/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/integration_tests/test_streams.py b/airbyte-integrations/connectors/source-instagram/integration_tests/test_streams.py index cba9e0cafa26..4ed9ec29b3d3 100644 --- a/airbyte-integrations/connectors/source-instagram/integration_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-instagram/integration_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Callable, List, MutableMapping, Tuple diff --git a/airbyte-integrations/connectors/source-instagram/main.py b/airbyte-integrations/connectors/source-instagram/main.py index c02fc3942c5a..bccc4cf03978 100644 --- a/airbyte-integrations/connectors/source-instagram/main.py +++ b/airbyte-integrations/connectors/source-instagram/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/setup.py b/airbyte-integrations/connectors/source-instagram/setup.py index 98650485d960..2564950e9980 100644 --- a/airbyte-integrations/connectors/source-instagram/setup.py +++ b/airbyte-integrations/connectors/source-instagram/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/source_instagram/api.py b/airbyte-integrations/connectors/source-instagram/source_instagram/api.py index 117c1426e0f2..353df22f373d 100644 --- a/airbyte-integrations/connectors/source-instagram/source_instagram/api.py +++ b/airbyte-integrations/connectors/source-instagram/source_instagram/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-instagram/source_instagram/common.py b/airbyte-integrations/connectors/source-instagram/source_instagram/common.py index 4c48f574ffd4..21b3bf8f2503 100644 --- a/airbyte-integrations/connectors/source-instagram/source_instagram/common.py +++ b/airbyte-integrations/connectors/source-instagram/source_instagram/common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/source_instagram/source.py b/airbyte-integrations/connectors/source-instagram/source_instagram/source.py index e231cdf9e46e..0bcbd89f086d 100644 --- a/airbyte-integrations/connectors/source-instagram/source_instagram/source.py +++ b/airbyte-integrations/connectors/source-instagram/source_instagram/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-instagram/source_instagram/streams.py b/airbyte-integrations/connectors/source-instagram/source_instagram/streams.py index c9717ff52a0a..3169cd0bf60d 100644 --- a/airbyte-integrations/connectors/source-instagram/source_instagram/streams.py +++ b/airbyte-integrations/connectors/source-instagram/source_instagram/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-instagram/unit_tests/conftest.py b/airbyte-integrations/connectors/source-instagram/unit_tests/conftest.py index f050341099cd..2481a666aa16 100644 --- a/airbyte-integrations/connectors/source-instagram/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-instagram/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from facebook_business import FacebookAdsApi, FacebookSession diff --git a/airbyte-integrations/connectors/source-instagram/unit_tests/test_common.py b/airbyte-integrations/connectors/source-instagram/unit_tests/test_common.py index 786830b1574f..6509435163fc 100644 --- a/airbyte-integrations/connectors/source-instagram/unit_tests/test_common.py +++ b/airbyte-integrations/connectors/source-instagram/unit_tests/test_common.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_instagram.common import remove_params_from_url diff --git a/airbyte-integrations/connectors/source-instagram/unit_tests/test_source.py b/airbyte-integrations/connectors/source-instagram/unit_tests/test_source.py index d817beff7ccb..a97387026e33 100644 --- a/airbyte-integrations/connectors/source-instagram/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-instagram/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-instagram/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-instagram/unit_tests/test_streams.py index 00779faff01c..45bf8ea7f361 100644 --- a/airbyte-integrations/connectors/source-instagram/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-instagram/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-instagram/unit_tests/utils.py b/airbyte-integrations/connectors/source-instagram/unit_tests/utils.py index c92ac97b0373..813442954755 100644 --- a/airbyte-integrations/connectors/source-instagram/unit_tests/utils.py +++ b/airbyte-integrations/connectors/source-instagram/unit_tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, MutableMapping diff --git a/airbyte-integrations/connectors/source-intercom/Dockerfile b/airbyte-integrations/connectors/source-intercom/Dockerfile index 7009f44c16d0..7161dcc3e8ce 100644 --- a/airbyte-integrations/connectors/source-intercom/Dockerfile +++ b/airbyte-integrations/connectors/source-intercom/Dockerfile @@ -35,5 +35,5 @@ COPY source_intercom ./source_intercom ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.18 +LABEL io.airbyte.version=0.1.19 LABEL io.airbyte.name=airbyte/source-intercom diff --git a/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-intercom/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-intercom/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-intercom/integration_tests/integration_test.py index 9c7ad78e62a7..29b0164eef47 100644 --- a/airbyte-integrations/connectors/source-intercom/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-intercom/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-intercom/main.py b/airbyte-integrations/connectors/source-intercom/main.py index 316f72655956..f9f2908603d7 100644 --- a/airbyte-integrations/connectors/source-intercom/main.py +++ b/airbyte-integrations/connectors/source-intercom/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-intercom/setup.py b/airbyte-integrations/connectors/source-intercom/setup.py index 40e100fe7737..592a7adca0ad 100644 --- a/airbyte-integrations/connectors/source-intercom/setup.py +++ b/airbyte-integrations/connectors/source-intercom/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-intercom/source_intercom/schemas/conversation_parts.json b/airbyte-integrations/connectors/source-intercom/source_intercom/schemas/conversation_parts.json index 10621c781d2f..21f073bd34be 100755 --- a/airbyte-integrations/connectors/source-intercom/source_intercom/schemas/conversation_parts.json +++ b/airbyte-integrations/connectors/source-intercom/source_intercom/schemas/conversation_parts.json @@ -12,10 +12,10 @@ "properties": { "type": { "type": ["null", "string"] + }, + "id": { + "type": ["null", "string"] } - }, - "id": { - "type": ["null", "string"] } } }, diff --git a/airbyte-integrations/connectors/source-intercom/source_intercom/source.py b/airbyte-integrations/connectors/source-intercom/source_intercom/source.py index 446cb4592158..353c46146f36 100755 --- a/airbyte-integrations/connectors/source-intercom/source_intercom/source.py +++ b/airbyte-integrations/connectors/source-intercom/source_intercom/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-intercom/unit_tests/conftest.py b/airbyte-integrations/connectors/source-intercom/unit_tests/conftest.py index 8e4976a2430b..0fd83b3d8f03 100644 --- a/airbyte-integrations/connectors/source-intercom/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-intercom/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-intercom/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-intercom/unit_tests/unit_test.py index 457256cbccbd..522962142e1f 100644 --- a/airbyte-integrations/connectors/source-intercom/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-intercom/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py index a294f4dcc5b7..416093ab7624 100644 --- a/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-iterable/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-iterable/main.py b/airbyte-integrations/connectors/source-iterable/main.py index d2c437c5b049..6fa9d73ca446 100644 --- a/airbyte-integrations/connectors/source-iterable/main.py +++ b/airbyte-integrations/connectors/source-iterable/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-iterable/setup.py b/airbyte-integrations/connectors/source-iterable/setup.py index d9ad8dad2653..81ca9a88309e 100644 --- a/airbyte-integrations/connectors/source-iterable/setup.py +++ b/airbyte-integrations/connectors/source-iterable/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-iterable/source_iterable/api.py b/airbyte-integrations/connectors/source-iterable/source_iterable/api.py index 8d7ac9428990..db9c49fa44f9 100755 --- a/airbyte-integrations/connectors/source-iterable/source_iterable/api.py +++ b/airbyte-integrations/connectors/source-iterable/source_iterable/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import csv diff --git a/airbyte-integrations/connectors/source-iterable/source_iterable/iterable_streams.py b/airbyte-integrations/connectors/source-iterable/source_iterable/iterable_streams.py index 5fd0e9c7b1ec..e4b0414eb958 100644 --- a/airbyte-integrations/connectors/source-iterable/source_iterable/iterable_streams.py +++ b/airbyte-integrations/connectors/source-iterable/source_iterable/iterable_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-iterable/source_iterable/slice_generators.py b/airbyte-integrations/connectors/source-iterable/source_iterable/slice_generators.py index 8d4b545ae7ab..1eca994383c5 100644 --- a/airbyte-integrations/connectors/source-iterable/source_iterable/slice_generators.py +++ b/airbyte-integrations/connectors/source-iterable/source_iterable/slice_generators.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-iterable/source_iterable/source.py b/airbyte-integrations/connectors/source-iterable/source_iterable/source.py index 1f8b48cf7c0f..09fda3952b1f 100644 --- a/airbyte-integrations/connectors/source-iterable/source_iterable/source.py +++ b/airbyte-integrations/connectors/source-iterable/source_iterable/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/conftest.py b/airbyte-integrations/connectors/source-iterable/unit_tests/conftest.py index cd082df3f335..55c126d4d7ec 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/test_export_adjustable_range.py b/airbyte-integrations/connectors/source-iterable/unit_tests/test_export_adjustable_range.py index 2deb3b6b7fd7..e1ae4f123ffc 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/test_export_adjustable_range.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/test_export_adjustable_range.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/test_exports_stream.py b/airbyte-integrations/connectors/source-iterable/unit_tests/test_exports_stream.py index 38a44398c650..2839e78d1077 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/test_exports_stream.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/test_exports_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/test_slice_generator.py b/airbyte-integrations/connectors/source-iterable/unit_tests/test_slice_generator.py index dd9354e05677..cdfd94bbc7fc 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/test_slice_generator.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/test_slice_generator.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import freezegun diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/test_source.py b/airbyte-integrations/connectors/source-iterable/unit_tests/test_source.py index 54abeb507daf..6ad04ae89690 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-iterable/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-iterable/unit_tests/test_streams.py index 281e1ed7df3a..64f3d7a6d377 100644 --- a/airbyte-integrations/connectors/source-iterable/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-iterable/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.java b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.java index 3a0d19631b95..ae737b4e117a 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.java +++ b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/JdbcSource.java b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/JdbcSource.java index 058f98a94c9f..ecc54b6fd25d 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/JdbcSource.java +++ b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/JdbcSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/dto/JdbcPrivilegeDto.java b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/dto/JdbcPrivilegeDto.java index 8ac4a888c5f8..2d472323c26d 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/dto/JdbcPrivilegeDto.java +++ b/airbyte-integrations/connectors/source-jdbc/src/main/java/io/airbyte/integrations/source/jdbc/dto/JdbcPrivilegeDto.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc.dto; diff --git a/airbyte-integrations/connectors/source-jdbc/src/test-integration/java/io/airbyte/integrations/source/jdbc/JdbcSourceSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-jdbc/src/test-integration/java/io/airbyte/integrations/source/jdbc/JdbcSourceSourceAcceptanceTest.java index d5a0d5681e80..f7c71d370db3 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/test-integration/java/io/airbyte/integrations/source/jdbc/JdbcSourceSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/test-integration/java/io/airbyte/integrations/source/jdbc/JdbcSourceSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSourceAcceptanceTest.java index 1622cc4e79c8..909194580404 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/AbstractJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/DefaultJdbcStressTest.java b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/DefaultJdbcStressTest.java index 02cde9a867b0..27e265a8d6f9 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/DefaultJdbcStressTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/DefaultJdbcStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/JdbcSourceStressTest.java b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/JdbcSourceStressTest.java index 7468a1d55448..47bbcce6145e 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/JdbcSourceStressTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/test/java/io/airbyte/integrations/source/jdbc/JdbcSourceStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc; diff --git a/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcSourceAcceptanceTest.java index c8d3a294dd70..7d40bbd74104 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc.test; diff --git a/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcStressTest.java b/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcStressTest.java index 4b7323881fe8..49b56a9f84aa 100644 --- a/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcStressTest.java +++ b/airbyte-integrations/connectors/source-jdbc/src/testFixtures/java/io/airbyte/integrations/source/jdbc/test/JdbcStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.jdbc.test; diff --git a/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-jira/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/generator.py b/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/generator.py index 0a49353903ec..91c4d55bb069 100644 --- a/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/generator.py +++ b/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/generator.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/streams.py b/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/streams.py index c347c71c4672..2ffe71bb796a 100644 --- a/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/streams.py +++ b/airbyte-integrations/connectors/source-jira/integration_tests/fixtures/data_generator/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-jira/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-jira/integration_tests/integration_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-jira/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-jira/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-jira/main.py b/airbyte-integrations/connectors/source-jira/main.py index 2ea99c4f827c..fb38a44d2c8f 100644 --- a/airbyte-integrations/connectors/source-jira/main.py +++ b/airbyte-integrations/connectors/source-jira/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-jira/setup.py b/airbyte-integrations/connectors/source-jira/setup.py index 714275f7bf6f..709b23f5531c 100644 --- a/airbyte-integrations/connectors/source-jira/setup.py +++ b/airbyte-integrations/connectors/source-jira/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-jira/source_jira/source.py b/airbyte-integrations/connectors/source-jira/source_jira/source.py index 538a9ff94ed3..bffe9cb299a4 100644 --- a/airbyte-integrations/connectors/source-jira/source_jira/source.py +++ b/airbyte-integrations/connectors/source-jira/source_jira/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from base64 import b64encode diff --git a/airbyte-integrations/connectors/source-jira/source_jira/streams.py b/airbyte-integrations/connectors/source-jira/source_jira/streams.py index d4b4aa00c05f..a9da4cb6752a 100644 --- a/airbyte-integrations/connectors/source-jira/source_jira/streams.py +++ b/airbyte-integrations/connectors/source-jira/source_jira/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaProtocol.java b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaProtocol.java index 8e4ff296568b..74328ec23081 100644 --- a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaProtocol.java +++ b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaProtocol.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.kafka; diff --git a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSource.java b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSource.java index e8b99f06139c..7f9af0a2df9e 100644 --- a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSource.java +++ b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.kafka; diff --git a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSourceConfig.java b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSourceConfig.java index b30f42a46774..d92c6a31dedb 100644 --- a/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSourceConfig.java +++ b/airbyte-integrations/connectors/source-kafka/src/main/java/io/airbyte/integrations/source/kafka/KafkaSourceConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.kafka; diff --git a/airbyte-integrations/connectors/source-kafka/src/test-integration/java/io/airbyte/integrations/source/kafka/KafkaSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-kafka/src/test-integration/java/io/airbyte/integrations/source/kafka/KafkaSourceAcceptanceTest.java index 6f4340457c87..adfdd16bd239 100644 --- a/airbyte-integrations/connectors/source-kafka/src/test-integration/java/io/airbyte/integrations/source/kafka/KafkaSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-kafka/src/test-integration/java/io/airbyte/integrations/source/kafka/KafkaSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.kafka; diff --git a/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-klaviyo/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/integration_tests/dummy_test.py b/airbyte-integrations/connectors/source-klaviyo/integration_tests/dummy_test.py index 6f3a10993a50..9a8ad82b5ba3 100644 --- a/airbyte-integrations/connectors/source-klaviyo/integration_tests/dummy_test.py +++ b/airbyte-integrations/connectors/source-klaviyo/integration_tests/dummy_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/integration_tests/fixtures.py b/airbyte-integrations/connectors/source-klaviyo/integration_tests/fixtures.py index 6585752e1359..3ce14833d574 100644 --- a/airbyte-integrations/connectors/source-klaviyo/integration_tests/fixtures.py +++ b/airbyte-integrations/connectors/source-klaviyo/integration_tests/fixtures.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-klaviyo/main.py b/airbyte-integrations/connectors/source-klaviyo/main.py index 9544452302ee..b255ac2fac64 100644 --- a/airbyte-integrations/connectors/source-klaviyo/main.py +++ b/airbyte-integrations/connectors/source-klaviyo/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/setup.py b/airbyte-integrations/connectors/source-klaviyo/setup.py index 6eb99b51532e..7df8f06a602d 100644 --- a/airbyte-integrations/connectors/source-klaviyo/setup.py +++ b/airbyte-integrations/connectors/source-klaviyo/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/schemas.py b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/schemas.py index d939434e639c..3a610b9fe6c4 100644 --- a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/schemas.py +++ b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/schemas.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/source.py b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/source.py index 50584aaecb76..4c9d2955b620 100644 --- a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/source.py +++ b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/streams.py b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/streams.py index c57fe6f27686..4b6c873ac771 100644 --- a/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/streams.py +++ b/airbyte-integrations/connectors/source-klaviyo/source_klaviyo/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-klaviyo/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-klaviyo/unit_tests/test_streams.py index 1ce76c237c86..7d2cffdba799 100644 --- a/airbyte-integrations/connectors/source-klaviyo/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-klaviyo/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest import mock diff --git a/airbyte-integrations/connectors/source-klaviyo/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-klaviyo/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-klaviyo/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-klaviyo/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-kustomer-singer/main.py b/airbyte-integrations/connectors/source-kustomer-singer/main.py index 4078f602707c..b709908215f8 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/main.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import sys diff --git a/airbyte-integrations/connectors/source-kustomer-singer/setup.py b/airbyte-integrations/connectors/source-kustomer-singer/setup.py index 243fd421d39f..5572088d1098 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/setup.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/airbyte-integrations/connectors/source-kustomer-singer/source_kustomer_singer/source.py b/airbyte-integrations/connectors/source-kustomer-singer/source_kustomer_singer/source.py index 0baf1bfa471f..92775c8d140a 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/source_kustomer_singer/source.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/source_kustomer_singer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-kustomer-singer/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-kustomer-singer/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-kustomer-singer/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-kustomer-singer/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-lemlist/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lemlist/main.py b/airbyte-integrations/connectors/source-lemlist/main.py index 2951ed0cb4c5..43df6fa479e2 100644 --- a/airbyte-integrations/connectors/source-lemlist/main.py +++ b/airbyte-integrations/connectors/source-lemlist/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lemlist/setup.py b/airbyte-integrations/connectors/source-lemlist/setup.py index b54f3371b817..75c429959ac4 100644 --- a/airbyte-integrations/connectors/source-lemlist/setup.py +++ b/airbyte-integrations/connectors/source-lemlist/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lemlist/source_lemlist/auth.py b/airbyte-integrations/connectors/source-lemlist/source_lemlist/auth.py index f7f3ccd81b07..f07e6959abed 100644 --- a/airbyte-integrations/connectors/source-lemlist/source_lemlist/auth.py +++ b/airbyte-integrations/connectors/source-lemlist/source_lemlist/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-lemlist/source_lemlist/source.py b/airbyte-integrations/connectors/source-lemlist/source_lemlist/source.py index 52b3e8d9b53b..fc906c70fb7e 100644 --- a/airbyte-integrations/connectors/source-lemlist/source_lemlist/source.py +++ b/airbyte-integrations/connectors/source-lemlist/source_lemlist/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lemlist/source_lemlist/streams.py b/airbyte-integrations/connectors/source-lemlist/source_lemlist/streams.py index cafb32347ef4..1bd3c95e9b5a 100644 --- a/airbyte-integrations/connectors/source-lemlist/source_lemlist/streams.py +++ b/airbyte-integrations/connectors/source-lemlist/source_lemlist/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, Mapping, MutableMapping, Optional diff --git a/airbyte-integrations/connectors/source-lemlist/unit_tests/test_source.py b/airbyte-integrations/connectors/source-lemlist/unit_tests/test_source.py index 1309156409ab..b60d4cec28c0 100644 --- a/airbyte-integrations/connectors/source-lemlist/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-lemlist/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock, patch diff --git a/airbyte-integrations/connectors/source-lemlist/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-lemlist/unit_tests/test_streams.py index b9631f9414d3..579e6420e07b 100644 --- a/airbyte-integrations/connectors/source-lemlist/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-lemlist/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-lever-hiring/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lever-hiring/main.py b/airbyte-integrations/connectors/source-lever-hiring/main.py index 044df8ec4c53..acb1f57eee84 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/main.py +++ b/airbyte-integrations/connectors/source-lever-hiring/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lever-hiring/setup.py b/airbyte-integrations/connectors/source-lever-hiring/setup.py index c072232eabb1..77d0da957db8 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/setup.py +++ b/airbyte-integrations/connectors/source-lever-hiring/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/schemas.py b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/schemas.py index cfe9374f39e1..f0106dc0ac0b 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/schemas.py +++ b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/schemas.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, MutableMapping, Optional, Type diff --git a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/source.py b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/source.py index bf2b6c3391c1..d70ef1c2abef 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/source.py +++ b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/streams.py b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/streams.py index c3213b7f3b09..94ffd39c8e07 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/streams.py +++ b/airbyte-integrations/connectors/source-lever-hiring/source_lever_hiring/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/conftest.py b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/conftest.py index 98b87297649a..75250b480fbf 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_incremental_streams.py index 751dbe572821..692a9c55665c 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_source.py b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_source.py index 784177244c32..942c2ac8e6c3 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_streams.py index 1ebd1ad75936..2736296e42cf 100644 --- a/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-lever-hiring/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linkedin-ads/main.py b/airbyte-integrations/connectors/source-linkedin-ads/main.py index 5cfb092b9700..7100024c9032 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/main.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linkedin-ads/setup.py b/airbyte-integrations/connectors/source-linkedin-ads/setup.py index 5c6c0302d4b8..4e775455ed38 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/setup.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/analytics.py b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/analytics.py index dd0b22e4d8a9..363d6db1d1c1 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/analytics.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/analytics.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/source.py b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/source.py index 1223cbee363b..7e2cbb55dc44 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/source.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/utils.py b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/utils.py index 7f4161c83235..4bb4685fd7a0 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/utils.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/source_linkedin_ads/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/samples/test_data_for_analytics.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/samples/test_data_for_analytics.py index febd9fa9ccb7..a8dc823f5b97 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/samples/test_data_for_analytics.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/samples/test_data_for_analytics.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Dict, List diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_chunk_analytics_fields.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_chunk_analytics_fields.py index 982f6861b81b..6bdc619a594a 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_chunk_analytics_fields.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_chunk_analytics_fields.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_linkedin_ads.analytics import chunk_analytics_fields diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_analytics_slices.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_analytics_slices.py index c8aa44033a77..64e3ec51b2db 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_analytics_slices.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_analytics_slices.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from samples.test_data_for_analytics import test_input_record, test_output_slices diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_date_slices.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_date_slices.py index 3535fd7aaf6f..1af15c4016aa 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_date_slices.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_make_date_slices.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from source_linkedin_ads.analytics import make_date_slices diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_merge_chunks.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_merge_chunks.py index 4b2a5f5a363e..96e1a1ecec28 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_merge_chunks.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/analytics_tests/test_merge_chunks.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from samples.test_data_for_analytics import test_input_result_record_chunks, test_output_merged_chunks diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py index 8fc80a02d6cf..5ade2c07cc28 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/samples/test_data_for_tranform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # """ This is the example of input record for the test_tranform_data. """ diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_make_slice.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_make_slice.py index 11302a9f901f..49c401b0f0f7 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_make_slice.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_make_slice.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_transform_data.py b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_transform_data.py index 23862a547a0c..41db4fbfdb63 100644 --- a/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_transform_data.py +++ b/airbyte-integrations/connectors/source-linkedin-ads/unit_tests/utils_tests/test_transform_data.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from samples.test_data_for_tranform import input_test_data, output_test_data diff --git a/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-linnworks/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linnworks/main.py b/airbyte-integrations/connectors/source-linnworks/main.py index 2bc633709f52..81c60c141fa3 100644 --- a/airbyte-integrations/connectors/source-linnworks/main.py +++ b/airbyte-integrations/connectors/source-linnworks/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linnworks/setup.py b/airbyte-integrations/connectors/source-linnworks/setup.py index 697733d14421..1ef3cb0871d8 100644 --- a/airbyte-integrations/connectors/source-linnworks/setup.py +++ b/airbyte-integrations/connectors/source-linnworks/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linnworks/source_linnworks/source.py b/airbyte-integrations/connectors/source-linnworks/source_linnworks/source.py index a8a64edea10c..e122af6b5428 100644 --- a/airbyte-integrations/connectors/source-linnworks/source_linnworks/source.py +++ b/airbyte-integrations/connectors/source-linnworks/source_linnworks/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linnworks/source_linnworks/streams.py b/airbyte-integrations/connectors/source-linnworks/source_linnworks/streams.py index 676e1c375fbe..46528a9cde93 100644 --- a/airbyte-integrations/connectors/source-linnworks/source_linnworks/streams.py +++ b/airbyte-integrations/connectors/source-linnworks/source_linnworks/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_incremental_streams.py index 42cfe746c157..2133afba7a8f 100644 --- a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_source.py b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_source.py index 642aeebda141..8d80eae9c061 100644 --- a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_streams.py index c29a05f41053..379a2caa37c2 100644 --- a/airbyte-integrations/connectors/source-linnworks/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-linnworks/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py index e7663f3a634c..5906eb9811de 100644 --- a/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-looker/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-looker/main.py b/airbyte-integrations/connectors/source-looker/main.py index 4a2d4d1cde30..a6b6bb968fca 100644 --- a/airbyte-integrations/connectors/source-looker/main.py +++ b/airbyte-integrations/connectors/source-looker/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-looker/setup.py b/airbyte-integrations/connectors/source-looker/setup.py index 19c56ae9127e..2007cfe40f8e 100644 --- a/airbyte-integrations/connectors/source-looker/setup.py +++ b/airbyte-integrations/connectors/source-looker/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-looker/source_looker/source.py b/airbyte-integrations/connectors/source-looker/source_looker/source.py index 51facdb7cf9b..70442efb2b20 100644 --- a/airbyte-integrations/connectors/source-looker/source_looker/source.py +++ b/airbyte-integrations/connectors/source-looker/source_looker/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Optional, Tuple diff --git a/airbyte-integrations/connectors/source-looker/source_looker/streams.py b/airbyte-integrations/connectors/source-looker/source_looker/streams.py index d6f6b87816ed..e4bd53f1571c 100644 --- a/airbyte-integrations/connectors/source-looker/source_looker/streams.py +++ b/airbyte-integrations/connectors/source-looker/source_looker/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-looker/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-looker/unit_tests/unit_test.py index 2dc6291301bf..d5995320b8c4 100644 --- a/airbyte-integrations/connectors/source-looker/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-looker/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailchimp/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/main.py b/airbyte-integrations/connectors/source-mailchimp/main.py index 23f9b7febd72..d1300fd15abd 100644 --- a/airbyte-integrations/connectors/source-mailchimp/main.py +++ b/airbyte-integrations/connectors/source-mailchimp/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/setup.py b/airbyte-integrations/connectors/source-mailchimp/setup.py index a723a103130a..e1e3d33c0399 100644 --- a/airbyte-integrations/connectors/source-mailchimp/setup.py +++ b/airbyte-integrations/connectors/source-mailchimp/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/models/mailchimp.py b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/models/mailchimp.py index 89bdab20ef76..eb1aac9dc633 100644 --- a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/models/mailchimp.py +++ b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/models/mailchimp.py @@ -1,9 +1,9 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # -from pydantic import BaseModel, Extra, Field +from pydantic import BaseModel class HealthCheckError(BaseModel): diff --git a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py index 822f7d3e5d01..7666598d786b 100644 --- a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py +++ b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py index 54dcaab01490..8cf13347017f 100644 --- a/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py +++ b/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/unit_tests/conftest.py b/airbyte-integrations/connectors/source-mailchimp/unit_tests/conftest.py index 7b56f7393cda..3168a10995c4 100644 --- a/airbyte-integrations/connectors/source-mailchimp/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-mailchimp/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_source.py b/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_source.py index 6b42b8f2a0d6..e63529f249de 100644 --- a/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_streams.py index 0d7f405ce356..cdf7c776f762 100644 --- a/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-mailchimp/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-mailchimp/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-mailchimp/unit_tests/unit_test.py index 9394ef681f98..703f379027e5 100644 --- a/airbyte-integrations/connectors/source-mailchimp/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-mailchimp/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailchimp/unit_tests/utils.py b/airbyte-integrations/connectors/source-mailchimp/unit_tests/utils.py index c92ac97b0373..813442954755 100644 --- a/airbyte-integrations/connectors/source-mailchimp/unit_tests/utils.py +++ b/airbyte-integrations/connectors/source-mailchimp/unit_tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, MutableMapping diff --git a/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py index 9bb9358dd7cb..49a002bb2405 100644 --- a/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mailgun/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-mailgun/integration_tests/fill_data.py b/airbyte-integrations/connectors/source-mailgun/integration_tests/fill_data.py index 19d8e16fd07e..95502acd0e14 100644 --- a/airbyte-integrations/connectors/source-mailgun/integration_tests/fill_data.py +++ b/airbyte-integrations/connectors/source-mailgun/integration_tests/fill_data.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import argparse diff --git a/airbyte-integrations/connectors/source-mailgun/main.py b/airbyte-integrations/connectors/source-mailgun/main.py index 54afdc967ae9..59ee7ae952e9 100644 --- a/airbyte-integrations/connectors/source-mailgun/main.py +++ b/airbyte-integrations/connectors/source-mailgun/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailgun/setup.py b/airbyte-integrations/connectors/source-mailgun/setup.py index 6eb12595c6c5..c42ec1a9b2e5 100644 --- a/airbyte-integrations/connectors/source-mailgun/setup.py +++ b/airbyte-integrations/connectors/source-mailgun/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mailgun/source_mailgun/source.py b/airbyte-integrations/connectors/source-mailgun/source_mailgun/source.py index 0a788dc3b55d..c03073927f13 100644 --- a/airbyte-integrations/connectors/source-mailgun/source_mailgun/source.py +++ b/airbyte-integrations/connectors/source-mailgun/source_mailgun/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-mailgun/unit_tests/conftest.py b/airbyte-integrations/connectors/source-mailgun/unit_tests/conftest.py index 586f6218cb92..306bbd17b9f5 100644 --- a/airbyte-integrations/connectors/source-mailgun/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-mailgun/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from base64 import b64encode diff --git a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_incremental_streams.py index acca45ebae70..33cb54d05c10 100644 --- a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import time diff --git a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_source.py b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_source.py index f96a01b2a7e5..d0401701fda8 100644 --- a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_streams.py index bcc07be2bf00..b6c48388908f 100644 --- a/airbyte-integrations/connectors/source-mailgun/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-mailgun/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-marketo/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-marketo/main.py b/airbyte-integrations/connectors/source-marketo/main.py index 5774fd3cb303..d68e4bbd4bec 100644 --- a/airbyte-integrations/connectors/source-marketo/main.py +++ b/airbyte-integrations/connectors/source-marketo/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-marketo/setup.py b/airbyte-integrations/connectors/source-marketo/setup.py index 1db63def167c..9f645e47ae16 100644 --- a/airbyte-integrations/connectors/source-marketo/setup.py +++ b/airbyte-integrations/connectors/source-marketo/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-marketo/source_marketo/source.py b/airbyte-integrations/connectors/source-marketo/source_marketo/source.py index 94515dab2c03..ce119e1635af 100644 --- a/airbyte-integrations/connectors/source-marketo/source_marketo/source.py +++ b/airbyte-integrations/connectors/source-marketo/source_marketo/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import csv diff --git a/airbyte-integrations/connectors/source-marketo/source_marketo/utils.py b/airbyte-integrations/connectors/source-marketo/source_marketo/utils.py index a37b1bc62010..7344eb964ffd 100644 --- a/airbyte-integrations/connectors/source-marketo/source_marketo/utils.py +++ b/airbyte-integrations/connectors/source-marketo/source_marketo/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-marketo/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-marketo/unit_tests/unit_test.py index 76c9dad2d87b..06cda01fe0aa 100644 --- a/airbyte-integrations/connectors/source-marketo/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-marketo/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/main.py b/airbyte-integrations/connectors/source-microsoft-teams/main.py index db4ff168b7ce..d634b705ab69 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/main.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/setup.py b/airbyte-integrations/connectors/source-microsoft-teams/setup.py index d14bb298af04..b54b7fa8d7a2 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/setup.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py index a8296730a767..31a8a7d8be63 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py index 1f4bf2111549..2eb75897e485 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/source_microsoft_teams/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-microsoft-teams/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-mixpanel/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mixpanel/main.py b/airbyte-integrations/connectors/source-mixpanel/main.py index a7c5b88df13f..2a95859946dd 100644 --- a/airbyte-integrations/connectors/source-mixpanel/main.py +++ b/airbyte-integrations/connectors/source-mixpanel/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mixpanel/setup.py b/airbyte-integrations/connectors/source-mixpanel/setup.py index 71cb55b2e250..2e8c999f12f7 100644 --- a/airbyte-integrations/connectors/source-mixpanel/setup.py +++ b/airbyte-integrations/connectors/source-mixpanel/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-mixpanel/source_mixpanel/source.py b/airbyte-integrations/connectors/source-mixpanel/source_mixpanel/source.py index d3398f8c4718..8697f0be9056 100644 --- a/airbyte-integrations/connectors/source-mixpanel/source_mixpanel/source.py +++ b/airbyte-integrations/connectors/source-mixpanel/source_mixpanel/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-mixpanel/unit_tests/conftest.py b/airbyte-integrations/connectors/source-mixpanel/unit_tests/conftest.py index a42e90cdb070..4ca0c5c057ce 100644 --- a/airbyte-integrations/connectors/source-mixpanel/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-mixpanel/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import timedelta diff --git a/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_source.py b/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_source.py index 99e23d44f72a..e33b9cd66904 100644 --- a/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_streams.py index 17263ecf1993..14916b074944 100644 --- a/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-mixpanel/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import timedelta diff --git a/airbyte-integrations/connectors/source-mixpanel/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-mixpanel/unit_tests/unit_test.py index 3d840a32b57c..61ccd4d0790b 100644 --- a/airbyte-integrations/connectors/source-mixpanel/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-mixpanel/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import date, timedelta diff --git a/airbyte-integrations/connectors/source-mixpanel/unit_tests/utils.py b/airbyte-integrations/connectors/source-mixpanel/unit_tests/utils.py index 3c3c772c2994..98a5d9adf2a4 100644 --- a/airbyte-integrations/connectors/source-mixpanel/unit_tests/utils.py +++ b/airbyte-integrations/connectors/source-mixpanel/unit_tests/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import urllib.parse diff --git a/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-monday/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-monday/main.py b/airbyte-integrations/connectors/source-monday/main.py index 97c4bafc8101..32a9e31543ca 100644 --- a/airbyte-integrations/connectors/source-monday/main.py +++ b/airbyte-integrations/connectors/source-monday/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-monday/setup.py b/airbyte-integrations/connectors/source-monday/setup.py index fdb97c1c9517..c7f3b68b2191 100644 --- a/airbyte-integrations/connectors/source-monday/setup.py +++ b/airbyte-integrations/connectors/source-monday/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-monday/source_monday/source.py b/airbyte-integrations/connectors/source-monday/source_monday/source.py index d27ac318679d..284eb936f963 100644 --- a/airbyte-integrations/connectors/source-monday/source_monday/source.py +++ b/airbyte-integrations/connectors/source-monday/source_monday/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-monday/unit_tests/conftest.py b/airbyte-integrations/connectors/source-monday/unit_tests/conftest.py index d03c2820311d..c40a4656127d 100644 --- a/airbyte-integrations/connectors/source-monday/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-monday/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-monday/unit_tests/test_source.py b/airbyte-integrations/connectors/source-monday/unit_tests/test_source.py index ed8c514aacbf..3fe784d7345c 100644 --- a/airbyte-integrations/connectors/source-monday/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-monday/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.source.mongodb/MongodbSourceStrictEncrypt.java b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.source.mongodb/MongodbSourceStrictEncrypt.java index 8a0105b5ca60..8a3c34f9a471 100644 --- a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.source.mongodb/MongodbSourceStrictEncrypt.java +++ b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/main/java/io.airbyte.integrations.source.mongodb/MongodbSourceStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mongodb; diff --git a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mongodb/MongodbSourceStrictEncryptAcceptanceTest.java b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mongodb/MongodbSourceStrictEncryptAcceptanceTest.java index 0b460ce9da46..ac5bc9a9df29 100644 --- a/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mongodb/MongodbSourceStrictEncryptAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mongodb-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mongodb/MongodbSourceStrictEncryptAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mongodb; diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/main/java/io.airbyte.integrations.source.mongodb/MongoDbSource.java b/airbyte-integrations/connectors/source-mongodb-v2/src/main/java/io.airbyte.integrations.source.mongodb/MongoDbSource.java index 161d93a713a9..6a9a9f8fd633 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/main/java/io.airbyte.integrations.source.mongodb/MongoDbSource.java +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/main/java/io.airbyte.integrations.source.mongodb/MongoDbSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mongodb; diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAbstractAcceptanceTest.java b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAbstractAcceptanceTest.java index 3ed6aef9336b..dc87221d89d4 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAbstractAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAbstractAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAtlasAcceptanceTest.java b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAtlasAcceptanceTest.java index ae14ca62ed35..ec94c6c9ac0a 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAtlasAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceAtlasAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceDataTypeTest.java b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceDataTypeTest.java index 36af65c2f5ad..aa2d81c86470 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceDataTypeTest.java +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceDataTypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceStandaloneAcceptanceTest.java b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceStandaloneAcceptanceTest.java index cee2fe15bd34..4f68e1b27d46 100644 --- a/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceStandaloneAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mongodb-v2/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/MongoDbSourceStandaloneAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/main/java/io.airbyte.integrations.source.mssql/MssqlSourceStrictEncrypt.java b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/main/java/io.airbyte.integrations.source.mssql/MssqlSourceStrictEncrypt.java index 8e99d39ed6c3..29d17482226e 100644 --- a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/main/java/io.airbyte.integrations.source.mssql/MssqlSourceStrictEncrypt.java +++ b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/main/java/io.airbyte.integrations.source.mssql/MssqlSourceStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptSourceAcceptanceTest.java index 3a327a42b7f5..78099a6f96d2 100644 --- a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptJdbcSourceAcceptanceTest.java index 0962f9183db5..3d4019faf89c 100644 --- a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mssql/MssqlStrictEncryptJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/resources/expected_spec.json b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/resources/expected_spec.json index d3b48e6c3fd9..e78eb4b091cf 100644 --- a/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/resources/expected_spec.json +++ b/airbyte-integrations/connectors/source-mssql-strict-encrypt/src/test/resources/expected_spec.json @@ -124,7 +124,7 @@ "const": "CDC", "enum": ["CDC"], "default": "CDC", - "order":0 + "order": 0 }, "data_to_sync": { "title": "Data to Sync", diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcConnectorMetadataInjector.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcConnectorMetadataInjector.java index 275142bbb60e..9d66d5232477 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcConnectorMetadataInjector.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcConnectorMetadataInjector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcHelper.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcHelper.java index c5f6df5959c4..51672a826ab8 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcHelper.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcSavedInfoFetcher.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcSavedInfoFetcher.java index 7be186b1886b..1f207c5fb02e 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcSavedInfoFetcher.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcSavedInfoFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcStateHandler.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcStateHandler.java index a14964786f1b..63f92f7977c4 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcStateHandler.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcStateHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcTargetPosition.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcTargetPosition.java index 0bf12941292e..cc830c0f96c1 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcTargetPosition.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlCdcTargetPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSource.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSource.java index ebb80caa39d3..2a770d8e1ddd 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSource.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSourceOperations.java b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSourceOperations.java index 98ff05c57879..a687d7cab17f 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSourceOperations.java +++ b/airbyte-integrations/connectors/source-mssql/src/main/java/io/airbyte/integrations/source/mssql/MssqlSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/main/resources/spec.json b/airbyte-integrations/connectors/source-mssql/src/main/resources/spec.json index 349552cbaf28..6b6153d1c854 100644 --- a/airbyte-integrations/connectors/source-mssql/src/main/resources/spec.json +++ b/airbyte-integrations/connectors/source-mssql/src/main/resources/spec.json @@ -138,7 +138,7 @@ "const": "CDC", "enum": ["CDC"], "default": "CDC", - "order":0 + "order": 0 }, "data_to_sync": { "title": "Data to Sync", diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/AbstractSshMssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/AbstractSshMssqlSourceAcceptanceTest.java index 7919e0c67222..2d7ab44a9cd4 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/AbstractSshMssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/AbstractSshMssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceAcceptanceTest.java index 7a3753578242..ec2e97364d49 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceDatatypeTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceDatatypeTest.java index 67bd5c21357b..ca0a298cc43a 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlRdsSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlRdsSourceAcceptanceTest.java index 8236ac141b02..c0dc1fceacc5 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlRdsSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlRdsSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceAcceptanceTest.java index c8dc014f7cbb..e313d717489f 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceDatatypeTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceDatatypeTest.java index d69064613759..2a1ec5ace1a0 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/MssqlSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshKeyMssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshKeyMssqlSourceAcceptanceTest.java index 0afe4402c65b..7703dbde91d9 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshKeyMssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshKeyMssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshPasswordMssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshPasswordMssqlSourceAcceptanceTest.java index 2b1432d75067..938bf473a379 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshPasswordMssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SshPasswordMssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SslEnabledMssqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SslEnabledMssqlSourceAcceptanceTest.java index 0c198321d74f..156a7edeff4b 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SslEnabledMssqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/SslEnabledMssqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/FillMsSqlTestDbScriptTest.java b/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/FillMsSqlTestDbScriptTest.java index e93d2808dc6f..9a48a5059ca7 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/FillMsSqlTestDbScriptTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/FillMsSqlTestDbScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/MsSqlRdsSourcePerformanceSecretTest.java b/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/MsSqlRdsSourcePerformanceSecretTest.java index 1ff961d83bfc..5d2e69b4d549 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/MsSqlRdsSourcePerformanceSecretTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test-performance/java/io/airbyte/integrations/source/mssql/MsSqlRdsSourcePerformanceSecretTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceTest.java b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceTest.java index 385f240f00f5..f0314c727d43 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlCdcHelperTest.java b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlCdcHelperTest.java index 7d0102dd1814..79193cc8169c 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlCdcHelperTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlCdcHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlJdbcSourceAcceptanceTest.java index dd1945dbfb06..43dfbe5cf8f1 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlSourceTest.java b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlSourceTest.java index be4d3ae9f761..96e7a03ae9d6 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlSourceTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlStressTest.java b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlStressTest.java index 6ba4550a1ca4..18055527c5ce 100644 --- a/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlStressTest.java +++ b/airbyte-integrations/connectors/source-mssql/src/test/java/io/airbyte/integrations/source/mssql/MssqlStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mssql; diff --git a/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-my-hours/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-my-hours/main.py b/airbyte-integrations/connectors/source-my-hours/main.py index e728ed09a425..9c29e709d9da 100644 --- a/airbyte-integrations/connectors/source-my-hours/main.py +++ b/airbyte-integrations/connectors/source-my-hours/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-my-hours/setup.py b/airbyte-integrations/connectors/source-my-hours/setup.py index 726520e67f64..10f6e57da8b2 100644 --- a/airbyte-integrations/connectors/source-my-hours/setup.py +++ b/airbyte-integrations/connectors/source-my-hours/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-my-hours/source_my_hours/auth.py b/airbyte-integrations/connectors/source-my-hours/source_my_hours/auth.py index 6b07708ff7fb..3a150d8c94c7 100644 --- a/airbyte-integrations/connectors/source-my-hours/source_my_hours/auth.py +++ b/airbyte-integrations/connectors/source-my-hours/source_my_hours/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-my-hours/source_my_hours/constants.py b/airbyte-integrations/connectors/source-my-hours/source_my_hours/constants.py index 69c07301ff14..cb45f206fd8b 100644 --- a/airbyte-integrations/connectors/source-my-hours/source_my_hours/constants.py +++ b/airbyte-integrations/connectors/source-my-hours/source_my_hours/constants.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # URL_BASE = "https://api2.myhours.com/api" diff --git a/airbyte-integrations/connectors/source-my-hours/source_my_hours/source.py b/airbyte-integrations/connectors/source-my-hours/source_my_hours/source.py index 09797b13eda7..7034a497d36f 100644 --- a/airbyte-integrations/connectors/source-my-hours/source_my_hours/source.py +++ b/airbyte-integrations/connectors/source-my-hours/source_my_hours/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, MutableMapping, Optional, Tuple diff --git a/airbyte-integrations/connectors/source-my-hours/source_my_hours/stream.py b/airbyte-integrations/connectors/source-my-hours/source_my_hours/stream.py index f32ee6fcf3b6..5af4d76097d9 100644 --- a/airbyte-integrations/connectors/source-my-hours/source_my_hours/stream.py +++ b/airbyte-integrations/connectors/source-my-hours/source_my_hours/stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_auth.py b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_auth.py index 622148c1438c..7c8e268cb39e 100644 --- a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_auth.py +++ b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import responses diff --git a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_source.py b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_source.py index db0c85b9516f..25c8a09cf4d2 100644 --- a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_stream.py b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_stream.py index e4cb34b982c5..c5a8d11bd059 100644 --- a/airbyte-integrations/connectors/source-my-hours/unit_tests/test_stream.py +++ b/airbyte-integrations/connectors/source-my-hours/unit_tests/test_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSource.java b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSource.java index a108f5fc2c88..15b63f54da38 100644 --- a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSource.java +++ b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/main/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSourceAcceptanceTest.java index 4b3b0aa3166c..a590dc291ff2 100644 --- a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptJdbcSourceAcceptanceTest.java index 25e313213b60..2422fc5f9972 100644 --- a/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql-strict-encrypt/src/test/java/io/airbyte/integrations/source/mysql_strict_encrypt/MySqlStrictEncryptJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcConnectorMetadataInjector.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcConnectorMetadataInjector.java index 90a4d6198096..171cb570da50 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcConnectorMetadataInjector.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcConnectorMetadataInjector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcProperties.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcProperties.java index 1c677b979b1f..041862499e9e 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcProperties.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcProperties.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcSavedInfoFetcher.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcSavedInfoFetcher.java index 0cd2f23d1228..bf0c31994c7f 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcSavedInfoFetcher.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcSavedInfoFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcStateHandler.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcStateHandler.java index 0b130a7a80b3..d6171c06ff82 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcStateHandler.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcStateHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcTargetPosition.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcTargetPosition.java index 4c5901676e18..3bfea4985dbe 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcTargetPosition.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlCdcTargetPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSource.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSource.java index bc34c4270d1a..ea435043efc9 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSource.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSourceOperations.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSourceOperations.java index 8ec08c4a2e0e..59c02a38da5f 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSourceOperations.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/MySqlSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/helpers/CdcConfigurationHelper.java b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/helpers/CdcConfigurationHelper.java index f4c55d6257d5..241c5d309886 100644 --- a/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/helpers/CdcConfigurationHelper.java +++ b/airbyte-integrations/connectors/source-mysql/src/main/java/io/airbyte/integrations/source/mysql/helpers/CdcConfigurationHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql.helpers; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/AbstractSshMySqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/AbstractSshMySqlSourceAcceptanceTest.java index 7b24581e7ddb..e5e9186bf933 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/AbstractSshMySqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/AbstractSshMySqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceAcceptanceTest.java index f563269f89ff..9903e6f018af 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceDatatypeTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceDatatypeTest.java index 31adfbb76aaf..781b156b6526 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/CdcMySqlSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceAcceptanceTest.java index 90c476495012..d6626a1568bf 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceDatatypeTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceDatatypeTest.java index c60db4632f2a..c3267de852f9 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSslSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSslSourceAcceptanceTest.java index ea248aba67ed..9728872ea8ee 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSslSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/MySqlSslSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshKeyMySqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshKeyMySqlSourceAcceptanceTest.java index 7ec5dbd046c4..9da81da967b2 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshKeyMySqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshKeyMySqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshPasswordMySqlSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshPasswordMySqlSourceAcceptanceTest.java index a5de322d724d..2a7ac07cf677 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshPasswordMySqlSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-integration/java/io/airbyte/integrations/source/mysql/SshPasswordMySqlSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/FillMySqlTestDbScriptTest.java b/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/FillMySqlTestDbScriptTest.java index 4ac4baa7a9cf..e1fad9c8d093 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/FillMySqlTestDbScriptTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/FillMySqlTestDbScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/MySqlRdsSourcePerformanceSecretTest.java b/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/MySqlRdsSourcePerformanceSecretTest.java index 163924e75868..26b4e3c77ea1 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/MySqlRdsSourcePerformanceSecretTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test-performance/java/io/airbyte/integrations/source/mysql/MySqlRdsSourcePerformanceSecretTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlJdbcSourceAcceptanceTest.java index 5f3976a7cef6..37c729f002d9 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSourceTests.java b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSourceTests.java index 26cb5b610b0d..3a91e08f6ad0 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSourceTests.java +++ b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSourceTests.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSslJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSslJdbcSourceAcceptanceTest.java index c4a79106cc5b..96f631fe4ac8 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSslJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlSslJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlStressTest.java b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlStressTest.java index 401f89a7291b..a8163a986ec6 100644 --- a/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlStressTest.java +++ b/airbyte-integrations/connectors/source-mysql/src/test/java/io/airbyte/integrations/source/mysql/MySqlStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.mysql; diff --git a/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-notion/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-notion/main.py b/airbyte-integrations/connectors/source-notion/main.py index 424f1da313e2..c8447c3b4c62 100644 --- a/airbyte-integrations/connectors/source-notion/main.py +++ b/airbyte-integrations/connectors/source-notion/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-notion/setup.py b/airbyte-integrations/connectors/source-notion/setup.py index 2ab7c196ba42..a18cc513662a 100644 --- a/airbyte-integrations/connectors/source-notion/setup.py +++ b/airbyte-integrations/connectors/source-notion/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-notion/source_notion/source.py b/airbyte-integrations/connectors/source-notion/source_notion/source.py index 22900dbbccfe..763a2d87db6a 100644 --- a/airbyte-integrations/connectors/source-notion/source_notion/source.py +++ b/airbyte-integrations/connectors/source-notion/source_notion/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-notion/source_notion/streams.py b/airbyte-integrations/connectors/source-notion/source_notion/streams.py index d0b087875984..c755fa20dd22 100644 --- a/airbyte-integrations/connectors/source-notion/source_notion/streams.py +++ b/airbyte-integrations/connectors/source-notion/source_notion/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-notion/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-notion/unit_tests/test_incremental_streams.py index 36ebd7cd36b1..5b0ecbd91913 100644 --- a/airbyte-integrations/connectors/source-notion/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-notion/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-notion/unit_tests/test_source.py b/airbyte-integrations/connectors/source-notion/unit_tests/test_source.py index b2074e503d39..67dcdd16f8ff 100644 --- a/airbyte-integrations/connectors/source-notion/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-notion/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-notion/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-notion/unit_tests/test_streams.py index 6cdb0a4c5fd1..a52d13d481df 100644 --- a/airbyte-integrations/connectors/source-notion/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-notion/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import random diff --git a/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py index 62f7386c15b7..2531db894344 100644 --- a/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-okta/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-okta/main.py b/airbyte-integrations/connectors/source-okta/main.py index 4402d08df00c..7e1b1b20c8da 100644 --- a/airbyte-integrations/connectors/source-okta/main.py +++ b/airbyte-integrations/connectors/source-okta/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-okta/setup.py b/airbyte-integrations/connectors/source-okta/setup.py index d7cdcdd1336a..a6b22cfd8f86 100644 --- a/airbyte-integrations/connectors/source-okta/setup.py +++ b/airbyte-integrations/connectors/source-okta/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-okta/source_okta/source.py b/airbyte-integrations/connectors/source-okta/source_okta/source.py index f9d7ec39e845..97c97bec379c 100644 --- a/airbyte-integrations/connectors/source-okta/source_okta/source.py +++ b/airbyte-integrations/connectors/source-okta/source_okta/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-okta/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-okta/unit_tests/unit_test.py index 7b206f90f838..dd619e36b3b4 100644 --- a/airbyte-integrations/connectors/source-okta/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-okta/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-onesignal/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/main.py b/airbyte-integrations/connectors/source-onesignal/main.py index 39e79c05fd3c..91b3d84ca033 100644 --- a/airbyte-integrations/connectors/source-onesignal/main.py +++ b/airbyte-integrations/connectors/source-onesignal/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/setup.py b/airbyte-integrations/connectors/source-onesignal/setup.py index c80f3bf47c84..93c226bde637 100644 --- a/airbyte-integrations/connectors/source-onesignal/setup.py +++ b/airbyte-integrations/connectors/source-onesignal/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/source_onesignal/source.py b/airbyte-integrations/connectors/source-onesignal/source_onesignal/source.py index b3665a39161f..df6bdc54bc29 100644 --- a/airbyte-integrations/connectors/source-onesignal/source_onesignal/source.py +++ b/airbyte-integrations/connectors/source-onesignal/source_onesignal/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/source_onesignal/streams.py b/airbyte-integrations/connectors/source-onesignal/source_onesignal/streams.py index 10353c2bba04..37e4bf5301f1 100644 --- a/airbyte-integrations/connectors/source-onesignal/source_onesignal/streams.py +++ b/airbyte-integrations/connectors/source-onesignal/source_onesignal/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import time diff --git a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_incremental_streams.py index 8c6edda091f2..2b16a427842e 100644 --- a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_source.py b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_source.py index 1b5bb62326ff..963793681875 100644 --- a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_streams.py index 36da03e821db..8889016987a9 100644 --- a/airbyte-integrations/connectors/source-onesignal/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-onesignal/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-openweather/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-openweather/main.py b/airbyte-integrations/connectors/source-openweather/main.py index 3fe8ba844801..fc0f9343a83c 100644 --- a/airbyte-integrations/connectors/source-openweather/main.py +++ b/airbyte-integrations/connectors/source-openweather/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-openweather/setup.py b/airbyte-integrations/connectors/source-openweather/setup.py index 449b4501eb90..2b87b5abd952 100644 --- a/airbyte-integrations/connectors/source-openweather/setup.py +++ b/airbyte-integrations/connectors/source-openweather/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-openweather/source_openweather/extra_validations.py b/airbyte-integrations/connectors/source-openweather/source_openweather/extra_validations.py index 4c9cd2043600..f10d68a9d9f0 100644 --- a/airbyte-integrations/connectors/source-openweather/source_openweather/extra_validations.py +++ b/airbyte-integrations/connectors/source-openweather/source_openweather/extra_validations.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Mapping diff --git a/airbyte-integrations/connectors/source-openweather/source_openweather/source.py b/airbyte-integrations/connectors/source-openweather/source_openweather/source.py index 8f2aa8f21a28..0960e7b66249 100644 --- a/airbyte-integrations/connectors/source-openweather/source_openweather/source.py +++ b/airbyte-integrations/connectors/source-openweather/source_openweather/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-openweather/source_openweather/streams.py b/airbyte-integrations/connectors/source-openweather/source_openweather/streams.py index d76d069b0790..5be335e67464 100644 --- a/airbyte-integrations/connectors/source-openweather/source_openweather/streams.py +++ b/airbyte-integrations/connectors/source-openweather/source_openweather/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Iterable, Mapping, MutableMapping, Optional diff --git a/airbyte-integrations/connectors/source-openweather/unit_tests/test_extra_validations.py b/airbyte-integrations/connectors/source-openweather/unit_tests/test_extra_validations.py index b1b8265d6d07..3250ae984368 100644 --- a/airbyte-integrations/connectors/source-openweather/unit_tests/test_extra_validations.py +++ b/airbyte-integrations/connectors/source-openweather/unit_tests/test_extra_validations.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-openweather/unit_tests/test_source.py b/airbyte-integrations/connectors/source-openweather/unit_tests/test_source.py index d1d5d999ddd5..a418cba76a35 100644 --- a/airbyte-integrations/connectors/source-openweather/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-openweather/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-openweather/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-openweather/unit_tests/test_streams.py index 65b892a4e9b9..7a472b50252b 100644 --- a/airbyte-integrations/connectors/source-openweather/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-openweather/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSource.java b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSource.java index 368d6666d913..6164967cdb7c 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSource.java +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/main/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleContainer.java b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleContainer.java index f5b99dc57d3b..f534e1ce2d5c 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleContainer.java +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleSourceNneAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleSourceNneAcceptanceTest.java index e5fc9b4f241f..ec4e54275b8c 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleSourceNneAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleSourceNneAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSourceAcceptanceTest.java index 6afef39e4d6e..368980f74ec1 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test-integration/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptJdbcSourceAcceptanceTest.java index 6311c64b820a..4451aa0e6b4a 100644 --- a/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle-strict-encrypt/src/test/java/io/airbyte/integrations/source/oracle_strict_encrypt/OracleStrictEncryptJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle_strict_encrypt; diff --git a/airbyte-integrations/connectors/source-oracle/src/main/java/io/airbyte/integrations/source/oracle/OracleSource.java b/airbyte-integrations/connectors/source-oracle/src/main/java/io/airbyte/integrations/source/oracle/OracleSource.java index ad6a0f3cc4af..ebac714f5b27 100644 --- a/airbyte-integrations/connectors/source-oracle/src/main/java/io/airbyte/integrations/source/oracle/OracleSource.java +++ b/airbyte-integrations/connectors/source-oracle/src/main/java/io/airbyte/integrations/source/oracle/OracleSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/AbstractSshOracleSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/AbstractSshOracleSourceAcceptanceTest.java index 6311e46ac3b8..14b201f69af1 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/AbstractSshOracleSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/AbstractSshOracleSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleContainer.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleContainer.java index c0f000fcad04..a83102f768a0 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleContainer.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceAcceptanceTest.java index 2df1e0407fa4..28939a2079f6 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceDatatypeTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceDatatypeTest.java index 2ecb6ea85487..d91292df0300 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceNneAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceNneAcceptanceTest.java index a9e66c7c3574..9608ec3d5495 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceNneAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/OracleSourceNneAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshKeyOracleSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshKeyOracleSourceAcceptanceTest.java index ebab2c23b837..90309c813041 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshKeyOracleSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshKeyOracleSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshPasswordOracleSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshPasswordOracleSourceAcceptanceTest.java index f0c881a813a1..eb76ede6b76a 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshPasswordOracleSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test-integration/java/io/airbyte/integrations/source/oracle/SshPasswordOracleSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleJdbcSourceAcceptanceTest.java index a608165340c9..8ee02fc72054 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleSourceTest.java b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleSourceTest.java index 3d5df71704e3..20459999edce 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleSourceTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleStressTest.java b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleStressTest.java index 9873d8bed277..ce74183ffea8 100644 --- a/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleStressTest.java +++ b/airbyte-integrations/connectors/source-oracle/src/test/java/io/airbyte/integrations/source/oracle/OracleStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.oracle; diff --git a/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-orb/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-orb/main.py b/airbyte-integrations/connectors/source-orb/main.py index 907b5695076c..2a4361ce572a 100644 --- a/airbyte-integrations/connectors/source-orb/main.py +++ b/airbyte-integrations/connectors/source-orb/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-orb/setup.py b/airbyte-integrations/connectors/source-orb/setup.py index f7d1c03b5948..dbbc66ba224a 100644 --- a/airbyte-integrations/connectors/source-orb/setup.py +++ b/airbyte-integrations/connectors/source-orb/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-orb/source_orb/source.py b/airbyte-integrations/connectors/source-orb/source_orb/source.py index c4d15ecc8c91..dd141442205f 100644 --- a/airbyte-integrations/connectors/source-orb/source_orb/source.py +++ b/airbyte-integrations/connectors/source-orb/source_orb/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-orb/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-orb/unit_tests/test_incremental_streams.py index d00dcca8c02f..b7af7c81a5e6 100644 --- a/airbyte-integrations/connectors/source-orb/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-orb/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-orb/unit_tests/test_source.py b/airbyte-integrations/connectors/source-orb/unit_tests/test_source.py index 3a6729a6a6fe..ce6d9683aa02 100644 --- a/airbyte-integrations/connectors/source-orb/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-orb/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-orb/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-orb/unit_tests/test_streams.py index fb2196adbd61..e79c208dee0d 100644 --- a/airbyte-integrations/connectors/source-orb/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-orb/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-outreach/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-outreach/main.py b/airbyte-integrations/connectors/source-outreach/main.py index 7f2e3d552302..bf446e87c6fa 100644 --- a/airbyte-integrations/connectors/source-outreach/main.py +++ b/airbyte-integrations/connectors/source-outreach/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-outreach/setup.py b/airbyte-integrations/connectors/source-outreach/setup.py index 0f163f7eace3..868faa0df1f2 100644 --- a/airbyte-integrations/connectors/source-outreach/setup.py +++ b/airbyte-integrations/connectors/source-outreach/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-outreach/source_outreach/source.py b/airbyte-integrations/connectors/source-outreach/source_outreach/source.py index b14a6ceaea30..6e419779be50 100644 --- a/airbyte-integrations/connectors/source-outreach/source_outreach/source.py +++ b/airbyte-integrations/connectors/source-outreach/source_outreach/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-outreach/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-outreach/unit_tests/test_incremental_streams.py index b3116a9b7795..9bf522b35ba5 100644 --- a/airbyte-integrations/connectors/source-outreach/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-outreach/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-outreach/unit_tests/test_source.py b/airbyte-integrations/connectors/source-outreach/unit_tests/test_source.py index 1d143758d96a..8e5292128465 100644 --- a/airbyte-integrations/connectors/source-outreach/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-outreach/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-outreach/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-outreach/unit_tests/test_streams.py index ce3883ad9ec0..8bcb115c8953 100644 --- a/airbyte-integrations/connectors/source-outreach/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-outreach/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pardot/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pardot/main.py b/airbyte-integrations/connectors/source-pardot/main.py index e4213655c9d2..4ba159ff3a65 100644 --- a/airbyte-integrations/connectors/source-pardot/main.py +++ b/airbyte-integrations/connectors/source-pardot/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pardot/setup.py b/airbyte-integrations/connectors/source-pardot/setup.py index ee1767c0ea64..07e7908f7eaf 100644 --- a/airbyte-integrations/connectors/source-pardot/setup.py +++ b/airbyte-integrations/connectors/source-pardot/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pardot/source_pardot/api.py b/airbyte-integrations/connectors/source-pardot/source_pardot/api.py index fbc8a9292812..4dff52cb3125 100644 --- a/airbyte-integrations/connectors/source-pardot/source_pardot/api.py +++ b/airbyte-integrations/connectors/source-pardot/source_pardot/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import requests diff --git a/airbyte-integrations/connectors/source-pardot/source_pardot/source.py b/airbyte-integrations/connectors/source-pardot/source_pardot/source.py index cf5d09e1770c..afaa30be3e97 100644 --- a/airbyte-integrations/connectors/source-pardot/source_pardot/source.py +++ b/airbyte-integrations/connectors/source-pardot/source_pardot/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pardot/source_pardot/stream.py b/airbyte-integrations/connectors/source-pardot/source_pardot/stream.py index 151458e1cacd..3d59ee30358f 100644 --- a/airbyte-integrations/connectors/source-pardot/source_pardot/stream.py +++ b/airbyte-integrations/connectors/source-pardot/source_pardot/stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-pardot/unit_tests/conftest.py b/airbyte-integrations/connectors/source-pardot/unit_tests/conftest.py index d03c2820311d..c40a4656127d 100644 --- a/airbyte-integrations/connectors/source-pardot/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-pardot/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-pardot/unit_tests/test_source.py b/airbyte-integrations/connectors/source-pardot/unit_tests/test_source.py index d0ef016d22bf..9e7c7931a02f 100644 --- a/airbyte-integrations/connectors/source-pardot/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-pardot/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-paypal-transaction/bin/fixture_helper.py b/airbyte-integrations/connectors/source-paypal-transaction/bin/fixture_helper.py index 7ade11dd5a87..9e43ccdabb14 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/bin/fixture_helper.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/bin/fixture_helper.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-paypal-transaction/bin/paypal_transaction_generator.py b/airbyte-integrations/connectors/source-paypal-transaction/bin/paypal_transaction_generator.py index 65ab8a9d0b15..054156d46cce 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/bin/paypal_transaction_generator.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/bin/paypal_transaction_generator.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # diff --git a/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paypal-transaction/main.py b/airbyte-integrations/connectors/source-paypal-transaction/main.py index d53c722fc137..6acb02e75473 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/main.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paypal-transaction/setup.py b/airbyte-integrations/connectors/source-paypal-transaction/setup.py index 73c3a8ad9fa8..a6daf3f0f24f 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/setup.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paypal-transaction/source_paypal_transaction/source.py b/airbyte-integrations/connectors/source-paypal-transaction/source_paypal_transaction/source.py index 305de49226e6..173cb9af1bcf 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/source_paypal_transaction/source.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/source_paypal_transaction/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-paypal-transaction/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-paypal-transaction/unit_tests/unit_test.py index 30f0acf3025f..0b2b455389bf 100644 --- a/airbyte-integrations/connectors/source-paypal-transaction/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-paypal-transaction/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime, timedelta diff --git a/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-paystack/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paystack/main.py b/airbyte-integrations/connectors/source-paystack/main.py index a524a86f134a..278ab9385111 100644 --- a/airbyte-integrations/connectors/source-paystack/main.py +++ b/airbyte-integrations/connectors/source-paystack/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paystack/setup.py b/airbyte-integrations/connectors/source-paystack/setup.py index cd0cc49d0534..0c121c6a9900 100644 --- a/airbyte-integrations/connectors/source-paystack/setup.py +++ b/airbyte-integrations/connectors/source-paystack/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-paystack/source_paystack/source.py b/airbyte-integrations/connectors/source-paystack/source_paystack/source.py index 2a4c5517106d..bd660fc8c9ae 100644 --- a/airbyte-integrations/connectors/source-paystack/source_paystack/source.py +++ b/airbyte-integrations/connectors/source-paystack/source_paystack/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-paystack/source_paystack/streams.py b/airbyte-integrations/connectors/source-paystack/source_paystack/streams.py index 3053f1865184..b74cc1207a42 100644 --- a/airbyte-integrations/connectors/source-paystack/source_paystack/streams.py +++ b/airbyte-integrations/connectors/source-paystack/source_paystack/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-paystack/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-paystack/unit_tests/test_incremental_streams.py index 625e286fc0a5..5fd14ee54bdc 100644 --- a/airbyte-integrations/connectors/source-paystack/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-paystack/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-paystack/unit_tests/test_source.py b/airbyte-integrations/connectors/source-paystack/unit_tests/test_source.py index 1f7c000c3623..7192e6b13b2d 100644 --- a/airbyte-integrations/connectors/source-paystack/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-paystack/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import ANY, MagicMock diff --git a/airbyte-integrations/connectors/source-paystack/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-paystack/unit_tests/test_streams.py index 60bf435a49ba..795337426c6e 100644 --- a/airbyte-integrations/connectors/source-paystack/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-paystack/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-persistiq/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-persistiq/main.py b/airbyte-integrations/connectors/source-persistiq/main.py index 3f871b111090..756468470a95 100644 --- a/airbyte-integrations/connectors/source-persistiq/main.py +++ b/airbyte-integrations/connectors/source-persistiq/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-persistiq/setup.py b/airbyte-integrations/connectors/source-persistiq/setup.py index cdcac84c0c07..5959d84a244c 100644 --- a/airbyte-integrations/connectors/source-persistiq/setup.py +++ b/airbyte-integrations/connectors/source-persistiq/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-persistiq/source_persistiq/source.py b/airbyte-integrations/connectors/source-persistiq/source_persistiq/source.py index b4dc493d4e57..1094c646c69f 100644 --- a/airbyte-integrations/connectors/source-persistiq/source_persistiq/source.py +++ b/airbyte-integrations/connectors/source-persistiq/source_persistiq/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-persistiq/unit_tests/test_source.py b/airbyte-integrations/connectors/source-persistiq/unit_tests/test_source.py index b230eb6c9fd3..e27e44f6c0b7 100644 --- a/airbyte-integrations/connectors/source-persistiq/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-persistiq/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import requests diff --git a/airbyte-integrations/connectors/source-persistiq/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-persistiq/unit_tests/test_streams.py index 32f5fe315390..6964e0a3cfef 100644 --- a/airbyte-integrations/connectors/source-persistiq/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-persistiq/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pinterest/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pinterest/main.py b/airbyte-integrations/connectors/source-pinterest/main.py index 8ba8001fa0dc..cad243ea7cf9 100644 --- a/airbyte-integrations/connectors/source-pinterest/main.py +++ b/airbyte-integrations/connectors/source-pinterest/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pinterest/setup.py b/airbyte-integrations/connectors/source-pinterest/setup.py index f9867dde7b88..d11df2f2cdd4 100644 --- a/airbyte-integrations/connectors/source-pinterest/setup.py +++ b/airbyte-integrations/connectors/source-pinterest/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/source.py b/airbyte-integrations/connectors/source-pinterest/source_pinterest/source.py index 6c9d652876f7..40ba2e0489b9 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/source.py +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/utils.py b/airbyte-integrations/connectors/source-pinterest/source_pinterest/utils.py index 1f29cd57f30e..879745a587ca 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/utils.py +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-pinterest/unit_tests/conftest.py b/airbyte-integrations/connectors/source-pinterest/unit_tests/conftest.py index 865b16cd03e3..6f3c01b32602 100644 --- a/airbyte-integrations/connectors/source-pinterest/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-pinterest/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_incremental_streams.py index 0d58e9febc71..c78cc5950041 100644 --- a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_source.py b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_source.py index 83529eec0dbb..8599e1a3c931 100644 --- a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_streams.py index e3f1d876d8e6..840bc3072b2b 100644 --- a/airbyte-integrations/connectors/source-pinterest/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-pinterest/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pipedrive/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pipedrive/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-pipedrive/integration_tests/integration_test.py index b074804d20e3..cbe7cbbf5d38 100644 --- a/airbyte-integrations/connectors/source-pipedrive/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-pipedrive/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pipedrive/main.py b/airbyte-integrations/connectors/source-pipedrive/main.py index 10e335680abb..f46f1a943681 100644 --- a/airbyte-integrations/connectors/source-pipedrive/main.py +++ b/airbyte-integrations/connectors/source-pipedrive/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pipedrive/setup.py b/airbyte-integrations/connectors/source-pipedrive/setup.py index 411f684a2da9..67ce60884543 100644 --- a/airbyte-integrations/connectors/source-pipedrive/setup.py +++ b/airbyte-integrations/connectors/source-pipedrive/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/source.py b/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/source.py index 74a11582bf74..d5baa11c07cb 100644 --- a/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/source.py +++ b/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/streams.py b/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/streams.py index e6935241c5b7..834276dc1ec9 100755 --- a/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/streams.py +++ b/airbyte-integrations/connectors/source-pipedrive/source_pipedrive/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-pipedrive/unit_tests/conftest.py b/airbyte-integrations/connectors/source-pipedrive/unit_tests/conftest.py index 4e8503f3332d..0e7adac8eaf4 100644 --- a/airbyte-integrations/connectors/source-pipedrive/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-pipedrive/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_source.py b/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_source.py index f9b9c66a257f..e9d7822bde49 100644 --- a/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from airbyte_cdk.logger import AirbyteLogger diff --git a/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_streams.py index d20c0a38095f..4c0530d13bf1 100644 --- a/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-pipedrive/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/main.py b/airbyte-integrations/connectors/source-pivotal-tracker/main.py index 410935adc9d7..cf6744877ce8 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/main.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/setup.py b/airbyte-integrations/connectors/source-pivotal-tracker/setup.py index 2258f502aef3..ff2c8fc5a277 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/setup.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/source_pivotal_tracker/source.py b/airbyte-integrations/connectors/source-pivotal-tracker/source_pivotal_tracker/source.py index b656130eca90..c8516e125628 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/source_pivotal_tracker/source.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/source_pivotal_tracker/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/conftest.py b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/conftest.py index de65a3fb3603..1d516f5fc7bf 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_source.py b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_source.py index e17146de7973..3da362e0ad5b 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_streams.py index 417738c1f169..8c7ceb7f0074 100644 --- a/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-pivotal-tracker/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import responses diff --git a/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-plaid/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-plaid/main.py b/airbyte-integrations/connectors/source-plaid/main.py index c3f9861f1ed6..1bc3508ac318 100644 --- a/airbyte-integrations/connectors/source-plaid/main.py +++ b/airbyte-integrations/connectors/source-plaid/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-plaid/setup.py b/airbyte-integrations/connectors/source-plaid/setup.py index 3f4c0eda8167..22d3ce7a7ffe 100644 --- a/airbyte-integrations/connectors/source-plaid/setup.py +++ b/airbyte-integrations/connectors/source-plaid/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-plaid/source_plaid/source.py b/airbyte-integrations/connectors/source-plaid/source_plaid/source.py index 6e9f692d71c2..a80fbf14ad4a 100644 --- a/airbyte-integrations/connectors/source-plaid/source_plaid/source.py +++ b/airbyte-integrations/connectors/source-plaid/source_plaid/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-pokeapi/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pokeapi/main.py b/airbyte-integrations/connectors/source-pokeapi/main.py index 5e0ee178713e..2d91b13e09e7 100644 --- a/airbyte-integrations/connectors/source-pokeapi/main.py +++ b/airbyte-integrations/connectors/source-pokeapi/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import sys diff --git a/airbyte-integrations/connectors/source-pokeapi/setup.py b/airbyte-integrations/connectors/source-pokeapi/setup.py index 7ff6f072d6ed..b5a4b6b26354 100644 --- a/airbyte-integrations/connectors/source-pokeapi/setup.py +++ b/airbyte-integrations/connectors/source-pokeapi/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/pokemon_list.py b/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/pokemon_list.py index 8ad61eaed94d..01ed8afe0cb6 100644 --- a/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/pokemon_list.py +++ b/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/pokemon_list.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/source.py b/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/source.py index db2ad475fa7a..311671bde84e 100644 --- a/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/source.py +++ b/airbyte-integrations/connectors/source-pokeapi/source_pokeapi/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-pokeapi/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-pokeapi/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-pokeapi/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-pokeapi/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceStrictEncrypt.java b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceStrictEncrypt.java index acb7e1bc3e7b..d83a26344433 100644 --- a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceStrictEncrypt.java +++ b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceStrictEncrypt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceStrictEncryptAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceStrictEncryptAcceptanceTest.java index c1c2d1b491c7..903d112e98bf 100644 --- a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceStrictEncryptAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceStrictEncryptAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/source/postgres/PostgresStrictEncryptJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/source/postgres/PostgresStrictEncryptJdbcSourceAcceptanceTest.java index c9e431613f00..a64851e0360d 100644 --- a/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/source/postgres/PostgresStrictEncryptJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres-strict-encrypt/src/test/java/io/airbyte/integrations/source/postgres/PostgresStrictEncryptJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/Dockerfile b/airbyte-integrations/connectors/source-postgres/Dockerfile index 7579f8a479dd..3c9201aa13cd 100644 --- a/airbyte-integrations/connectors/source-postgres/Dockerfile +++ b/airbyte-integrations/connectors/source-postgres/Dockerfile @@ -16,5 +16,5 @@ ENV APPLICATION source-postgres COPY --from=build /airbyte /airbyte -LABEL io.airbyte.version=0.4.16 +LABEL io.airbyte.version=0.4.17 LABEL io.airbyte.name=airbyte/source-postgres diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcConnectorMetadataInjector.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcConnectorMetadataInjector.java index 9190f051481e..6ba32915394e 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcConnectorMetadataInjector.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcConnectorMetadataInjector.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcProperties.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcProperties.java index 8cda9da3468a..0e8ac93958c9 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcProperties.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcProperties.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcSavedInfoFetcher.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcSavedInfoFetcher.java index a42a971dcf7f..a5dfbbf4040e 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcSavedInfoFetcher.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcSavedInfoFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcStateHandler.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcStateHandler.java index 0f3a47ae6f1b..50c93d0405ce 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcStateHandler.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcStateHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcTargetPosition.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcTargetPosition.java index ec310c6e42b0..1de2d0cf6560 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcTargetPosition.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresCdcTargetPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSource.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSource.java index b2e70cf80b88..cb83f7324c69 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSource.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java index ff0664c0bdae..48f78b3df0a7 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresUtils.java b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresUtils.java index 57b58696e8ac..d9d3c87d09b6 100644 --- a/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresUtils.java +++ b/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshPostgresSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshPostgresSourceAcceptanceTest.java index 007e34700f3e..9f26a2532039 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshPostgresSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/AbstractSshPostgresSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceAcceptanceTest.java index 514ec93d7d99..19df7527dddf 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceDatatypeTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceDatatypeTest.java index a068e85ac6ac..d1c5671b79b6 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceAcceptanceTest.java index 0a068e54ff2d..acd1da14241f 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceDatatypeTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceDatatypeTest.java index 8824454e740b..43e45ae783b6 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/PostgresSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyPostgresSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyPostgresSourceAcceptanceTest.java index 87919e1704ef..dd11ce37a49c 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyPostgresSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshKeyPostgresSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordPostgresSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordPostgresSourceAcceptanceTest.java index 312a0bbf67f1..da6a5183ece2 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordPostgresSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SshPasswordPostgresSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/FillPostgresTestDbScriptTest.java b/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/FillPostgresTestDbScriptTest.java index 06c62daed1eb..b628ed25446d 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/FillPostgresTestDbScriptTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/FillPostgresTestDbScriptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/PostgresRdsSourcePerformanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/PostgresRdsSourcePerformanceTest.java index 316efc76f530..cc71e8ab6c86 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/PostgresRdsSourcePerformanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test-performance/java/io/airbyte/integrations/source/postgres/PostgresRdsSourcePerformanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourcePgoutputTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourcePgoutputTest.java index 565b3bc91f48..8b712a1ee6cd 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourcePgoutputTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourcePgoutputTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceTest.java index f7de0ef95dce..477784eda98e 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceWal2jsonTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceWal2jsonTest.java index e2a7e8a85714..19a8491a3247 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceWal2jsonTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/CdcPostgresSourceWal2jsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresJdbcSourceAcceptanceTest.java index cd4a2e124ccc..007213b57270 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceOperationsTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceOperationsTest.java index da961cb5ff95..0fe8f8658742 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceOperationsTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceOperationsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceSSLTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceSSLTest.java index a784da04d9d1..9d1a185350de 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceSSLTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceSSLTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceTest.java index 5915da337a92..c82f87d866c7 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSourceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSpecTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSpecTest.java index 47b8442d5e24..3c7b09fe2a05 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSpecTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresSpecTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresStressTest.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresStressTest.java index f7e60e155597..f4e6579a33fc 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresStressTest.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/PostgresStressTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres; diff --git a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/utils/PostgresUnitTestsUtil.java b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/utils/PostgresUnitTestsUtil.java index 811a7aed7626..e9d1076748ac 100644 --- a/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/utils/PostgresUnitTestsUtil.java +++ b/airbyte-integrations/connectors/source-postgres/src/test/java/io/airbyte/integrations/source/postgres/utils/PostgresUnitTestsUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.postgres.utils; diff --git a/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-posthog/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-posthog/integration_tests/dummy_test.py b/airbyte-integrations/connectors/source-posthog/integration_tests/dummy_test.py index 6f3a10993a50..9a8ad82b5ba3 100644 --- a/airbyte-integrations/connectors/source-posthog/integration_tests/dummy_test.py +++ b/airbyte-integrations/connectors/source-posthog/integration_tests/dummy_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-posthog/main.py b/airbyte-integrations/connectors/source-posthog/main.py index 3e905c0a8a8c..7723fd2eeabe 100644 --- a/airbyte-integrations/connectors/source-posthog/main.py +++ b/airbyte-integrations/connectors/source-posthog/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-posthog/setup.py b/airbyte-integrations/connectors/source-posthog/setup.py index 3085b27f25cc..2f120670c6e2 100644 --- a/airbyte-integrations/connectors/source-posthog/setup.py +++ b/airbyte-integrations/connectors/source-posthog/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-posthog/source_posthog/source.py b/airbyte-integrations/connectors/source-posthog/source_posthog/source.py index 7c4a5f7b50a0..c1986599aaa6 100644 --- a/airbyte-integrations/connectors/source-posthog/source_posthog/source.py +++ b/airbyte-integrations/connectors/source-posthog/source_posthog/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-posthog/source_posthog/streams.py b/airbyte-integrations/connectors/source-posthog/source_posthog/streams.py index a3555c8ac60c..68c5e77dc865 100644 --- a/airbyte-integrations/connectors/source-posthog/source_posthog/streams.py +++ b/airbyte-integrations/connectors/source-posthog/source_posthog/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-posthog/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-posthog/unit_tests/unit_test.py index a2fd8c5c7ad5..fe7236071dd8 100644 --- a/airbyte-integrations/connectors/source-posthog/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-posthog/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py index f9bacfa51ed6..50e7fbc2d3af 100644 --- a/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-prestashop/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-prestashop/integration_tests/test_dummy.py b/airbyte-integrations/connectors/source-prestashop/integration_tests/test_dummy.py index 99c2c29b57c8..28f78de695de 100644 --- a/airbyte-integrations/connectors/source-prestashop/integration_tests/test_dummy.py +++ b/airbyte-integrations/connectors/source-prestashop/integration_tests/test_dummy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-prestashop/main.py b/airbyte-integrations/connectors/source-prestashop/main.py index caefb2b11486..09ab0e9706e8 100644 --- a/airbyte-integrations/connectors/source-prestashop/main.py +++ b/airbyte-integrations/connectors/source-prestashop/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-prestashop/setup.py b/airbyte-integrations/connectors/source-prestashop/setup.py index 8624fc3220ff..3a4be1fa4b0c 100644 --- a/airbyte-integrations/connectors/source-prestashop/setup.py +++ b/airbyte-integrations/connectors/source-prestashop/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-prestashop/source_prestashop/source.py b/airbyte-integrations/connectors/source-prestashop/source_prestashop/source.py index 3c68df1237c2..653b0912bb73 100644 --- a/airbyte-integrations/connectors/source-prestashop/source_prestashop/source.py +++ b/airbyte-integrations/connectors/source-prestashop/source_prestashop/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from base64 import b64encode diff --git a/airbyte-integrations/connectors/source-prestashop/source_prestashop/streams.py b/airbyte-integrations/connectors/source-prestashop/source_prestashop/streams.py index efc20363ebc9..8b281d99bcc7 100644 --- a/airbyte-integrations/connectors/source-prestashop/source_prestashop/streams.py +++ b/airbyte-integrations/connectors/source-prestashop/source_prestashop/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-prestashop/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-prestashop/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-prestashop/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-prestashop/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-python-http-tutorial/main.py b/airbyte-integrations/connectors/source-python-http-tutorial/main.py index d31cf8d94027..d902f5ca552b 100644 --- a/airbyte-integrations/connectors/source-python-http-tutorial/main.py +++ b/airbyte-integrations/connectors/source-python-http-tutorial/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-python-http-tutorial/setup.py b/airbyte-integrations/connectors/source-python-http-tutorial/setup.py index 6ff31a702f79..9441c9561e5d 100644 --- a/airbyte-integrations/connectors/source-python-http-tutorial/setup.py +++ b/airbyte-integrations/connectors/source-python-http-tutorial/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from setuptools import find_packages, setup diff --git a/airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/source.py b/airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/source.py index 76b6af1f6ece..143a39851b8d 100644 --- a/airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/source.py +++ b/airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-python-http-tutorial/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-python-http-tutorial/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-python-http-tutorial/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-python-http-tutorial/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-qualaroo/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/main.py b/airbyte-integrations/connectors/source-qualaroo/main.py index 674a5aa6235f..d11da2bfacd2 100644 --- a/airbyte-integrations/connectors/source-qualaroo/main.py +++ b/airbyte-integrations/connectors/source-qualaroo/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/setup.py b/airbyte-integrations/connectors/source-qualaroo/setup.py index 1aba961d40e6..d77bfba721c7 100644 --- a/airbyte-integrations/connectors/source-qualaroo/setup.py +++ b/airbyte-integrations/connectors/source-qualaroo/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/source.py b/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/source.py index 2787a1c0d87d..79aee33cdcc3 100644 --- a/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/source.py +++ b/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/streams.py b/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/streams.py index 25735527ca28..5b1d2fa3000f 100644 --- a/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/streams.py +++ b/airbyte-integrations/connectors/source-qualaroo/source_qualaroo/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-qualaroo/unit_tests/conftest.py b/airbyte-integrations/connectors/source-qualaroo/unit_tests/conftest.py index 4cb594e8c327..8d5760c449b8 100644 --- a/airbyte-integrations/connectors/source-qualaroo/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-qualaroo/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-qualaroo/unit_tests/helpers.py b/airbyte-integrations/connectors/source-qualaroo/unit_tests/helpers.py index a1f2664e5f65..ead0632e362b 100644 --- a/airbyte-integrations/connectors/source-qualaroo/unit_tests/helpers.py +++ b/airbyte-integrations/connectors/source-qualaroo/unit_tests/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-qualaroo/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-qualaroo/unit_tests/test_streams.py index 02ed82d0a32b..a12a0de83336 100644 --- a/airbyte-integrations/connectors/source-qualaroo/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-qualaroo/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/main.py b/airbyte-integrations/connectors/source-quickbooks-singer/main.py index 9abd79a62114..340d21de8c27 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/main.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/setup.py b/airbyte-integrations/connectors/source-quickbooks-singer/setup.py index d315cf961061..4f4bca3a53b3 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/setup.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/source_quickbooks_singer/source.py b/airbyte-integrations/connectors/source-quickbooks-singer/source_quickbooks_singer/source.py index ef3e0d3d5c25..0834453cfa83 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/source_quickbooks_singer/source.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/source_quickbooks_singer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-quickbooks-singer/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-quickbooks-singer/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-quickbooks-singer/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-quickbooks-singer/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recharge/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/main.py b/airbyte-integrations/connectors/source-recharge/main.py index a73939ec56b2..b8d2c15a6cbb 100644 --- a/airbyte-integrations/connectors/source-recharge/main.py +++ b/airbyte-integrations/connectors/source-recharge/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/setup.py b/airbyte-integrations/connectors/source-recharge/setup.py index eaf856eff9f5..b743f6b25339 100644 --- a/airbyte-integrations/connectors/source-recharge/setup.py +++ b/airbyte-integrations/connectors/source-recharge/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/source_recharge/api.py b/airbyte-integrations/connectors/source-recharge/source_recharge/api.py index 30e922385db0..aac02158c5bf 100644 --- a/airbyte-integrations/connectors/source-recharge/source_recharge/api.py +++ b/airbyte-integrations/connectors/source-recharge/source_recharge/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/source_recharge/source.py b/airbyte-integrations/connectors/source-recharge/source_recharge/source.py index 71b51d9d75b2..e7f9cf7e5979 100644 --- a/airbyte-integrations/connectors/source-recharge/source_recharge/source.py +++ b/airbyte-integrations/connectors/source-recharge/source_recharge/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recharge/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-recharge/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-recharge/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-recharge/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-recurly/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recurly/main.py b/airbyte-integrations/connectors/source-recurly/main.py index 010757693734..98cc6d7a5355 100644 --- a/airbyte-integrations/connectors/source-recurly/main.py +++ b/airbyte-integrations/connectors/source-recurly/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recurly/setup.py b/airbyte-integrations/connectors/source-recurly/setup.py index 0e87abe34473..91b0dabc6beb 100644 --- a/airbyte-integrations/connectors/source-recurly/setup.py +++ b/airbyte-integrations/connectors/source-recurly/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-recurly/source_recurly/source.py b/airbyte-integrations/connectors/source-recurly/source_recurly/source.py index 5ad057bc777c..991346c83e28 100644 --- a/airbyte-integrations/connectors/source-recurly/source_recurly/source.py +++ b/airbyte-integrations/connectors/source-recurly/source_recurly/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Optional, Tuple diff --git a/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py b/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py index a9a2861a352e..78de431fbbca 100644 --- a/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py +++ b/airbyte-integrations/connectors/source-recurly/source_recurly/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-recurly/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-recurly/unit_tests/test_streams.py index fbaab39b726c..5c59ab705f05 100644 --- a/airbyte-integrations/connectors/source-recurly/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-recurly/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import unittest diff --git a/airbyte-integrations/connectors/source-redshift/src/main/java/io/airbyte/integrations/source/redshift/RedshiftSource.java b/airbyte-integrations/connectors/source-redshift/src/main/java/io/airbyte/integrations/source/redshift/RedshiftSource.java index e5340d130f65..3993ebdab929 100644 --- a/airbyte-integrations/connectors/source-redshift/src/main/java/io/airbyte/integrations/source/redshift/RedshiftSource.java +++ b/airbyte-integrations/connectors/source-redshift/src/main/java/io/airbyte/integrations/source/redshift/RedshiftSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.redshift; diff --git a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftJdbcSourceAcceptanceTest.java index b0e2cea28d0b..b75c529f52af 100644 --- a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSourceAcceptanceTest.java index 6703c050960e..69eee526f08d 100644 --- a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSslSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSslSourceAcceptanceTest.java index 8b1dc8453f83..12916b5d3a3c 100644 --- a/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSslSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-redshift/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/RedshiftSslSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractDbSource.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractDbSource.java index 6c05c8621721..6ebdc7aa751e 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractDbSource.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractDbSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractRelationalDbSource.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractRelationalDbSource.java index 22c5d79f4de7..1e9697ba1019 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractRelationalDbSource.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/AbstractRelationalDbSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CdcStateManager.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CdcStateManager.java index 37193c606f39..db33dfd6167b 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CdcStateManager.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CdcStateManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CursorInfo.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CursorInfo.java index 2b38b335d421..fc796c73d2b9 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CursorInfo.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/CursorInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIterator.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIterator.java index d829ebb4c0a9..7900aed452c9 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIterator.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateManager.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateManager.java index 157f34a57f4f..3e509e2869d9 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateManager.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/StateManager.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/TableInfo.java b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/TableInfo.java index 0dbfe56baab4..661128d585ed 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/TableInfo.java +++ b/airbyte-integrations/connectors/source-relational-db/src/main/java/io/airbyte/integrations/source/relationaldb/TableInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIteratorTest.java b/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIteratorTest.java index d7341f11efc0..ab521edf87e2 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIteratorTest.java +++ b/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateDecoratingIteratorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateManagerTest.java b/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateManagerTest.java index 48d9418a7792..9e64edb55b7e 100644 --- a/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateManagerTest.java +++ b/airbyte-integrations/connectors/source-relational-db/src/test/java/io/airbyte/integrations/source/relationaldb/StateManagerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.relationaldb; diff --git a/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-retently/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-retently/main.py b/airbyte-integrations/connectors/source-retently/main.py index f69924a7f43a..3d839c8e3484 100644 --- a/airbyte-integrations/connectors/source-retently/main.py +++ b/airbyte-integrations/connectors/source-retently/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-retently/setup.py b/airbyte-integrations/connectors/source-retently/setup.py index 826df6896090..83501a9efc3f 100644 --- a/airbyte-integrations/connectors/source-retently/setup.py +++ b/airbyte-integrations/connectors/source-retently/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-retently/source_retently/source.py b/airbyte-integrations/connectors/source-retently/source_retently/source.py index 0452f5c00cb9..ea9b3d5962e8 100644 --- a/airbyte-integrations/connectors/source-retently/source_retently/source.py +++ b/airbyte-integrations/connectors/source-retently/source_retently/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-retently/unit_tests/test_source.py b/airbyte-integrations/connectors/source-retently/unit_tests/test_source.py index 8be8044cae7b..67b822eab1e0 100644 --- a/airbyte-integrations/connectors/source-retently/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-retently/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-retently/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-retently/unit_tests/test_streams.py index d3b024f2d4ec..92c941d2bfb2 100644 --- a/airbyte-integrations/connectors/source-retently/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-retently/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py index cb12f050b9bc..adf59f50c7cd 100644 --- a/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-s3/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/integration_tests/conftest.py b/airbyte-integrations/connectors/source-s3/integration_tests/conftest.py index da914667b0ce..8864b422016b 100644 --- a/airbyte-integrations/connectors/source-s3/integration_tests/conftest.py +++ b/airbyte-integrations/connectors/source-s3/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-s3/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-s3/integration_tests/integration_test.py index c639ac07f1ce..f20176ece3d3 100644 --- a/airbyte-integrations/connectors/source-s3/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-s3/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/integration_tests/integration_test_abstract.py b/airbyte-integrations/connectors/source-s3/integration_tests/integration_test_abstract.py index d5fad32aa93c..2885a9662444 100644 --- a/airbyte-integrations/connectors/source-s3/integration_tests/integration_test_abstract.py +++ b/airbyte-integrations/connectors/source-s3/integration_tests/integration_test_abstract.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/main.py b/airbyte-integrations/connectors/source-s3/main.py index ded39f73b3f5..58e1531e647e 100644 --- a/airbyte-integrations/connectors/source-s3/main.py +++ b/airbyte-integrations/connectors/source-s3/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/setup.py b/airbyte-integrations/connectors/source-s3/setup.py index f8c27498e95e..67ed4f65b379 100644 --- a/airbyte-integrations/connectors/source-s3/setup.py +++ b/airbyte-integrations/connectors/source-s3/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/s3_utils.py b/airbyte-integrations/connectors/source-s3/source_s3/s3_utils.py index a1aa1c24df4e..213d0d216720 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/s3_utils.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/s3_utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import boto3.session diff --git a/airbyte-integrations/connectors/source-s3/source_s3/s3file.py b/airbyte-integrations/connectors/source-s3/source_s3/s3file.py index 2f59d260d884..b49bac2fef8f 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/s3file.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/s3file.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source.py b/airbyte-integrations/connectors/source-s3/source_s3/source.py index 5c36b8d6f5cf..682ca782ba00 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/file_info.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/file_info.py index a64bbfa60185..12016a045d06 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/file_info.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/file_info.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from dataclasses import dataclass diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/abstract_file_parser.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/abstract_file_parser.py index 8a175d2fb25e..26ee85d21988 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/abstract_file_parser.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/abstract_file_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_parser.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_parser.py index ad569ae15402..501188dc2520 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_parser.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, BinaryIO, Iterator, Mapping, TextIO, Union diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_spec.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_spec.py index 7af2e26fef53..120a5ebaa3ef 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_spec.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/avro_spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pydantic import BaseModel, Field diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_parser.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_parser.py index 112b2cd781a2..49eef269a233 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_parser.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import csv diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_spec.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_spec.py index 51c6d86047bf..34da5af3e6df 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_spec.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/csv_spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Optional diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_parser.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_parser.py index f99611e9aa09..0f1f0c0e8efe 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_parser.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, BinaryIO, Iterator, List, Mapping, TextIO, Tuple, Union diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_spec.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_spec.py index 78f3144a8cc5..a04e0bdb9189 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_spec.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/formats/parquet_spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List, Optional diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/source.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/source.py index 032e0800a16a..3baafda03e06 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/source.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/spec.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/spec.py index f0875deddd74..9a9a852e41af 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/spec.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/storagefile.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/storagefile.py index 9a9cf6ab1296..f013be5cc9e2 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/storagefile.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/storagefile.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/stream.py b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/stream.py index 4394b56b9046..fbcf97ec9097 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/stream.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/source_files_abstract/stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/stream.py b/airbyte-integrations/connectors/source-s3/source_s3/stream.py index 3238e6c559bd..5ed006bc1f61 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/stream.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/source_s3/utils.py b/airbyte-integrations/connectors/source-s3/source_s3/utils.py index ddfec7aa469a..a20fdc53ca42 100644 --- a/airbyte-integrations/connectors/source-s3/source_s3/utils.py +++ b/airbyte-integrations/connectors/source-s3/source_s3/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import multiprocessing as mp diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/abstract_test_parser.py b/airbyte-integrations/connectors/source-s3/unit_tests/abstract_test_parser.py index 5d18279b4d17..3b8e35260c7b 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/abstract_test_parser.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/abstract_test_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import linecache diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/conftest.py b/airbyte-integrations/connectors/source-s3/unit_tests/conftest.py index 76734d4ea79b..aa00c1bc5b91 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_abstract_file_parser.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_abstract_file_parser.py index e3258bb2cf22..762432980458 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_abstract_file_parser.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_abstract_file_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_avro_parser.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_avro_parser.py index 313fac2753db..7338309f250d 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_avro_parser.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_avro_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_csv_parser.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_csv_parser.py index 612dd86ec3a1..c6c8748af6ad 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_csv_parser.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_csv_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_parquet_parser.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_parquet_parser.py index e80ca2867703..d8ccb1abf919 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_parquet_parser.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_parquet_parser.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import bz2 diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_s3file.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_s3file.py index ade0497faca9..55a6f2547950 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_s3file.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_s3file.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_source.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_source.py index 97fbc0c69b73..f556412f77b0 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-s3/unit_tests/test_stream.py b/airbyte-integrations/connectors/source-s3/unit_tests/test_stream.py index 54d84e1aa0c7..1ede1942cb0e 100644 --- a/airbyte-integrations/connectors/source-s3/unit_tests/test_stream.py +++ b/airbyte-integrations/connectors/source-s3/unit_tests/test_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-salesforce/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/integration_tests/bulk_error_test.py b/airbyte-integrations/connectors/source-salesforce/integration_tests/bulk_error_test.py index 14e6001a02c2..d25661adeb44 100644 --- a/airbyte-integrations/connectors/source-salesforce/integration_tests/bulk_error_test.py +++ b/airbyte-integrations/connectors/source-salesforce/integration_tests/bulk_error_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-salesforce/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-salesforce/integration_tests/integration_test.py index 3077059c840e..f60bc0734085 100644 --- a/airbyte-integrations/connectors/source-salesforce/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-salesforce/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-salesforce/main.py b/airbyte-integrations/connectors/source-salesforce/main.py index 2515ce945461..64ecf2e3b05f 100644 --- a/airbyte-integrations/connectors/source-salesforce/main.py +++ b/airbyte-integrations/connectors/source-salesforce/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/setup.py b/airbyte-integrations/connectors/source-salesforce/setup.py index b2da3fbef5b7..f463d87e3551 100644 --- a/airbyte-integrations/connectors/source-salesforce/setup.py +++ b/airbyte-integrations/connectors/source-salesforce/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py index 56649e8cd8f6..758ec6af6490 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import concurrent.futures diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/exceptions.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/exceptions.py index 0929c94583f7..a8ac1cccaf93 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/exceptions.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/exceptions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/rate_limiting.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/rate_limiting.py index 696ef417423a..655addbc27c5 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/rate_limiting.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/rate_limiting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/source.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/source.py index 14a1ff5dfb23..727272048687 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/source.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/streams.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/streams.py index 72c3580a0276..a506a2632793 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/streams.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import csv diff --git a/airbyte-integrations/connectors/source-salesforce/source_salesforce/utils.py b/airbyte-integrations/connectors/source-salesforce/source_salesforce/utils.py index ec73eaceb0ad..6ed8b47e50f8 100644 --- a/airbyte-integrations/connectors/source-salesforce/source_salesforce/utils.py +++ b/airbyte-integrations/connectors/source-salesforce/source_salesforce/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/unit_tests/api_test.py b/airbyte-integrations/connectors/source-salesforce/unit_tests/api_test.py index d8641723eb17..0888317eee54 100644 --- a/airbyte-integrations/connectors/source-salesforce/unit_tests/api_test.py +++ b/airbyte-integrations/connectors/source-salesforce/unit_tests/api_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesforce/unit_tests/conftest.py b/airbyte-integrations/connectors/source-salesforce/unit_tests/conftest.py index 11257e4359ee..7eafd85cb39b 100644 --- a/airbyte-integrations/connectors/source-salesforce/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-salesforce/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-salesforce/unit_tests/discovery_test.py b/airbyte-integrations/connectors/source-salesforce/unit_tests/discovery_test.py index 0bc7ea48aee5..c83df5f78184 100644 --- a/airbyte-integrations/connectors/source-salesforce/unit_tests/discovery_test.py +++ b/airbyte-integrations/connectors/source-salesforce/unit_tests/discovery_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-salesforce/unit_tests/test_memory.py b/airbyte-integrations/connectors/source-salesforce/unit_tests/test_memory.py index 582f4c440c84..0ae38cd50ba5 100644 --- a/airbyte-integrations/connectors/source-salesforce/unit_tests/test_memory.py +++ b/airbyte-integrations/connectors/source-salesforce/unit_tests/test_memory.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-salesloft/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesloft/main.py b/airbyte-integrations/connectors/source-salesloft/main.py index be692d7ea9b4..f1ba2bab15f1 100644 --- a/airbyte-integrations/connectors/source-salesloft/main.py +++ b/airbyte-integrations/connectors/source-salesloft/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesloft/setup.py b/airbyte-integrations/connectors/source-salesloft/setup.py index 751538926a7e..f3b8c5474ec4 100644 --- a/airbyte-integrations/connectors/source-salesloft/setup.py +++ b/airbyte-integrations/connectors/source-salesloft/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesloft/source_salesloft/source.py b/airbyte-integrations/connectors/source-salesloft/source_salesloft/source.py index 44f1b33b0e32..6575e81ea13a 100644 --- a/airbyte-integrations/connectors/source-salesloft/source_salesloft/source.py +++ b/airbyte-integrations/connectors/source-salesloft/source_salesloft/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_incremental_streams.py index 3151564622cf..48f032f0355e 100644 --- a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_source.py b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_source.py index 384224acb136..5ed569fd49cf 100644 --- a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_streams.py index 205e0afcb73d..84f5fc3936ef 100644 --- a/airbyte-integrations/connectors/source-salesloft/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-salesloft/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/main/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSource.java b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/main/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSource.java index e2be871f2000..8d7dd7fc3ab8 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/main/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSource.java +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/main/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.scaffold_java_jdbc; diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceAcceptanceTest.java index dafbd2962751..6115593b6d63 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test-integration/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.scaffold_java_jdbc; diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcJdbcSourceAcceptanceTest.java index 95e911c784cf..d03e9b59ffbe 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.scaffold_java_jdbc; diff --git a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceTests.java b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceTests.java index 6279e5ae97ce..be4ddd6157e0 100644 --- a/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceTests.java +++ b/airbyte-integrations/connectors/source-scaffold-java-jdbc/src/test/java/io/airbyte/integrations/source/scaffold_java_jdbc/ScaffoldJavaJdbcSourceTests.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.scaffold_java_jdbc; diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/__init__.py b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/__init__.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/main.py b/airbyte-integrations/connectors/source-scaffold-source-http/main.py index a622c664b350..64de2e70ad9c 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py index 7845191a56a3..a357e3f6d055 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/__init__.py b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/__init__.py index 2b848f5974a3..fb20155e9f88 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/__init__.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py index 7bc1036f4b4f..b84c9f06c69e 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/spec.yaml b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/spec.yaml index f1c28b63d292..99ff36cb6842 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/spec.yaml +++ b/airbyte-integrations/connectors/source-scaffold-source-http/source_scaffold_source_http/spec.yaml @@ -7,7 +7,7 @@ connectionSpecification: - TODO additionalProperties: false properties: - # 'TODO: This schema defines the configuration required for the source. This usually involves metadata such as database and/or authentication information.': + # 'TODO: This schema defines the configuration required for the source. This usually involves metadata such as database and/or authentication information.': TODO: type: string description: describe me diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/__init__.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/__init__.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_incremental_streams.py index 3ec3652a31a2..ff87448dcaa5 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_source.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_source.py index 64142454b9e8..54e671591b43 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_streams.py index 22690b930edf..b01cb0547066 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-scaffold-source-http/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/__init__.py b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/__init__.py index 46b7376756ec..1100c1c58cf5 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/__init__.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/__init__.py @@ -1,3 +1,3 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/main.py b/airbyte-integrations/connectors/source-scaffold-source-python/main.py index d1fcbeafdbeb..82d7bf83a91f 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/main.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py index a9f3bee35357..06e4569ab586 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/setup.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/__init__.py b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/__init__.py index fbd2288f307a..686964b009b0 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/__init__.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/__init__.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py index dd62c14843c6..f2439dfa780a 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/source_scaffold_source_python/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-scaffold-source-python/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-search-metrics/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-search-metrics/main.py b/airbyte-integrations/connectors/source-search-metrics/main.py index 612fa2791b12..b229f5ac74b0 100644 --- a/airbyte-integrations/connectors/source-search-metrics/main.py +++ b/airbyte-integrations/connectors/source-search-metrics/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-search-metrics/setup.py b/airbyte-integrations/connectors/source-search-metrics/setup.py index c9fb15bf5ba7..9ac7d98b407b 100644 --- a/airbyte-integrations/connectors/source-search-metrics/setup.py +++ b/airbyte-integrations/connectors/source-search-metrics/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/source.py b/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/source.py index 329a97b9d550..f95f2ac5d498 100644 --- a/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/source.py +++ b/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/utils.py b/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/utils.py index 0d204a397312..66427cc94035 100644 --- a/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/utils.py +++ b/airbyte-integrations/connectors/source-search-metrics/source_search_metrics/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-search-metrics/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-search-metrics/unit_tests/unit_test.py index fd47175daf70..66d5a6650494 100644 --- a/airbyte-integrations/connectors/source-search-metrics/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-search-metrics/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sendgrid/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sendgrid/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-sendgrid/integration_tests/integration_test.py index b074804d20e3..cbe7cbbf5d38 100644 --- a/airbyte-integrations/connectors/source-sendgrid/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-sendgrid/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sendgrid/main.py b/airbyte-integrations/connectors/source-sendgrid/main.py index 91a8c672b6e0..d17f81c6a0cc 100644 --- a/airbyte-integrations/connectors/source-sendgrid/main.py +++ b/airbyte-integrations/connectors/source-sendgrid/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sendgrid/setup.py b/airbyte-integrations/connectors/source-sendgrid/setup.py index 875e95fb0a83..c5826e3411d8 100644 --- a/airbyte-integrations/connectors/source-sendgrid/setup.py +++ b/airbyte-integrations/connectors/source-sendgrid/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/source.py b/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/source.py index 5044a64b9561..0c66faf7c078 100644 --- a/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/source.py +++ b/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py b/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py index 52216debb8a4..9db0cd594a00 100644 --- a/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py +++ b/airbyte-integrations/connectors/source-sendgrid/source_sendgrid/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-sendgrid/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-sendgrid/unit_tests/unit_test.py index 8835cb9dbd6a..8f50befe1e23 100644 --- a/airbyte-integrations/connectors/source-sendgrid/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-sendgrid/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-sentry/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sentry/main.py b/airbyte-integrations/connectors/source-sentry/main.py index 0bfb3a278aab..25e7ff69d4cd 100644 --- a/airbyte-integrations/connectors/source-sentry/main.py +++ b/airbyte-integrations/connectors/source-sentry/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sentry/setup.py b/airbyte-integrations/connectors/source-sentry/setup.py index ddf6245c4d99..8b20427c76b9 100644 --- a/airbyte-integrations/connectors/source-sentry/setup.py +++ b/airbyte-integrations/connectors/source-sentry/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sentry/source_sentry/source.py b/airbyte-integrations/connectors/source-sentry/source_sentry/source.py index 9eb192da0262..398ec1274de4 100644 --- a/airbyte-integrations/connectors/source-sentry/source_sentry/source.py +++ b/airbyte-integrations/connectors/source-sentry/source_sentry/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sentry/source_sentry/streams.py b/airbyte-integrations/connectors/source-sentry/source_sentry/streams.py index 66ab436156f8..4e0cb131cae5 100644 --- a/airbyte-integrations/connectors/source-sentry/source_sentry/streams.py +++ b/airbyte-integrations/connectors/source-sentry/source_sentry/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-sentry/unit_tests/test_source.py b/airbyte-integrations/connectors/source-sentry/unit_tests/test_source.py index 03cc8a1144f2..2d81d29cea0d 100644 --- a/airbyte-integrations/connectors/source-sentry/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-sentry/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-sentry/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-sentry/unit_tests/test_streams.py index 2417953ac040..cfd5ef76a10c 100644 --- a/airbyte-integrations/connectors/source-sentry/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-sentry/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-shopify/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-shopify/integration_tests/integration_test.py index 947827faf311..869f9c8fc10e 100644 --- a/airbyte-integrations/connectors/source-shopify/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-shopify/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/main.py b/airbyte-integrations/connectors/source-shopify/main.py index 583c32023bc0..0057a24780cf 100644 --- a/airbyte-integrations/connectors/source-shopify/main.py +++ b/airbyte-integrations/connectors/source-shopify/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/setup.py b/airbyte-integrations/connectors/source-shopify/setup.py index d125bea2a2ef..9db82714aa29 100644 --- a/airbyte-integrations/connectors/source-shopify/setup.py +++ b/airbyte-integrations/connectors/source-shopify/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/source_shopify/auth.py b/airbyte-integrations/connectors/source-shopify/source_shopify/auth.py index 55518ef21e44..278e769357cb 100644 --- a/airbyte-integrations/connectors/source-shopify/source_shopify/auth.py +++ b/airbyte-integrations/connectors/source-shopify/source_shopify/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Dict, Mapping diff --git a/airbyte-integrations/connectors/source-shopify/source_shopify/source.py b/airbyte-integrations/connectors/source-shopify/source_shopify/source.py index 34e6c2ebdaef..f01589c17361 100644 --- a/airbyte-integrations/connectors/source-shopify/source_shopify/source.py +++ b/airbyte-integrations/connectors/source-shopify/source_shopify/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/source_shopify/transform.py b/airbyte-integrations/connectors/source-shopify/source_shopify/transform.py index 8398d2096a8c..498a564fba67 100644 --- a/airbyte-integrations/connectors/source-shopify/source_shopify/transform.py +++ b/airbyte-integrations/connectors/source-shopify/source_shopify/transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-shopify/source_shopify/utils.py b/airbyte-integrations/connectors/source-shopify/source_shopify/utils.py index 2b834be51def..8e3eab27d401 100644 --- a/airbyte-integrations/connectors/source-shopify/source_shopify/utils.py +++ b/airbyte-integrations/connectors/source-shopify/source_shopify/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/unit_tests/conftest.py b/airbyte-integrations/connectors/source-shopify/unit_tests/conftest.py index 740807ebc893..35cabd5b41f9 100644 --- a/airbyte-integrations/connectors/source-shopify/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-shopify/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/unit_tests/test_cached_stream_state.py b/airbyte-integrations/connectors/source-shopify/unit_tests/test_cached_stream_state.py index 7fc50a536c19..701532e42ebe 100644 --- a/airbyte-integrations/connectors/source-shopify/unit_tests/test_cached_stream_state.py +++ b/airbyte-integrations/connectors/source-shopify/unit_tests/test_cached_stream_state.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py b/airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py index 164925f3891e..a165528aa608 100644 --- a/airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py +++ b/airbyte-integrations/connectors/source-shopify/unit_tests/test_control_rate_limit.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shopify/unit_tests/test_transform.py b/airbyte-integrations/connectors/source-shopify/unit_tests/test_transform.py index c8223935a965..7d20a21b2888 100644 --- a/airbyte-integrations/connectors/source-shopify/unit_tests/test_transform.py +++ b/airbyte-integrations/connectors/source-shopify/unit_tests/test_transform.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from decimal import Decimal diff --git a/airbyte-integrations/connectors/source-shopify/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-shopify/unit_tests/unit_test.py index 8fa00f8c5547..e4f0c47ca4c7 100644 --- a/airbyte-integrations/connectors/source-shopify/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-shopify/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import requests diff --git a/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-shortio/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shortio/main.py b/airbyte-integrations/connectors/source-shortio/main.py index 86419b1178ae..712cb506e5d3 100644 --- a/airbyte-integrations/connectors/source-shortio/main.py +++ b/airbyte-integrations/connectors/source-shortio/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shortio/setup.py b/airbyte-integrations/connectors/source-shortio/setup.py index edf8ff85a217..102830d0836a 100644 --- a/airbyte-integrations/connectors/source-shortio/setup.py +++ b/airbyte-integrations/connectors/source-shortio/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shortio/source_shortio/source.py b/airbyte-integrations/connectors/source-shortio/source_shortio/source.py index 3f6a4bcc99db..8ae6e5386958 100644 --- a/airbyte-integrations/connectors/source-shortio/source_shortio/source.py +++ b/airbyte-integrations/connectors/source-shortio/source_shortio/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-shortio/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-shortio/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-shortio/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-shortio/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-slack/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-slack/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-slack/integration_tests/integration_test.py index 9aa13c6f4c77..32f96e870a78 100644 --- a/airbyte-integrations/connectors/source-slack/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-slack/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-slack/main.py b/airbyte-integrations/connectors/source-slack/main.py index 235e549a9cc4..36b6cff41e3d 100644 --- a/airbyte-integrations/connectors/source-slack/main.py +++ b/airbyte-integrations/connectors/source-slack/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-slack/setup.py b/airbyte-integrations/connectors/source-slack/setup.py index 9fed021670ea..6c94c5d9cbf5 100644 --- a/airbyte-integrations/connectors/source-slack/setup.py +++ b/airbyte-integrations/connectors/source-slack/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-slack/source_slack/source.py b/airbyte-integrations/connectors/source-slack/source_slack/source.py index 9cf74bfd7fbc..144539010202 100644 --- a/airbyte-integrations/connectors/source-slack/source_slack/source.py +++ b/airbyte-integrations/connectors/source-slack/source_slack/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-slack/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-slack/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-slack/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-slack/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-smartsheets/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-smartsheets/main.py b/airbyte-integrations/connectors/source-smartsheets/main.py index 85496ebd805a..7f273663283b 100644 --- a/airbyte-integrations/connectors/source-smartsheets/main.py +++ b/airbyte-integrations/connectors/source-smartsheets/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-smartsheets/setup.py b/airbyte-integrations/connectors/source-smartsheets/setup.py index 5943171383cd..37faf8b1b7ec 100644 --- a/airbyte-integrations/connectors/source-smartsheets/setup.py +++ b/airbyte-integrations/connectors/source-smartsheets/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/sheet.py b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/sheet.py index 570849225937..5528e10af606 100644 --- a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/sheet.py +++ b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/sheet.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/source.py b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/source.py index 3bce5c71f7e4..cbc123d1a09e 100644 --- a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/source.py +++ b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/streams.py b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/streams.py index 5a5893923760..39b4d04d589a 100644 --- a/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/streams.py +++ b/airbyte-integrations/connectors/source-smartsheets/source_smartsheets/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-smartsheets/unit_tests/conftest.py b/airbyte-integrations/connectors/source-smartsheets/unit_tests/conftest.py index e168f2fe831c..7bae80b6e6cc 100644 --- a/airbyte-integrations/connectors/source-smartsheets/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-smartsheets/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_sheets.py b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_sheets.py index 662c7b24882b..98472a6237aa 100644 --- a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_sheets.py +++ b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_sheets.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_source.py b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_source.py index 4b71c4d0cedd..d59b56269e3d 100644 --- a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_streams.py index eec95654047d..e9391a54e047 100644 --- a/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-smartsheets/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/main.py b/airbyte-integrations/connectors/source-snapchat-marketing/main.py index a902ca623a3c..f43f09c70fbd 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/main.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/setup.py b/airbyte-integrations/connectors/source-snapchat-marketing/setup.py index 0f6771678f89..4a61a50cecf5 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/setup.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/source.py b/airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/source.py index 238f583a9f50..86a126926bf4 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/source.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/source_snapchat_marketing/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-snapchat-marketing/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-snapchat-marketing/unit_tests/unit_test.py index 1892cbfad841..318306b139f8 100644 --- a/airbyte-integrations/connectors/source-snapchat-marketing/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-snapchat-marketing/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeDataSourceUtils.java b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeDataSourceUtils.java index 9d0351943116..493636e3f1c2 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeDataSourceUtils.java +++ b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeDataSourceUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.snowflake; diff --git a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSource.java b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSource.java index 2ebb44f2f303..c86f3b0aad06 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSource.java +++ b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.snowflake; diff --git a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSourceOperations.java b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSourceOperations.java index c5be4ffb929e..c33de9d172cd 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSourceOperations.java +++ b/airbyte-integrations/connectors/source-snowflake/src/main/java/io.airbyte.integrations.source.snowflake/SnowflakeSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.snowflake; diff --git a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeJdbcSourceAcceptanceTest.java index 7d411ab13e19..4a3f3bd2d847 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAcceptanceTest.java index c991f0e700a1..1a20c14ce6d0 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAuthAcceptanceTest.java b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAuthAcceptanceTest.java index b1858f0b0cb6..4c94bc94dd90 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAuthAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceAuthAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceDatatypeTest.java b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceDatatypeTest.java index bd9b2e211e92..45297bd59433 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceDatatypeTest.java +++ b/airbyte-integrations/connectors/source-snowflake/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/SnowflakeSourceDatatypeTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.io.airbyte.integration_tests.sources; diff --git a/airbyte-integrations/connectors/source-snowflake/src/test/java/io/airbyte/integrations/source/snowflake/SnowflakeDataSourceUtilsTest.java b/airbyte-integrations/connectors/source-snowflake/src/test/java/io/airbyte/integrations/source/snowflake/SnowflakeDataSourceUtilsTest.java index bf7080d82b0a..7e931b7bf1a1 100644 --- a/airbyte-integrations/connectors/source-snowflake/src/test/java/io/airbyte/integrations/source/snowflake/SnowflakeDataSourceUtilsTest.java +++ b/airbyte-integrations/connectors/source-snowflake/src/test/java/io/airbyte/integrations/source/snowflake/SnowflakeDataSourceUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.snowflake; diff --git a/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-square/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-square/main.py b/airbyte-integrations/connectors/source-square/main.py index 4362f6ec273e..9b61bf8c4dda 100644 --- a/airbyte-integrations/connectors/source-square/main.py +++ b/airbyte-integrations/connectors/source-square/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-square/setup.py b/airbyte-integrations/connectors/source-square/setup.py index bf0f218424ef..afe53ee1b427 100644 --- a/airbyte-integrations/connectors/source-square/setup.py +++ b/airbyte-integrations/connectors/source-square/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-square/source_square/source.py b/airbyte-integrations/connectors/source-square/source_square/source.py index 6d0bd64c638f..bad8d793dab0 100644 --- a/airbyte-integrations/connectors/source-square/source_square/source.py +++ b/airbyte-integrations/connectors/source-square/source_square/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-square/source_square/utils.py b/airbyte-integrations/connectors/source-square/source_square/utils.py index 3d1cffcdcc57..6d4d79fb0f1a 100644 --- a/airbyte-integrations/connectors/source-square/source_square/utils.py +++ b/airbyte-integrations/connectors/source-square/source_square/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Union diff --git a/airbyte-integrations/connectors/source-square/unit_tests/connection_test.py b/airbyte-integrations/connectors/source-square/unit_tests/connection_test.py index 5e028777a7cf..ae86daade38f 100644 --- a/airbyte-integrations/connectors/source-square/unit_tests/connection_test.py +++ b/airbyte-integrations/connectors/source-square/unit_tests/connection_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from airbyte_cdk.logger import AirbyteLogger diff --git a/airbyte-integrations/connectors/source-square/unit_tests/utils_test.py b/airbyte-integrations/connectors/source-square/unit_tests/utils_test.py index 5a0047c751ea..318b85952b03 100644 --- a/airbyte-integrations/connectors/source-square/unit_tests/utils_test.py +++ b/airbyte-integrations/connectors/source-square/unit_tests/utils_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-strava/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-strava/main.py b/airbyte-integrations/connectors/source-strava/main.py index 121d83f59b1b..c5c26ee31047 100644 --- a/airbyte-integrations/connectors/source-strava/main.py +++ b/airbyte-integrations/connectors/source-strava/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-strava/setup.py b/airbyte-integrations/connectors/source-strava/setup.py index d8ec00486f1f..f083d9c705c1 100644 --- a/airbyte-integrations/connectors/source-strava/setup.py +++ b/airbyte-integrations/connectors/source-strava/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-strava/source_strava/source.py b/airbyte-integrations/connectors/source-strava/source_strava/source.py index 73429614c329..b7a25925a1aa 100644 --- a/airbyte-integrations/connectors/source-strava/source_strava/source.py +++ b/airbyte-integrations/connectors/source-strava/source_strava/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-strava/source_strava/streams.py b/airbyte-integrations/connectors/source-strava/source_strava/streams.py index 7b7c477a28ca..22a9da9959e5 100644 --- a/airbyte-integrations/connectors/source-strava/source_strava/streams.py +++ b/airbyte-integrations/connectors/source-strava/source_strava/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC diff --git a/airbyte-integrations/connectors/source-strava/unit_tests/conftest.py b/airbyte-integrations/connectors/source-strava/unit_tests/conftest.py index cca484f211ca..1df3e1699bf0 100644 --- a/airbyte-integrations/connectors/source-strava/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-strava/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-strava/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-strava/unit_tests/test_incremental_streams.py index 1dc794d810f5..a40959d98955 100644 --- a/airbyte-integrations/connectors/source-strava/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-strava/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-strava/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-strava/unit_tests/test_streams.py index f92da82ba432..88b6daa45bcd 100644 --- a/airbyte-integrations/connectors/source-strava/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-strava/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-stripe/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-stripe/integration_tests/test_dummy.py b/airbyte-integrations/connectors/source-stripe/integration_tests/test_dummy.py index ecc54f6110e5..f1f977513d63 100644 --- a/airbyte-integrations/connectors/source-stripe/integration_tests/test_dummy.py +++ b/airbyte-integrations/connectors/source-stripe/integration_tests/test_dummy.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-stripe/main.py b/airbyte-integrations/connectors/source-stripe/main.py index 696abbfe4e57..d533ec3a1b9b 100644 --- a/airbyte-integrations/connectors/source-stripe/main.py +++ b/airbyte-integrations/connectors/source-stripe/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-stripe/setup.py b/airbyte-integrations/connectors/source-stripe/setup.py index 1dbb2b968145..4fc42725f87f 100644 --- a/airbyte-integrations/connectors/source-stripe/setup.py +++ b/airbyte-integrations/connectors/source-stripe/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/source.py b/airbyte-integrations/connectors/source-stripe/source_stripe/source.py index 6ca0a21320db..94a7efeb57ea 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/source.py +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py index 0a655dbc0842..bb4db6d24bc6 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import math diff --git a/airbyte-integrations/connectors/source-stripe/unit_tests/test_source.py b/airbyte-integrations/connectors/source-stripe/unit_tests/test_source.py index e517662202f6..25d6088e0b37 100644 --- a/airbyte-integrations/connectors/source-stripe/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-stripe/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-stripe/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-stripe/unit_tests/test_streams.py index b3fb0ad37e0c..b05aeca527c5 100644 --- a/airbyte-integrations/connectors/source-stripe/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-stripe/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-surveymonkey/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-surveymonkey/main.py b/airbyte-integrations/connectors/source-surveymonkey/main.py index 42b43ee0e595..4754b8c0ed69 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/main.py +++ b/airbyte-integrations/connectors/source-surveymonkey/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-surveymonkey/setup.py b/airbyte-integrations/connectors/source-surveymonkey/setup.py index f32409cf2787..ca3d139ab348 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/setup.py +++ b/airbyte-integrations/connectors/source-surveymonkey/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/source.py b/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/source.py index 78478590c058..11b131ba1a04 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/source.py +++ b/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/streams.py b/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/streams.py index c17ca8d47a04..c2b6e936bb8e 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/streams.py +++ b/airbyte-integrations/connectors/source-surveymonkey/source_surveymonkey/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import tempfile diff --git a/airbyte-integrations/connectors/source-surveymonkey/unit_tests/test_for_updated_state.py b/airbyte-integrations/connectors/source-surveymonkey/unit_tests/test_for_updated_state.py index 773c15568e93..85bd9a670fec 100644 --- a/airbyte-integrations/connectors/source-surveymonkey/unit_tests/test_for_updated_state.py +++ b/airbyte-integrations/connectors/source-surveymonkey/unit_tests/test_for_updated_state.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pendulum diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/.dockerignore b/airbyte-integrations/connectors/source-talkdesk-explore/.dockerignore new file mode 100644 index 000000000000..43a6f7f639b6 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/.dockerignore @@ -0,0 +1,6 @@ +* +!Dockerfile +!main.py +!source_talkdesk_explore +!setup.py +!secrets diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/Dockerfile b/airbyte-integrations/connectors/source-talkdesk-explore/Dockerfile new file mode 100644 index 000000000000..8ebe39cc3a5d --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/Dockerfile @@ -0,0 +1,38 @@ +FROM python:3.7.11-alpine3.14 as base + +# build and load all requirements +FROM base as builder +WORKDIR /airbyte/integration_code + +# upgrade pip to the latest version +RUN apk --no-cache upgrade \ + && pip install --upgrade pip \ + && apk --no-cache add tzdata build-base + + +COPY setup.py ./ +# install necessary packages to a temporary folder +RUN pip install --prefix=/install . + +# build a clean environment +FROM base +WORKDIR /airbyte/integration_code + +# copy all loaded and built libraries to a pure basic image +COPY --from=builder /install /usr/local +# add default timezone settings +COPY --from=builder /usr/share/zoneinfo/Etc/UTC /etc/localtime +RUN echo "Etc/UTC" > /etc/timezone + +# bash is installed for more convenient debugging. +RUN apk --no-cache add bash + +# copy payload code only +COPY main.py ./ +COPY source_talkdesk_explore ./source_talkdesk_explore + +ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" +ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] + +LABEL io.airbyte.version=0.1.0 +LABEL io.airbyte.name=airbyte/source-talkdesk-explore diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/README.md b/airbyte-integrations/connectors/source-talkdesk-explore/README.md new file mode 100644 index 000000000000..aed309009812 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/README.md @@ -0,0 +1,129 @@ +# Talkdesk-Explore Source + +This is the repository for the Talkdesk source connector, written in Python. +For information about how to use this connector within Airbyte, see [the documentation](https://docs.airbyte.io/integrations/sources/talkdesk-explore). + +## Local development + +### Prerequisites +**To iterate on this connector, make sure to complete this prerequisites section.** + +#### Minimum Python version required `= 3.7.0` + +#### Build & Activate Virtual Environment and install dependencies +From this connector directory, create a virtual environment: +``` +python -m venv .venv +``` + +This will generate a virtualenv for this module in `.venv/`. Make sure this venv is active in your +development environment of choice. To activate it from the terminal, run: +``` +source .venv/bin/activate +pip install -r requirements.txt +``` +If you are in an IDE, follow your IDE's instructions to activate the virtualenv. + +Note that while we are installing dependencies from `requirements.txt`, you should only edit `setup.py` for your dependencies. `requirements.txt` is +used for editable installs (`pip install -e`) to pull in Python dependencies from the monorepo and will call `setup.py`. +If this is mumbo jumbo to you, don't worry about it, just put your deps in `setup.py` but install using `pip install -r requirements.txt` and everything +should work as you expect. + +#### Building via Gradle +From the Airbyte repository root, run: +``` +./gradlew :airbyte-integrations:connectors:source-talkdesk-explore-explore:build +``` + +#### Create credentials +**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/talkdesk-explore) +to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_talkdesk_explore/spec.json` file. +Note that the `secrets` directory is gitignored by default, so there is no danger of accidentally checking in sensitive information. +See `integration_tests/sample_config.json` for a sample config file. + +**If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `source talkdesk-explore test creds` +and place them into `secrets/config.json`. + +### Locally running the connector +``` +python main.py spec +python main.py check --config secrets/config.json +python main.py discover --config secrets/config.json +python main.py read --config secrets/config.json --catalog integration_tests/configured_catalog.json +``` + +### Locally running the connector docker image + +#### Build +First, make sure you build the latest Docker image: +``` +docker build . -t airbyte/source-talkdesk-explore-explore:dev +``` + +You can also build the connector image via Gradle: +``` +./gradlew :airbyte-integrations:connectors:source-talkdesk-explore-explore:airbyteDocker +``` +When building via Gradle, the docker image name and tag, respectively, are the values of the `io.airbyte.name` and `io.airbyte.version` `LABEL`s in +the Dockerfile. + +#### Run +Then run any of the connector commands as follows: +``` +docker run --rm airbyte/source-talkdesk-explore:dev spec +docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-talkdesk-explore:dev check --config /secrets/config.json +docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-talkdesk-explore:dev discover --config /secrets/config.json +docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-talkdesk-explore:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json +``` +## Testing + Make sure to familiarize yourself with [pytest test discovery](https://docs.pytest.org/en/latest/goodpractices.html#test-discovery) to know how your test files and methods should be named. +First install test dependencies into your virtual environment: +``` +pip install .[tests] +``` +### Unit Tests +To run unit tests locally, from the connector directory run: +``` +python -m pytest unit_tests +``` + +### Integration Tests +There are two types of integration tests: Acceptance Tests (Airbyte's test suite for all source connectors) and custom integration tests (which are specific to this connector). +#### Custom Integration tests +Place custom tests inside `integration_tests/` folder, then, from the connector root, run +``` +python -m pytest integration_tests +``` +#### Acceptance Tests +Customize `acceptance-test-config.yml` file to configure tests. See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) for more information. +If your connector requires to create or destroy resources for use during acceptance tests create fixtures for it and place them inside integration_tests/acceptance.py. +To run your integration tests with acceptance tests, from the connector root, run +``` +python -m pytest integration_tests -p integration_tests.acceptance +``` +To run your integration tests with docker + +### Using gradle to run tests +All commands should be run from airbyte project root. +To run unit tests: +``` +./gradlew :airbyte-integrations:connectors:source-talkdesk-explore:unitTest +``` +To run acceptance and custom integration tests: +``` +./gradlew :airbyte-integrations:connectors:source-talkdesk-explore:integrationTest +``` + +## Dependency Management +All of your dependencies should go in `setup.py`, NOT `requirements.txt`. The requirements file is only used to connect internal Airbyte dependencies in the monorepo for local development. +We split dependencies between two groups, dependencies that are: +* required for your connector to work need to go to `MAIN_REQUIREMENTS` list. +* required for the testing need to go to `TEST_REQUIREMENTS` list + +### Publishing a new version of the connector +You've checked out the repo, implemented a million dollar feature, and you're ready to share your changes with the world. Now what? +1. Make sure your changes are passing unit and integration tests. +1. Bump the connector version in `Dockerfile` -- just increment the value of the `LABEL io.airbyte.version` appropriately (we use [SemVer](https://semver.org/)). +1. Create a Pull Request. +1. Pat yourself on the back for being an awesome contributor. +1. Someone from Airbyte will take a look at your PR and iterate with you to merge it into master. diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml new file mode 100644 index 000000000000..2d5da4d679fd --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-config.yml @@ -0,0 +1,29 @@ +# See [Source Acceptance Tests](https://docs.airbyte.io/connector-development/testing-connectors/source-acceptance-tests-reference) +# for more information about how to configure these tests +connector_image: airbyte-local/source-talkdesk:tests +tests: + spec: + - spec_path: "source_talkdesk_explore/spec.json" + connection: + - config_path: "secrets/config.json" + status: "succeed" + - config_path: "integration_tests/invalid_config.json" + status: "failed" + discovery: + - config_path: "secrets/config.json" + basic_read: + - config_path: "secrets/config.json" + configured_catalog_path: "integration_tests/configured_catalog.json" + empty_streams: [] + # TODO uncomment this block to specify that the tests should assert the connector outputs the records provided in the input file a file + # expect_records: + # path: "integration_tests/expected_records.txt" + # extra_fields: no + # exact_order: no + # extra_records: yes + incremental: # TODO if your connector does not implement incremental sync, remove this block + - config_path: "secrets/config.json" + configured_catalog_path: "integration_tests/configured_catalog.json" + # full_refresh: + # - config_path: "secrets/config.json" + # configured_catalog_path: "integration_tests/configured_catalog.json" diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh new file mode 100644 index 000000000000..e4d8b1cef896 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/acceptance-test-docker.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env sh + +# Build latest connector image +docker build . -t $(cat acceptance-test-config.yml | grep "connector_image" | head -n 1 | cut -d: -f2) + +# Pull latest acctest image +docker pull airbyte/source-acceptance-test:latest + +# Run +docker run --rm -it \ + -v /var/run/docker.sock:/var/run/docker.sock \ + -v /tmp:/tmp \ + -v $(pwd):/test_input \ + airbyte/source-acceptance-test \ + --acceptance-test-config /test_input + diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/bootstrap.md b/airbyte-integrations/connectors/source-talkdesk-explore/bootstrap.md new file mode 100644 index 000000000000..36307d302a52 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/bootstrap.md @@ -0,0 +1,23 @@ +## Streams + +Talkdesk Explore API is focused on delivering data reports, and this connector implements five streams: + +* Calls Report +* User Status Report +* Studio Flow Execution Report +* Contacts Report +* Ring Attempts Report + +Please refer to the official documentation for a list of all available reports: https://docs.talkdesk.com/docs/available-report + +To request data from one of the endpoints, first you need to generate a report. This is done by a POST request where the payload is the report specifications. Then, the response will be a report ID that you need to use in a GET request to obtain the report's data. + +This process is further explained here: [Executing a Report](https://docs.talkdesk.com/docs/executing-report) + +## Pagination + +To both report generation and report consumption, data is not paginated. + +## Authentication + +The only authentication method implemented so far is `Client Credentials`. You can read [here](https://docs.talkdesk.com/docs/authentication) about all the supported authentication methods. diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle b/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle new file mode 100644 index 000000000000..a148bf45f4ad --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/build.gradle @@ -0,0 +1,9 @@ +plugins { + id 'airbyte-python' + id 'airbyte-docker' + id 'airbyte-source-acceptance-test' +} + +airbytePython { + moduleDirectory 'source_talkdesk_singer' +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/__init__.py b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/__init__.py new file mode 100644 index 000000000000..46b7376756ec --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/__init__.py @@ -0,0 +1,3 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py new file mode 100644 index 000000000000..34f2f625e15b --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/acceptance.py @@ -0,0 +1,16 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +import pytest + +pytest_plugins = ("source_acceptance_test.plugin",) + + +@pytest.fixture(scope="session", autouse=True) +def connector_setup(): + """This fixture is a placeholder for external resources that acceptance test might require.""" + # TODO: setup test dependencies + yield + # TODO: clean up test dependencies diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/configured_catalog.json b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/configured_catalog.json new file mode 100644 index 000000000000..81b32913dd16 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/configured_catalog.json @@ -0,0 +1,76 @@ +{ + "streams": [ + { + "stream": { + "name": "calls", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["end_at"], + "source_defined_primary_key": [["call_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["end_at"], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "user_status", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["status_end_at"], + "source_defined_primary_key": [["user_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["status_end_at"], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "studio_flow_execution", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": [ + "studio_flow_executions_aggregated.flow_execution_finished_time" + ], + "source_defined_primary_key": [["flow_id"]] + }, + "sync_mode": "incremental", + "cursor_field": [ + "studio_flow_executions_aggregated.flow_execution_finished_time" + ], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "contacts", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["finished_at"], + "source_defined_primary_key": [["contact_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["finished_at"], + "destination_sync_mode": "append" + } + ] +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/invalid_config.json b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/invalid_config.json new file mode 100644 index 000000000000..3578f03b09e1 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/invalid_config.json @@ -0,0 +1,6 @@ +{ + "START_DATE": "2022-02-04T11:00:00", + "TIMEZONE": "Europe/London", + "AUTH_URL": "invalid url", + "API_KEY": "invalid api key" +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_config.json b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_config.json new file mode 100644 index 000000000000..ecc4913b84c7 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_config.json @@ -0,0 +1,3 @@ +{ + "fix-me": "TODO" +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_state.json b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_state.json new file mode 100644 index 000000000000..3587e579822d --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/integration_tests/sample_state.json @@ -0,0 +1,5 @@ +{ + "todo-stream-name": { + "todo-field-name": "value" + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/main.py b/airbyte-integrations/connectors/source-talkdesk-explore/main.py new file mode 100644 index 000000000000..41aa2708eecb --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/main.py @@ -0,0 +1,13 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +import sys + +from airbyte_cdk.entrypoint import launch +from source_talkdesk_explore import SourceTalkdeskExplore + +if __name__ == "__main__": + source = SourceTalkdeskExplore() + launch(source, sys.argv[1:]) diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt b/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt new file mode 100644 index 000000000000..7be17a56d745 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/requirements.txt @@ -0,0 +1,3 @@ +# This file is autogenerated -- only edit if you know what you are doing. Use setup.py for declaring dependencies. +-e ../../bases/source-acceptance-test +-e . diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/sample_files/configured_catalog.json b/airbyte-integrations/connectors/source-talkdesk-explore/sample_files/configured_catalog.json new file mode 100644 index 000000000000..cb866003837b --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/sample_files/configured_catalog.json @@ -0,0 +1,93 @@ +{ + "streams": [ + { + "stream": { + "name": "calls", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["end_at"], + "source_defined_primary_key": [["call_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["end_at"], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "user_status", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["status_end_at"], + "source_defined_primary_key": [["user_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["status_end_at"], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "studio_flow_execution", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": [ + "studio_flow_executions_aggregated.flow_execution_finished_time" + ], + "source_defined_primary_key": [["flow_id"]] + }, + "sync_mode": "incremental", + "cursor_field": [ + "studio_flow_executions_aggregated.flow_execution_finished_time" + ], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "contacts", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["finished_at"], + "source_defined_primary_key": [["contact_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["finished_at"], + "destination_sync_mode": "append" + }, + { + "stream": { + "name": "ring_attempts", + "json_schema": { + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": {} + }, + "supported_sync_modes": ["full_refresh", "incremental"], + "source_defined_cursor": true, + "default_cursor_field": ["ring_finished_at_time"], + "source_defined_primary_key": [["ring_attempt_id"]] + }, + "sync_mode": "incremental", + "cursor_field": ["ring_finished_at_time"], + "destination_sync_mode": "append" + } + ] +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/setup.py b/airbyte-integrations/connectors/source-talkdesk-explore/setup.py new file mode 100644 index 000000000000..5a1cac95a33c --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/setup.py @@ -0,0 +1,28 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +from setuptools import find_packages, setup + +MAIN_REQUIREMENTS = [ + "airbyte-cdk~=0.1", +] + +TEST_REQUIREMENTS = [ + "pytest~=6.1", + "source-acceptance-test", +] + +setup( + name="source_talkdesk_explore", + description="Source implementation for Talkdesk Explore API.", + author="Airbyte", + author_email="alexandre.martins@saltpay.co", + packages=find_packages(), + install_requires=MAIN_REQUIREMENTS, + package_data={"": ["*.json"]}, + extras_require={ + "tests": TEST_REQUIREMENTS, + }, +) diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/__init__.py b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/__init__.py new file mode 100644 index 000000000000..6390c93aeed9 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/__init__.py @@ -0,0 +1,8 @@ +# +# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# + + +from .source import SourceTalkdeskExplore + +__all__ = ["SourceTalkdeskExplore"] diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/calls.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/calls.json new file mode 100644 index 000000000000..c923ef4ce622 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/calls.json @@ -0,0 +1,162 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "Calls report", + "description": "Includes all calls that have been made / received during a period of time, as well as detailed information about each one: time, duration, type, agent, call disposition, description, recording, waiting times, etc.", + "properties": { + "call_id": { + "type": "string", + "description": "The call's unique identification number." + }, + "callsid": { + "type": "string", + "description": "The call's unique identification number." + }, + "type": { + "type": "string", + "description": "The call type (i.e., outbound, outbound_missed, inbound, missed, abandoned, short_abandoned or voicemail)." + }, + "start_at": { + "type": "string", + "format": "date-time", + "examples": ["2016-01-29T10:22:02Z"] + }, + "end_at": { + "type": "string", + "format": "date-time", + "examples": ["2016-01-29T10:22:02Z"] + }, + "talkdesk_phone_number": { + "type": "string", + "examples": ["+184432634343"] + }, + "talkdesk_phone_display_name": { + "type": ["string", "null"], + "examples": ["support"] + }, + "contact_phone_number": { + "type": "string", + "examples": ["+3434345345"] + }, + "user_id": { + "type": ["string", "null"], + "examples": ["asdf1492daf3xa32423"] + }, + "user_name": { + "type": ["string", "null"], + "examples": ["Alice Eve"] + }, + "user_email": { + "type": ["string", "null"], + "examples": ["alice@talkdesk.com"] + }, + "total_time": { + "type": "integer", + "examples": [12] + }, + "talk_time": { + "type": "integer", + "examples": [10] + }, + "wait_time": { + "type": "integer", + "examples": [2] + }, + "hold_time": { + "type": "integer", + "examples": [0] + }, + "abandon_time": { + "type": "integer", + "examples": [0] + }, + "total_ringing_time": { + "type": "integer", + "examples": [2] + }, + "disposition_code": { + "type": ["string", "null"], + "examples": ["Not Interested"] + }, + "notes": { + "type": ["string", "null"], + "examples": ["They were not interested"] + }, + "user_voice_rating": { + "type": ["integer", "null"], + "examples": [2] + }, + "ring_groups": { + "type": "string", + "examples": ["Product Support"] + }, + "ivr_options": { + "type": "string", + "examples": ["1,2,1"] + }, + "is_in_business_hours": { + "type": "boolean", + "examples": [true] + }, + "is_callback_from_queue": { + "type": "boolean", + "examples": [null] + }, + "is_call_forwarding": { + "type": "boolean", + "examples": [false] + }, + "is_if_no_answer": { + "type": "boolean", + "examples": [false] + }, + "is_transfer": { + "type": "boolean", + "examples": [false] + }, + "is_external_transfer": { + "type": "boolean", + "examples": [false] + }, + "handling_user_name": { + "type": ["string", "null"], + "examples": ["Mark Jones"] + }, + "handling_user_id": { + "type": ["string", "null"], + "examples": ["asdf1492daf3xa32424"] + }, + "handling_user_email": { + "type": ["string", "null"], + "examples": ["mark@talkdesk.com"] + }, + "recording_url": { + "type": ["string", "null"], + "examples": ["/recordings/cads13d23123asdfa413"] + }, + "csat_score": { + "type": ["integer", "null"], + "examples": [1] + }, + "csat_survey_time": { + "type": ["string", "null"], + "examples": ["2016-01-29T10:22:16Z"] + }, + "mood": { + "type": "string", + "examples": ["happy"] + }, + "is_mood_prompted": { + "type": ["boolean", "null"], + "examples": [true] + }, + "team_id": { + "type": ["string", "null"], + "examples": ["69bd4bed944f4de99cb79736f2ca15b1"] + }, + "team_name": { + "type": ["string", "null"], + "examples": ["The A-Team"] + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/contacts.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/contacts.json new file mode 100644 index 000000000000..541cbf48d7cb --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/contacts.json @@ -0,0 +1,180 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "Contacts", + "description": "The Contacts report provides an extra level of granularity with details on each contact within an interaction.", + "properties": { + "interaction_id": { + "type": "string", + "examples": ["9a7c39081c3a4606b82462a092a6c2e1"] + }, + "contact_id": { + "type": "string", + "examples": ["a1ea1e41d2cb1d85d184fc0c1f9c1462"] + }, + "company_number": { + "type": "string", + "examples": ["+345345345"] + }, + "phone_display_name": { + "type": ["string", "null"], + "examples": ["Phone neame - Caller"] + }, + "contact_person_number": { + "type": "string", + "examples": ["+4343434"] + }, + "external_phone_number": { + "type": ["string", "null"], + "examples": ["None"] + }, + "direction": { + "type": "string", + "examples": ["IN"] + }, + "contact_type": { + "type": "string", + "examples": ["Answered"] + }, + "started_at": { + "type": "string", + "format": "date-time", + "examples": ["2022-01-19 09:59:42"] + }, + "wait_time": { + "type": ["integer", "null"], + "examples": [29] + }, + "time_to_missed": { + "type": ["integer", "null"], + "examples": [0] + }, + "abandon_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "short_abandon_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "time_to_voicemail": { + "type": ["integer", "null"], + "examples": [0] + }, + "ring_time": { + "type": ["integer", "null"], + "examples": [27] + }, + "connect_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "answered_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-01-19 10:00:12"] + }, + "connected_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-01-19 10:00:12"] + }, + "talk_time": { + "type": ["integer", "null"], + "examples": [268] + }, + "hard_hold_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "soft_hold_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "hold_time": { + "type": ["integer", "null"], + "examples": [0] + }, + "after_call_work_time": { + "type": ["integer", "null"], + "examples": [30] + }, + "finished_at": { + "type": ["string", "null"], + "format": "date-time", + "examples": ["2022-01-19 10:05:11"] + }, + "duration": { + "type": ["integer", "null"], + "examples": [328] + }, + "handle_time": { + "type": ["integer", "null"], + "examples": [228] + }, + "inside_business_hours": { + "type": "string", + "examples": ["Yes"] + }, + "inside_service_level": { + "type": "string", + "examples": ["Yes"] + }, + "within_service_level_threshold": { + "type": "string", + "examples": ["Yes"] + }, + "transfer_out": { + "type": "string", + "examples": ["No"] + }, + "transfer_out_type": { + "type": ["string", "null"], + "examples": ["None"] + }, + "transfer_in": { + "type": ["string", "null"], + "examples": ["No"] + }, + "transfer_in_type": { + "type": ["string", "null"], + "examples": ["None"] + }, + "callback": { + "type": ["string", "null"], + "examples": ["None"] + }, + "ring_groups": { + "type": ["string", "null"], + "examples": ["cs_storyous_cz"] + }, + "user_name": { + "type": ["string", "null"], + "examples": ["The User"] + }, + "direct_assignment_user": { + "type": ["string", "null"], + "examples": ["None"] + }, + "team_name": { + "type": ["string", "null"], + "examples": ["None"] + }, + "user_id": { + "type": ["string", "null"], + "examples": ["618255e0fba4741asad4fsdf"] + }, + "direct_assignment_ids": { + "type": ["string", "null"], + "examples": ["None"] + }, + "team_id": { + "type": ["string", "null"], + "examples": ["None"] + }, + "handling_ring_groups": { + "type": ["string", "null"], + "examples": ["awesome_ring_group"] + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/ring_attempts.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/ring_attempts.json new file mode 100644 index 000000000000..4aa7ef007ddf --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/ring_attempts.json @@ -0,0 +1,54 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "Ring Attempts", + "description": "The Ring Attempts report provides detailed information regarding ring attempts.", + "properties": { + "interaction_id": { + "type": "string", + "examples": ["a1428598ddce4554af93d7b163a67d2f"] + }, + "contact_id": { + "type": "string", + "examples": ["2a003e24939d3523a54ddc028c005672"] + }, + "batch_ring_id": { + "type": "string", + "examples": ["520dbf1887a44ce095ec52467abf799e"] + }, + "ring_attempt_id": { + "type": "string", + "examples": ["1ca68b85ae9c4f84d3630310f25c98b44510021f"] + }, + "attempt_type": { + "type": ["null", "string"], + "examples": ["Ignored"] + }, + "ring_started_at_time": { + "type": ["null", "string"], + "format": "date-time", + "examples": ["2022-01-19 09:54:52"] + }, + "ring_finished_at_time": { + "type": ["null", "string"], + "format": "date-time", + "examples": ["2022-01-19 09:54:52"] + }, + "ring_attempt_duration": { + "type": ["null", "integer"], + "examples": [20] + }, + "user_name": { + "type": ["null", "string"], + "examples": ["The Unicorn"] + }, + "user_email": { + "type": ["null", "string"], + "examples": ["unicorn@talkdesk.com"] + }, + "team_name": { + "type": ["null", "string"], + "examples": ["None"] + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/studio_flow_execution.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/studio_flow_execution.json new file mode 100644 index 000000000000..62aed95cd1fd --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/studio_flow_execution.json @@ -0,0 +1,62 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "Studio Flow Execution", + "description": "The Studio Flow Execution is a detailed report that contains, at the step level, all the information related to the interaction.", + "properties": { + "call_sid": { + "type": "string", + "examples": ["CAe0280e1d972d19a6469bd50cc4bdb40a"] + }, + "interaction_id": { + "type": "string", + "examples": ["7ba953869d144d92b18e82d7d857ec43"] + }, + "destination_number": { + "type": "string", + "examples": ["+4545342444"] + }, + "origin_number": { + "type": "string", + "examples": ["+23423234234"] + }, + "flow_name": { + "type": "string", + "examples": ["My unique Flow"] + }, + "flow_id": { + "type": "string", + "examples": ["1344e9fa793349adbf1df3a625ee94ed"] + }, + "component_title": { + "type": "string", + "examples": ["Calls"] + }, + "step_name": { + "type": "string", + "examples": ["Talkdesk step"] + }, + "exit": { + "type": "string", + "examples": ["ok"] + }, + "time_in_step": { + "type": "number", + "examples": [6.712963e-7] + }, + "timestamp": { + "type": "string", + "format": "date-time", + "examples": ["2022-01-19 09:57:46"] + }, + "studio_flow_executions_aggregated.flow_execution_finished_time": { + "type": "string", + "format": "date-time", + "examples": ["2022-01-19 09:57:54"] + }, + "step_execution_order": { + "type": "integer", + "examples": [0] + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/user_status.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/user_status.json new file mode 100644 index 000000000000..ed947b685478 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/schemas/user_status.json @@ -0,0 +1,50 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "title": "User status", + "description": "The User Status report provides a raw log of agent status changes occurring in Talkdesk.", + "properties": { + "user_id": { + "type": "string", + "examples": ["13da-3ccd-3423"] + }, + "user_name": { + "type": "string", + "examples": ["Foo bar"] + }, + "user_email": { + "type": "string", + "examples": ["robert@talkdesk.com"] + }, + "status_label": { + "type": "string", + "examples": ["Away"] + }, + "status_start_at": { + "type": "string", + "format": "date-time", + "examples": ["2016-01-29 10:30:00"] + }, + "status_end_at": { + "type": "string", + "format": "date-time", + "examples": ["2016-01-29 10:30:14"] + }, + "status_time": { + "type": "integer", + "examples": [14] + }, + "is_user_active": { + "type": "boolean", + "examples": [true] + }, + "team_id": { + "type": ["string", "null"], + "examples": ["69bd4bed944f4de99cb79736f2ca15b1"] + }, + "team_name": { + "type": ["string", "null"], + "examples": ["The A-Team"] + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/source.py b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/source.py new file mode 100644 index 000000000000..f758b372cfb9 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/source.py @@ -0,0 +1,50 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +from typing import Any, List, Mapping, Tuple + +from airbyte_cdk.logger import AirbyteLogger +from airbyte_cdk.sources import AbstractSource +from airbyte_cdk.sources.streams import Stream +from airbyte_cdk.sources.streams.http.auth import TokenAuthenticator + +from .streams import Calls, Contacts, RingAttempts, StudioFlowExecution, UserStatus +from .talkdesk_auth import TalkdeskAuth + + +class SourceTalkdeskExplore(AbstractSource): + def check_connection(self, logger: AirbyteLogger, config: Mapping[str, Any]) -> Tuple[bool, Any]: + talkdesk_auth = TalkdeskAuth(config) + token_request = talkdesk_auth.request_bearer_token() + + # Check for valid token and scope + if "access_token" not in token_request.keys(): + return False, "Unable to retrieve access token. Check your credentials." + elif "data-reports:read" and "data-reports:write" not in token_request["scope"]: + return ( + False, + "Provided credential does not have necessary privileges to read data. Required scope: data-reports:read AND data-reports:write", + ) + else: + return True, None + + def streams(self, config: Mapping[str, Any]) -> List[Stream]: + talkdesk_auth = TalkdeskAuth(config) + token_request = talkdesk_auth.request_bearer_token() + talkdesk_auth_token = token_request.get("access_token", None) + + authenticator = TokenAuthenticator(token=talkdesk_auth_token) + + start_date = config.get("start_date", None) + timezone = config.get("timezone", None) + + streams_ = [ + Calls(start_date=start_date, timezone=timezone, authenticator=authenticator), + UserStatus(start_date=start_date, timezone=timezone, authenticator=authenticator), + StudioFlowExecution(start_date=start_date, timezone=timezone, authenticator=authenticator), + Contacts(start_date=start_date, timezone=timezone, authenticator=authenticator), + RingAttempts(start_date=start_date, timezone=timezone, authenticator=authenticator), + ] + + return streams_ diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/spec.json b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/spec.json new file mode 100644 index 000000000000..281ebf9fad24 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/spec.json @@ -0,0 +1,43 @@ +{ + "documentationUrl": "https://docsurl.com", + "connectionSpecification": { + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Talkdesk Explore API Spec", + "type": "object", + "required": ["start_date", "auth_url", "api_key"], + "additionalProperties": false, + "properties": { + "start_date": { + "type": "string", + "title": "START DATE", + "description": "The date from which you'd like to replicate data for Talkdesk Explore API, in the format YYYY-MM-DDT00:00:00. All data generated after this date will be replicated.", + "examples": ["2020-10-15T00:00:00"], + "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}$", + "order": 0 + }, + "timezone": { + "type": "string", + "title": "TIMEZONE", + "description": "Timezone to use when generating reports. Only IANA timezones are supported (https://nodatime.org/TimeZones)", + "examples": ["Europe/London", "America/Los_Angeles"], + "default": "UTC", + "order": 1 + }, + "auth_url": { + "title": "AUTH URL", + "type": "string", + "description": "Talkdesk Auth URL. Only 'client_credentials' auth type supported at the moment.", + "examples": [ + "https://xxxxxx.talkdeskid.com/oauth/token?grant_type=client_credentials" + ], + "order": 2 + }, + "api_key": { + "title": "API KEY", + "type": "string", + "description": "Talkdesk API key.", + "order": 3 + } + } + } +} diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/streams.py b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/streams.py new file mode 100644 index 000000000000..2c500c3913f3 --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/streams.py @@ -0,0 +1,248 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import json +from abc import abstractmethod +from datetime import datetime +from typing import Any, Iterable, Mapping, MutableMapping, Optional + +import requests +from airbyte_cdk.logger import AirbyteLogger +from airbyte_cdk.models import SyncMode +from airbyte_cdk.sources.streams.http import HttpStream + +logger = AirbyteLogger() + + +class GenerateReportStream(HttpStream): + """This stream is specifically for generating the report in Talkdesk. + - HTTP method: POST + - Returns: ID of the generated report + + """ + + primary_key = None + + def __init__(self, base_path, start_date, timezone, **kwargs): + super().__init__(**kwargs) + self.base_path = base_path + self.start_date = start_date + self.timezone = timezone + + @property + def url_base(self) -> str: + return "https://api.talkdeskapp.com/data/" + + @property + def http_method(self) -> str: + return "POST" + + def path(self, **kwargs) -> str: + return self.base_path + + def request_body_json( + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, + ) -> Optional[Mapping]: + now = datetime.now().strftime("%Y-%m-%dT%H:%M:%S") + logger.info(f"Generating {self.base_path} report from '{self.start_date}' to '{now}'") + return { + "format": "json", + "timespan": { + "from": self.start_date, + "to": now, + "timezone": self.timezone, + }, + } + + def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]: + return None + + def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapping]: + response_json = response.json() + id_obj = {"id": response_json["job"]["id"]} + logger.info(f"Generated report with ID '{id_obj['id']}'") + + return [id_obj] + + +class ReadReportStream(HttpStream): + primary_key = None + + def __init__(self, start_date, timezone, **kwargs): + super().__init__(**kwargs) + self.start_date = start_date + self.timezone = timezone + + @property + def url_base(self) -> str: + return "https://api.talkdeskapp.com/data/" + + def path(self, **kwargs) -> str: + latest_state = kwargs.get("stream_state").get(self.cursor_field, None) + + if not latest_state: + latest_state = self.start_date + + # Check and set latest_state to necessary date-time format + try: + datetime.strptime(latest_state, "%Y-%m-%dT%H:%M:%S") + except ValueError: + try: + datetime.strptime(latest_state, "%Y-%m-%d %H:%M:%S") + latest_state = latest_state.replace(" ", "T") + except ValueError: + logger.error("stream_state is in unhandled date-time format. Required format: %Y-%m-%dT%H:%M:%S") + + generate_report = GenerateReportStream( + base_path=self.base_path, start_date=latest_state, timezone=self.timezone, authenticator=self.authenticator + ) + report_id = next(generate_report.read_records(SyncMode.full_refresh)) + + return self.base_path + f"/{report_id['id']}" + + def next_page_token(self, response: requests.Response) -> Optional[Mapping[str, Any]]: + return None + + def should_retry(self, response: requests.Response) -> bool: + """ + Retry conditions: + 1. By default, back off on the following HTTP response statuses: + - 429 (Too Many Requests) indicating rate limiting + - 500s to handle transient server errors + - Unexpected but transient exceptions (connection timeout, DNS resolution failed, etc..) are retried by default. + 2. When the report is requested but is not ready to be fetched: + - In that case, the response will have the following format: + ``` + {"job": {"id": "369f88a5-d5a3-42c6-a135-8aec4215553e", "name": "Calls", + "created_at": "2022-01-13T10:17:15", "status": "processing", "type": "calls", "format": "json", ...}} + ``` + The retry function will be looking for a response in this format with 'status' different than 'completed'. + Please refer to the docs to read more about executing a report: https://docs.talkdesk.com/docs/executing-report. + + """ + if response.status_code == 429 or 500 <= response.status_code < 600: + return True + else: + response_obj = response.json() + try: + report_status = response_obj["job"]["status"] + if report_status != "completed": + logger.info("Requested report is in uncompleted status. Waiting for it to be completed...") + return True + else: + return False + except KeyError: + # Report failures + if response.status_code in [400, 401, 403]: + logger.error(f"Report returned an invalid response: {json.dumps(response_obj)}") + raise ValueError("Requested report is in invalid/failed state.") + # TODO: implement handling of other response types here. + return False + + def parse_response(self, response: requests.Response, **kwargs) -> Iterable[Mapping]: + response_json = response.json() + try: + yield from response_json["entries"] + except KeyError: + logger.warn("No entries found in requested report. Setting it to null.") + yield from [] + + +class IncrementalReadReportStream(ReadReportStream): + """ + Incremental append for the ReadReportStream. This class introduces the 'cursor_field' + and 'get_updated_state' methods. + + """ + + @property + @abstractmethod + def cursor_field(self) -> str: + """ + Defining a cursor field indicates that a stream is incremental, so any incremental stream must extend this class + and define a cursor field. + """ + pass + + def get_updated_state(self, current_stream_state: MutableMapping[str, Any], latest_record: Mapping[str, Any]) -> Mapping[str, Any]: + """ + Return the latest state by comparing the cursor value in the latest record with the stream's most recent state object + and returning an updated state object. + """ + latest_state = latest_record.get(self.cursor_field) + current_state = current_stream_state.get(self.cursor_field) or latest_state + return {self.cursor_field: max(latest_state, current_state)} + + +class Calls(IncrementalReadReportStream): + @property + def primary_key(self) -> str: + return "call_id" + + @property + def base_path(self) -> str: + return "reports/calls/jobs" + + @property + def cursor_field(self) -> str: + return "end_at" + + +class UserStatus(IncrementalReadReportStream): + @property + def primary_key(self) -> str: + return "user_id" + + @property + def base_path(self) -> str: + return "reports/user_status/jobs" + + @property + def cursor_field(self) -> str: + return "status_end_at" + + +class StudioFlowExecution(IncrementalReadReportStream): + @property + def primary_key(self) -> str: + return "flow_id" + + @property + def base_path(self) -> str: + return "reports/studio_flow_execution/jobs" + + @property + def cursor_field(self) -> str: + return "studio_flow_executions_aggregated.flow_execution_finished_time" + + +class Contacts(IncrementalReadReportStream): + @property + def primary_key(self) -> str: + return "contact_id" + + @property + def base_path(self) -> str: + return "reports/contacts/jobs" + + @property + def cursor_field(self) -> str: + return "finished_at" + + +class RingAttempts(IncrementalReadReportStream): + @property + def primary_key(self) -> str: + return "ring_attempt_id" + + @property + def base_path(self) -> str: + return "reports/ring_attempts/jobs" + + @property + def cursor_field(self) -> str: + return "ring_finished_at_time" diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/talkdesk_auth.py b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/talkdesk_auth.py new file mode 100644 index 000000000000..da7fd4e2fecc --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/source_talkdesk_explore/talkdesk_auth.py @@ -0,0 +1,44 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + +import base64 +from typing import Any, Dict, Mapping + +import requests + + +class TalkdeskAuth: + """Main class for handling Talkdesk Authentication. + Only 'client_credentials' auth method supported at the moment. + + # TODO: Implement 'Signed JWT' and 'Authorization Code' auth methods. + + Docs: https://docs.talkdesk.com/docs/authentication + + """ + + def __init__(self, config: Mapping[str, Any]): + self.api_key = config.get("api_key", None) + self.auth_url = config.get("auth_url", None) + + def _encode_key(self, key: str) -> bytes: + """Encode 'str' API key to bytes""" + base64_bytes = base64.b64encode(key.encode("ascii")) + return base64_bytes.decode("ascii") + + def request_bearer_token(self) -> Dict: + headers = { + "Authorization": f"Basic {self._encode_key(self.api_key)}", + "Content-Type": "application/x-www-form-urlencoded", + } + try: + response = requests.request( + "POST", + url=self.auth_url, + headers=headers, + ) + except Exception as exc: + raise exc + + return response.json() diff --git a/airbyte-integrations/connectors/source-talkdesk-explore/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-talkdesk-explore/unit_tests/unit_test.py new file mode 100644 index 000000000000..dddaea0060fa --- /dev/null +++ b/airbyte-integrations/connectors/source-talkdesk-explore/unit_tests/unit_test.py @@ -0,0 +1,7 @@ +# +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. +# + + +def test_example_method(): + assert True diff --git a/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tempo/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tempo/main.py b/airbyte-integrations/connectors/source-tempo/main.py index f862e85bdcb2..f5eca60cad49 100644 --- a/airbyte-integrations/connectors/source-tempo/main.py +++ b/airbyte-integrations/connectors/source-tempo/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tempo/setup.py b/airbyte-integrations/connectors/source-tempo/setup.py index 6ef97fc39ba2..1258ccc7e933 100644 --- a/airbyte-integrations/connectors/source-tempo/setup.py +++ b/airbyte-integrations/connectors/source-tempo/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tempo/source_tempo/client.py b/airbyte-integrations/connectors/source-tempo/source_tempo/client.py index 8672f12b8617..caefe26f9978 100644 --- a/airbyte-integrations/connectors/source-tempo/source_tempo/client.py +++ b/airbyte-integrations/connectors/source-tempo/source_tempo/client.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tempo/source_tempo/source.py b/airbyte-integrations/connectors/source-tempo/source_tempo/source.py index 44c8fefec8f3..e6535976f808 100644 --- a/airbyte-integrations/connectors/source-tempo/source_tempo/source.py +++ b/airbyte-integrations/connectors/source-tempo/source_tempo/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSource.java b/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSource.java index c74df03c7a09..00dd21fc0145 100644 --- a/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSource.java +++ b/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSource.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.tidb; diff --git a/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSourceOperations.java b/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSourceOperations.java index fedaf9a3fde6..81e85888be71 100644 --- a/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSourceOperations.java +++ b/airbyte-integrations/connectors/source-tidb/src/main/java/io/airbyte/integrations/source/tidb/TiDBSourceOperations.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.tidb; diff --git a/airbyte-integrations/connectors/source-tidb/src/test-integration/java/io/airbyte/integrations/source/tidb/TiDBSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-tidb/src/test-integration/java/io/airbyte/integrations/source/tidb/TiDBSourceAcceptanceTest.java index dc87734c5f38..c966e2283da7 100755 --- a/airbyte-integrations/connectors/source-tidb/src/test-integration/java/io/airbyte/integrations/source/tidb/TiDBSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-tidb/src/test-integration/java/io/airbyte/integrations/source/tidb/TiDBSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.tidb; diff --git a/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBJdbcSourceAcceptanceTest.java b/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBJdbcSourceAcceptanceTest.java index 00c0090e4714..f999f322e771 100755 --- a/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBJdbcSourceAcceptanceTest.java +++ b/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBJdbcSourceAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.tidb; diff --git a/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBSourceTests.java b/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBSourceTests.java index 6a0137088fab..6901faef7e0d 100755 --- a/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBSourceTests.java +++ b/airbyte-integrations/connectors/source-tidb/src/test/java/io/airbyte/integrations/source/tidb/TiDBSourceTests.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.integrations.source.tidb; diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/main.py b/airbyte-integrations/connectors/source-tiktok-marketing/main.py index 8829e8b49a65..6f49e4713e78 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/main.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/setup.py b/airbyte-integrations/connectors/source-tiktok-marketing/setup.py index 97df49b1e6f6..85924a996175 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/setup.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py index 5fb611551f49..b688d786eb32 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/spec.py b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/spec.py index 3c436f47fad9..1e72a2c448a7 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/spec.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/spec.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/streams.py b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/streams.py index def8f5fb75b6..fae6fad7b01b 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/streams.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/source_tiktok_marketing/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/streams_test.py b/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/streams_test.py index 889117b5e319..73d74913a17c 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/streams_test.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/streams_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock, PropertyMock, patch diff --git a/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/unit_test.py index a2978b5ce23c..2dfad4b8acb2 100644 --- a/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-tiktok-marketing/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-tplcentral/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tplcentral/main.py b/airbyte-integrations/connectors/source-tplcentral/main.py index 2e7c897a2f87..dc95ba94abb1 100644 --- a/airbyte-integrations/connectors/source-tplcentral/main.py +++ b/airbyte-integrations/connectors/source-tplcentral/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tplcentral/setup.py b/airbyte-integrations/connectors/source-tplcentral/setup.py index c27774e765d2..d38492bef590 100644 --- a/airbyte-integrations/connectors/source-tplcentral/setup.py +++ b/airbyte-integrations/connectors/source-tplcentral/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/source.py b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/source.py index 1e4660a541b7..e25c8cb15f62 100644 --- a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/source.py +++ b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/streams.py b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/streams.py index 248dec1eb017..ae023daad10d 100644 --- a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/streams.py +++ b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/util.py b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/util.py index 435daa8ea459..a448ef9bc78c 100644 --- a/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/util.py +++ b/airbyte-integrations/connectors/source-tplcentral/source_tplcentral/util.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Mapping diff --git a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_incremental_streams.py index 59ae1c3a218b..ad3ed2c387b2 100644 --- a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_source.py b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_source.py index 621461477237..6a43b34024b9 100644 --- a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_streams.py index c9bef5f315ac..5179f997cb4c 100644 --- a/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-tplcentral/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py index 724da010a0ce..1d66fbf1a331 100644 --- a/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-trello/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/main.py b/airbyte-integrations/connectors/source-trello/main.py index f5ffbc3c191b..348542c61c28 100644 --- a/airbyte-integrations/connectors/source-trello/main.py +++ b/airbyte-integrations/connectors/source-trello/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/setup.py b/airbyte-integrations/connectors/source-trello/setup.py index 39205c354380..f32dcf787484 100644 --- a/airbyte-integrations/connectors/source-trello/setup.py +++ b/airbyte-integrations/connectors/source-trello/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/source_trello/source.py b/airbyte-integrations/connectors/source-trello/source_trello/source.py index 9b03c6085512..c89b5aeadb9b 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/source.py +++ b/airbyte-integrations/connectors/source-trello/source_trello/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/source_trello/utils.py b/airbyte-integrations/connectors/source-trello/source_trello/utils.py index 2d6462779725..c39fa2595881 100644 --- a/airbyte-integrations/connectors/source-trello/source_trello/utils.py +++ b/airbyte-integrations/connectors/source-trello/source_trello/utils.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/conftest.py b/airbyte-integrations/connectors/source-trello/unit_tests/conftest.py index d0d25208ba00..1cee92fb3e73 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from airbyte_cdk.sources.streams.http.auth import NoAuth diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/helpers.py b/airbyte-integrations/connectors/source-trello/unit_tests/helpers.py index a1f2664e5f65..ead0632e362b 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/helpers.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py b/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py index a3a6bcc50693..d74be1821329 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/test_control_rate_limit.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from functools import wraps diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-trello/unit_tests/test_incremental_streams.py index 6d04245b6b38..aae87d462e03 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/test_source.py b/airbyte-integrations/connectors/source-trello/unit_tests/test_source.py index aa6679bf54e8..1717141afbe9 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-trello/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-trello/unit_tests/test_streams.py index b4be82e29f73..f7ce6199de8d 100644 --- a/airbyte-integrations/connectors/source-trello/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-trello/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-twilio/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-twilio/main.py b/airbyte-integrations/connectors/source-twilio/main.py index 0cddac43f872..00b1971c685f 100644 --- a/airbyte-integrations/connectors/source-twilio/main.py +++ b/airbyte-integrations/connectors/source-twilio/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-twilio/setup.py b/airbyte-integrations/connectors/source-twilio/setup.py index 3f3c04033cce..dae12a1b708f 100644 --- a/airbyte-integrations/connectors/source-twilio/setup.py +++ b/airbyte-integrations/connectors/source-twilio/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-twilio/source_twilio/auth.py b/airbyte-integrations/connectors/source-twilio/source_twilio/auth.py index f7f3ccd81b07..f07e6959abed 100644 --- a/airbyte-integrations/connectors/source-twilio/source_twilio/auth.py +++ b/airbyte-integrations/connectors/source-twilio/source_twilio/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-twilio/source_twilio/source.py b/airbyte-integrations/connectors/source-twilio/source_twilio/source.py index 21a7d21eb7f3..7ec8a481e7f1 100644 --- a/airbyte-integrations/connectors/source-twilio/source_twilio/source.py +++ b/airbyte-integrations/connectors/source-twilio/source_twilio/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-twilio/source_twilio/streams.py b/airbyte-integrations/connectors/source-twilio/source_twilio/streams.py index f021ed32d21a..813055eb4345 100644 --- a/airbyte-integrations/connectors/source-twilio/source_twilio/streams.py +++ b/airbyte-integrations/connectors/source-twilio/source_twilio/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from abc import ABC, abstractmethod diff --git a/airbyte-integrations/connectors/source-twilio/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-twilio/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-twilio/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-twilio/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-typeform/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/main.py b/airbyte-integrations/connectors/source-typeform/main.py index 46f2eb9f8b02..6c3929c7cb81 100644 --- a/airbyte-integrations/connectors/source-typeform/main.py +++ b/airbyte-integrations/connectors/source-typeform/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/setup.py b/airbyte-integrations/connectors/source-typeform/setup.py index dea9eed58639..17943c6191fc 100644 --- a/airbyte-integrations/connectors/source-typeform/setup.py +++ b/airbyte-integrations/connectors/source-typeform/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/source_typeform/source.py b/airbyte-integrations/connectors/source-typeform/source_typeform/source.py index 209e006024ac..65798dc5c545 100644 --- a/airbyte-integrations/connectors/source-typeform/source_typeform/source.py +++ b/airbyte-integrations/connectors/source-typeform/source_typeform/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/unit_tests/conftest.py b/airbyte-integrations/connectors/source-typeform/unit_tests/conftest.py index 4ddec6a229a5..07c690494090 100644 --- a/airbyte-integrations/connectors/source-typeform/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-typeform/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/airbyte-integrations/connectors/source-typeform/unit_tests/test_responses_stream.py b/airbyte-integrations/connectors/source-typeform/unit_tests/test_responses_stream.py index fe2cf7752c00..ed6130486bda 100644 --- a/airbyte-integrations/connectors/source-typeform/unit_tests/test_responses_stream.py +++ b/airbyte-integrations/connectors/source-typeform/unit_tests/test_responses_stream.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-typeform/unit_tests/test_source.py b/airbyte-integrations/connectors/source-typeform/unit_tests/test_source.py index 3ca90166fefd..728bb90d2cc8 100644 --- a/airbyte-integrations/connectors/source-typeform/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-typeform/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import re diff --git a/airbyte-integrations/connectors/source-typeform/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-typeform/unit_tests/test_streams.py index 2ab43b1e5e68..9e314c4800d8 100644 --- a/airbyte-integrations/connectors/source-typeform/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-typeform/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, List, Mapping diff --git a/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-us-census/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-us-census/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-us-census/integration_tests/integration_test.py index f95950c0eda3..2729a5890840 100644 --- a/airbyte-integrations/connectors/source-us-census/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-us-census/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-us-census/main.py b/airbyte-integrations/connectors/source-us-census/main.py index 2f946059dbf3..afcefe2b3567 100644 --- a/airbyte-integrations/connectors/source-us-census/main.py +++ b/airbyte-integrations/connectors/source-us-census/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-us-census/setup.py b/airbyte-integrations/connectors/source-us-census/setup.py index c4318bd3ea6e..f8619dea0c47 100644 --- a/airbyte-integrations/connectors/source-us-census/setup.py +++ b/airbyte-integrations/connectors/source-us-census/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-us-census/source_us_census/source.py b/airbyte-integrations/connectors/source-us-census/source_us_census/source.py index 075b0e7eb6f3..251f2fe8e6aa 100644 --- a/airbyte-integrations/connectors/source-us-census/source_us_census/source.py +++ b/airbyte-integrations/connectors/source-us-census/source_us_census/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-us-census/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-us-census/unit_tests/unit_test.py index 067f5afb4ef5..925feae84136 100644 --- a/airbyte-integrations/connectors/source-us-census/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-us-census/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-woocommerce/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-woocommerce/main.py b/airbyte-integrations/connectors/source-woocommerce/main.py index 71d3cd7aa6e0..320206f22895 100644 --- a/airbyte-integrations/connectors/source-woocommerce/main.py +++ b/airbyte-integrations/connectors/source-woocommerce/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-woocommerce/setup.py b/airbyte-integrations/connectors/source-woocommerce/setup.py index 10f9b582feed..d8c01f706434 100644 --- a/airbyte-integrations/connectors/source-woocommerce/setup.py +++ b/airbyte-integrations/connectors/source-woocommerce/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/source.py b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/source.py index 3eb6b9f66473..78157d4c1695 100644 --- a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/source.py +++ b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-woocommerce/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-woocommerce/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-woocommerce/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-woocommerce/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py index 056971f95450..1302b2f57e10 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/main.py b/airbyte-integrations/connectors/source-yahoo-finance-price/main.py index 9d7921c5e19e..5ad58b763f8c 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/main.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py b/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py index 2f8832e6bf9c..3e8361a65beb 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/source_yahoo_finance_price/source.py b/airbyte-integrations/connectors/source-yahoo-finance-price/source_yahoo_finance_price/source.py index ed9eb542def7..e5de709bf112 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/source_yahoo_finance_price/source.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/source_yahoo_finance_price/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_source.py b/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_source.py index b4d4eca43ec9..929d9d3c0469 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_streams.py index de220c776e4f..5c217a1c354e 100644 --- a/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-yahoo-finance-price/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-youtube-analytics/main.py b/airbyte-integrations/connectors/source-youtube-analytics/main.py index 7ff5d3106542..9cf7ffa557c4 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/main.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-youtube-analytics/setup.py b/airbyte-integrations/connectors/source-youtube-analytics/setup.py index 6b03841e1dfe..6587b211b995 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/setup.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-youtube-analytics/source_youtube_analytics/source.py b/airbyte-integrations/connectors/source-youtube-analytics/source_youtube_analytics/source.py index b8776964262a..a79633dbf76c 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/source_youtube_analytics/source.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/source_youtube_analytics/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_source.py b/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_source.py index 793f98b9cc53..ffc1b6830558 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_streams.py index 92e587bbc4b2..4c00115549e2 100644 --- a/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-youtube-analytics/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import datetime diff --git a/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py index 4b6c44dfc613..34f2f625e15b 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-chat/main_dev.py b/airbyte-integrations/connectors/source-zendesk-chat/main_dev.py index ae5be85e4adf..17a7fe0e43cd 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/main_dev.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/main_dev.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-chat/setup.py b/airbyte-integrations/connectors/source-zendesk-chat/setup.py index 58b302acb5b0..b1bc9ade254a 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/source.py b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/source.py index a6b6b9953130..a37d51e8fd46 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/source.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/streams.py b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/streams.py index a01aba5efa92..3e5c93833de5 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/streams.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/source_zendesk_chat/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # @@ -22,12 +22,13 @@ class Stream(HttpStream, ABC): limit = 100 def request_kwargs( - self, stream_state: Mapping[str, Any], stream_slice: Mapping[str, Any] = None, next_page_token: Mapping[str, Any] = None, + self, + stream_state: Mapping[str, Any], + stream_slice: Mapping[str, Any] = None, + next_page_token: Mapping[str, Any] = None, ) -> Mapping[str, Any]: - return { - "timeout": 60 - } + return {"timeout": 60} def backoff_time(self, response: requests.Response) -> Optional[float]: delay_time = response.headers.get("Retry-After") diff --git a/airbyte-integrations/connectors/source-zendesk-chat/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-zendesk-chat/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-zendesk-chat/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-zendesk-chat/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/main.py b/airbyte-integrations/connectors/source-zendesk-sunshine/main.py index 546d9269edc0..38ffa122e147 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/main.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py b/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py index be532b4df1c4..3d0d5c342a09 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/source.py b/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/source.py index 81bbc46c6944..c314ef1a8c0a 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/source.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/streams.py b/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/streams.py index 6c24ec9e2251..52e969706695 100644 --- a/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/streams.py +++ b/airbyte-integrations/connectors/source-zendesk-sunshine/source_zendesk_sunshine/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-support/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-support/main.py b/airbyte-integrations/connectors/source-zendesk-support/main.py index 014b0b48c189..b138e097b19b 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/main.py +++ b/airbyte-integrations/connectors/source-zendesk-support/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-support/setup.py b/airbyte-integrations/connectors/source-zendesk-support/setup.py index 86ab517a9fad..705484e60ab5 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-support/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py b/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py index 7c9dfbb721b5..3ef6b89b3941 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py +++ b/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import base64 diff --git a/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py b/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py index 3afd4e34356e..fae2fb663a2f 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py +++ b/airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import calendar diff --git a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_backoff_on_rate_limit.py b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_backoff_on_rate_limit.py index 0ba728601b32..5f57c91afb79 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_backoff_on_rate_limit.py +++ b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_backoff_on_rate_limit.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_futures.py b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_futures.py index 5afeb5dd9d72..27cb50e806b4 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_futures.py +++ b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/test_futures.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py index c5a701470320..2872629e1fb7 100644 --- a/airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-zendesk-support/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import calendar diff --git a/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-talk/main.py b/airbyte-integrations/connectors/source-zendesk-talk/main.py index 948b2eed2310..c6b39a6baf46 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/main.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-talk/setup.py b/airbyte-integrations/connectors/source-zendesk-talk/setup.py index d8a499f8c4b2..e8445f68c0fa 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/setup.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/source.py b/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/source.py index 40165cc26dd9..fe9b7ef833a0 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/source.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from datetime import datetime diff --git a/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/streams.py b/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/streams.py index 6cfc27a47d1b..656acf18f815 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/streams.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zendesk-talk/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-zendesk-talk/unit_tests/test_streams.py index f4b22264008b..bbaad3fa0d32 100644 --- a/airbyte-integrations/connectors/source-zendesk-talk/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-zendesk-talk/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from urllib.parse import urlparse diff --git a/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zenloop/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zenloop/main.py b/airbyte-integrations/connectors/source-zenloop/main.py index 4a69290ac202..2070b873216d 100644 --- a/airbyte-integrations/connectors/source-zenloop/main.py +++ b/airbyte-integrations/connectors/source-zenloop/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zenloop/setup.py b/airbyte-integrations/connectors/source-zenloop/setup.py index 92509be18873..eef3b2fa8938 100644 --- a/airbyte-integrations/connectors/source-zenloop/setup.py +++ b/airbyte-integrations/connectors/source-zenloop/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zenloop/source_zenloop/source.py b/airbyte-integrations/connectors/source-zenloop/source_zenloop/source.py index e9d5f4cf6741..9eff39ef2852 100644 --- a/airbyte-integrations/connectors/source-zenloop/source_zenloop/source.py +++ b/airbyte-integrations/connectors/source-zenloop/source_zenloop/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zenloop/unit_tests/conftest.py b/airbyte-integrations/connectors/source-zenloop/unit_tests/conftest.py index 9e213ecc565c..b697374e6477 100644 --- a/airbyte-integrations/connectors/source-zenloop/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-zenloop/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from pytest import fixture diff --git a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_incremental_streams.py index 78b6d70b1d58..6dc9696cc95a 100644 --- a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_source.py b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_source.py index 019577d9208c..90e13b49ad7d 100644 --- a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_source.py +++ b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import MagicMock diff --git a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_streams.py index 07765274b448..296aa47893ba 100644 --- a/airbyte-integrations/connectors/source-zenloop/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-zenloop/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/test_stream_factory.py b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/test_stream_factory.py index ead034e1d42f..037d0f9d8f1c 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/integration_tests/test_stream_factory.py +++ b/airbyte-integrations/connectors/source-zoho-crm/integration_tests/test_stream_factory.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import functools diff --git a/airbyte-integrations/connectors/source-zoho-crm/main.py b/airbyte-integrations/connectors/source-zoho-crm/main.py index e71b10da98f2..6793c1e47d43 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/main.py +++ b/airbyte-integrations/connectors/source-zoho-crm/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoho-crm/setup.py b/airbyte-integrations/connectors/source-zoho-crm/setup.py index 8aaa882c2759..3b9a6c2666cb 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/setup.py +++ b/airbyte-integrations/connectors/source-zoho-crm/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/api.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/api.py index 74fb14038534..0d1c8d63f25a 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/api.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/auth.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/auth.py index 1bac84ff0416..9587c8ebda1a 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/auth.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import Any, Dict, Mapping, Tuple diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/exceptions.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/exceptions.py index 38113d78badf..7fbf7c2dafa1 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/exceptions.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/exceptions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/source.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/source.py index 47cdb79d57d8..70a4fd41469b 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/source.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import logging diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/streams.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/streams.py index 739ff842356b..4d5552d45f37 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/streams.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import concurrent.futures diff --git a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/types.py b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/types.py index 5a3d8b2e1bc5..498690fa540e 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/types.py +++ b/airbyte-integrations/connectors/source-zoho-crm/source_zoho_crm/types.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import copy diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/conftest.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/conftest.py index 0ff4cd2a7c89..df8f11eaee6c 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/conftest.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/parametrize.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/parametrize.py index aba60bcdc979..18e6e57fad9d 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/parametrize.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/parametrize.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from collections import namedtuple diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_api.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_api.py index 1362cf1d1e21..ce030acb3bad 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_api.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_api.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_auth.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_auth.py index 1a8f347f32de..f5c075a56df3 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_auth.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_incremental_streams.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_incremental_streams.py index d138d74b4d63..d21cd3bc3ed5 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_incremental_streams.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_incremental_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import Mock diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_streams.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_streams.py index 461c633fc69d..8c06df748d29 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_streams.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from http import HTTPStatus diff --git a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_types.py b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_types.py index 157ba94ee474..a5dfd7c44e5f 100644 --- a/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_types.py +++ b/airbyte-integrations/connectors/source-zoho-crm/unit_tests/test_types.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from dataclasses import asdict diff --git a/airbyte-integrations/connectors/source-zoom-singer/main.py b/airbyte-integrations/connectors/source-zoom-singer/main.py index 0a61e87988b1..135a9790d88f 100644 --- a/airbyte-integrations/connectors/source-zoom-singer/main.py +++ b/airbyte-integrations/connectors/source-zoom-singer/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoom-singer/setup.py b/airbyte-integrations/connectors/source-zoom-singer/setup.py index 725a29aa6b5c..6387b921e852 100644 --- a/airbyte-integrations/connectors/source-zoom-singer/setup.py +++ b/airbyte-integrations/connectors/source-zoom-singer/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoom-singer/source_zoom_singer/source.py b/airbyte-integrations/connectors/source-zoom-singer/source_zoom_singer/source.py index a2e7c353b049..3dac31a63e8f 100644 --- a/airbyte-integrations/connectors/source-zoom-singer/source_zoom_singer/source.py +++ b/airbyte-integrations/connectors/source-zoom-singer/source_zoom_singer/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zoom-singer/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-zoom-singer/unit_tests/unit_test.py index e1814314fc3b..dddaea0060fa 100644 --- a/airbyte-integrations/connectors/source-zoom-singer/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-zoom-singer/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py b/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py index 0347f2a0b143..950b53b59d41 100644 --- a/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py +++ b/airbyte-integrations/connectors/source-zuora/integration_tests/acceptance.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/integration_tests/integration_test.py b/airbyte-integrations/connectors/source-zuora/integration_tests/integration_test.py index c48f07a41984..86fa3e751117 100644 --- a/airbyte-integrations/connectors/source-zuora/integration_tests/integration_test.py +++ b/airbyte-integrations/connectors/source-zuora/integration_tests/integration_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import json diff --git a/airbyte-integrations/connectors/source-zuora/main.py b/airbyte-integrations/connectors/source-zuora/main.py index 86b0d71a7711..3be5989ab8a2 100644 --- a/airbyte-integrations/connectors/source-zuora/main.py +++ b/airbyte-integrations/connectors/source-zuora/main.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/setup.py b/airbyte-integrations/connectors/source-zuora/setup.py index c7c908a5a255..0e3b909a3d9d 100644 --- a/airbyte-integrations/connectors/source-zuora/setup.py +++ b/airbyte-integrations/connectors/source-zuora/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/source_zuora/source.py b/airbyte-integrations/connectors/source-zuora/source_zuora/source.py index b25fc46f514d..6e620d698411 100644 --- a/airbyte-integrations/connectors/source-zuora/source_zuora/source.py +++ b/airbyte-integrations/connectors/source-zuora/source_zuora/source.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_auth.py b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_auth.py index 8a028c837370..9061b6a92171 100644 --- a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_auth.py +++ b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_auth.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_endpoint.py b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_endpoint.py index d0315eadec58..f04daf3a2d37 100644 --- a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_endpoint.py +++ b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_endpoint.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_errors.py b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_errors.py index ee87bfb79c51..ab4c0580f401 100644 --- a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_errors.py +++ b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_errors.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_excluded_streams.py b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_excluded_streams.py index 0b0a5fc4a938..1de092bcf6bc 100644 --- a/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_excluded_streams.py +++ b/airbyte-integrations/connectors/source-zuora/source_zuora/zuora_excluded_streams.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-integrations/connectors/source-zuora/unit_tests/unit_test.py b/airbyte-integrations/connectors/source-zuora/unit_tests/unit_test.py index fd47175daf70..66d5a6650494 100644 --- a/airbyte-integrations/connectors/source-zuora/unit_tests/unit_test.py +++ b/airbyte-integrations/connectors/source-zuora/unit_tests/unit_test.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/AbstractSchemaValidator.java b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/AbstractSchemaValidator.java index 47aef74eed57..633a60af6e9a 100644 --- a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/AbstractSchemaValidator.java +++ b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/AbstractSchemaValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.validation.json; diff --git a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/ConfigSchemaValidator.java b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/ConfigSchemaValidator.java index 4f8d729b687e..7c99f21865af 100644 --- a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/ConfigSchemaValidator.java +++ b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/ConfigSchemaValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.validation.json; diff --git a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonSchemaValidator.java b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonSchemaValidator.java index 5aad98731a67..90619435bbf7 100644 --- a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonSchemaValidator.java +++ b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonSchemaValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.validation.json; diff --git a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonValidationException.java b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonValidationException.java index a83b6f752e84..3fec26554a1a 100644 --- a/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonValidationException.java +++ b/airbyte-json-validation/src/main/java/io/airbyte/validation/json/JsonValidationException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.validation.json; diff --git a/airbyte-json-validation/src/test/java/io/airbyte/validation/json/JsonSchemaValidatorTest.java b/airbyte-json-validation/src/test/java/io/airbyte/validation/json/JsonSchemaValidatorTest.java index 5b6d3eb7c679..224746c6c542 100644 --- a/airbyte-json-validation/src/test/java/io/airbyte/validation/json/JsonSchemaValidatorTest.java +++ b/airbyte-json-validation/src/test/java/io/airbyte/validation/json/JsonSchemaValidatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.validation.json; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DatadogClientConfiguration.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DatadogClientConfiguration.java index 84be05e3dd09..dd03992853ec 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DatadogClientConfiguration.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DatadogClientConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DogStatsDMetricSingleton.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DogStatsDMetricSingleton.java index 0a86ba03f44d..892d180e985e 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DogStatsDMetricSingleton.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/DogStatsDMetricSingleton.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApp.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApp.java index 5c538bb55e8e..f3f4210b027a 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApp.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApps.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApps.java index cde70fcf671a..0c1aaa9b8969 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApps.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricEmittingApps.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricQueries.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricQueries.java index 784ded4922b7..d83e34356932 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricQueries.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricQueries.java @@ -1,15 +1,15 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; -import static io.airbyte.db.instance.jobs.jooq.Tables.JOBS; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.JOBS; -import io.airbyte.db.instance.configs.jooq.enums.ReleaseStage; -import io.airbyte.db.instance.jobs.jooq.enums.JobStatus; +import io.airbyte.db.instance.configs.jooq.generated.enums.ReleaseStage; +import io.airbyte.db.instance.jobs.jooq.generated.enums.JobStatus; import java.util.ArrayList; import java.util.List; import java.util.UUID; @@ -103,7 +103,7 @@ oldest_job AS ( return duration.get(0).longValue(); } - public static List numberOfActiveConnPerWorkspace(DSLContext ctx) { + public static List numberOfActiveConnPerWorkspace(final DSLContext ctx) { final var countField = "num_conn"; final var query = String.format(""" SELECT workspace_id, count(c.id) as %s @@ -117,7 +117,7 @@ SELECT workspace_id, count(c.id) as %s return ctx.fetch(query).getValues(countField, long.class); } - public static List> overallJobRuntimeForTerminalJobsInLastHour(DSLContext ctx) { + public static List> overallJobRuntimeForTerminalJobsInLastHour(final DSLContext ctx) { final var statusField = "status"; final var timeField = "sec"; final var query = diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricTags.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricTags.java index ab8b05387a1d..026223f1e54d 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricTags.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricTags.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; import io.airbyte.config.FailureReason.FailureOrigin; -import io.airbyte.db.instance.configs.jooq.enums.ReleaseStage; -import io.airbyte.db.instance.jobs.jooq.enums.JobStatus; +import io.airbyte.db.instance.configs.jooq.generated.enums.ReleaseStage; +import io.airbyte.db.instance.jobs.jooq.generated.enums.JobStatus; /** * Keep track of all metric tags. diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricsRegistry.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricsRegistry.java index 3a861e8d0771..1f4d141c5e2b 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricsRegistry.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/MetricsRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/OssMetricsRegistry.java b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/OssMetricsRegistry.java index 157f4546bf2b..0f528b4cef1b 100644 --- a/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/OssMetricsRegistry.java +++ b/airbyte-metrics/lib/src/main/java/io/airbyte/metrics/lib/OssMetricsRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/DogStatsDMetricSingletonTest.java b/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/DogStatsDMetricSingletonTest.java index a7563569f882..1d26a025ef11 100644 --- a/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/DogStatsDMetricSingletonTest.java +++ b/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/DogStatsDMetricSingletonTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; diff --git a/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/MetricsQueriesTest.java b/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/MetricsQueriesTest.java index 46bd59b18595..9c443ed1ee31 100644 --- a/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/MetricsQueriesTest.java +++ b/airbyte-metrics/lib/src/test/java/io/airbyte/metrics/lib/MetricsQueriesTest.java @@ -1,29 +1,30 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.lib; -import static io.airbyte.db.instance.configs.jooq.Keys.ACTOR_CATALOG_FETCH_EVENT__ACTOR_CATALOG_FETCH_EVENT_ACTOR_ID_FKEY; -import static io.airbyte.db.instance.configs.jooq.Keys.ACTOR__ACTOR_WORKSPACE_ID_FKEY; -import static io.airbyte.db.instance.configs.jooq.Keys.CONNECTION__CONNECTION_DESTINATION_ID_FKEY; -import static io.airbyte.db.instance.configs.jooq.Keys.CONNECTION__CONNECTION_SOURCE_ID_FKEY; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_CATALOG_FETCH_EVENT; -import static io.airbyte.db.instance.configs.jooq.Tables.ACTOR_DEFINITION; -import static io.airbyte.db.instance.configs.jooq.Tables.CONNECTION; -import static io.airbyte.db.instance.configs.jooq.Tables.WORKSPACE; -import static io.airbyte.db.instance.jobs.jooq.Tables.JOBS; +import static io.airbyte.db.instance.configs.jooq.generated.Keys.ACTOR_CATALOG_FETCH_EVENT__ACTOR_CATALOG_FETCH_EVENT_ACTOR_ID_FKEY; +import static io.airbyte.db.instance.configs.jooq.generated.Keys.ACTOR__ACTOR_WORKSPACE_ID_FKEY; +import static io.airbyte.db.instance.configs.jooq.generated.Keys.CONNECTION__CONNECTION_DESTINATION_ID_FKEY; +import static io.airbyte.db.instance.configs.jooq.generated.Keys.CONNECTION__CONNECTION_SOURCE_ID_FKEY; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_CATALOG_FETCH_EVENT; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.ACTOR_DEFINITION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.CONNECTION; +import static io.airbyte.db.instance.configs.jooq.generated.Tables.WORKSPACE; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.JOBS; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; -import io.airbyte.db.instance.configs.jooq.enums.ActorType; -import io.airbyte.db.instance.configs.jooq.enums.NamespaceDefinitionType; -import io.airbyte.db.instance.configs.jooq.enums.ReleaseStage; -import io.airbyte.db.instance.configs.jooq.enums.StatusType; -import io.airbyte.db.instance.jobs.jooq.enums.JobStatus; +import io.airbyte.db.init.DatabaseInitializationException; +import io.airbyte.db.instance.configs.jooq.generated.enums.ActorType; +import io.airbyte.db.instance.configs.jooq.generated.enums.NamespaceDefinitionType; +import io.airbyte.db.instance.configs.jooq.generated.enums.ReleaseStage; +import io.airbyte.db.instance.configs.jooq.generated.enums.StatusType; +import io.airbyte.db.instance.jobs.jooq.generated.enums.JobStatus; import io.airbyte.db.instance.test.TestDatabaseProviders; import io.airbyte.test.utils.DatabaseConnectionHelper; import java.io.IOException; @@ -55,7 +56,7 @@ public class MetricsQueriesTest { private static Database configDb; @BeforeAll - static void setUpAll() throws IOException, SQLException { + static void setUpAll() throws IOException, SQLException, DatabaseInitializationException { final PostgreSQLContainer container = new PostgreSQLContainer<>("postgres:13-alpine") .withUsername(USER) .withPassword(PASS); diff --git a/airbyte-metrics/reporter/Dockerfile b/airbyte-metrics/reporter/Dockerfile index f91ad8b5b80d..ad0e60642a60 100644 --- a/airbyte-metrics/reporter/Dockerfile +++ b/airbyte-metrics/reporter/Dockerfile @@ -2,7 +2,7 @@ ARG JDK_VERSION=17.0.1 ARG JDK_IMAGE=openjdk:${JDK_VERSION}-slim FROM ${JDK_IMAGE} AS metrics-reporter -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-metrics-reporter ENV VERSION ${VERSION} diff --git a/airbyte-metrics/reporter/build.gradle b/airbyte-metrics/reporter/build.gradle index 31cfbb425b15..de63466f150f 100644 --- a/airbyte-metrics/reporter/build.gradle +++ b/airbyte-metrics/reporter/build.gradle @@ -3,6 +3,8 @@ plugins { } dependencies { + implementation libs.flyway.core + implementation project(':airbyte-config:models') implementation project(':airbyte-db:jooq') implementation project(':airbyte-db:lib') diff --git a/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ReporterApp.java b/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ReporterApp.java index 4e5f13c335f4..aa39e46ee641 100644 --- a/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ReporterApp.java +++ b/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ReporterApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.reporter; @@ -8,17 +8,20 @@ import io.airbyte.config.Configs; import io.airbyte.config.EnvConfigs; import io.airbyte.db.Database; +import io.airbyte.db.check.DatabaseCheckException; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; +import io.airbyte.db.factory.DatabaseCheckFactory; import io.airbyte.db.factory.DatabaseDriver; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; +import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; import io.airbyte.metrics.lib.DatadogClientConfiguration; import io.airbyte.metrics.lib.DogStatsDMetricSingleton; import io.airbyte.metrics.lib.MetricEmittingApps; -import java.io.IOException; import java.util.concurrent.Executors; import javax.sql.DataSource; import lombok.extern.slf4j.Slf4j; +import org.flywaydb.core.Flyway; import org.jooq.DSLContext; import org.jooq.SQLDialect; @@ -27,7 +30,7 @@ public class ReporterApp { public static Database configDatabase; - public static void main(final String[] args) throws IOException { + public static void main(final String[] args) throws DatabaseCheckException { final Configs configs = new EnvConfigs(); DogStatsDMetricSingleton.initialize(MetricEmittingApps.METRICS_REPORTER, new DatadogClientConfiguration(configs)); @@ -40,11 +43,17 @@ public static void main(final String[] args) throws IOException { try (final DSLContext dslContext = DSLContextFactory.create(dataSource, SQLDialect.POSTGRES)) { + final Flyway flyway = FlywayFactory.create(dataSource, ReporterApp.class.getSimpleName(), + ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); + // Ensure that the database resources are closed on application shutdown CloseableShutdownHook.registerRuntimeShutdownHook(dataSource, dslContext); - configDatabase = new ConfigsDatabaseInstance(dslContext) - .getInitialized(); + // Ensure that the Configuration database is available + DatabaseCheckFactory.createConfigsDatabaseMigrationCheck(dslContext, flyway, configs.getConfigsDatabaseMinimumFlywayMigrationVersion(), + configs.getConfigsDatabaseInitializationTimeoutMs()).check(); + + configDatabase = new Database(dslContext); final var toEmits = ToEmit.values(); final var pollers = Executors.newScheduledThreadPool(toEmits.length); diff --git a/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ToEmit.java b/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ToEmit.java index 5647871cc8a6..a10d940de5d5 100644 --- a/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ToEmit.java +++ b/airbyte-metrics/reporter/src/main/java/io/airbyte/metrics/reporter/ToEmit.java @@ -1,11 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.metrics.reporter; import io.airbyte.commons.lang.Exceptions.Procedure; -import io.airbyte.db.instance.jobs.jooq.enums.JobStatus; +import io.airbyte.db.instance.jobs.jooq.generated.enums.JobStatus; import io.airbyte.metrics.lib.DogStatsDMetricSingleton; import io.airbyte.metrics.lib.MetricQueries; import io.airbyte.metrics.lib.MetricTags; @@ -57,7 +57,7 @@ public enum ToEmit { final public long period; final public TimeUnit timeUnit; - ToEmit(Runnable toEmit) { + ToEmit(final Runnable toEmit) { this(toEmit, 15, TimeUnit.SECONDS); } @@ -68,12 +68,12 @@ public enum ToEmit { * @param metricQuery * @return */ - private static Runnable countMetricEmission(Procedure metricQuery) { + private static Runnable countMetricEmission(final Procedure metricQuery) { return () -> { try { metricQuery.call(); DogStatsDMetricSingleton.count(OssMetricsRegistry.EST_NUM_METRICS_EMITTED_BY_REPORTER, 1); - } catch (Exception e) { + } catch (final Exception e) { log.error("Exception querying database for metric: ", e); } }; diff --git a/airbyte-notification/src/main/java/io/airbyte/notification/CustomerioNotificationClient.java b/airbyte-notification/src/main/java/io/airbyte/notification/CustomerioNotificationClient.java index 8e966d9766a0..2d2559be4526 100644 --- a/airbyte-notification/src/main/java/io/airbyte/notification/CustomerioNotificationClient.java +++ b/airbyte-notification/src/main/java/io/airbyte/notification/CustomerioNotificationClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.notification; diff --git a/airbyte-notification/src/main/java/io/airbyte/notification/NotificationClient.java b/airbyte-notification/src/main/java/io/airbyte/notification/NotificationClient.java index 02b7465dc37d..fb6e8da8a124 100644 --- a/airbyte-notification/src/main/java/io/airbyte/notification/NotificationClient.java +++ b/airbyte-notification/src/main/java/io/airbyte/notification/NotificationClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.notification; diff --git a/airbyte-notification/src/main/java/io/airbyte/notification/SlackNotificationClient.java b/airbyte-notification/src/main/java/io/airbyte/notification/SlackNotificationClient.java index 9a48fda4c2ed..c4cd4e259f2d 100644 --- a/airbyte-notification/src/main/java/io/airbyte/notification/SlackNotificationClient.java +++ b/airbyte-notification/src/main/java/io/airbyte/notification/SlackNotificationClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.notification; diff --git a/airbyte-notification/src/test/java/io/airbyte/notification/CustomerioNotificationClientTest.java b/airbyte-notification/src/test/java/io/airbyte/notification/CustomerioNotificationClientTest.java index f01cee0e7367..b4ecd4aa4d93 100644 --- a/airbyte-notification/src/test/java/io/airbyte/notification/CustomerioNotificationClientTest.java +++ b/airbyte-notification/src/test/java/io/airbyte/notification/CustomerioNotificationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.notification; diff --git a/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java b/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java index 072a53eb48b2..51b0a4a2f445 100644 --- a/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java +++ b/airbyte-notification/src/test/java/io/airbyte/notification/SlackNotificationClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.notification; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuth2Flow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuth2Flow.java index 6a0e28f95389..a97c32e62340 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuth2Flow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuth2Flow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuthFlow.java index 1f454a738df8..df2d8e5a481d 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/BaseOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/MoreOAuthParameters.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/MoreOAuthParameters.java index acab263909ba..c4e4d3edc917 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/MoreOAuthParameters.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/MoreOAuthParameters.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthFlowImplementation.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthFlowImplementation.java index b64f25b934b2..071c111b71ed 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthFlowImplementation.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthFlowImplementation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java index 309aa37d5c9d..21f5f22bb7fb 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/OAuthImplementationFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlow.java index b422b5498662..c46b7405856c 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AsanaOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AsanaOAuthFlow.java index 7cb6c7bbfffa..959d1a753cd7 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AsanaOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/AsanaOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DestinationSnowflakeOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DestinationSnowflakeOAuthFlow.java index cf85dae58d69..038f5885af2e 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DestinationSnowflakeOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DestinationSnowflakeOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DriftOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DriftOAuthFlow.java index cd71fc62c231..7558d2b68c02 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DriftOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/DriftOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/GithubOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/GithubOAuthFlow.java index 0e6b26250f2b..ec9042db5f0d 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/GithubOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/GithubOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HarvestOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HarvestOAuthFlow.java index c4b846621324..6e4d6b6b62d7 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HarvestOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HarvestOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HubspotOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HubspotOAuthFlow.java index 90936bdd09d6..b877199e3909 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HubspotOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/HubspotOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/IntercomOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/IntercomOAuthFlow.java index 30388b232d4a..40173965c393 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/IntercomOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/IntercomOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LeverOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LeverOAuthFlow.java index f108f3d5685f..0b70f3801170 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LeverOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LeverOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlow.java index 48f9baf16980..df8873ab9420 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MailchimpOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MailchimpOAuthFlow.java index 84b87c91efb7..988074475cd3 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MailchimpOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MailchimpOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlow.java index b355d14b92be..6b00b7ecdafb 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlow.java index 929665ac2143..cc4c70ceaaef 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MondayOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MondayOAuthFlow.java index 52aef5eef79f..137560889266 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MondayOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/MondayOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/PipeDriveOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/PipeDriveOAuthFlow.java index b0fd9b5b0e87..570b3f820e05 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/PipeDriveOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/PipeDriveOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/QuickbooksOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/QuickbooksOAuthFlow.java index e8483f3e1cac..31d9a1f45f8e 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/QuickbooksOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/QuickbooksOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/RetentlyOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/RetentlyOAuthFlow.java index a653359f3471..b1b25016b47d 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/RetentlyOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/RetentlyOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SalesforceOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SalesforceOAuthFlow.java index c44413914122..0215bbbd3155 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SalesforceOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SalesforceOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ShopifyOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ShopifyOAuthFlow.java index 1e49cfcba18d..30f7863a755a 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ShopifyOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ShopifyOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SlackOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SlackOAuthFlow.java index 47468b62bbac..5cfcdbf90d20 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SlackOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SlackOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlow.java index 1a632eb1cd79..0d03ac34ba05 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlow.java index a7a295913f7b..871de879497b 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SourceSnowflakeOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SourceSnowflakeOAuthFlow.java index d9c976cf5ea3..81891603ffa4 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SourceSnowflakeOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SourceSnowflakeOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SquareOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SquareOAuthFlow.java index 674efdd4d0f4..bde5ffa2dce1 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SquareOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SquareOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/StravaOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/StravaOAuthFlow.java index 99a3dac3f402..9aabb8c8dcea 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/StravaOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/StravaOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlow.java index 599d52196fb0..692cfba78c74 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlow.java index 96571811529b..1d7b8b83172d 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TrelloOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TrelloOAuthFlow.java index 254f69a8053d..40e891e74c9e 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TrelloOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/TrelloOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskChatOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskChatOAuthFlow.java index 447a82a72eb2..a488cfb70225 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskChatOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskChatOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlow.java index 1527992965df..a443ac57c76f 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSupportOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSupportOAuthFlow.java index 71481301bb3a..301c07d185ad 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSupportOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/ZendeskSupportOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java index 098e35b9e2a2..d9b49964ba8f 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookOAuthFlow.java index 960d9d79f258..97378ebed5c8 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlow.java index 082894b65387..77252fea5922 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlow.java index 48f72b58144a..ddae547e7e1a 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlow.java index da61dc4e9654..c8ea8603428a 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlow.java index 5f094d3acea4..45a9311cabd4 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlow.java index e61de53adee2..357e4a67bbda 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleOAuthFlow.java index 8c9955a11e64..e078c7dfd0be 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlow.java index e4ddc1e1185a..29063d76647d 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlow.java index 587181a6e888..86df8cd23081 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlow.java b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlow.java index ec15c888ea73..6459a8fd1161 100644 --- a/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlow.java +++ b/airbyte-oauth/src/main/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/FacebookOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/FacebookOAuthFlowIntegrationTest.java index 2d41d8a951cc..3919a4e5ba03 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/FacebookOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/FacebookOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/GithubOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/GithubOAuthFlowIntegrationTest.java index 849b2d25f845..fda2dee45a25 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/GithubOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/GithubOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/IntercomOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/IntercomOAuthFlowIntegrationTest.java index f34faf548410..1a4b24d27404 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/IntercomOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/IntercomOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/LinkedinAdsOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/LinkedinAdsOAuthFlowIntegrationTest.java index 25ec200248f1..6c414da16481 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/LinkedinAdsOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/LinkedinAdsOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/PipeDriveOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/PipeDriveOAuthFlowIntegrationTest.java index ea5183cbcef1..eed7d359bf2b 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/PipeDriveOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/PipeDriveOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/QuickbooksOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/QuickbooksOAuthFlowIntegrationTest.java index b397662489ea..f75c3dde1892 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/QuickbooksOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/QuickbooksOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SalesforceOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SalesforceOAuthFlowIntegrationTest.java index eb557406e170..2df2518ace42 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SalesforceOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SalesforceOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SlackOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SlackOAuthFlowIntegrationTest.java index 15dcf444c0a6..1f2888339215 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SlackOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SlackOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SnapchatMarketingOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SnapchatMarketingOAuthFlowIntegrationTest.java index 478aea0dd349..417a58971939 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SnapchatMarketingOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SnapchatMarketingOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SquareOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SquareOAuthFlowIntegrationTest.java index 18c385aa9a8b..36bf0ad12742 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SquareOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SquareOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SurveymonkeyOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SurveymonkeyOAuthFlowIntegrationTest.java index a70e8b8d0b98..ed25048eb9f0 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SurveymonkeyOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/SurveymonkeyOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/TrelloOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/TrelloOAuthFlowIntegrationTest.java index 08922439a43a..3d2a43ff037e 100644 --- a/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/TrelloOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io.airbyte.oauth.flows/TrelloOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/HubspotOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/HubspotOAuthFlowIntegrationTest.java index ddc3abb65c4f..952c1552ccab 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/HubspotOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/HubspotOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/OAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/OAuthFlowIntegrationTest.java index d83b7ee42fdf..19071d07def3 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/OAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/OAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowIntegrationTest.java index 0709e15643f4..8e530ddda4bf 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowIntegrationTest.java index bc22de9572fa..84cf7ff48fc5 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowIntegrationTest.java index 42fd98721b8b..c45208018b2b 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowIntegrationTest.java b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowIntegrationTest.java index 80001023dc6f..7d02b0144b72 100644 --- a/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowIntegrationTest.java +++ b/airbyte-oauth/src/test-integration/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/MoreOAuthParametersTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/MoreOAuthParametersTest.java index 1318f76702dd..125ea735e744 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/MoreOAuthParametersTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/MoreOAuthParametersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlowTest.java index 44d3567d1573..30fcd7ce0058 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AmazonAdsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AsanaOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AsanaOAuthFlowTest.java index c1e571fa8b6b..01d7c062b716 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AsanaOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/AsanaOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/BaseOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/BaseOAuthFlowTest.java index f91c895c68e6..81505d35e5b0 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/BaseOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/BaseOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/DriftOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/DriftOAuthFlowTest.java index 6948b5e334ca..e5e1f3aa2f81 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/DriftOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/DriftOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/GithubOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/GithubOAuthFlowTest.java index 7aa97c9c39da..0dc7fbb390d4 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/GithubOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/GithubOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HarvestOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HarvestOAuthFlowTest.java index 96bf7a75caa9..0814a4473f47 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HarvestOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HarvestOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HubspotOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HubspotOAuthFlowTest.java index 6fbdc9b0858f..e0ff45fbb5d9 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HubspotOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/HubspotOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/IntercomOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/IntercomOAuthFlowTest.java index c9fc2a2454c5..6994d336b072 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/IntercomOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/IntercomOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LeverOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LeverOAuthFlowTest.java index f8268122b111..255e243c70ed 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LeverOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LeverOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlowTest.java index 0958c2dfb01a..61ba93a63b06 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/LinkedinAdsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MailchimpOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MailchimpOAuthFlowTest.java index 138f93bba448..ef7cc155d37f 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MailchimpOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MailchimpOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlowTest.java index 7a81e9790fec..9242e5acc738 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftBingAdsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlowTest.java index 3b4c429e4595..5b04e4b8bcc6 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MicrosoftTeamsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MondayOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MondayOAuthFlowTest.java index f7276084f275..989cae7fdd2c 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MondayOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/MondayOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/PipeDriveOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/PipeDriveOAuthFlowTest.java index 7c8c442daacb..1b7d174c8409 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/PipeDriveOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/PipeDriveOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/QuickbooksOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/QuickbooksOAuthFlowTest.java index f6999ddcc97e..d617920c884f 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/QuickbooksOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/QuickbooksOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/RetentlyOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/RetentlyOAuthFlowTest.java index c47008021835..3216766c28a4 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/RetentlyOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/RetentlyOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SalesforceOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SalesforceOAuthFlowTest.java index f7fd3b2e31c5..88e7f45d4a31 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SalesforceOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SalesforceOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SlackOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SlackOAuthFlowTest.java index fdf391a94bec..9ad0cb3747f1 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SlackOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SlackOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlowTest.java index 30ff2fb7d9ce..085baab49cbb 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SmartsheetsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlowTest.java index 08976b47f174..8365139b5eef 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnapchatMarketingOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnowflakeOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnowflakeOAuthFlowTest.java index e982170807f0..314388cfa328 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnowflakeOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SnowflakeOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SquareOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SquareOAuthFlowTest.java index 54f981a30371..ff6438c60efb 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SquareOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SquareOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/StravaOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/StravaOAuthFlowTest.java index 2ad3014671b5..f557eb2d2958 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/StravaOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/StravaOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlowTest.java index 3a664af13fb3..d87f80563bde 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/SurveymonkeyOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlowTest.java index dbf96e196c12..c2e332c91671 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TikTokMarketingOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TrelloOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TrelloOAuthFlowTest.java index 3582c7ae4062..dda1c316d28d 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TrelloOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/TrelloOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlowTest.java index 4e6867a847fc..f1400be41417 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/ZendeskSunshineOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlowTest.java index 5ebb17c3b973..1356acb7dd69 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookMarketingOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlowTest.java index b458c39a7202..fc7b8e9c3cca 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/FacebookPagesOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlowTest.java index 31cb39bc935f..80189950e18a 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/facebook/InstagramOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.facebook; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlowTest.java index f111f0e8e9e9..c52dafede1a7 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/DestinationGoogleSheetsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowTest.java index 35c7a37bb93f..cf9967ea3829 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAdsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowTest.java index e639604b7fbd..42d5f75411e0 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleAnalyticsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowTest.java index 136f4d993053..74fd60b405df 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSearchConsoleOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowTest.java index 6ad6786b1024..ae88fcfda5aa 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/GoogleSheetsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlowTest.java b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlowTest.java index c12f2ed30f14..5e9969edcf50 100644 --- a/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlowTest.java +++ b/airbyte-oauth/src/test/java/io/airbyte/oauth/flows/google/YouTubeAnalyticsOAuthFlowTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.oauth.flows.google; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/AirbyteProtocolSchema.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/AirbyteProtocolSchema.java index 6eb02a72d10e..8aeefdc199fb 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/AirbyteProtocolSchema.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/AirbyteProtocolSchema.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CatalogHelpers.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CatalogHelpers.java index c7ea7a55d26f..29d540454fd4 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CatalogHelpers.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CatalogHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CommonField.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CommonField.java index 006b2824964d..4c12fa5b986b 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CommonField.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/CommonField.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/Field.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/Field.java index 536c2e70abad..e7f5b7799cf0 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/Field.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/Field.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaPrimitive.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaPrimitive.java index ce17997f2956..3c171cb15c60 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaPrimitive.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaPrimitive.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaType.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaType.java index 9d063088cf5a..1f66c2e931cd 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaType.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/JsonSchemaType.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/TreeNode.java b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/TreeNode.java index cc42535ed002..99ad9cc95194 100644 --- a/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/TreeNode.java +++ b/airbyte-protocol/models/src/main/java/io/airbyte/protocol/models/TreeNode.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/AirbyteProtocolSchemaTest.java b/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/AirbyteProtocolSchemaTest.java index 8e8c06bd5713..5f9529335d50 100644 --- a/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/AirbyteProtocolSchemaTest.java +++ b/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/AirbyteProtocolSchemaTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/CatalogHelpersTest.java b/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/CatalogHelpersTest.java index 01b9dae8642d..43cd93aa8d78 100644 --- a/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/CatalogHelpersTest.java +++ b/airbyte-protocol/models/src/test/java/io/airbyte/protocol/models/CatalogHelpersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.protocol.models; diff --git a/airbyte-queue/src/main/java/io/airbyte/queue/OnDiskQueue.java b/airbyte-queue/src/main/java/io/airbyte/queue/OnDiskQueue.java index be45ed984bc5..1fd65c968829 100644 --- a/airbyte-queue/src/main/java/io/airbyte/queue/OnDiskQueue.java +++ b/airbyte-queue/src/main/java/io/airbyte/queue/OnDiskQueue.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.queue; diff --git a/airbyte-queue/src/test/java/io/airbyte/queue/OnDiskQueueTest.java b/airbyte-queue/src/test/java/io/airbyte/queue/OnDiskQueueTest.java index 98a952417f53..4a9f53550a98 100644 --- a/airbyte-queue/src/test/java/io/airbyte/queue/OnDiskQueueTest.java +++ b/airbyte-queue/src/test/java/io/airbyte/queue/OnDiskQueueTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.queue; diff --git a/airbyte-scheduler/app/Dockerfile b/airbyte-scheduler/app/Dockerfile index f982fc115a16..45064aa4626d 100644 --- a/airbyte-scheduler/app/Dockerfile +++ b/airbyte-scheduler/app/Dockerfile @@ -2,7 +2,7 @@ ARG JDK_VERSION=17.0.1 ARG JDK_IMAGE=openjdk:${JDK_VERSION}-slim FROM ${JDK_IMAGE} AS scheduler -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-scheduler ENV VERSION ${VERSION} diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobCleaner.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobCleaner.java index 43c1263c157b..01d3227097d6 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobCleaner.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobCleaner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobLogs.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobLogs.java index 7b21eb71a574..1e1052d05064 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobLogs.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobLogs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobRetrier.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobRetrier.java index e96d2b1ff1b8..3bccd2078275 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobRetrier.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobRetrier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobScheduler.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobScheduler.java index 581565e4876d..e1c232b9f328 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobScheduler.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobScheduler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobSubmitter.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobSubmitter.java index 8225c567930d..cc8a5afd3e50 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobSubmitter.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/JobSubmitter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/ScheduleJobPredicate.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/ScheduleJobPredicate.java index f4121b483844..b2e9ece2768a 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/ScheduleJobPredicate.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/ScheduleJobPredicate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/SchedulerApp.java b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/SchedulerApp.java index 0e23afdefda0..10da65adc0ab 100644 --- a/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/SchedulerApp.java +++ b/airbyte-scheduler/app/src/main/java/io/airbyte/scheduler/app/SchedulerApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; @@ -9,9 +9,9 @@ import io.airbyte.analytics.TrackingClient; import io.airbyte.analytics.TrackingClientSingleton; import io.airbyte.api.client.AirbyteApiClient; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; -import io.airbyte.api.client.model.HealthCheckRead; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; +import io.airbyte.api.client.model.generated.HealthCheckRead; import io.airbyte.commons.concurrency.GracefulShutdownHandler; import io.airbyte.commons.features.EnvVariableFeatureFlags; import io.airbyte.commons.features.FeatureFlags; @@ -29,8 +29,6 @@ import io.airbyte.db.Database; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; import io.airbyte.metrics.lib.DatadogClientConfiguration; import io.airbyte.metrics.lib.DogStatsDMetricSingleton; import io.airbyte.metrics.lib.MetricEmittingApps; @@ -258,9 +256,8 @@ public static void main(final String[] args) throws IOException, InterruptedExce // This should be converted into check for the migration version. Everything else as per. waitForServer(configs); LOGGER.info("Creating Job DB connection pool..."); - final Database jobDatabase = new JobsDatabaseInstance(jobsDslContext).getInitialized(); - - final Database configDatabase = new ConfigsDatabaseInstance(configsDslContext).getInitialized(); + final Database jobDatabase = new Database(jobsDslContext); + final Database configDatabase = new Database(configsDslContext); final FeatureFlags featureFlags = new EnvVariableFeatureFlags(); final JsonSecretsProcessor jsonSecretsProcessor = JsonSecretsProcessor.builder() .maskSecrets(!featureFlags.exposeSecretsInExport()) diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobCleanerTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobCleanerTest.java index e0bb3eaf4d69..fd56bb251d36 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobCleanerTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobCleanerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobLogsTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobLogsTest.java index 84f3349f444d..c848e222e96e 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobLogsTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobLogsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobRetrierTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobRetrierTest.java index 73ad3c4ccd81..d4b485549580 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobRetrierTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobRetrierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSchedulerTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSchedulerTest.java index 4e71f6cdb315..2ddead58803b 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSchedulerTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSchedulerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSubmitterTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSubmitterTest.java index 6ad7be1d4def..b453ea928c2b 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSubmitterTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/JobSubmitterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/ScheduleJobPredicateTest.java b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/ScheduleJobPredicateTest.java index 26d66ae178d6..078c6a84910d 100644 --- a/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/ScheduleJobPredicateTest.java +++ b/airbyte-scheduler/app/src/test/java/io/airbyte/scheduler/app/ScheduleJobPredicateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.app; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSchedulerJobClient.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSchedulerJobClient.java index 37dc4eb70abd..ade2389f5e10 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSchedulerJobClient.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSchedulerJobClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClient.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClient.java index 3e6fd5207d59..d110b9e507d3 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClient.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/EventRunner.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/EventRunner.java index 95bec9f3f8a9..408888bcc7be 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/EventRunner.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/EventRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SchedulerJobClient.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SchedulerJobClient.java index 09292fd7bb1e..0670dc4e5988 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SchedulerJobClient.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SchedulerJobClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousJobMetadata.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousJobMetadata.java index 8f7d70390919..6bc67b1b1c1d 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousJobMetadata.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousJobMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousResponse.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousResponse.java index d6bf05ede299..515ee8c08569 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousResponse.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousResponse.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousSchedulerClient.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousSchedulerClient.java index 0e6aafe31c18..6759cd044f6a 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousSchedulerClient.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/SynchronousSchedulerClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/TemporalEventRunner.java b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/TemporalEventRunner.java index d9d9b075b008..f7bbbec81c63 100644 --- a/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/TemporalEventRunner.java +++ b/airbyte-scheduler/client/src/main/java/io/airbyte/scheduler/client/TemporalEventRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSchedulerJobClientTest.java b/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSchedulerJobClientTest.java index b5054abac836..eb8390988571 100644 --- a/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSchedulerJobClientTest.java +++ b/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSchedulerJobClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClientTest.java b/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClientTest.java index 1642b7302510..f6b24f5c9db0 100644 --- a/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClientTest.java +++ b/airbyte-scheduler/client/src/test/java/io/airbyte/scheduler/client/DefaultSynchronousSchedulerClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.client; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Attempt.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Attempt.java index 12f132d491c1..ce8aa3170ab7 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Attempt.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Attempt.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptStatus.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptStatus.java index cb56cd9b87d8..3623a7f7251d 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptStatus.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptWithJobInfo.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptWithJobInfo.java index 99c71a1020c0..ce8a7b0c211a 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptWithJobInfo.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/AttemptWithJobInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Job.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Job.java index 1beabc3c371e..cdca9ec9071d 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Job.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/Job.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobStatus.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobStatus.java index 7fbe68d97c26..59934afcf5e1 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobStatus.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobWithStatusAndTimestamp.java b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobWithStatusAndTimestamp.java index 5c82d3c42a84..2dceff16aff1 100644 --- a/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobWithStatusAndTimestamp.java +++ b/airbyte-scheduler/models/src/main/java/io/airbyte/scheduler/models/JobWithStatusAndTimestamp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/AttemptTest.java b/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/AttemptTest.java index f6c79f3a796b..086a9e2ce659 100644 --- a/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/AttemptTest.java +++ b/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/AttemptTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/JobTest.java b/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/JobTest.java index 0a0e5f3e8c70..018aed8bcdf2 100644 --- a/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/JobTest.java +++ b/airbyte-scheduler/models/src/test/java/io/airbyte/scheduler/models/JobTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.models; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobCreator.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobCreator.java index 1c8b63f4a921..c4ba7efb138c 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobCreator.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobCreator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java index f2647647ca40..f3d980892a89 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/DefaultJobPersistence.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; -import static io.airbyte.db.instance.jobs.jooq.Tables.ATTEMPTS; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.ATTEMPTS; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.JsonNodeType; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobCreator.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobCreator.java index 59d5ec749855..4d11673c8897 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobCreator.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobCreator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobNotifier.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobNotifier.java index afeb83f52679..b2896a6fdfd0 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobNotifier.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobNotifier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobPersistence.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobPersistence.java index 010957fb5798..cdd9177be745 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobPersistence.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/JobPersistence.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtils.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtils.java index 0517271b3562..903e0527e5f5 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtils.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/WorkspaceHelper.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/WorkspaceHelper.java index 6c7fc2dc3bd7..99d4dddb8861 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/WorkspaceHelper.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/WorkspaceHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactory.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactory.java index 13b6b5e2310a..7414547d6bc4 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactory.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_factory; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplier.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplier.java index 040e20aed600..2c506c07160e 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplier.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplier.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_factory; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/SyncJobFactory.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/SyncJobFactory.java index fdfd6b948fd7..d7c1547a89b3 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/SyncJobFactory.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_factory/SyncJobFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_factory; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/JobTracker.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/JobTracker.java index 7190047076a0..da3701bc3222 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/JobTracker.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/JobTracker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_tracker; diff --git a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadata.java b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadata.java index 90dace21097c..4c5aeeb00351 100644 --- a/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadata.java +++ b/airbyte-scheduler/persistence/src/main/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_tracker; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobCreatorTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobCreatorTest.java index d9feaed0d9ef..61dd61563ede 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobCreatorTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobCreatorTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobPersistenceTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobPersistenceTest.java index 2a5e7c625378..0842363f8799 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobPersistenceTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/DefaultJobPersistenceTest.java @@ -1,12 +1,12 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; -import static io.airbyte.db.instance.jobs.jooq.Tables.AIRBYTE_METADATA; -import static io.airbyte.db.instance.jobs.jooq.Tables.ATTEMPTS; -import static io.airbyte.db.instance.jobs.jooq.Tables.JOBS; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.AIRBYTE_METADATA; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.ATTEMPTS; +import static io.airbyte.db.instance.jobs.jooq.generated.Tables.JOBS; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; @@ -1492,8 +1492,11 @@ public void testTimestampFiltering() throws IOException { jobPersistence.listJobStatusAndTimestampWithConnection(CONNECTION_ID, Sets.newHashSet(ConfigType.SYNC), timeAfterFirstJob); assertEquals(1, timestampFilteredJobs.size()); assertEquals(JobStatus.SUCCEEDED, timestampFilteredJobs.get(0).getStatus()); - assertTrue(timeAfterFirstJob.getEpochSecond() <= timestampFilteredJobs.get(0).getCreatedAtInSecond()); - assertTrue(timeAfterFirstJob.getEpochSecond() <= timestampFilteredJobs.get(0).getUpdatedAtInSecond()); + // TODO: issues will be fixed in scope of https://github.com/airbytehq/airbyte/issues/13192 + // assertTrue(timeAfterFirstJob.getEpochSecond() <= + // timestampFilteredJobs.get(0).getCreatedAtInSecond()); + // assertTrue(timeAfterFirstJob.getEpochSecond() <= + // timestampFilteredJobs.get(0).getUpdatedAtInSecond()); // Check to see if timestamp filtering is working by only looking up jobs with timestamp after // second job. Expecting no job status output diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/JobNotifierTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/JobNotifierTest.java index f31a19f9c228..a310000fa61f 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/JobNotifierTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/JobNotifierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtilsTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtilsTest.java index e1351fb8560d..a2ab5350f208 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtilsTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/ResourceRequirementsUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/WorkspaceHelperTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/WorkspaceHelperTest.java index b54aaa796dcf..a4d31b9e6a2a 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/WorkspaceHelperTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/WorkspaceHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactoryTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactoryTest.java index 0cce6145107a..7b1ac6e207f4 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactoryTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/DefaultSyncJobFactoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_factory; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplierTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplierTest.java index 9a08190f0c56..a402327b48ec 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplierTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_factory/OAuthConfigSupplierTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_factory; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/JobTrackerTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/JobTrackerTest.java index f1eeb92b0e48..e0cb105e4e98 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/JobTrackerTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/JobTrackerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_tracker; diff --git a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadataTest.java b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadataTest.java index 21b8bd068d42..756593ad313e 100644 --- a/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadataTest.java +++ b/airbyte-scheduler/persistence/src/test/java/io/airbyte/scheduler/persistence/job_tracker/TrackingMetadataTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.scheduler.persistence.job_tracker; diff --git a/airbyte-server/Dockerfile b/airbyte-server/Dockerfile index ca117052c653..d02fa115fd9e 100644 --- a/airbyte-server/Dockerfile +++ b/airbyte-server/Dockerfile @@ -4,7 +4,7 @@ FROM ${JDK_IMAGE} AS server EXPOSE 8000 -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-server ENV VERSION ${VERSION} diff --git a/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpExporter.java b/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpExporter.java index 2f421ebcc7a4..68efca069325 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpExporter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpExporter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpImporter.java b/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpImporter.java index 25658ea510ba..ee2ec3d42099 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpImporter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ConfigDumpImporter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; @@ -9,7 +9,7 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.Streams; import io.airbyte.analytics.TrackingClientSingleton; -import io.airbyte.api.model.UploadRead; +import io.airbyte.api.model.generated.UploadRead; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.io.Archives; import io.airbyte.commons.json.Jsons; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiBinder.java b/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiBinder.java index b0857ea2d0f9..c4ddb4f0149e 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiBinder.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiBinder.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiFactory.java b/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiFactory.java index a2290a9d378c..cd7a854e224f 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiFactory.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ConfigurationApiFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/CorsFilter.java b/airbyte-server/src/main/java/io/airbyte/server/CorsFilter.java index 9e3a6026d16d..871c8115874a 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/CorsFilter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/CorsFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/RequestLogger.java b/airbyte-server/src/main/java/io/airbyte/server/RequestLogger.java index ad893fe05d58..e1c07ecbf4b5 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/RequestLogger.java +++ b/airbyte-server/src/main/java/io/airbyte/server/RequestLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java b/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java index dc2ab226f22c..a5c7b791b65b 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; @@ -28,14 +28,12 @@ import io.airbyte.config.persistence.split_secrets.SecretPersistence; import io.airbyte.config.persistence.split_secrets.SecretsHydrator; import io.airbyte.db.Database; +import io.airbyte.db.check.DatabaseCheckException; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; +import io.airbyte.db.factory.DatabaseCheckFactory; import io.airbyte.db.factory.FlywayFactory; -import io.airbyte.db.instance.DatabaseInstance; -import io.airbyte.db.instance.MinimumFlywayMigrationVersionCheck; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; import io.airbyte.db.instance.jobs.JobsDatabaseMigrator; import io.airbyte.scheduler.client.DefaultSchedulerJobClient; import io.airbyte.scheduler.client.DefaultSynchronousSchedulerClient; @@ -67,7 +65,6 @@ import java.util.UUID; import java.util.stream.Collectors; import javax.sql.DataSource; -import lombok.val; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.ServletHolder; @@ -137,36 +134,29 @@ public void start() throws Exception { } private static void assertDatabasesReady(final Configs configs, - final DatabaseInstance configsDatabaseInstance, - final DataSource configsDataSource, - final DatabaseInstance jobsDatabaseInstance, - final DataSource jobsDataSource) - throws InterruptedException { + final DSLContext configsDslContext, + final Flyway configsFlyway, + final DSLContext jobsDslContext, + final Flyway jobsFlyway) + throws DatabaseCheckException { LOGGER.info("Checking configs database flyway migration version.."); - MinimumFlywayMigrationVersionCheck.assertDatabase(configsDatabaseInstance, MinimumFlywayMigrationVersionCheck.DEFAULT_ASSERT_DATABASE_TIMEOUT_MS); - final Flyway configsFlyway = FlywayFactory.create(configsDataSource, ServerApp.class.getName(), ConfigsDatabaseMigrator.DB_IDENTIFIER, - ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - val configsMigrator = new ConfigsDatabaseMigrator(configsDatabaseInstance.getInitialized(), configsFlyway); - MinimumFlywayMigrationVersionCheck.assertMigrations(configsMigrator, configs.getConfigsDatabaseMinimumFlywayMigrationVersion(), - configs.getConfigsDatabaseInitializationTimeoutMs()); + DatabaseCheckFactory + .createConfigsDatabaseMigrationCheck(configsDslContext, configsFlyway, configs.getConfigsDatabaseMinimumFlywayMigrationVersion(), + configs.getConfigsDatabaseInitializationTimeoutMs()) + .check(); LOGGER.info("Checking jobs database flyway migration version.."); - MinimumFlywayMigrationVersionCheck.assertDatabase(jobsDatabaseInstance, MinimumFlywayMigrationVersionCheck.DEFAULT_ASSERT_DATABASE_TIMEOUT_MS); - final Flyway jobsFlyway = FlywayFactory.create(jobsDataSource, ServerApp.class.getName(), JobsDatabaseMigrator.DB_IDENTIFIER, - JobsDatabaseMigrator.MIGRATION_FILE_LOCATION); - val jobsMigrator = new JobsDatabaseMigrator(jobsDatabaseInstance.getInitialized(), jobsFlyway); - MinimumFlywayMigrationVersionCheck.assertMigrations(jobsMigrator, configs.getJobsDatabaseMinimumFlywayMigrationVersion(), - configs.getJobsDatabaseInitializationTimeoutMs()); - + DatabaseCheckFactory.createJobsDatabaseMigrationCheck(jobsDslContext, jobsFlyway, configs.getJobsDatabaseMinimumFlywayMigrationVersion(), + configs.getJobsDatabaseInitializationTimeoutMs()).check(); } public static ServerRunnable getServer(final ServerFactory apiFactory, final ConfigPersistence seed, final Configs configs, final DSLContext configsDslContext, - final DataSource configsDataSource, + final Flyway configsFlyway, final DSLContext jobsDslContext, - final DataSource jobsDataSource) + final Flyway jobsFlyway) throws Exception { final WorkerConfigs workerConfigs = new WorkerConfigs(configs); @@ -176,34 +166,30 @@ public static ServerRunnable getServer(final ServerFactory apiFactory, LogClientSingleton.getInstance().getServerLogsRoot(configs.getWorkspaceRoot())); LOGGER.info("Checking databases.."); - final DatabaseInstance configsDatabaseInstance = - new ConfigsDatabaseInstance(configsDslContext); - final DatabaseInstance jobsDatabaseInstance = - new JobsDatabaseInstance(jobsDslContext); - assertDatabasesReady(configs, configsDatabaseInstance, configsDataSource, jobsDatabaseInstance, jobsDataSource); + assertDatabasesReady(configs, configsDslContext, configsFlyway, jobsDslContext, jobsFlyway); LOGGER.info("Creating Staged Resource folder..."); ConfigDumpImporter.initStagedResourceFolder(); LOGGER.info("Creating config repository..."); - final Database configDatabase = configsDatabaseInstance.getInitialized(); + final Database configsDatabase = new Database(configsDslContext); final FeatureFlags featureFlags = new EnvVariableFeatureFlags(); final JsonSecretsProcessor jsonSecretsProcessor = JsonSecretsProcessor.builder() .maskSecrets(!featureFlags.exposeSecretsInExport()) .copySecrets(false) .build(); - final ConfigPersistence configPersistence = DatabaseConfigPersistence.createWithValidation(configDatabase, jsonSecretsProcessor); + final ConfigPersistence configPersistence = DatabaseConfigPersistence.createWithValidation(configsDatabase, jsonSecretsProcessor); final SecretsHydrator secretsHydrator = SecretPersistence.getSecretsHydrator(configsDslContext, configs); final Optional secretPersistence = SecretPersistence.getLongLived(configsDslContext, configs); final Optional ephemeralSecretPersistence = SecretPersistence.getEphemeral(configsDslContext, configs); - final ConfigRepository configRepository = new ConfigRepository(configPersistence, configDatabase); + final ConfigRepository configRepository = new ConfigRepository(configPersistence, configsDatabase); final SecretsRepositoryReader secretsRepositoryReader = new SecretsRepositoryReader(configRepository, secretsHydrator); final SecretsRepositoryWriter secretsRepositoryWriter = new SecretsRepositoryWriter(configRepository, secretPersistence, ephemeralSecretPersistence); LOGGER.info("Creating jobs persistence..."); - final Database jobDatabase = jobsDatabaseInstance.getInitialized(); - final JobPersistence jobPersistence = new DefaultJobPersistence(jobDatabase); + final Database jobsDatabase = new Database(jobsDslContext); + final JobPersistence jobPersistence = new DefaultJobPersistence(jobsDatabase); TrackingClientSingleton.initialize( configs.getTrackingStrategy(), @@ -229,11 +215,6 @@ public static ServerRunnable getServer(final ServerFactory apiFactory, final EventRunner eventRunner = new TemporalEventRunner( TemporalClient.production(configs.getTemporalHost(), configs.getWorkspaceRoot(), configs)); - final Flyway configsFlyway = FlywayFactory.create(configsDataSource, DbMigrationHandler.class.getSimpleName(), - ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); - final Flyway jobsFlyway = FlywayFactory.create(jobsDataSource, DbMigrationHandler.class.getSimpleName(), JobsDatabaseMigrator.DB_IDENTIFIER, - JobsDatabaseMigrator.MIGRATION_FILE_LOCATION); - // It is important that the migration to the temporal scheduler is performed before the server // accepts any requests. // This is why this migration is performed here instead of in the bootloader - so that the server @@ -253,8 +234,8 @@ public static ServerRunnable getServer(final ServerFactory apiFactory, secretsRepositoryWriter, jobPersistence, seed, - configDatabase, - jobDatabase, + configsDatabase, + jobsDatabase, trackingClient, configs.getWorkerEnvironment(), configs.getLogConfigs(), @@ -307,8 +288,13 @@ public static void main(final String[] args) throws Exception { // Ensure that the database resources are closed on application shutdown CloseableShutdownHook.registerRuntimeShutdownHook(configsDataSource, jobsDataSource, configsDslContext, jobsDslContext); + final Flyway configsFlyway = FlywayFactory.create(configsDataSource, DbMigrationHandler.class.getSimpleName(), + ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); + final Flyway jobsFlyway = FlywayFactory.create(jobsDataSource, DbMigrationHandler.class.getSimpleName(), JobsDatabaseMigrator.DB_IDENTIFIER, + JobsDatabaseMigrator.MIGRATION_FILE_LOCATION); + getServer(new ServerFactory.Api(), YamlSeedConfigPersistence.getDefault(), - configs, configsDslContext, configsDataSource, jobsDslContext, jobsDataSource).start(); + configs, configsDslContext, configsFlyway, jobsDslContext, jobsFlyway).start(); } } catch (final Throwable e) { LOGGER.error("Server failed", e); diff --git a/airbyte-server/src/main/java/io/airbyte/server/ServerConstants.java b/airbyte-server/src/main/java/io/airbyte/server/ServerConstants.java index 3ab352e4cef0..6c40fc37ba91 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ServerConstants.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ServerConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ServerFactory.java b/airbyte-server/src/main/java/io/airbyte/server/ServerFactory.java index 8433e1c8395f..e8c69fad10a5 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ServerFactory.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ServerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/ServerRunnable.java b/airbyte-server/src/main/java/io/airbyte/server/ServerRunnable.java index e490818ddcbd..108537f33d7c 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ServerRunnable.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ServerRunnable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/main/java/io/airbyte/server/apis/ConfigurationApi.java b/airbyte-server/src/main/java/io/airbyte/server/apis/ConfigurationApi.java index 1c2667d2c8b1..20d9f0126d3c 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/apis/ConfigurationApi.java +++ b/airbyte-server/src/main/java/io/airbyte/server/apis/ConfigurationApi.java @@ -1,101 +1,101 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.apis; import io.airbyte.analytics.TrackingClient; -import io.airbyte.api.model.CheckConnectionRead; -import io.airbyte.api.model.CheckOperationRead; -import io.airbyte.api.model.CompleteDestinationOAuthRequest; -import io.airbyte.api.model.CompleteSourceOauthRequest; -import io.airbyte.api.model.ConnectionCreate; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.ConnectionSearch; -import io.airbyte.api.model.ConnectionState; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.CustomDestinationDefinitionCreate; -import io.airbyte.api.model.CustomDestinationDefinitionUpdate; -import io.airbyte.api.model.CustomSourceDefinitionCreate; -import io.airbyte.api.model.CustomSourceDefinitionUpdate; -import io.airbyte.api.model.DbMigrationExecutionRead; -import io.airbyte.api.model.DbMigrationReadList; -import io.airbyte.api.model.DbMigrationRequestBody; -import io.airbyte.api.model.DestinationCoreConfig; -import io.airbyte.api.model.DestinationCreate; -import io.airbyte.api.model.DestinationDefinitionCreate; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.DestinationDefinitionReadList; -import io.airbyte.api.model.DestinationDefinitionSpecificationRead; -import io.airbyte.api.model.DestinationDefinitionUpdate; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationOauthConsentRequest; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationReadList; -import io.airbyte.api.model.DestinationSearch; -import io.airbyte.api.model.DestinationUpdate; -import io.airbyte.api.model.HealthCheckRead; -import io.airbyte.api.model.ImportRead; -import io.airbyte.api.model.ImportRequestBody; -import io.airbyte.api.model.JobDebugInfoRead; -import io.airbyte.api.model.JobIdRequestBody; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.JobListRequestBody; -import io.airbyte.api.model.JobReadList; -import io.airbyte.api.model.LogsRequestBody; -import io.airbyte.api.model.Notification; -import io.airbyte.api.model.NotificationRead; -import io.airbyte.api.model.OAuthConsentRead; -import io.airbyte.api.model.OperationCreate; -import io.airbyte.api.model.OperationIdRequestBody; -import io.airbyte.api.model.OperationRead; -import io.airbyte.api.model.OperationReadList; -import io.airbyte.api.model.OperationUpdate; -import io.airbyte.api.model.OperatorConfiguration; -import io.airbyte.api.model.PrivateDestinationDefinitionRead; -import io.airbyte.api.model.PrivateDestinationDefinitionReadList; -import io.airbyte.api.model.PrivateSourceDefinitionRead; -import io.airbyte.api.model.PrivateSourceDefinitionReadList; -import io.airbyte.api.model.SetInstancewideDestinationOauthParamsRequestBody; -import io.airbyte.api.model.SetInstancewideSourceOauthParamsRequestBody; -import io.airbyte.api.model.SlugRequestBody; -import io.airbyte.api.model.SourceCoreConfig; -import io.airbyte.api.model.SourceCreate; -import io.airbyte.api.model.SourceDefinitionCreate; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.SourceDefinitionRead; -import io.airbyte.api.model.SourceDefinitionReadList; -import io.airbyte.api.model.SourceDefinitionSpecificationRead; -import io.airbyte.api.model.SourceDefinitionUpdate; -import io.airbyte.api.model.SourceDiscoverSchemaRead; -import io.airbyte.api.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceOauthConsentRequest; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceReadList; -import io.airbyte.api.model.SourceSearch; -import io.airbyte.api.model.SourceUpdate; -import io.airbyte.api.model.UploadRead; -import io.airbyte.api.model.WebBackendConnectionCreate; -import io.airbyte.api.model.WebBackendConnectionRead; -import io.airbyte.api.model.WebBackendConnectionReadList; -import io.airbyte.api.model.WebBackendConnectionRequestBody; -import io.airbyte.api.model.WebBackendConnectionSearch; -import io.airbyte.api.model.WebBackendConnectionUpdate; -import io.airbyte.api.model.WebBackendWorkspaceState; -import io.airbyte.api.model.WebBackendWorkspaceStateResult; -import io.airbyte.api.model.WorkspaceCreate; -import io.airbyte.api.model.WorkspaceGiveFeedback; -import io.airbyte.api.model.WorkspaceIdRequestBody; -import io.airbyte.api.model.WorkspaceRead; -import io.airbyte.api.model.WorkspaceReadList; -import io.airbyte.api.model.WorkspaceUpdate; -import io.airbyte.api.model.WorkspaceUpdateName; +import io.airbyte.api.model.generated.CheckConnectionRead; +import io.airbyte.api.model.generated.CheckOperationRead; +import io.airbyte.api.model.generated.CompleteDestinationOAuthRequest; +import io.airbyte.api.model.generated.CompleteSourceOauthRequest; +import io.airbyte.api.model.generated.ConnectionCreate; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionState; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.CustomDestinationDefinitionCreate; +import io.airbyte.api.model.generated.CustomDestinationDefinitionUpdate; +import io.airbyte.api.model.generated.CustomSourceDefinitionCreate; +import io.airbyte.api.model.generated.CustomSourceDefinitionUpdate; +import io.airbyte.api.model.generated.DbMigrationExecutionRead; +import io.airbyte.api.model.generated.DbMigrationReadList; +import io.airbyte.api.model.generated.DbMigrationRequestBody; +import io.airbyte.api.model.generated.DestinationCoreConfig; +import io.airbyte.api.model.generated.DestinationCreate; +import io.airbyte.api.model.generated.DestinationDefinitionCreate; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.DestinationDefinitionReadList; +import io.airbyte.api.model.generated.DestinationDefinitionSpecificationRead; +import io.airbyte.api.model.generated.DestinationDefinitionUpdate; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationOauthConsentRequest; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationReadList; +import io.airbyte.api.model.generated.DestinationSearch; +import io.airbyte.api.model.generated.DestinationUpdate; +import io.airbyte.api.model.generated.HealthCheckRead; +import io.airbyte.api.model.generated.ImportRead; +import io.airbyte.api.model.generated.ImportRequestBody; +import io.airbyte.api.model.generated.JobDebugInfoRead; +import io.airbyte.api.model.generated.JobIdRequestBody; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.JobListRequestBody; +import io.airbyte.api.model.generated.JobReadList; +import io.airbyte.api.model.generated.LogsRequestBody; +import io.airbyte.api.model.generated.Notification; +import io.airbyte.api.model.generated.NotificationRead; +import io.airbyte.api.model.generated.OAuthConsentRead; +import io.airbyte.api.model.generated.OperationCreate; +import io.airbyte.api.model.generated.OperationIdRequestBody; +import io.airbyte.api.model.generated.OperationRead; +import io.airbyte.api.model.generated.OperationReadList; +import io.airbyte.api.model.generated.OperationUpdate; +import io.airbyte.api.model.generated.OperatorConfiguration; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionRead; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionReadList; +import io.airbyte.api.model.generated.PrivateSourceDefinitionRead; +import io.airbyte.api.model.generated.PrivateSourceDefinitionReadList; +import io.airbyte.api.model.generated.SetInstancewideDestinationOauthParamsRequestBody; +import io.airbyte.api.model.generated.SetInstancewideSourceOauthParamsRequestBody; +import io.airbyte.api.model.generated.SlugRequestBody; +import io.airbyte.api.model.generated.SourceCoreConfig; +import io.airbyte.api.model.generated.SourceCreate; +import io.airbyte.api.model.generated.SourceDefinitionCreate; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.SourceDefinitionRead; +import io.airbyte.api.model.generated.SourceDefinitionReadList; +import io.airbyte.api.model.generated.SourceDefinitionSpecificationRead; +import io.airbyte.api.model.generated.SourceDefinitionUpdate; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceOauthConsentRequest; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceReadList; +import io.airbyte.api.model.generated.SourceSearch; +import io.airbyte.api.model.generated.SourceUpdate; +import io.airbyte.api.model.generated.UploadRead; +import io.airbyte.api.model.generated.WebBackendConnectionCreate; +import io.airbyte.api.model.generated.WebBackendConnectionRead; +import io.airbyte.api.model.generated.WebBackendConnectionReadList; +import io.airbyte.api.model.generated.WebBackendConnectionRequestBody; +import io.airbyte.api.model.generated.WebBackendConnectionSearch; +import io.airbyte.api.model.generated.WebBackendConnectionUpdate; +import io.airbyte.api.model.generated.WebBackendWorkspaceState; +import io.airbyte.api.model.generated.WebBackendWorkspaceStateResult; +import io.airbyte.api.model.generated.WorkspaceCreate; +import io.airbyte.api.model.generated.WorkspaceGiveFeedback; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.WorkspaceRead; +import io.airbyte.api.model.generated.WorkspaceReadList; +import io.airbyte.api.model.generated.WorkspaceUpdate; +import io.airbyte.api.model.generated.WorkspaceUpdateName; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.commons.io.FileTtlManager; import io.airbyte.commons.version.AirbyteVersion; @@ -144,7 +144,7 @@ import org.flywaydb.core.Flyway; @javax.ws.rs.Path("/v1") -public class ConfigurationApi implements io.airbyte.api.V1Api { +public class ConfigurationApi implements io.airbyte.api.generated.V1Api { private final WorkspacesHandler workspacesHandler; private final SourceDefinitionsHandler sourceDefinitionsHandler; diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/ApiPojoConverters.java b/airbyte-server/src/main/java/io/airbyte/server/converters/ApiPojoConverters.java index c982007a5bc3..df76952f16f1 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/ApiPojoConverters.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/ApiPojoConverters.java @@ -1,17 +1,17 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; -import io.airbyte.api.model.ActorDefinitionResourceRequirements; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionSchedule; -import io.airbyte.api.model.ConnectionStatus; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.JobType; -import io.airbyte.api.model.JobTypeResourceLimit; -import io.airbyte.api.model.ResourceRequirements; +import io.airbyte.api.model.generated.ActorDefinitionResourceRequirements; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionSchedule; +import io.airbyte.api.model.generated.ConnectionStatus; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.JobType; +import io.airbyte.api.model.generated.JobTypeResourceLimit; +import io.airbyte.api.model.generated.ResourceRequirements; import io.airbyte.commons.enums.Enums; import io.airbyte.config.JobSyncConfig.NamespaceDefinitionType; import io.airbyte.config.Schedule; @@ -127,7 +127,7 @@ public static ConnectionRead internalToConnectionRead(final StandardSync standar .status(toApiStatus(standardSync.getStatus())) .schedule(apiSchedule) .name(standardSync.getName()) - .namespaceDefinition(Enums.convertTo(standardSync.getNamespaceDefinition(), io.airbyte.api.model.NamespaceDefinitionType.class)) + .namespaceDefinition(Enums.convertTo(standardSync.getNamespaceDefinition(), io.airbyte.api.model.generated.NamespaceDefinitionType.class)) .namespaceFormat(standardSync.getNamespaceFormat()) .prefix(standardSync.getPrefix()) .syncCatalog(CatalogConverter.toApi(standardSync.getCatalog())); diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/ConfigurationUpdate.java b/airbyte-server/src/main/java/io/airbyte/server/converters/ConfigurationUpdate.java index 4995066fe760..18888169e2c5 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/ConfigurationUpdate.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/ConfigurationUpdate.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/JobConverter.java b/airbyte-server/src/main/java/io/airbyte/server/converters/JobConverter.java index d20a0879a2d2..51c329881ea7 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/JobConverter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/JobConverter.java @@ -1,28 +1,28 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; -import io.airbyte.api.model.AttemptFailureOrigin; -import io.airbyte.api.model.AttemptFailureReason; -import io.airbyte.api.model.AttemptFailureSummary; -import io.airbyte.api.model.AttemptFailureType; -import io.airbyte.api.model.AttemptInfoRead; -import io.airbyte.api.model.AttemptRead; -import io.airbyte.api.model.AttemptStats; -import io.airbyte.api.model.AttemptStatus; -import io.airbyte.api.model.AttemptStreamStats; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.JobConfigType; -import io.airbyte.api.model.JobDebugRead; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.JobRead; -import io.airbyte.api.model.JobStatus; -import io.airbyte.api.model.JobWithAttemptsRead; -import io.airbyte.api.model.LogRead; -import io.airbyte.api.model.SourceDefinitionRead; -import io.airbyte.api.model.SynchronousJobRead; +import io.airbyte.api.model.generated.AttemptFailureOrigin; +import io.airbyte.api.model.generated.AttemptFailureReason; +import io.airbyte.api.model.generated.AttemptFailureSummary; +import io.airbyte.api.model.generated.AttemptFailureType; +import io.airbyte.api.model.generated.AttemptInfoRead; +import io.airbyte.api.model.generated.AttemptRead; +import io.airbyte.api.model.generated.AttemptStats; +import io.airbyte.api.model.generated.AttemptStatus; +import io.airbyte.api.model.generated.AttemptStreamStats; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.JobConfigType; +import io.airbyte.api.model.generated.JobDebugRead; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.JobRead; +import io.airbyte.api.model.generated.JobStatus; +import io.airbyte.api.model.generated.JobWithAttemptsRead; +import io.airbyte.api.model.generated.LogRead; +import io.airbyte.api.model.generated.SourceDefinitionRead; +import io.airbyte.api.model.generated.SynchronousJobRead; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.version.AirbyteVersion; import io.airbyte.config.Configs.WorkerEnvironment; @@ -166,6 +166,7 @@ private static AttemptFailureSummary getAttemptFailureSummary(final Attempt atte .failureOrigin(Enums.convertTo(failure.getFailureOrigin(), AttemptFailureOrigin.class)) .failureType(Enums.convertTo(failure.getFailureType(), AttemptFailureType.class)) .externalMessage(failure.getExternalMessage()) + .internalMessage(failure.getInternalMessage()) .stacktrace(failure.getStacktrace()) .timestamp(failure.getTimestamp()) .retryable(failure.getRetryable())) diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/NotificationConverter.java b/airbyte-server/src/main/java/io/airbyte/server/converters/NotificationConverter.java index 17292b10cf17..93c91227d440 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/NotificationConverter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/NotificationConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; @@ -10,11 +10,11 @@ public class NotificationConverter { - public static List toConfigList(final List notifications) { + public static List toConfigList(final List notifications) { return notifications.stream().map(NotificationConverter::toConfig).collect(Collectors.toList()); } - public static io.airbyte.config.Notification toConfig(final io.airbyte.api.model.Notification notification) { + public static io.airbyte.config.Notification toConfig(final io.airbyte.api.model.generated.Notification notification) { return new io.airbyte.config.Notification() .withNotificationType(Enums.convertTo(notification.getNotificationType(), io.airbyte.config.Notification.NotificationType.class)) .withSendOnSuccess(notification.getSendOnSuccess()) @@ -22,25 +22,25 @@ public static io.airbyte.config.Notification toConfig(final io.airbyte.api.model .withSlackConfiguration(toConfig(notification.getSlackConfiguration())); } - private static io.airbyte.config.SlackNotificationConfiguration toConfig(final io.airbyte.api.model.SlackNotificationConfiguration notification) { + private static io.airbyte.config.SlackNotificationConfiguration toConfig(final io.airbyte.api.model.generated.SlackNotificationConfiguration notification) { return new io.airbyte.config.SlackNotificationConfiguration() .withWebhook(notification.getWebhook()); } - public static List toApiList(final List notifications) { + public static List toApiList(final List notifications) { return notifications.stream().map(NotificationConverter::toApi).collect(Collectors.toList()); } - public static io.airbyte.api.model.Notification toApi(final io.airbyte.config.Notification notification) { - return new io.airbyte.api.model.Notification() - .notificationType(Enums.convertTo(notification.getNotificationType(), io.airbyte.api.model.NotificationType.class)) + public static io.airbyte.api.model.generated.Notification toApi(final io.airbyte.config.Notification notification) { + return new io.airbyte.api.model.generated.Notification() + .notificationType(Enums.convertTo(notification.getNotificationType(), io.airbyte.api.model.generated.NotificationType.class)) .sendOnSuccess(notification.getSendOnSuccess()) .sendOnFailure(notification.getSendOnFailure()) .slackConfiguration(toApi(notification.getSlackConfiguration())); } - private static io.airbyte.api.model.SlackNotificationConfiguration toApi(final io.airbyte.config.SlackNotificationConfiguration notification) { - return new io.airbyte.api.model.SlackNotificationConfiguration() + private static io.airbyte.api.model.generated.SlackNotificationConfiguration toApi(final io.airbyte.config.SlackNotificationConfiguration notification) { + return new io.airbyte.api.model.generated.SlackNotificationConfiguration() .webhook(notification.getWebhook()); } diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/OauthModelConverter.java b/airbyte-server/src/main/java/io/airbyte/server/converters/OauthModelConverter.java index 7446391211b7..78c44bcda3d1 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/OauthModelConverter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/OauthModelConverter.java @@ -1,14 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; -import io.airbyte.api.model.AdvancedAuth; -import io.airbyte.api.model.AdvancedAuth.AuthFlowTypeEnum; -import io.airbyte.api.model.AuthSpecification; -import io.airbyte.api.model.OAuth2Specification; -import io.airbyte.api.model.OAuthConfigSpecification; +import io.airbyte.api.model.generated.AdvancedAuth; +import io.airbyte.api.model.generated.AdvancedAuth.AuthFlowTypeEnum; +import io.airbyte.api.model.generated.AuthSpecification; +import io.airbyte.api.model.generated.OAuth2Specification; +import io.airbyte.api.model.generated.OAuthConfigSpecification; import io.airbyte.protocol.models.ConnectorSpecification; import java.util.List; import java.util.Optional; diff --git a/airbyte-server/src/main/java/io/airbyte/server/converters/SpecFetcher.java b/airbyte-server/src/main/java/io/airbyte/server/converters/SpecFetcher.java index f60e75ff17bb..40ea57edc857 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/converters/SpecFetcher.java +++ b/airbyte-server/src/main/java/io/airbyte/server/converters/SpecFetcher.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/ApplicationErrorKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/ApplicationErrorKnownException.java index 2ae3e7a71efa..69f3c86c5858 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/ApplicationErrorKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/ApplicationErrorKnownException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/BadObjectSchemaKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/BadObjectSchemaKnownException.java index 35e2103b7efa..5e880ba3483f 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/BadObjectSchemaKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/BadObjectSchemaKnownException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/ConnectFailureKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/ConnectFailureKnownException.java index d28995bf7b2f..1b3c462d90e4 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/ConnectFailureKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/ConnectFailureKnownException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/IdNotFoundKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/IdNotFoundKnownException.java index 20a39879c0e0..460e48dc1339 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/IdNotFoundKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/IdNotFoundKnownException.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; -import io.airbyte.api.model.NotFoundKnownExceptionInfo; +import io.airbyte.api.model.generated.NotFoundKnownExceptionInfo; import org.apache.logging.log4j.core.util.Throwables; public class IdNotFoundKnownException extends KnownException { diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/InternalServerKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/InternalServerKnownException.java index f44a02e2664c..7900e02f2451 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/InternalServerKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/InternalServerKnownException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidInputExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidInputExceptionMapper.java index 9f4952c70736..44629340c4ac 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidInputExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidInputExceptionMapper.java @@ -1,11 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; -import io.airbyte.api.model.InvalidInputExceptionInfo; -import io.airbyte.api.model.InvalidInputProperty; +import io.airbyte.api.model.generated.InvalidInputExceptionInfo; +import io.airbyte.api.model.generated.InvalidInputProperty; import io.airbyte.commons.json.Jsons; import java.util.ArrayList; import java.util.List; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonExceptionMapper.java index 31d1c6764523..c126f1299325 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonExceptionMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonInputExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonInputExceptionMapper.java index 54ed90419c20..90700f771782 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonInputExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/InvalidJsonInputExceptionMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/KnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/KnownException.java index 5720c114d941..d9b5716a8c6c 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/KnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/KnownException.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; -import io.airbyte.api.model.KnownExceptionInfo; +import io.airbyte.api.model.generated.KnownExceptionInfo; import org.apache.logging.log4j.core.util.Throwables; public abstract class KnownException extends RuntimeException { diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/KnownExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/KnownExceptionMapper.java index dcfbf1654aaa..b849e30d5298 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/KnownExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/KnownExceptionMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/NotFoundExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/NotFoundExceptionMapper.java index cfb92acdaff2..cda326f8856f 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/NotFoundExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/NotFoundExceptionMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/UncaughtExceptionMapper.java b/airbyte-server/src/main/java/io/airbyte/server/errors/UncaughtExceptionMapper.java index 5826a0121610..3aac5522570e 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/UncaughtExceptionMapper.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/UncaughtExceptionMapper.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; -import io.airbyte.api.model.KnownExceptionInfo; +import io.airbyte.api.model.generated.KnownExceptionInfo; import io.airbyte.commons.json.Jsons; import javax.ws.rs.core.Response; import javax.ws.rs.ext.ExceptionMapper; diff --git a/airbyte-server/src/main/java/io/airbyte/server/errors/ValueConflictKnownException.java b/airbyte-server/src/main/java/io/airbyte/server/errors/ValueConflictKnownException.java index 915f3a5433a8..b84ed0da6472 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/errors/ValueConflictKnownException.java +++ b/airbyte-server/src/main/java/io/airbyte/server/errors/ValueConflictKnownException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.errors; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/ArchiveHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/ArchiveHandler.java index b44ffb521da5..c00f37ced23e 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/ArchiveHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/ArchiveHandler.java @@ -1,14 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; -import io.airbyte.api.model.ImportRead; -import io.airbyte.api.model.ImportRead.StatusEnum; -import io.airbyte.api.model.ImportRequestBody; -import io.airbyte.api.model.UploadRead; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.ImportRead; +import io.airbyte.api.model.generated.ImportRead.StatusEnum; +import io.airbyte.api.model.generated.ImportRequestBody; +import io.airbyte.api.model.generated.UploadRead; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.io.FileTtlManager; import io.airbyte.commons.version.AirbyteVersion; import io.airbyte.config.persistence.ConfigNotFoundException; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/ConnectionsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/ConnectionsHandler.java index ea24b2ed26a4..b053cdfa1546 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/ConnectionsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/ConnectionsHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -9,18 +9,18 @@ import com.google.common.collect.ImmutableMap.Builder; import com.google.common.collect.Lists; import io.airbyte.analytics.TrackingClient; -import io.airbyte.api.model.AirbyteCatalog; -import io.airbyte.api.model.ConnectionCreate; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.ConnectionSearch; -import io.airbyte.api.model.ConnectionStatus; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationSearch; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceSearch; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.AirbyteCatalog; +import io.airbyte.api.model.generated.ConnectionCreate; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionStatus; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationSearch; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceSearch; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.commons.json.Jsons; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/DbMigrationHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/DbMigrationHandler.java index b669ea27fea3..54c9cf268a3b 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/DbMigrationHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/DbMigrationHandler.java @@ -1,14 +1,14 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; -import io.airbyte.api.model.DbMigrationExecutionRead; -import io.airbyte.api.model.DbMigrationRead; -import io.airbyte.api.model.DbMigrationReadList; -import io.airbyte.api.model.DbMigrationRequestBody; -import io.airbyte.api.model.DbMigrationState; +import io.airbyte.api.model.generated.DbMigrationExecutionRead; +import io.airbyte.api.model.generated.DbMigrationRead; +import io.airbyte.api.model.generated.DbMigrationReadList; +import io.airbyte.api.model.generated.DbMigrationRequestBody; +import io.airbyte.api.model.generated.DbMigrationState; import io.airbyte.db.Database; import io.airbyte.db.instance.DatabaseMigrator; import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationDefinitionsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationDefinitionsHandler.java index eaf414915def..e8c58c0a55b8 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationDefinitionsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationDefinitionsHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -7,19 +7,19 @@ import static io.airbyte.server.ServerConstants.DEV_IMAGE_TAG; import com.google.common.annotations.VisibleForTesting; -import io.airbyte.api.model.CustomDestinationDefinitionCreate; -import io.airbyte.api.model.CustomDestinationDefinitionUpdate; -import io.airbyte.api.model.DestinationDefinitionCreate; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.DestinationDefinitionReadList; -import io.airbyte.api.model.DestinationDefinitionUpdate; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.PrivateDestinationDefinitionRead; -import io.airbyte.api.model.PrivateDestinationDefinitionReadList; -import io.airbyte.api.model.ReleaseStage; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.CustomDestinationDefinitionCreate; +import io.airbyte.api.model.generated.CustomDestinationDefinitionUpdate; +import io.airbyte.api.model.generated.DestinationDefinitionCreate; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.DestinationDefinitionReadList; +import io.airbyte.api.model.generated.DestinationDefinitionUpdate; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionRead; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionReadList; +import io.airbyte.api.model.generated.ReleaseStage; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.resources.MoreResources; import io.airbyte.commons.util.MoreLists; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationHandler.java index 54f72e4032ab..3a3f71a094cc 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/DestinationHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -7,15 +7,15 @@ import com.fasterxml.jackson.databind.JsonNode; import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Lists; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.DestinationCreate; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationReadList; -import io.airbyte.api.model.DestinationSearch; -import io.airbyte.api.model.DestinationUpdate; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.DestinationCreate; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationReadList; +import io.airbyte.api.model.generated.DestinationSearch; +import io.airbyte.api.model.generated.DestinationUpdate; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.json.Jsons; import io.airbyte.config.DestinationConnection; import io.airbyte.config.StandardDestinationDefinition; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/HealthCheckHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/HealthCheckHandler.java index 12235da1969d..5ec16023e3ac 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/HealthCheckHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/HealthCheckHandler.java @@ -1,17 +1,17 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; -import io.airbyte.api.model.HealthCheckRead; +import io.airbyte.api.model.generated.HealthCheckRead; import io.airbyte.config.persistence.ConfigRepository; public class HealthCheckHandler { private final ConfigRepository repository; - public HealthCheckHandler(ConfigRepository repository) { + public HealthCheckHandler(final ConfigRepository repository) { this.repository = repository; } diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/JobHistoryHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/JobHistoryHandler.java index 0e5315f1a1c9..ec005f4a35ac 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/JobHistoryHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/JobHistoryHandler.java @@ -1,26 +1,26 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; import com.google.common.base.Preconditions; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.JobDebugInfoRead; -import io.airbyte.api.model.JobDebugRead; -import io.airbyte.api.model.JobIdRequestBody; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.JobListRequestBody; -import io.airbyte.api.model.JobReadList; -import io.airbyte.api.model.JobWithAttemptsRead; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceDefinitionRead; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceRead; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.JobDebugInfoRead; +import io.airbyte.api.model.generated.JobDebugRead; +import io.airbyte.api.model.generated.JobIdRequestBody; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.JobListRequestBody; +import io.airbyte.api.model.generated.JobReadList; +import io.airbyte.api.model.generated.JobWithAttemptsRead; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceDefinitionRead; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceRead; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.version.AirbyteVersion; import io.airbyte.config.Configs.WorkerEnvironment; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/LogsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/LogsHandler.java index 5d7a86a2cdd7..1b3f581aec09 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/LogsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/LogsHandler.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; -import io.airbyte.api.model.LogsRequestBody; +import io.airbyte.api.model.generated.LogsRequestBody; import io.airbyte.config.Configs.WorkerEnvironment; import io.airbyte.config.helpers.LogClientSingleton; import io.airbyte.config.helpers.LogConfigs; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/OAuthHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/OAuthHandler.java index 3c9837111128..c4a5785362a5 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/OAuthHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/OAuthHandler.java @@ -1,18 +1,18 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; import com.google.common.collect.ImmutableMap; import io.airbyte.analytics.TrackingClient; -import io.airbyte.api.model.CompleteDestinationOAuthRequest; -import io.airbyte.api.model.CompleteSourceOauthRequest; -import io.airbyte.api.model.DestinationOauthConsentRequest; -import io.airbyte.api.model.OAuthConsentRead; -import io.airbyte.api.model.SetInstancewideDestinationOauthParamsRequestBody; -import io.airbyte.api.model.SetInstancewideSourceOauthParamsRequestBody; -import io.airbyte.api.model.SourceOauthConsentRequest; +import io.airbyte.api.model.generated.CompleteDestinationOAuthRequest; +import io.airbyte.api.model.generated.CompleteSourceOauthRequest; +import io.airbyte.api.model.generated.DestinationOauthConsentRequest; +import io.airbyte.api.model.generated.OAuthConsentRead; +import io.airbyte.api.model.generated.SetInstancewideDestinationOauthParamsRequestBody; +import io.airbyte.api.model.generated.SetInstancewideSourceOauthParamsRequestBody; +import io.airbyte.api.model.generated.SourceOauthConsentRequest; import io.airbyte.commons.json.Jsons; import io.airbyte.config.DestinationOAuthParameter; import io.airbyte.config.SourceOAuthParameter; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/OpenApiConfigHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/OpenApiConfigHandler.java index e825e79ff57e..a1f572f0c6e7 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/OpenApiConfigHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/OpenApiConfigHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/OperationsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/OperationsHandler.java index 092ba53d0463..3ea292642276 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/OperationsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/OperationsHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -7,16 +7,16 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.google.common.collect.Lists; -import io.airbyte.api.model.CheckOperationRead; -import io.airbyte.api.model.CheckOperationRead.StatusEnum; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.OperationCreate; -import io.airbyte.api.model.OperationIdRequestBody; -import io.airbyte.api.model.OperationRead; -import io.airbyte.api.model.OperationReadList; -import io.airbyte.api.model.OperationUpdate; -import io.airbyte.api.model.OperatorConfiguration; -import io.airbyte.api.model.OperatorNormalization.OptionEnum; +import io.airbyte.api.model.generated.CheckOperationRead; +import io.airbyte.api.model.generated.CheckOperationRead.StatusEnum; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.OperationCreate; +import io.airbyte.api.model.generated.OperationIdRequestBody; +import io.airbyte.api.model.generated.OperationRead; +import io.airbyte.api.model.generated.OperationReadList; +import io.airbyte.api.model.generated.OperationUpdate; +import io.airbyte.api.model.generated.OperatorConfiguration; +import io.airbyte.api.model.generated.OperatorNormalization.OptionEnum; import io.airbyte.commons.enums.Enums; import io.airbyte.config.ConfigSchema; import io.airbyte.config.OperatorDbt; @@ -74,12 +74,12 @@ private static StandardSyncOperation toStandardSyncOperation(final OperationCrea .withName(operationCreate.getName()) .withOperatorType(Enums.convertTo(operationCreate.getOperatorConfiguration().getOperatorType(), OperatorType.class)) .withTombstone(false); - if (operationCreate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.OperatorType.NORMALIZATION) { + if (operationCreate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.generated.OperatorType.NORMALIZATION) { Preconditions.checkArgument(operationCreate.getOperatorConfiguration().getNormalization() != null); standardSyncOperation.withOperatorNormalization(new OperatorNormalization() .withOption(Enums.convertTo(operationCreate.getOperatorConfiguration().getNormalization().getOption(), Option.class))); } - if (operationCreate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.OperatorType.DBT) { + if (operationCreate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.generated.OperatorType.DBT) { Preconditions.checkArgument(operationCreate.getOperatorConfiguration().getDbt() != null); standardSyncOperation.withOperatorDbt(new OperatorDbt() .withGitRepoUrl(operationCreate.getOperatorConfiguration().getDbt().getGitRepoUrl()) @@ -91,10 +91,10 @@ private static StandardSyncOperation toStandardSyncOperation(final OperationCrea } private void validateOperation(final OperatorConfiguration operatorConfiguration) { - if (operatorConfiguration.getOperatorType() == io.airbyte.api.model.OperatorType.NORMALIZATION) { + if (operatorConfiguration.getOperatorType() == io.airbyte.api.model.generated.OperatorType.NORMALIZATION) { Preconditions.checkArgument(operatorConfiguration.getNormalization() != null); } - if (operatorConfiguration.getOperatorType() == io.airbyte.api.model.OperatorType.DBT) { + if (operatorConfiguration.getOperatorType() == io.airbyte.api.model.generated.OperatorType.DBT) { Preconditions.checkArgument(operatorConfiguration.getDbt() != null); } } @@ -115,14 +115,14 @@ public static StandardSyncOperation updateOperation(final OperationUpdate operat standardSyncOperation .withName(operationUpdate.getName()) .withOperatorType(Enums.convertTo(operationUpdate.getOperatorConfiguration().getOperatorType(), OperatorType.class)); - if (operationUpdate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.OperatorType.NORMALIZATION) { + if (operationUpdate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.generated.OperatorType.NORMALIZATION) { Preconditions.checkArgument(operationUpdate.getOperatorConfiguration().getNormalization() != null); standardSyncOperation.withOperatorNormalization(new OperatorNormalization() .withOption(Enums.convertTo(operationUpdate.getOperatorConfiguration().getNormalization().getOption(), Option.class))); } else { standardSyncOperation.withOperatorNormalization(null); } - if (operationUpdate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.OperatorType.DBT) { + if (operationUpdate.getOperatorConfiguration().getOperatorType() == io.airbyte.api.model.generated.OperatorType.DBT) { Preconditions.checkArgument(operationUpdate.getOperatorConfiguration().getDbt() != null); standardSyncOperation.withOperatorDbt(new OperatorDbt() .withGitRepoUrl(operationUpdate.getOperatorConfiguration().getDbt().getGitRepoUrl()) @@ -215,15 +215,15 @@ private OperationRead buildOperationRead(final UUID operationId) private static OperationRead buildOperationRead(final StandardSyncOperation standardSyncOperation) { final OperatorConfiguration operatorConfiguration = new OperatorConfiguration() - .operatorType(Enums.convertTo(standardSyncOperation.getOperatorType(), io.airbyte.api.model.OperatorType.class)); + .operatorType(Enums.convertTo(standardSyncOperation.getOperatorType(), io.airbyte.api.model.generated.OperatorType.class)); if (standardSyncOperation.getOperatorType() == OperatorType.NORMALIZATION) { Preconditions.checkArgument(standardSyncOperation.getOperatorNormalization() != null); - operatorConfiguration.normalization(new io.airbyte.api.model.OperatorNormalization() + operatorConfiguration.normalization(new io.airbyte.api.model.generated.OperatorNormalization() .option(Enums.convertTo(standardSyncOperation.getOperatorNormalization().getOption(), OptionEnum.class))); } if (standardSyncOperation.getOperatorType() == OperatorType.DBT) { Preconditions.checkArgument(standardSyncOperation.getOperatorDbt() != null); - operatorConfiguration.dbt(new io.airbyte.api.model.OperatorDbt() + operatorConfiguration.dbt(new io.airbyte.api.model.generated.OperatorDbt() .gitRepoUrl(standardSyncOperation.getOperatorDbt().getGitRepoUrl()) .gitRepoBranch(standardSyncOperation.getOperatorDbt().getGitRepoBranch()) .dockerImage(standardSyncOperation.getOperatorDbt().getDockerImage()) diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/SchedulerHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/SchedulerHandler.java index 0a5bd696f81d..413f91c0e72b 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/SchedulerHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/SchedulerHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -10,30 +10,30 @@ import com.google.common.collect.Lists; import com.google.common.hash.HashFunction; import com.google.common.hash.Hashing; -import io.airbyte.api.model.AdvancedAuth; -import io.airbyte.api.model.AuthSpecification; -import io.airbyte.api.model.CheckConnectionRead; -import io.airbyte.api.model.CheckConnectionRead.StatusEnum; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionState; -import io.airbyte.api.model.DestinationCoreConfig; -import io.airbyte.api.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.DestinationDefinitionSpecificationRead; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationSyncMode; -import io.airbyte.api.model.DestinationUpdate; -import io.airbyte.api.model.JobConfigType; -import io.airbyte.api.model.JobIdRequestBody; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.LogRead; -import io.airbyte.api.model.SourceCoreConfig; -import io.airbyte.api.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.SourceDefinitionSpecificationRead; -import io.airbyte.api.model.SourceDiscoverSchemaRead; -import io.airbyte.api.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceUpdate; -import io.airbyte.api.model.SynchronousJobRead; +import io.airbyte.api.model.generated.AdvancedAuth; +import io.airbyte.api.model.generated.AuthSpecification; +import io.airbyte.api.model.generated.CheckConnectionRead; +import io.airbyte.api.model.generated.CheckConnectionRead.StatusEnum; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionState; +import io.airbyte.api.model.generated.DestinationCoreConfig; +import io.airbyte.api.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.DestinationDefinitionSpecificationRead; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationSyncMode; +import io.airbyte.api.model.generated.DestinationUpdate; +import io.airbyte.api.model.generated.JobConfigType; +import io.airbyte.api.model.generated.JobIdRequestBody; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.LogRead; +import io.airbyte.api.model.generated.SourceCoreConfig; +import io.airbyte.api.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.SourceDefinitionSpecificationRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceUpdate; +import io.airbyte.api.model.generated.SynchronousJobRead; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.features.FeatureFlags; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceDefinitionsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceDefinitionsHandler.java index 71d0f27520c3..8462d68fd284 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceDefinitionsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceDefinitionsHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -7,19 +7,19 @@ import static io.airbyte.server.ServerConstants.DEV_IMAGE_TAG; import com.google.common.annotations.VisibleForTesting; -import io.airbyte.api.model.CustomSourceDefinitionCreate; -import io.airbyte.api.model.CustomSourceDefinitionUpdate; -import io.airbyte.api.model.PrivateSourceDefinitionRead; -import io.airbyte.api.model.PrivateSourceDefinitionReadList; -import io.airbyte.api.model.ReleaseStage; -import io.airbyte.api.model.SourceDefinitionCreate; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.SourceDefinitionRead; -import io.airbyte.api.model.SourceDefinitionReadList; -import io.airbyte.api.model.SourceDefinitionUpdate; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.CustomSourceDefinitionCreate; +import io.airbyte.api.model.generated.CustomSourceDefinitionUpdate; +import io.airbyte.api.model.generated.PrivateSourceDefinitionRead; +import io.airbyte.api.model.generated.PrivateSourceDefinitionReadList; +import io.airbyte.api.model.generated.ReleaseStage; +import io.airbyte.api.model.generated.SourceDefinitionCreate; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.SourceDefinitionRead; +import io.airbyte.api.model.generated.SourceDefinitionReadList; +import io.airbyte.api.model.generated.SourceDefinitionUpdate; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.resources.MoreResources; import io.airbyte.commons.util.MoreLists; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceHandler.java index b6162f439d3e..8440043b91ba 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/SourceHandler.java @@ -1,20 +1,20 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.Lists; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.SourceCreate; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceReadList; -import io.airbyte.api.model.SourceSearch; -import io.airbyte.api.model.SourceUpdate; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.SourceCreate; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceReadList; +import io.airbyte.api.model.generated.SourceSearch; +import io.airbyte.api.model.generated.SourceUpdate; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.lang.MoreBooleans; import io.airbyte.config.SourceConnection; import io.airbyte.config.StandardSourceDefinition; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/WebBackendConnectionsHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/WebBackendConnectionsHandler.java index 0373d36b6865..d10e18e36fdd 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/WebBackendConnectionsHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/WebBackendConnectionsHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -9,40 +9,40 @@ import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Lists; import com.google.common.collect.Sets; -import io.airbyte.api.model.AirbyteCatalog; -import io.airbyte.api.model.AirbyteStream; -import io.airbyte.api.model.AirbyteStreamAndConfiguration; -import io.airbyte.api.model.AirbyteStreamConfiguration; -import io.airbyte.api.model.ConnectionCreate; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionSearch; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.JobConfigType; -import io.airbyte.api.model.JobListRequestBody; -import io.airbyte.api.model.JobRead; -import io.airbyte.api.model.JobReadList; -import io.airbyte.api.model.JobStatus; -import io.airbyte.api.model.JobWithAttemptsRead; -import io.airbyte.api.model.OperationCreate; -import io.airbyte.api.model.OperationReadList; -import io.airbyte.api.model.OperationUpdate; -import io.airbyte.api.model.SourceDiscoverSchemaRead; -import io.airbyte.api.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.WebBackendConnectionCreate; -import io.airbyte.api.model.WebBackendConnectionRead; -import io.airbyte.api.model.WebBackendConnectionReadList; -import io.airbyte.api.model.WebBackendConnectionRequestBody; -import io.airbyte.api.model.WebBackendConnectionSearch; -import io.airbyte.api.model.WebBackendConnectionUpdate; -import io.airbyte.api.model.WebBackendOperationCreateOrUpdate; -import io.airbyte.api.model.WebBackendWorkspaceState; -import io.airbyte.api.model.WebBackendWorkspaceStateResult; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.AirbyteCatalog; +import io.airbyte.api.model.generated.AirbyteStream; +import io.airbyte.api.model.generated.AirbyteStreamAndConfiguration; +import io.airbyte.api.model.generated.AirbyteStreamConfiguration; +import io.airbyte.api.model.generated.ConnectionCreate; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.JobConfigType; +import io.airbyte.api.model.generated.JobListRequestBody; +import io.airbyte.api.model.generated.JobRead; +import io.airbyte.api.model.generated.JobReadList; +import io.airbyte.api.model.generated.JobStatus; +import io.airbyte.api.model.generated.JobWithAttemptsRead; +import io.airbyte.api.model.generated.OperationCreate; +import io.airbyte.api.model.generated.OperationReadList; +import io.airbyte.api.model.generated.OperationUpdate; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.WebBackendConnectionCreate; +import io.airbyte.api.model.generated.WebBackendConnectionRead; +import io.airbyte.api.model.generated.WebBackendConnectionReadList; +import io.airbyte.api.model.generated.WebBackendConnectionRequestBody; +import io.airbyte.api.model.generated.WebBackendConnectionSearch; +import io.airbyte.api.model.generated.WebBackendConnectionUpdate; +import io.airbyte.api.model.generated.WebBackendOperationCreateOrUpdate; +import io.airbyte.api.model.generated.WebBackendWorkspaceState; +import io.airbyte.api.model.generated.WebBackendWorkspaceStateResult; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.commons.json.Jsons; import io.airbyte.commons.lang.MoreBooleans; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/WorkspacesHandler.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/WorkspacesHandler.java index d54f02856df0..e4ed6a64b0b3 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/WorkspacesHandler.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/WorkspacesHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -7,20 +7,20 @@ import com.github.slugify.Slugify; import com.google.common.base.Strings; import io.airbyte.analytics.TrackingClientSingleton; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.Notification; -import io.airbyte.api.model.NotificationRead; -import io.airbyte.api.model.NotificationRead.StatusEnum; -import io.airbyte.api.model.SlugRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.WorkspaceCreate; -import io.airbyte.api.model.WorkspaceGiveFeedback; -import io.airbyte.api.model.WorkspaceIdRequestBody; -import io.airbyte.api.model.WorkspaceRead; -import io.airbyte.api.model.WorkspaceReadList; -import io.airbyte.api.model.WorkspaceUpdate; -import io.airbyte.api.model.WorkspaceUpdateName; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.Notification; +import io.airbyte.api.model.generated.NotificationRead; +import io.airbyte.api.model.generated.NotificationRead.StatusEnum; +import io.airbyte.api.model.generated.SlugRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.WorkspaceCreate; +import io.airbyte.api.model.generated.WorkspaceGiveFeedback; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.WorkspaceRead; +import io.airbyte.api.model.generated.WorkspaceReadList; +import io.airbyte.api.model.generated.WorkspaceUpdate; +import io.airbyte.api.model.generated.WorkspaceUpdateName; import io.airbyte.config.StandardWorkspace; import io.airbyte.config.persistence.ConfigNotFoundException; import io.airbyte.config.persistence.ConfigRepository; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/CatalogConverter.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/CatalogConverter.java index b090fd3b2791..e4584ed77ab5 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/CatalogConverter.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/CatalogConverter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers.helpers; @@ -10,22 +10,22 @@ import java.util.stream.Collectors; /** - * Convert classes between io.airbyte.protocol.models and io.airbyte.api.model + * Convert classes between io.airbyte.protocol.models and io.airbyte.api.model.generated */ public class CatalogConverter { - private static io.airbyte.api.model.AirbyteStream toApi(final io.airbyte.protocol.models.AirbyteStream stream) { - return new io.airbyte.api.model.AirbyteStream() + private static io.airbyte.api.model.generated.AirbyteStream toApi(final io.airbyte.protocol.models.AirbyteStream stream) { + return new io.airbyte.api.model.generated.AirbyteStream() .name(stream.getName()) .jsonSchema(stream.getJsonSchema()) - .supportedSyncModes(Enums.convertListTo(stream.getSupportedSyncModes(), io.airbyte.api.model.SyncMode.class)) + .supportedSyncModes(Enums.convertListTo(stream.getSupportedSyncModes(), io.airbyte.api.model.generated.SyncMode.class)) .sourceDefinedCursor(stream.getSourceDefinedCursor()) .defaultCursorField(stream.getDefaultCursorField()) .sourceDefinedPrimaryKey(stream.getSourceDefinedPrimaryKey()) .namespace(stream.getNamespace()); } - private static io.airbyte.protocol.models.AirbyteStream toProtocol(final io.airbyte.api.model.AirbyteStream stream) { + private static io.airbyte.protocol.models.AirbyteStream toProtocol(final io.airbyte.api.model.generated.AirbyteStream stream) { return new io.airbyte.protocol.models.AirbyteStream() .withName(stream.getName()) .withJsonSchema(stream.getJsonSchema()) @@ -36,52 +36,54 @@ private static io.airbyte.protocol.models.AirbyteStream toProtocol(final io.airb .withNamespace(stream.getNamespace()); } - public static io.airbyte.api.model.AirbyteCatalog toApi(final io.airbyte.protocol.models.AirbyteCatalog catalog) { - return new io.airbyte.api.model.AirbyteCatalog() + public static io.airbyte.api.model.generated.AirbyteCatalog toApi(final io.airbyte.protocol.models.AirbyteCatalog catalog) { + return new io.airbyte.api.model.generated.AirbyteCatalog() .streams(catalog.getStreams() .stream() .map(CatalogConverter::toApi) - .map(s -> new io.airbyte.api.model.AirbyteStreamAndConfiguration() + .map(s -> new io.airbyte.api.model.generated.AirbyteStreamAndConfiguration() .stream(s) .config(generateDefaultConfiguration(s))) .collect(Collectors.toList())); } - private static io.airbyte.api.model.AirbyteStreamConfiguration generateDefaultConfiguration(final io.airbyte.api.model.AirbyteStream stream) { - final io.airbyte.api.model.AirbyteStreamConfiguration result = new io.airbyte.api.model.AirbyteStreamConfiguration() + private static io.airbyte.api.model.generated.AirbyteStreamConfiguration generateDefaultConfiguration(final io.airbyte.api.model.generated.AirbyteStream stream) { + final io.airbyte.api.model.generated.AirbyteStreamConfiguration result = new io.airbyte.api.model.generated.AirbyteStreamConfiguration() .aliasName(Names.toAlphanumericAndUnderscore(stream.getName())) .cursorField(stream.getDefaultCursorField()) - .destinationSyncMode(io.airbyte.api.model.DestinationSyncMode.APPEND) + .destinationSyncMode(io.airbyte.api.model.generated.DestinationSyncMode.APPEND) .primaryKey(stream.getSourceDefinedPrimaryKey()) .selected(true); if (stream.getSupportedSyncModes().size() > 0) { result.setSyncMode(stream.getSupportedSyncModes().get(0)); } else { - result.setSyncMode(io.airbyte.api.model.SyncMode.INCREMENTAL); + result.setSyncMode(io.airbyte.api.model.generated.SyncMode.INCREMENTAL); } return result; } - public static io.airbyte.api.model.AirbyteCatalog toApi(final io.airbyte.protocol.models.ConfiguredAirbyteCatalog catalog) { - final List streams = catalog.getStreams() + public static io.airbyte.api.model.generated.AirbyteCatalog toApi(final io.airbyte.protocol.models.ConfiguredAirbyteCatalog catalog) { + final List streams = catalog.getStreams() .stream() .map(configuredStream -> { - final io.airbyte.api.model.AirbyteStreamConfiguration configuration = new io.airbyte.api.model.AirbyteStreamConfiguration() - .syncMode(Enums.convertTo(configuredStream.getSyncMode(), io.airbyte.api.model.SyncMode.class)) - .cursorField(configuredStream.getCursorField()) - .destinationSyncMode(Enums.convertTo(configuredStream.getDestinationSyncMode(), io.airbyte.api.model.DestinationSyncMode.class)) - .primaryKey(configuredStream.getPrimaryKey()) - .aliasName(Names.toAlphanumericAndUnderscore(configuredStream.getStream().getName())) - .selected(true); - return new io.airbyte.api.model.AirbyteStreamAndConfiguration() + final io.airbyte.api.model.generated.AirbyteStreamConfiguration configuration = + new io.airbyte.api.model.generated.AirbyteStreamConfiguration() + .syncMode(Enums.convertTo(configuredStream.getSyncMode(), io.airbyte.api.model.generated.SyncMode.class)) + .cursorField(configuredStream.getCursorField()) + .destinationSyncMode( + Enums.convertTo(configuredStream.getDestinationSyncMode(), io.airbyte.api.model.generated.DestinationSyncMode.class)) + .primaryKey(configuredStream.getPrimaryKey()) + .aliasName(Names.toAlphanumericAndUnderscore(configuredStream.getStream().getName())) + .selected(true); + return new io.airbyte.api.model.generated.AirbyteStreamAndConfiguration() .stream(toApi(configuredStream.getStream())) .config(configuration); }) .collect(Collectors.toList()); - return new io.airbyte.api.model.AirbyteCatalog().streams(streams); + return new io.airbyte.api.model.generated.AirbyteCatalog().streams(streams); } - public static io.airbyte.protocol.models.ConfiguredAirbyteCatalog toProtocol(final io.airbyte.api.model.AirbyteCatalog catalog) { + public static io.airbyte.protocol.models.ConfiguredAirbyteCatalog toProtocol(final io.airbyte.api.model.generated.AirbyteCatalog catalog) { final List streams = catalog.getStreams() .stream() .filter(s -> s.getConfig().getSelected()) diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/ConnectionMatcher.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/ConnectionMatcher.java index a3db7573ff69..22c2e7777d8b 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/ConnectionMatcher.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/ConnectionMatcher.java @@ -1,11 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers.helpers; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionSearch; import org.apache.logging.log4j.util.Strings; public class ConnectionMatcher implements Matchable { diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/DestinationMatcher.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/DestinationMatcher.java index c2acb44f00d4..b9c374c31e00 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/DestinationMatcher.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/DestinationMatcher.java @@ -1,13 +1,13 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers.helpers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationSearch; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationSearch; import org.apache.logging.log4j.util.Strings; public class DestinationMatcher implements Matchable { diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/Matchable.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/Matchable.java index d0090e33f6eb..b1de20b95fdc 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/Matchable.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/Matchable.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers.helpers; diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/SourceMatcher.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/SourceMatcher.java index 553a31f92fd8..ee4e35d7d2c7 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/SourceMatcher.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/SourceMatcher.java @@ -1,13 +1,13 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers.helpers; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceSearch; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceSearch; import org.apache.logging.log4j.util.Strings; public class SourceMatcher implements Matchable { diff --git a/airbyte-server/src/main/java/io/airbyte/server/services/AirbyteGithubStore.java b/airbyte-server/src/main/java/io/airbyte/server/services/AirbyteGithubStore.java index ed8eee8d2d8d..92bbf3b698fd 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/services/AirbyteGithubStore.java +++ b/airbyte-server/src/main/java/io/airbyte/server/services/AirbyteGithubStore.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.services; diff --git a/airbyte-server/src/main/java/io/airbyte/server/version_mismatch/VersionMismatchServer.java b/airbyte-server/src/main/java/io/airbyte/server/version_mismatch/VersionMismatchServer.java index 4ff9b680d474..b15bf640424a 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/version_mismatch/VersionMismatchServer.java +++ b/airbyte-server/src/main/java/io/airbyte/server/version_mismatch/VersionMismatchServer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.version_mismatch; diff --git a/airbyte-server/src/test/java/io/airbyte/server/ConfigDumpImporterTest.java b/airbyte-server/src/test/java/io/airbyte/server/ConfigDumpImporterTest.java index 27b4b962865c..c2083d2d1e92 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/ConfigDumpImporterTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/ConfigDumpImporterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/test/java/io/airbyte/server/RequestLoggerTest.java b/airbyte-server/src/test/java/io/airbyte/server/RequestLoggerTest.java index d8a8e7b506b6..b5f33a416eec 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/RequestLoggerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/RequestLoggerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/test/java/io/airbyte/server/ServerAppTest.java b/airbyte-server/src/test/java/io/airbyte/server/ServerAppTest.java index 491d99b60180..c9148786870c 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/ServerAppTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/ServerAppTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server; diff --git a/airbyte-server/src/test/java/io/airbyte/server/apis/ConfigurationApiTest.java b/airbyte-server/src/test/java/io/airbyte/server/apis/ConfigurationApiTest.java index 0688b462d75e..38d8019d5e18 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/apis/ConfigurationApiTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/apis/ConfigurationApiTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.apis; diff --git a/airbyte-server/src/test/java/io/airbyte/server/converters/CatalogConverterTest.java b/airbyte-server/src/test/java/io/airbyte/server/converters/CatalogConverterTest.java index 2c0c1245a2ee..1641a5e7dec3 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/converters/CatalogConverterTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/converters/CatalogConverterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; @@ -27,8 +27,8 @@ void testConvertToAPI() { @Test void testEnumConversion() { - assertTrue(Enums.isCompatible(io.airbyte.api.model.DataType.class, DataType.class)); - assertTrue(Enums.isCompatible(io.airbyte.config.SyncMode.class, io.airbyte.api.model.SyncMode.class)); + assertTrue(Enums.isCompatible(io.airbyte.api.model.generated.DataType.class, DataType.class)); + assertTrue(Enums.isCompatible(io.airbyte.config.SyncMode.class, io.airbyte.api.model.generated.SyncMode.class)); } } diff --git a/airbyte-server/src/test/java/io/airbyte/server/converters/ConfigurationUpdateTest.java b/airbyte-server/src/test/java/io/airbyte/server/converters/ConfigurationUpdateTest.java index a03b62d1e74d..ca40aa4511e0 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/converters/ConfigurationUpdateTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/converters/ConfigurationUpdateTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; diff --git a/airbyte-server/src/test/java/io/airbyte/server/converters/JobConverterTest.java b/airbyte-server/src/test/java/io/airbyte/server/converters/JobConverterTest.java index 63a78708a3ba..1ef32d8f919a 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/converters/JobConverterTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/converters/JobConverterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; @@ -10,22 +10,22 @@ import static org.mockito.Mockito.when; import com.google.common.collect.Lists; -import io.airbyte.api.model.AttemptFailureOrigin; -import io.airbyte.api.model.AttemptFailureReason; -import io.airbyte.api.model.AttemptFailureSummary; -import io.airbyte.api.model.AttemptFailureType; -import io.airbyte.api.model.AttemptInfoRead; -import io.airbyte.api.model.AttemptRead; -import io.airbyte.api.model.AttemptStats; -import io.airbyte.api.model.AttemptStreamStats; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.JobConfigType; -import io.airbyte.api.model.JobDebugRead; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.JobRead; -import io.airbyte.api.model.JobWithAttemptsRead; -import io.airbyte.api.model.LogRead; -import io.airbyte.api.model.SourceDefinitionRead; +import io.airbyte.api.model.generated.AttemptFailureOrigin; +import io.airbyte.api.model.generated.AttemptFailureReason; +import io.airbyte.api.model.generated.AttemptFailureSummary; +import io.airbyte.api.model.generated.AttemptFailureType; +import io.airbyte.api.model.generated.AttemptInfoRead; +import io.airbyte.api.model.generated.AttemptRead; +import io.airbyte.api.model.generated.AttemptStats; +import io.airbyte.api.model.generated.AttemptStreamStats; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.JobConfigType; +import io.airbyte.api.model.generated.JobDebugRead; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.JobRead; +import io.airbyte.api.model.generated.JobWithAttemptsRead; +import io.airbyte.api.model.generated.LogRead; +import io.airbyte.api.model.generated.SourceDefinitionRead; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.version.AirbyteVersion; import io.airbyte.config.Configs.WorkerEnvironment; @@ -103,14 +103,14 @@ class JobConverterTest { .job(new JobRead() .id(JOB_ID) .configId(JOB_CONFIG_ID) - .status(io.airbyte.api.model.JobStatus.RUNNING) + .status(io.airbyte.api.model.generated.JobStatus.RUNNING) .configType(JobConfigType.CHECK_CONNECTION_SOURCE) .createdAt(CREATED_AT) .updatedAt(CREATED_AT)) .attempts(Lists.newArrayList(new AttemptInfoRead() .attempt(new AttemptRead() .id(ATTEMPT_ID) - .status(io.airbyte.api.model.AttemptStatus.RUNNING) + .status(io.airbyte.api.model.generated.AttemptStatus.RUNNING) .recordsSynced(RECORDS_EMITTED) .bytesSynced(BYTES_EMITTED) .totalStats(new AttemptStats() @@ -148,7 +148,7 @@ class JobConverterTest { new JobDebugRead() .id(JOB_ID) .configId(JOB_CONFIG_ID) - .status(io.airbyte.api.model.JobStatus.RUNNING) + .status(io.airbyte.api.model.generated.JobStatus.RUNNING) .configType(JobConfigType.CHECK_CONNECTION_SOURCE) .airbyteVersion(airbyteVersion.serialize()) .sourceDefinition(sourceDefinitionRead) @@ -215,8 +215,8 @@ public void testGetJobRead() { @Test public void testEnumConversion() { assertTrue(Enums.isCompatible(JobConfig.ConfigType.class, JobConfigType.class)); - assertTrue(Enums.isCompatible(JobStatus.class, io.airbyte.api.model.JobStatus.class)); - assertTrue(Enums.isCompatible(AttemptStatus.class, io.airbyte.api.model.AttemptStatus.class)); + assertTrue(Enums.isCompatible(JobStatus.class, io.airbyte.api.model.generated.JobStatus.class)); + assertTrue(Enums.isCompatible(AttemptStatus.class, io.airbyte.api.model.generated.AttemptStatus.class)); } } diff --git a/airbyte-server/src/test/java/io/airbyte/server/converters/OauthModelConverterTest.java b/airbyte-server/src/test/java/io/airbyte/server/converters/OauthModelConverterTest.java index a4b5066013a8..dba588aeca06 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/converters/OauthModelConverterTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/converters/OauthModelConverterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.converters; @@ -53,15 +53,15 @@ public void testIt(final List> initParams, final List> .withOauthFlowOutputParameters(outputParams) .withRootObject(rootObject))); - final io.airbyte.api.model.AuthSpecification expected = new io.airbyte.api.model.AuthSpecification() - .authType(io.airbyte.api.model.AuthSpecification.AuthTypeEnum.OAUTH2_0) + final io.airbyte.api.model.generated.AuthSpecification expected = new io.airbyte.api.model.generated.AuthSpecification() + .authType(io.airbyte.api.model.generated.AuthSpecification.AuthTypeEnum.OAUTH2_0) .oauth2Specification( - new io.airbyte.api.model.OAuth2Specification() + new io.airbyte.api.model.generated.OAuth2Specification() .oauthFlowInitParameters(initParams) .oauthFlowOutputParameters(outputParams) .rootObject(rootObject)); - final Optional authSpec = OauthModelConverter.getAuthSpec(input); + final Optional authSpec = OauthModelConverter.getAuthSpec(input); assertTrue(authSpec.isPresent()); assertEquals(expected, authSpec.get()); } diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/ArchiveHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/ArchiveHandlerTest.java index da927e2f6640..92694dd9ff97 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/ArchiveHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/ArchiveHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -11,11 +11,11 @@ import static org.mockito.Mockito.when; import com.fasterxml.jackson.databind.JsonNode; -import io.airbyte.api.model.ImportRead; -import io.airbyte.api.model.ImportRead.StatusEnum; -import io.airbyte.api.model.ImportRequestBody; -import io.airbyte.api.model.UploadRead; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.ImportRead; +import io.airbyte.api.model.generated.ImportRead.StatusEnum; +import io.airbyte.api.model.generated.ImportRequestBody; +import io.airbyte.api.model.generated.UploadRead; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.io.FileTtlManager; import io.airbyte.commons.json.Jsons; import io.airbyte.commons.string.Strings; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/ConnectionsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/ConnectionsHandlerTest.java index a8db22babdb9..594bd707fe40 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/ConnectionsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/ConnectionsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -15,20 +15,20 @@ import com.google.common.collect.Lists; import io.airbyte.analytics.TrackingClient; -import io.airbyte.api.model.AirbyteCatalog; -import io.airbyte.api.model.ConnectionCreate; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.ConnectionSchedule; -import io.airbyte.api.model.ConnectionSearch; -import io.airbyte.api.model.ConnectionStatus; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.DestinationSearch; -import io.airbyte.api.model.NamespaceDefinitionType; -import io.airbyte.api.model.ResourceRequirements; -import io.airbyte.api.model.SourceSearch; -import io.airbyte.api.model.SyncMode; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.AirbyteCatalog; +import io.airbyte.api.model.generated.ConnectionCreate; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.ConnectionSchedule; +import io.airbyte.api.model.generated.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionStatus; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.DestinationSearch; +import io.airbyte.api.model.generated.NamespaceDefinitionType; +import io.airbyte.api.model.generated.ResourceRequirements; +import io.airbyte.api.model.generated.SourceSearch; +import io.airbyte.api.model.generated.SyncMode; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.commons.json.Jsons; @@ -211,7 +211,7 @@ void testCreateConnection() throws JsonValidationException, ConfigNotFoundExcept .status(ConnectionStatus.ACTIVE) .schedule(ConnectionHelpers.generateBasicConnectionSchedule()) .syncCatalog(catalog) - .resourceRequirements(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(standardSync.getResourceRequirements().getCpuRequest()) .cpuLimit(standardSync.getResourceRequirements().getCpuLimit()) .memoryRequest(standardSync.getResourceRequirements().getMemoryRequest()) @@ -637,7 +637,7 @@ void failOnUnmatchedWorkspacesInCreate() throws JsonValidationException, ConfigN .status(ConnectionStatus.ACTIVE) .schedule(ConnectionHelpers.generateBasicConnectionSchedule()) .syncCatalog(catalog) - .resourceRequirements(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(standardSync.getResourceRequirements().getCpuRequest()) .cpuLimit(standardSync.getResourceRequirements().getCpuLimit()) .memoryRequest(standardSync.getResourceRequirements().getMemoryRequest()) @@ -654,8 +654,8 @@ void testEnumConversion() { assertTrue(Enums.isCompatible(io.airbyte.config.SyncMode.class, SyncMode.class)); assertTrue(Enums.isCompatible(StandardSync.Status.class, ConnectionStatus.class)); assertTrue(Enums.isCompatible(ConnectionSchedule.TimeUnitEnum.class, Schedule.TimeUnit.class)); - assertTrue(Enums.isCompatible(io.airbyte.api.model.DataType.class, DataType.class)); - assertTrue(Enums.isCompatible(DataType.class, io.airbyte.api.model.DataType.class)); + assertTrue(Enums.isCompatible(io.airbyte.api.model.generated.DataType.class, DataType.class)); + assertTrue(Enums.isCompatible(DataType.class, io.airbyte.api.model.generated.DataType.class)); assertTrue(Enums.isCompatible(NamespaceDefinitionType.class, io.airbyte.config.JobSyncConfig.NamespaceDefinitionType.class)); } diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationDefinitionsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationDefinitionsHandlerTest.java index c136ba9b3dd8..46d5290e7402 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationDefinitionsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationDefinitionsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -15,19 +15,19 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; -import io.airbyte.api.model.CustomDestinationDefinitionCreate; -import io.airbyte.api.model.DestinationDefinitionCreate; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.DestinationDefinitionRead; -import io.airbyte.api.model.DestinationDefinitionReadList; -import io.airbyte.api.model.DestinationDefinitionUpdate; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationReadList; -import io.airbyte.api.model.PrivateDestinationDefinitionRead; -import io.airbyte.api.model.PrivateDestinationDefinitionReadList; -import io.airbyte.api.model.ReleaseStage; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.CustomDestinationDefinitionCreate; +import io.airbyte.api.model.generated.DestinationDefinitionCreate; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.DestinationDefinitionRead; +import io.airbyte.api.model.generated.DestinationDefinitionReadList; +import io.airbyte.api.model.generated.DestinationDefinitionUpdate; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationReadList; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionRead; +import io.airbyte.api.model.generated.PrivateDestinationDefinitionReadList; +import io.airbyte.api.model.generated.ReleaseStage; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.json.Jsons; import io.airbyte.config.ActorDefinitionResourceRequirements; @@ -122,8 +122,8 @@ void testListDestinations() throws JsonValidationException, IOException, URISynt .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead expectedDestinationDefinitionRead2 = new DestinationDefinitionRead() @@ -135,8 +135,8 @@ void testListDestinations() throws JsonValidationException, IOException, URISynt .icon(DestinationDefinitionsHandler.loadIcon(destination2.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination2.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionReadList actualDestinationDefinitionReadList = destinationDefinitionsHandler.listDestinationDefinitions(); @@ -163,8 +163,8 @@ void testListDestinationDefinitionsForWorkspace() throws IOException, URISyntaxE .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead expectedDestinationDefinitionRead2 = new DestinationDefinitionRead() @@ -176,8 +176,8 @@ void testListDestinationDefinitionsForWorkspace() throws IOException, URISyntaxE .icon(DestinationDefinitionsHandler.loadIcon(destination2.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination2.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionReadList actualDestinationDefinitionReadList = destinationDefinitionsHandler @@ -207,8 +207,8 @@ void testListPrivateDestinationDefinitions() throws IOException, URISyntaxExcept .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead expectedDestinationDefinitionRead2 = new DestinationDefinitionRead() @@ -220,8 +220,8 @@ void testListPrivateDestinationDefinitions() throws IOException, URISyntaxExcept .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition2.getResourceRequirements().getDefault().getCpuRequest()))); final PrivateDestinationDefinitionRead expectedDestinationDefinitionOptInRead1 = @@ -254,8 +254,8 @@ void testGetDestination() throws JsonValidationException, ConfigNotFoundExceptio .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionIdRequestBody destinationDefinitionIdRequestBody = new DestinationDefinitionIdRequestBody() @@ -298,8 +298,8 @@ void testGetDefinitionWithGrantForWorkspace() throws JsonValidationException, Co .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionIdWithWorkspaceId destinationDefinitionIdWithWorkspaceId = new DestinationDefinitionIdWithWorkspaceId() @@ -329,8 +329,8 @@ void testCreateDestinationDefinition() throws URISyntaxException, IOException, J .dockerImageTag(destination.getDockerImageTag()) .documentationUrl(new URI(destination.getDocumentationUrl())) .icon(destination.getIcon()) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead expectedRead = new DestinationDefinitionRead() @@ -341,8 +341,8 @@ void testCreateDestinationDefinition() throws URISyntaxException, IOException, J .destinationDefinitionId(destination.getDestinationDefinitionId()) .icon(DestinationDefinitionsHandler.loadIcon(destination.getIcon())) .releaseStage(ReleaseStage.CUSTOM) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead actualRead = destinationDefinitionsHandler.createPrivateDestinationDefinition(create); @@ -371,8 +371,8 @@ void testCreateCustomDestinationDefinition() throws URISyntaxException, IOExcept .dockerImageTag(destination.getDockerImageTag()) .documentationUrl(new URI(destination.getDocumentationUrl())) .icon(destination.getIcon()) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination.getResourceRequirements().getDefault().getCpuRequest()))); final CustomDestinationDefinitionCreate customCreate = new CustomDestinationDefinitionCreate() @@ -387,8 +387,8 @@ void testCreateCustomDestinationDefinition() throws URISyntaxException, IOExcept .destinationDefinitionId(destination.getDestinationDefinitionId()) .icon(DestinationDefinitionsHandler.loadIcon(destination.getIcon())) .releaseStage(ReleaseStage.CUSTOM) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destination.getResourceRequirements().getDefault().getCpuRequest()))); final DestinationDefinitionRead actualRead = destinationDefinitionsHandler.createCustomDestinationDefinition(customCreate); @@ -470,8 +470,8 @@ void testGrantDestinationDefinitionToWorkspace() throws JsonValidationException, .icon(DestinationDefinitionsHandler.loadIcon(destinationDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(destinationDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(destinationDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(destinationDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final PrivateDestinationDefinitionRead expectedPrivateDestinationDefinitionRead = diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationHandlerTest.java index 8a66d0389b0b..824b72863191 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/DestinationHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -12,15 +12,15 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.collect.Lists; -import io.airbyte.api.model.DestinationCreate; -import io.airbyte.api.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.model.DestinationDefinitionSpecificationRead; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationReadList; -import io.airbyte.api.model.DestinationSearch; -import io.airbyte.api.model.DestinationUpdate; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.DestinationCreate; +import io.airbyte.api.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.model.generated.DestinationDefinitionSpecificationRead; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationReadList; +import io.airbyte.api.model.generated.DestinationSearch; +import io.airbyte.api.model.generated.DestinationUpdate; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.json.Jsons; import io.airbyte.config.DestinationConnection; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/HealthCheckHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/HealthCheckHandlerTest.java index bfbd11616090..2d83a4bd02c9 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/HealthCheckHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/HealthCheckHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -8,7 +8,7 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import io.airbyte.api.model.HealthCheckRead; +import io.airbyte.api.model.generated.HealthCheckRead; import io.airbyte.config.persistence.ConfigRepository; import org.junit.jupiter.api.Test; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/JobHistoryHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/JobHistoryHandlerTest.java index ba08d917f746..8b439621f02f 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/JobHistoryHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/JobHistoryHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -10,7 +10,7 @@ import static org.mockito.Mockito.when; import com.google.common.collect.ImmutableList; -import io.airbyte.api.model.*; +import io.airbyte.api.model.generated.*; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.version.AirbyteVersion; import io.airbyte.config.*; @@ -75,8 +75,8 @@ public class JobHistoryHandlerTest { private static JobRead toJobInfo(final Job job) { return new JobRead().id(job.getId()) .configId(job.getScope()) - .status(Enums.convertTo(job.getStatus(), io.airbyte.api.model.JobStatus.class)) - .configType(Enums.convertTo(job.getConfigType(), io.airbyte.api.model.JobConfigType.class)) + .status(Enums.convertTo(job.getStatus(), io.airbyte.api.model.generated.JobStatus.class)) + .configType(Enums.convertTo(job.getConfigType(), io.airbyte.api.model.generated.JobConfigType.class)) .createdAt(job.getCreatedAtInSecond()) .updatedAt(job.getUpdatedAtInSecond()); @@ -85,8 +85,8 @@ private static JobRead toJobInfo(final Job job) { private static JobDebugRead toDebugJobInfo(final Job job) { return new JobDebugRead().id(job.getId()) .configId(job.getScope()) - .status(Enums.convertTo(job.getStatus(), io.airbyte.api.model.JobStatus.class)) - .configType(Enums.convertTo(job.getConfigType(), io.airbyte.api.model.JobConfigType.class)) + .status(Enums.convertTo(job.getStatus(), io.airbyte.api.model.generated.JobStatus.class)) + .configType(Enums.convertTo(job.getConfigType(), io.airbyte.api.model.generated.JobConfigType.class)) .sourceDefinition(null) .destinationDefinition(null); @@ -102,7 +102,7 @@ private static List toAttemptInfoList(final List attem private static AttemptRead toAttemptRead(final Attempt a) { return new AttemptRead() .id(a.getId()) - .status(Enums.convertTo(a.getStatus(), io.airbyte.api.model.AttemptStatus.class)) + .status(Enums.convertTo(a.getStatus(), io.airbyte.api.model.generated.AttemptStatus.class)) .createdAt(a.getCreatedAtInSecond()) .updatedAt(a.getUpdatedAtInSecond()) .endedAt(a.getEndedAtInSecond().orElse(null)); diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/LogsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/LogsHandlerTest.java index 06019eabb911..6c95d8591a13 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/LogsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/LogsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -8,8 +8,8 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; -import io.airbyte.api.model.LogType; -import io.airbyte.api.model.LogsRequestBody; +import io.airbyte.api.model.generated.LogType; +import io.airbyte.api.model.generated.LogsRequestBody; import io.airbyte.config.Configs; import io.airbyte.config.Configs.WorkerEnvironment; import io.airbyte.config.helpers.LogClientSingleton; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/OAuthHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/OAuthHandlerTest.java index f2daaad4b335..516c5f06b48b 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/OAuthHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/OAuthHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -9,8 +9,8 @@ import static org.mockito.Mockito.when; import io.airbyte.analytics.TrackingClient; -import io.airbyte.api.model.SetInstancewideDestinationOauthParamsRequestBody; -import io.airbyte.api.model.SetInstancewideSourceOauthParamsRequestBody; +import io.airbyte.api.model.generated.SetInstancewideDestinationOauthParamsRequestBody; +import io.airbyte.api.model.generated.SetInstancewideSourceOauthParamsRequestBody; import io.airbyte.commons.json.Jsons; import io.airbyte.config.DestinationOAuthParameter; import io.airbyte.config.SourceOAuthParameter; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/OpenApiConfigHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/OpenApiConfigHandlerTest.java index d97d0f9e70b3..c0759d9e150b 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/OpenApiConfigHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/OpenApiConfigHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/OperationsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/OperationsHandlerTest.java index 7dd605e176b4..7e8e2cb05adf 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/OperationsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/OperationsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -11,17 +11,17 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.OperationCreate; -import io.airbyte.api.model.OperationIdRequestBody; -import io.airbyte.api.model.OperationRead; -import io.airbyte.api.model.OperationReadList; -import io.airbyte.api.model.OperationUpdate; -import io.airbyte.api.model.OperatorConfiguration; -import io.airbyte.api.model.OperatorDbt; -import io.airbyte.api.model.OperatorNormalization; -import io.airbyte.api.model.OperatorNormalization.OptionEnum; -import io.airbyte.api.model.OperatorType; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.OperationCreate; +import io.airbyte.api.model.generated.OperationIdRequestBody; +import io.airbyte.api.model.generated.OperationRead; +import io.airbyte.api.model.generated.OperationReadList; +import io.airbyte.api.model.generated.OperationUpdate; +import io.airbyte.api.model.generated.OperatorConfiguration; +import io.airbyte.api.model.generated.OperatorDbt; +import io.airbyte.api.model.generated.OperatorNormalization; +import io.airbyte.api.model.generated.OperatorNormalization.OptionEnum; +import io.airbyte.api.model.generated.OperatorType; import io.airbyte.commons.enums.Enums; import io.airbyte.config.OperatorNormalization.Option; import io.airbyte.config.StandardSync; @@ -227,8 +227,9 @@ void testDeleteOperationsForConnection() throws JsonValidationException, IOExcep @Test void testEnumConversion() { - assertTrue(Enums.isCompatible(io.airbyte.api.model.OperatorType.class, io.airbyte.config.StandardSyncOperation.OperatorType.class)); - assertTrue(Enums.isCompatible(io.airbyte.api.model.OperatorNormalization.OptionEnum.class, io.airbyte.config.OperatorNormalization.Option.class)); + assertTrue(Enums.isCompatible(io.airbyte.api.model.generated.OperatorType.class, io.airbyte.config.StandardSyncOperation.OperatorType.class)); + assertTrue(Enums.isCompatible(io.airbyte.api.model.generated.OperatorNormalization.OptionEnum.class, + io.airbyte.config.OperatorNormalization.Option.class)); } } diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/SchedulerHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/SchedulerHandlerTest.java index 433071145b34..81318cede03c 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/SchedulerHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/SchedulerHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -20,22 +20,22 @@ import static org.mockito.Mockito.when; import com.google.common.collect.ImmutableMap; -import io.airbyte.api.model.CheckConnectionRead; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionState; -import io.airbyte.api.model.DestinationCoreConfig; -import io.airbyte.api.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.DestinationDefinitionSpecificationRead; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationUpdate; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.SourceCoreConfig; -import io.airbyte.api.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.SourceDefinitionSpecificationRead; -import io.airbyte.api.model.SourceDiscoverSchemaRead; -import io.airbyte.api.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceUpdate; +import io.airbyte.api.model.generated.CheckConnectionRead; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionState; +import io.airbyte.api.model.generated.DestinationCoreConfig; +import io.airbyte.api.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.DestinationDefinitionSpecificationRead; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationUpdate; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.SourceCoreConfig; +import io.airbyte.api.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.SourceDefinitionSpecificationRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceUpdate; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.features.FeatureFlags; @@ -634,7 +634,7 @@ void testSyncConnection() throws JsonValidationException, IOException, ConfigNot final JobInfoRead jobStatusRead = schedulerHandler.syncConnection(request); - assertEquals(io.airbyte.api.model.JobStatus.SUCCEEDED, jobStatusRead.getJob().getStatus()); + assertEquals(io.airbyte.api.model.generated.JobStatus.SUCCEEDED, jobStatusRead.getJob().getStatus()); verify(configRepository).getStandardSync(standardSync.getConnectionId()); verify(configRepository).getSourceConnection(standardSync.getSourceId()); verify(configRepository).getDestinationConnection(standardSync.getDestinationId()); @@ -682,7 +682,7 @@ void testResetConnection() throws JsonValidationException, IOException, ConfigNo final JobInfoRead jobStatusRead = schedulerHandler.resetConnection(request); - assertEquals(io.airbyte.api.model.JobStatus.SUCCEEDED, jobStatusRead.getJob().getStatus()); + assertEquals(io.airbyte.api.model.generated.JobStatus.SUCCEEDED, jobStatusRead.getJob().getStatus()); verify(configRepository).getStandardSync(standardSync.getConnectionId()); verify(configRepository).getDestinationConnection(standardSync.getDestinationId()); verify(schedulerJobClient).createOrGetActiveResetConnectionJob(destination, standardSync, DESTINATION_DOCKER_IMAGE, operations); @@ -710,7 +710,7 @@ void testGetCurrentStateEmpty() throws IOException { @Test void testEnumConversion() { assertTrue(Enums.isCompatible(StandardCheckConnectionOutput.Status.class, CheckConnectionRead.StatusEnum.class)); - assertTrue(Enums.isCompatible(JobStatus.class, io.airbyte.api.model.JobStatus.class)); + assertTrue(Enums.isCompatible(JobStatus.class, io.airbyte.api.model.generated.JobStatus.class)); } @Test diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceDefinitionsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceDefinitionsHandlerTest.java index 671909291d46..2e52859be616 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceDefinitionsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceDefinitionsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -16,19 +16,19 @@ import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; -import io.airbyte.api.model.CustomSourceDefinitionCreate; -import io.airbyte.api.model.PrivateSourceDefinitionRead; -import io.airbyte.api.model.PrivateSourceDefinitionReadList; -import io.airbyte.api.model.ReleaseStage; -import io.airbyte.api.model.SourceDefinitionCreate; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.model.SourceDefinitionRead; -import io.airbyte.api.model.SourceDefinitionReadList; -import io.airbyte.api.model.SourceDefinitionUpdate; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceReadList; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.CustomSourceDefinitionCreate; +import io.airbyte.api.model.generated.PrivateSourceDefinitionRead; +import io.airbyte.api.model.generated.PrivateSourceDefinitionReadList; +import io.airbyte.api.model.generated.ReleaseStage; +import io.airbyte.api.model.generated.SourceDefinitionCreate; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.model.generated.SourceDefinitionRead; +import io.airbyte.api.model.generated.SourceDefinitionReadList; +import io.airbyte.api.model.generated.SourceDefinitionUpdate; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceReadList; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.json.Jsons; import io.airbyte.config.ActorDefinitionResourceRequirements; @@ -121,8 +121,8 @@ void testListSourceDefinitions() throws JsonValidationException, IOException, UR .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead expectedSourceDefinitionRead2 = new SourceDefinitionRead() @@ -134,8 +134,8 @@ void testListSourceDefinitions() throws JsonValidationException, IOException, UR .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition2.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionReadList actualSourceDefinitionReadList = sourceDefinitionsHandler.listSourceDefinitions(); @@ -162,8 +162,8 @@ void testListSourceDefinitionsForWorkspace() throws IOException, URISyntaxExcept .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead expectedSourceDefinitionRead2 = new SourceDefinitionRead() @@ -175,8 +175,8 @@ void testListSourceDefinitionsForWorkspace() throws IOException, URISyntaxExcept .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition2.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionReadList actualSourceDefinitionReadList = @@ -206,8 +206,8 @@ void testListPrivateSourceDefinitions() throws IOException, URISyntaxException { .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead expectedSourceDefinitionRead2 = new SourceDefinitionRead() @@ -219,8 +219,8 @@ void testListPrivateSourceDefinitions() throws IOException, URISyntaxException { .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition2.getResourceRequirements().getDefault().getCpuRequest()))); final PrivateSourceDefinitionRead expectedSourceDefinitionOptInRead1 = @@ -252,8 +252,8 @@ void testGetSourceDefinition() throws JsonValidationException, ConfigNotFoundExc .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionIdRequestBody sourceDefinitionIdRequestBody = @@ -294,8 +294,8 @@ void testGetDefinitionWithGrantForWorkspace() throws JsonValidationException, Co .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionIdWithWorkspaceId sourceDefinitionIdWithWorkspaceId = new SourceDefinitionIdWithWorkspaceId() @@ -325,8 +325,8 @@ void testCreateSourceDefinition() throws URISyntaxException, IOException, JsonVa .dockerImageTag(sourceDefinition.getDockerImageTag()) .documentationUrl(new URI(sourceDefinition.getDocumentationUrl())) .icon(sourceDefinition.getIcon()) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead expectedRead = new SourceDefinitionRead() @@ -337,8 +337,8 @@ void testCreateSourceDefinition() throws URISyntaxException, IOException, JsonVa .sourceDefinitionId(sourceDefinition.getSourceDefinitionId()) .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.CUSTOM) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead actualRead = sourceDefinitionsHandler.createPrivateSourceDefinition(create); @@ -366,8 +366,8 @@ void testCreateCustomSourceDefinition() throws URISyntaxException, IOException, .dockerImageTag(sourceDefinition.getDockerImageTag()) .documentationUrl(new URI(sourceDefinition.getDocumentationUrl())) .icon(sourceDefinition.getIcon()) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final CustomSourceDefinitionCreate customCreate = new CustomSourceDefinitionCreate() @@ -382,8 +382,8 @@ void testCreateCustomSourceDefinition() throws URISyntaxException, IOException, .sourceDefinitionId(sourceDefinition.getSourceDefinitionId()) .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.CUSTOM) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final SourceDefinitionRead actualRead = sourceDefinitionsHandler.createCustomSourceDefinition(customCreate); @@ -463,8 +463,8 @@ void testGrantSourceDefinitionToWorkspace() throws JsonValidationException, Conf .icon(SourceDefinitionsHandler.loadIcon(sourceDefinition.getIcon())) .releaseStage(ReleaseStage.fromValue(sourceDefinition.getReleaseStage().value())) .releaseDate(LocalDate.parse(sourceDefinition.getReleaseDate())) - .resourceRequirements(new io.airbyte.api.model.ActorDefinitionResourceRequirements() - ._default(new io.airbyte.api.model.ResourceRequirements() + .resourceRequirements(new io.airbyte.api.model.generated.ActorDefinitionResourceRequirements() + ._default(new io.airbyte.api.model.generated.ResourceRequirements() .cpuRequest(sourceDefinition.getResourceRequirements().getDefault().getCpuRequest()))); final PrivateSourceDefinitionRead expectedPrivateSourceDefinitionRead = diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceHandlerTest.java index 428974ea431d..b50670823a8c 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/SourceHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -12,18 +12,18 @@ import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import com.google.common.collect.Lists; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.SourceCreate; -import io.airbyte.api.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.model.SourceDefinitionSpecificationRead; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceReadList; -import io.airbyte.api.model.SourceSearch; -import io.airbyte.api.model.SourceUpdate; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.SourceCreate; +import io.airbyte.api.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.model.generated.SourceDefinitionSpecificationRead; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceReadList; +import io.airbyte.api.model.generated.SourceSearch; +import io.airbyte.api.model.generated.SourceUpdate; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.docker.DockerUtils; import io.airbyte.commons.json.Jsons; import io.airbyte.config.SourceConnection; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/WebBackendConnectionsHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/WebBackendConnectionsHandlerTest.java index 2e2c9a636244..c5e9fc3b1385 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/WebBackendConnectionsHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/WebBackendConnectionsHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -16,49 +16,49 @@ import static org.mockito.Mockito.when; import com.google.common.collect.Lists; -import io.airbyte.api.model.AirbyteCatalog; -import io.airbyte.api.model.AirbyteStreamAndConfiguration; -import io.airbyte.api.model.AttemptRead; -import io.airbyte.api.model.AttemptStatus; -import io.airbyte.api.model.ConnectionCreate; -import io.airbyte.api.model.ConnectionIdRequestBody; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.ConnectionSchedule; -import io.airbyte.api.model.ConnectionSchedule.TimeUnitEnum; -import io.airbyte.api.model.ConnectionSearch; -import io.airbyte.api.model.ConnectionStatus; -import io.airbyte.api.model.ConnectionUpdate; -import io.airbyte.api.model.DestinationIdRequestBody; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationSyncMode; -import io.airbyte.api.model.JobConfigType; -import io.airbyte.api.model.JobInfoRead; -import io.airbyte.api.model.JobListRequestBody; -import io.airbyte.api.model.JobRead; -import io.airbyte.api.model.JobReadList; -import io.airbyte.api.model.JobStatus; -import io.airbyte.api.model.JobWithAttemptsRead; -import io.airbyte.api.model.NamespaceDefinitionType; -import io.airbyte.api.model.OperationRead; -import io.airbyte.api.model.OperationReadList; -import io.airbyte.api.model.OperationUpdate; -import io.airbyte.api.model.ResourceRequirements; -import io.airbyte.api.model.SourceDiscoverSchemaRead; -import io.airbyte.api.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.model.SourceIdRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SyncMode; -import io.airbyte.api.model.SynchronousJobRead; -import io.airbyte.api.model.WebBackendConnectionCreate; -import io.airbyte.api.model.WebBackendConnectionRead; -import io.airbyte.api.model.WebBackendConnectionReadList; -import io.airbyte.api.model.WebBackendConnectionRequestBody; -import io.airbyte.api.model.WebBackendConnectionSearch; -import io.airbyte.api.model.WebBackendConnectionUpdate; -import io.airbyte.api.model.WebBackendOperationCreateOrUpdate; -import io.airbyte.api.model.WebBackendWorkspaceState; -import io.airbyte.api.model.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.AirbyteCatalog; +import io.airbyte.api.model.generated.AirbyteStreamAndConfiguration; +import io.airbyte.api.model.generated.AttemptRead; +import io.airbyte.api.model.generated.AttemptStatus; +import io.airbyte.api.model.generated.ConnectionCreate; +import io.airbyte.api.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.ConnectionSchedule; +import io.airbyte.api.model.generated.ConnectionSchedule.TimeUnitEnum; +import io.airbyte.api.model.generated.ConnectionSearch; +import io.airbyte.api.model.generated.ConnectionStatus; +import io.airbyte.api.model.generated.ConnectionUpdate; +import io.airbyte.api.model.generated.DestinationIdRequestBody; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationSyncMode; +import io.airbyte.api.model.generated.JobConfigType; +import io.airbyte.api.model.generated.JobInfoRead; +import io.airbyte.api.model.generated.JobListRequestBody; +import io.airbyte.api.model.generated.JobRead; +import io.airbyte.api.model.generated.JobReadList; +import io.airbyte.api.model.generated.JobStatus; +import io.airbyte.api.model.generated.JobWithAttemptsRead; +import io.airbyte.api.model.generated.NamespaceDefinitionType; +import io.airbyte.api.model.generated.OperationRead; +import io.airbyte.api.model.generated.OperationReadList; +import io.airbyte.api.model.generated.OperationUpdate; +import io.airbyte.api.model.generated.ResourceRequirements; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRead; +import io.airbyte.api.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.model.generated.SourceIdRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SyncMode; +import io.airbyte.api.model.generated.SynchronousJobRead; +import io.airbyte.api.model.generated.WebBackendConnectionCreate; +import io.airbyte.api.model.generated.WebBackendConnectionRead; +import io.airbyte.api.model.generated.WebBackendConnectionReadList; +import io.airbyte.api.model.generated.WebBackendConnectionRequestBody; +import io.airbyte.api.model.generated.WebBackendConnectionSearch; +import io.airbyte.api.model.generated.WebBackendConnectionUpdate; +import io.airbyte.api.model.generated.WebBackendOperationCreateOrUpdate; +import io.airbyte.api.model.generated.WebBackendWorkspaceState; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; import io.airbyte.commons.enums.Enums; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.config.DestinationConnection; @@ -471,7 +471,7 @@ public void testForConnectionCreateCompleteness() { .collect(Collectors.toSet()); final String message = - "If this test is failing, it means you added a field to ConnectionCreate!\nCongratulations, but you're not done yet...\n" + "If this test is failing, it means you added a field to ConnectionCreate!\nCongratulations, but you're not done yet..\n" + "\tYou should update WebBackendConnectionsHandler::toConnectionCreate\n" + "\tand ensure that the field is tested in WebBackendConnectionsHandlerTest::testToConnectionCreate\n" + "Then you can add the field name here to make this test pass. Cheers!"; @@ -490,7 +490,7 @@ public void testForConnectionUpdateCompleteness() { .collect(Collectors.toSet()); final String message = - "If this test is failing, it means you added a field to ConnectionUpdate!\nCongratulations, but you're not done yet...\n" + "If this test is failing, it means you added a field to ConnectionUpdate!\nCongratulations, but you're not done yet..\n" + "\tYou should update WebBackendConnectionsHandler::toConnectionUpdate\n" + "\tand ensure that the field is tested in WebBackendConnectionsHandlerTest::testToConnectionUpdate\n" + "Then you can add the field name here to make this test pass. Cheers!"; diff --git a/airbyte-server/src/test/java/io/airbyte/server/handlers/WorkspacesHandlerTest.java b/airbyte-server/src/test/java/io/airbyte/server/handlers/WorkspacesHandlerTest.java index e3bb01da0524..018f947ba7f9 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/handlers/WorkspacesHandlerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/handlers/WorkspacesHandlerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.handlers; @@ -15,20 +15,20 @@ import static org.mockito.Mockito.when; import com.google.common.collect.Lists; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionReadList; -import io.airbyte.api.model.DestinationRead; -import io.airbyte.api.model.DestinationReadList; -import io.airbyte.api.model.SlugRequestBody; -import io.airbyte.api.model.SourceRead; -import io.airbyte.api.model.SourceReadList; -import io.airbyte.api.model.WorkspaceCreate; -import io.airbyte.api.model.WorkspaceGiveFeedback; -import io.airbyte.api.model.WorkspaceIdRequestBody; -import io.airbyte.api.model.WorkspaceRead; -import io.airbyte.api.model.WorkspaceReadList; -import io.airbyte.api.model.WorkspaceUpdate; -import io.airbyte.api.model.WorkspaceUpdateName; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionReadList; +import io.airbyte.api.model.generated.DestinationRead; +import io.airbyte.api.model.generated.DestinationReadList; +import io.airbyte.api.model.generated.SlugRequestBody; +import io.airbyte.api.model.generated.SourceRead; +import io.airbyte.api.model.generated.SourceReadList; +import io.airbyte.api.model.generated.WorkspaceCreate; +import io.airbyte.api.model.generated.WorkspaceGiveFeedback; +import io.airbyte.api.model.generated.WorkspaceIdRequestBody; +import io.airbyte.api.model.generated.WorkspaceRead; +import io.airbyte.api.model.generated.WorkspaceReadList; +import io.airbyte.api.model.generated.WorkspaceUpdate; +import io.airbyte.api.model.generated.WorkspaceUpdateName; import io.airbyte.commons.json.Jsons; import io.airbyte.config.Notification; import io.airbyte.config.Notification.NotificationType; @@ -95,10 +95,10 @@ private Notification generateNotification() { .withWebhook(FAILURE_NOTIFICATION_WEBHOOK)); } - private io.airbyte.api.model.Notification generateApiNotification() { - return new io.airbyte.api.model.Notification() - .notificationType(io.airbyte.api.model.NotificationType.SLACK) - .slackConfiguration(new io.airbyte.api.model.SlackNotificationConfiguration() + private io.airbyte.api.model.generated.Notification generateApiNotification() { + return new io.airbyte.api.model.generated.Notification() + .notificationType(io.airbyte.api.model.generated.NotificationType.SLACK) + .slackConfiguration(new io.airbyte.api.model.generated.SlackNotificationConfiguration() .webhook(FAILURE_NOTIFICATION_WEBHOOK)); } @@ -293,7 +293,7 @@ void testGetWorkspaceBySlug() throws JsonValidationException, ConfigNotFoundExce @Test void testUpdateWorkspace() throws JsonValidationException, ConfigNotFoundException, IOException { - final io.airbyte.api.model.Notification apiNotification = generateApiNotification(); + final io.airbyte.api.model.generated.Notification apiNotification = generateApiNotification(); apiNotification.getSlackConfiguration().webhook("updated"); final WorkspaceUpdate workspaceUpdate = new WorkspaceUpdate() .workspaceId(workspace.getWorkspaceId()) @@ -326,7 +326,7 @@ void testUpdateWorkspace() throws JsonValidationException, ConfigNotFoundExcepti final WorkspaceRead actualWorkspaceRead = workspacesHandler.updateWorkspace(workspaceUpdate); - final io.airbyte.api.model.Notification expectedNotificationRead = generateApiNotification(); + final io.airbyte.api.model.generated.Notification expectedNotificationRead = generateApiNotification(); expectedNotificationRead.getSlackConfiguration().webhook("updated"); final WorkspaceRead expectedWorkspaceRead = new WorkspaceRead() .workspaceId(workspace.getWorkspaceId()) diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectionHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectionHelpers.java index 5a2ba7720de0..2612c6ba21c0 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectionHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectionHelpers.java @@ -1,21 +1,21 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; import com.fasterxml.jackson.databind.JsonNode; import com.google.common.collect.Lists; -import io.airbyte.api.model.AirbyteCatalog; -import io.airbyte.api.model.AirbyteStream; -import io.airbyte.api.model.AirbyteStreamAndConfiguration; -import io.airbyte.api.model.AirbyteStreamConfiguration; -import io.airbyte.api.model.ConnectionRead; -import io.airbyte.api.model.ConnectionSchedule; -import io.airbyte.api.model.ConnectionSchedule.TimeUnitEnum; -import io.airbyte.api.model.ConnectionStatus; -import io.airbyte.api.model.ResourceRequirements; -import io.airbyte.api.model.SyncMode; +import io.airbyte.api.model.generated.AirbyteCatalog; +import io.airbyte.api.model.generated.AirbyteStream; +import io.airbyte.api.model.generated.AirbyteStreamAndConfiguration; +import io.airbyte.api.model.generated.AirbyteStreamConfiguration; +import io.airbyte.api.model.generated.ConnectionRead; +import io.airbyte.api.model.generated.ConnectionSchedule; +import io.airbyte.api.model.generated.ConnectionSchedule.TimeUnitEnum; +import io.airbyte.api.model.generated.ConnectionStatus; +import io.airbyte.api.model.generated.ResourceRequirements; +import io.airbyte.api.model.generated.SyncMode; import io.airbyte.commons.text.Names; import io.airbyte.config.JobSyncConfig.NamespaceDefinitionType; import io.airbyte.config.Schedule; @@ -107,7 +107,7 @@ public static ConnectionRead generateExpectedConnectionRead(final UUID connectio .destinationId(destinationId) .operationIds(operationIds) .name("presto to hudi") - .namespaceDefinition(io.airbyte.api.model.NamespaceDefinitionType.SOURCE) + .namespaceDefinition(io.airbyte.api.model.generated.NamespaceDefinitionType.SOURCE) .namespaceFormat(null) .prefix("presto_to_hudi") .status(ConnectionStatus.ACTIVE) @@ -151,13 +151,13 @@ public static ConnectionRead connectionReadFromStandardSync(final StandardSync s if (standardSync.getNamespaceDefinition() != null) { connectionRead - .namespaceDefinition(io.airbyte.api.model.NamespaceDefinitionType.fromValue(standardSync.getNamespaceDefinition().value())); + .namespaceDefinition(io.airbyte.api.model.generated.NamespaceDefinitionType.fromValue(standardSync.getNamespaceDefinition().value())); } if (standardSync.getStatus() != null) { - connectionRead.status(io.airbyte.api.model.ConnectionStatus.fromValue(standardSync.getStatus().value())); + connectionRead.status(io.airbyte.api.model.generated.ConnectionStatus.fromValue(standardSync.getStatus().value())); } if (standardSync.getSchedule() != null) { - connectionRead.schedule(new io.airbyte.api.model.ConnectionSchedule() + connectionRead.schedule(new io.airbyte.api.model.generated.ConnectionSchedule() .timeUnit(TimeUnitEnum.fromValue(standardSync.getSchedule().getTimeUnit().value())) .units(standardSync.getSchedule().getUnits())); } @@ -165,7 +165,7 @@ public static ConnectionRead connectionReadFromStandardSync(final StandardSync s connectionRead.syncCatalog(CatalogConverter.toApi(standardSync.getCatalog())); } if (standardSync.getResourceRequirements() != null) { - connectionRead.resourceRequirements(new io.airbyte.api.model.ResourceRequirements() + connectionRead.resourceRequirements(new io.airbyte.api.model.generated.ResourceRequirements() .cpuLimit(standardSync.getResourceRequirements().getCpuLimit()) .cpuRequest(standardSync.getResourceRequirements().getCpuRequest()) .memoryLimit(standardSync.getResourceRequirements().getMemoryLimit()) @@ -214,7 +214,7 @@ private static AirbyteStreamConfiguration generateBasicApiStreamConfig() { return new AirbyteStreamConfiguration() .syncMode(SyncMode.INCREMENTAL) .cursorField(Lists.newArrayList(FIELD_NAME)) - .destinationSyncMode(io.airbyte.api.model.DestinationSyncMode.APPEND) + .destinationSyncMode(io.airbyte.api.model.generated.DestinationSyncMode.APPEND) .primaryKey(Collections.emptyList()) .aliasName(Names.toAlphanumericAndUnderscore(STREAM_NAME)) .selected(true); diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectorSpecificationHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectorSpecificationHelpers.java index 03db858b8e3e..dd843b96cbdb 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectorSpecificationHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/ConnectorSpecificationHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationDefinitionHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationDefinitionHelpers.java index 0008a26fe464..24ee7a0d452c 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationDefinitionHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationDefinitionHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationHelpers.java index a92cb22db25a..ffdca4655cbf 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/DestinationHelpers.java @@ -1,11 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; import com.fasterxml.jackson.databind.JsonNode; -import io.airbyte.api.model.DestinationRead; +import io.airbyte.api.model.generated.DestinationRead; import io.airbyte.commons.json.Jsons; import io.airbyte.config.DestinationConnection; import io.airbyte.config.StandardDestinationDefinition; diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceDefinitionHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceDefinitionHelpers.java index f2cbb488e920..1c592baa4295 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceDefinitionHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceDefinitionHelpers.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; diff --git a/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceHelpers.java b/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceHelpers.java index 7d5a11f7db93..964d6476c99e 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceHelpers.java +++ b/airbyte-server/src/test/java/io/airbyte/server/helpers/SourceHelpers.java @@ -1,11 +1,11 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.helpers; import com.fasterxml.jackson.databind.JsonNode; -import io.airbyte.api.model.SourceRead; +import io.airbyte.api.model.generated.SourceRead; import io.airbyte.commons.json.Jsons; import io.airbyte.config.SourceConnection; import io.airbyte.config.StandardSourceDefinition; diff --git a/airbyte-server/src/test/java/io/airbyte/server/services/AirbyteGithubStoreTest.java b/airbyte-server/src/test/java/io/airbyte/server/services/AirbyteGithubStoreTest.java index 6beedf771fd1..7e049af4cd63 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/services/AirbyteGithubStoreTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/services/AirbyteGithubStoreTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.services; diff --git a/airbyte-server/src/test/java/io/airbyte/server/version_mismatch/VersionMismatchServerTest.java b/airbyte-server/src/test/java/io/airbyte/server/version_mismatch/VersionMismatchServerTest.java index 6b037ab01c1f..635f1bbbf162 100644 --- a/airbyte-server/src/test/java/io/airbyte/server/version_mismatch/VersionMismatchServerTest.java +++ b/airbyte-server/src/test/java/io/airbyte/server/version_mismatch/VersionMismatchServerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.server.version_mismatch; diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/IntegrationTest.java b/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/IntegrationTest.java index 68d26a391e37..cefac60a4341 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/IntegrationTest.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/IntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.annotations; diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/SlowIntegrationTest.java b/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/SlowIntegrationTest.java index d1399031b7de..85e79d967f9f 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/SlowIntegrationTest.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/annotations/SlowIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.annotations; diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/CockroachDBContainerHelper.java b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/CockroachDBContainerHelper.java index 72c6f10e72be..3b8fe950f0da 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/CockroachDBContainerHelper.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/CockroachDBContainerHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.utils; diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/DatabaseConnectionHelper.java b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/DatabaseConnectionHelper.java index 85345f899630..0ef1a594075c 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/DatabaseConnectionHelper.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/DatabaseConnectionHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.utils; diff --git a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/PostgreSQLContainerHelper.java b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/PostgreSQLContainerHelper.java index 3115934f3776..189f17c45b1a 100644 --- a/airbyte-test-utils/src/main/java/io/airbyte/test/utils/PostgreSQLContainerHelper.java +++ b/airbyte-test-utils/src/main/java/io/airbyte/test/utils/PostgreSQLContainerHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.utils; diff --git a/airbyte-test-utils/src/test/java/io/airbyte/test/example/IntegrationTestExample.java b/airbyte-test-utils/src/test/java/io/airbyte/test/example/IntegrationTestExample.java index 28af05a0b411..c6d6f3062c6b 100644 --- a/airbyte-test-utils/src/test/java/io/airbyte/test/example/IntegrationTestExample.java +++ b/airbyte-test-utils/src/test/java/io/airbyte/test/example/IntegrationTestExample.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.example; diff --git a/airbyte-test-utils/src/test/java/io/airbyte/test/example/SlowIntegrationTestExample.java b/airbyte-test-utils/src/test/java/io/airbyte/test/example/SlowIntegrationTestExample.java index d8bb710a57eb..5bbc0ee9452e 100644 --- a/airbyte-test-utils/src/test/java/io/airbyte/test/example/SlowIntegrationTestExample.java +++ b/airbyte-test-utils/src/test/java/io/airbyte/test/example/SlowIntegrationTestExample.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.example; diff --git a/airbyte-test-utils/src/test/java/io/airbyte/test/utils/DatabaseConnectionHelperTest.java b/airbyte-test-utils/src/test/java/io/airbyte/test/utils/DatabaseConnectionHelperTest.java index 8698da73f308..c125033b9db1 100644 --- a/airbyte-test-utils/src/test/java/io/airbyte/test/utils/DatabaseConnectionHelperTest.java +++ b/airbyte-test-utils/src/test/java/io/airbyte/test/utils/DatabaseConnectionHelperTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.utils; diff --git a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/AcceptanceTests.java b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/AcceptanceTests.java index 80a0e97ef2b8..957e8d37aa11 100644 --- a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/AcceptanceTests.java +++ b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/AcceptanceTests.java @@ -1,10 +1,10 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.acceptance; -import static io.airbyte.api.client.model.ConnectionSchedule.TimeUnitEnum.MINUTES; +import static io.airbyte.api.client.model.generated.ConnectionSchedule.TimeUnitEnum.MINUTES; import static java.lang.Thread.sleep; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; @@ -20,58 +20,58 @@ import com.google.common.collect.Sets; import com.google.common.io.Resources; import io.airbyte.api.client.AirbyteApiClient; -import io.airbyte.api.client.JobsApi; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; -import io.airbyte.api.client.model.AirbyteCatalog; -import io.airbyte.api.client.model.AirbyteStream; -import io.airbyte.api.client.model.AirbyteStreamAndConfiguration; -import io.airbyte.api.client.model.AirbyteStreamConfiguration; -import io.airbyte.api.client.model.AttemptInfoRead; -import io.airbyte.api.client.model.AttemptStatus; -import io.airbyte.api.client.model.CheckConnectionRead; -import io.airbyte.api.client.model.ConnectionCreate; -import io.airbyte.api.client.model.ConnectionIdRequestBody; -import io.airbyte.api.client.model.ConnectionRead; -import io.airbyte.api.client.model.ConnectionSchedule; -import io.airbyte.api.client.model.ConnectionSchedule.TimeUnitEnum; -import io.airbyte.api.client.model.ConnectionState; -import io.airbyte.api.client.model.ConnectionStatus; -import io.airbyte.api.client.model.ConnectionUpdate; -import io.airbyte.api.client.model.DataType; -import io.airbyte.api.client.model.DestinationCreate; -import io.airbyte.api.client.model.DestinationDefinitionCreate; -import io.airbyte.api.client.model.DestinationDefinitionIdRequestBody; -import io.airbyte.api.client.model.DestinationDefinitionIdWithWorkspaceId; -import io.airbyte.api.client.model.DestinationDefinitionRead; -import io.airbyte.api.client.model.DestinationDefinitionSpecificationRead; -import io.airbyte.api.client.model.DestinationIdRequestBody; -import io.airbyte.api.client.model.DestinationRead; -import io.airbyte.api.client.model.DestinationSyncMode; -import io.airbyte.api.client.model.JobIdRequestBody; -import io.airbyte.api.client.model.JobInfoRead; -import io.airbyte.api.client.model.JobRead; -import io.airbyte.api.client.model.JobStatus; -import io.airbyte.api.client.model.LogType; -import io.airbyte.api.client.model.LogsRequestBody; -import io.airbyte.api.client.model.NamespaceDefinitionType; -import io.airbyte.api.client.model.OperationCreate; -import io.airbyte.api.client.model.OperationIdRequestBody; -import io.airbyte.api.client.model.OperationRead; -import io.airbyte.api.client.model.OperatorConfiguration; -import io.airbyte.api.client.model.OperatorNormalization; -import io.airbyte.api.client.model.OperatorNormalization.OptionEnum; -import io.airbyte.api.client.model.OperatorType; -import io.airbyte.api.client.model.SourceCreate; -import io.airbyte.api.client.model.SourceDefinitionCreate; -import io.airbyte.api.client.model.SourceDefinitionIdRequestBody; -import io.airbyte.api.client.model.SourceDefinitionIdWithWorkspaceId; -import io.airbyte.api.client.model.SourceDefinitionRead; -import io.airbyte.api.client.model.SourceDefinitionSpecificationRead; -import io.airbyte.api.client.model.SourceDiscoverSchemaRequestBody; -import io.airbyte.api.client.model.SourceIdRequestBody; -import io.airbyte.api.client.model.SourceRead; -import io.airbyte.api.client.model.SyncMode; +import io.airbyte.api.client.generated.JobsApi; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; +import io.airbyte.api.client.model.generated.AirbyteCatalog; +import io.airbyte.api.client.model.generated.AirbyteStream; +import io.airbyte.api.client.model.generated.AirbyteStreamAndConfiguration; +import io.airbyte.api.client.model.generated.AirbyteStreamConfiguration; +import io.airbyte.api.client.model.generated.AttemptInfoRead; +import io.airbyte.api.client.model.generated.AttemptStatus; +import io.airbyte.api.client.model.generated.CheckConnectionRead; +import io.airbyte.api.client.model.generated.ConnectionCreate; +import io.airbyte.api.client.model.generated.ConnectionIdRequestBody; +import io.airbyte.api.client.model.generated.ConnectionRead; +import io.airbyte.api.client.model.generated.ConnectionSchedule; +import io.airbyte.api.client.model.generated.ConnectionSchedule.TimeUnitEnum; +import io.airbyte.api.client.model.generated.ConnectionState; +import io.airbyte.api.client.model.generated.ConnectionStatus; +import io.airbyte.api.client.model.generated.ConnectionUpdate; +import io.airbyte.api.client.model.generated.DataType; +import io.airbyte.api.client.model.generated.DestinationCreate; +import io.airbyte.api.client.model.generated.DestinationDefinitionCreate; +import io.airbyte.api.client.model.generated.DestinationDefinitionIdRequestBody; +import io.airbyte.api.client.model.generated.DestinationDefinitionIdWithWorkspaceId; +import io.airbyte.api.client.model.generated.DestinationDefinitionRead; +import io.airbyte.api.client.model.generated.DestinationDefinitionSpecificationRead; +import io.airbyte.api.client.model.generated.DestinationIdRequestBody; +import io.airbyte.api.client.model.generated.DestinationRead; +import io.airbyte.api.client.model.generated.DestinationSyncMode; +import io.airbyte.api.client.model.generated.JobIdRequestBody; +import io.airbyte.api.client.model.generated.JobInfoRead; +import io.airbyte.api.client.model.generated.JobRead; +import io.airbyte.api.client.model.generated.JobStatus; +import io.airbyte.api.client.model.generated.LogType; +import io.airbyte.api.client.model.generated.LogsRequestBody; +import io.airbyte.api.client.model.generated.NamespaceDefinitionType; +import io.airbyte.api.client.model.generated.OperationCreate; +import io.airbyte.api.client.model.generated.OperationIdRequestBody; +import io.airbyte.api.client.model.generated.OperationRead; +import io.airbyte.api.client.model.generated.OperatorConfiguration; +import io.airbyte.api.client.model.generated.OperatorNormalization; +import io.airbyte.api.client.model.generated.OperatorNormalization.OptionEnum; +import io.airbyte.api.client.model.generated.OperatorType; +import io.airbyte.api.client.model.generated.SourceCreate; +import io.airbyte.api.client.model.generated.SourceDefinitionCreate; +import io.airbyte.api.client.model.generated.SourceDefinitionIdRequestBody; +import io.airbyte.api.client.model.generated.SourceDefinitionIdWithWorkspaceId; +import io.airbyte.api.client.model.generated.SourceDefinitionRead; +import io.airbyte.api.client.model.generated.SourceDefinitionSpecificationRead; +import io.airbyte.api.client.model.generated.SourceDiscoverSchemaRequestBody; +import io.airbyte.api.client.model.generated.SourceIdRequestBody; +import io.airbyte.api.client.model.generated.SourceRead; +import io.airbyte.api.client.model.generated.SyncMode; import io.airbyte.commons.features.EnvVariableFeatureFlags; import io.airbyte.commons.features.FeatureFlags; import io.airbyte.commons.json.Jsons; diff --git a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/GKEPostgresConfig.java b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/GKEPostgresConfig.java index 5ec03a0c3068..e2e0bf622c8d 100644 --- a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/GKEPostgresConfig.java +++ b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/GKEPostgresConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.acceptance; diff --git a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/SchemaTableNamePair.java b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/SchemaTableNamePair.java index cbd087a66cd9..df8c6e833c1e 100644 --- a/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/SchemaTableNamePair.java +++ b/airbyte-tests/src/acceptanceTests/java/io/airbyte/test/acceptance/SchemaTableNamePair.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.acceptance; diff --git a/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/ImportApi.java b/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/ImportApi.java index b4461f330f35..6a614e76b353 100644 --- a/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/ImportApi.java +++ b/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/ImportApi.java @@ -1,15 +1,15 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.automaticMigrationAcceptance; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; -import io.airbyte.api.client.invoker.ApiResponse; -import io.airbyte.api.client.model.ImportRead; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; +import io.airbyte.api.client.invoker.generated.ApiResponse; +import io.airbyte.api.client.model.generated.ImportRead; import java.io.File; import java.io.IOException; import java.io.InputStream; @@ -23,10 +23,10 @@ import java.util.function.Consumer; /** - * The reason we are using this class instead of {@link io.airbyte.api.client.DeploymentApi is cause - * there is a bug in the the method - * {@link io.airbyte.api.client.DeploymentApi#importArchiveRequestBuilder(File)}, The method - * specifies the content type as `localVarRequestBuilder.header("Content-Type", + * The reason we are using this class instead of + * {@link io.airbyte.api.client.generated.DeploymentApi is cause there is a bug in the the method + * {@link io.airbyte.api.client.generated.DeploymentApi#importArchiveRequestBuilder(File)}, The + * method specifies the content type as `localVarRequestBuilder.header("Content-Type", * "application/json");` but its supposed to be localVarRequestBuilder.header("Content-Type", * "application/x-gzip"); */ diff --git a/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/MigrationAcceptanceTest.java b/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/MigrationAcceptanceTest.java index a10185ce2bd2..8329fe5d0d0d 100644 --- a/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/MigrationAcceptanceTest.java +++ b/airbyte-tests/src/automaticMigrationAcceptanceTest/java/io/airbyte/test/automaticMigrationAcceptance/MigrationAcceptanceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.automaticMigrationAcceptance; @@ -12,21 +12,21 @@ import static org.junit.jupiter.api.Assertions.fail; import com.google.common.io.Resources; -import io.airbyte.api.client.ConnectionApi; -import io.airbyte.api.client.DestinationDefinitionApi; -import io.airbyte.api.client.HealthApi; -import io.airbyte.api.client.SourceDefinitionApi; -import io.airbyte.api.client.WorkspaceApi; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; -import io.airbyte.api.client.model.ConnectionRead; -import io.airbyte.api.client.model.ConnectionStatus; -import io.airbyte.api.client.model.DestinationDefinitionRead; -import io.airbyte.api.client.model.ImportRead; -import io.airbyte.api.client.model.ImportRead.StatusEnum; -import io.airbyte.api.client.model.SourceDefinitionRead; -import io.airbyte.api.client.model.WorkspaceIdRequestBody; -import io.airbyte.api.client.model.WorkspaceRead; +import io.airbyte.api.client.generated.ConnectionApi; +import io.airbyte.api.client.generated.DestinationDefinitionApi; +import io.airbyte.api.client.generated.HealthApi; +import io.airbyte.api.client.generated.SourceDefinitionApi; +import io.airbyte.api.client.generated.WorkspaceApi; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; +import io.airbyte.api.client.model.generated.ConnectionRead; +import io.airbyte.api.client.model.generated.ConnectionStatus; +import io.airbyte.api.client.model.generated.DestinationDefinitionRead; +import io.airbyte.api.client.model.generated.ImportRead; +import io.airbyte.api.client.model.generated.ImportRead.StatusEnum; +import io.airbyte.api.client.model.generated.SourceDefinitionRead; +import io.airbyte.api.client.model.generated.WorkspaceIdRequestBody; +import io.airbyte.api.client.model.generated.WorkspaceRead; import io.airbyte.commons.concurrency.VoidCallable; import io.airbyte.commons.concurrency.WaitingUtils; import io.airbyte.commons.resources.MoreResources; diff --git a/airbyte-tests/src/main/java/io/airbyte/test/airbyte_test_container/AirbyteTestContainer.java b/airbyte-tests/src/main/java/io/airbyte/test/airbyte_test_container/AirbyteTestContainer.java index 1ec7922dfe9f..084be98bdc71 100644 --- a/airbyte-tests/src/main/java/io/airbyte/test/airbyte_test_container/AirbyteTestContainer.java +++ b/airbyte-tests/src/main/java/io/airbyte/test/airbyte_test_container/AirbyteTestContainer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.test.airbyte_test_container; @@ -7,9 +7,9 @@ import com.google.api.client.util.Preconditions; import com.google.common.collect.Maps; import io.airbyte.api.client.AirbyteApiClient; -import io.airbyte.api.client.HealthApi; -import io.airbyte.api.client.invoker.ApiClient; -import io.airbyte.api.client.invoker.ApiException; +import io.airbyte.api.client.generated.HealthApi; +import io.airbyte.api.client.invoker.generated.ApiClient; +import io.airbyte.api.client.invoker.generated.ApiException; import io.airbyte.commons.concurrency.WaitingUtils; import java.io.File; import java.io.FileInputStream; diff --git a/airbyte-webapp-e2e-tests/cypress.json b/airbyte-webapp-e2e-tests/cypress.json index 5cecb7b72ff2..a1021faa7c7f 100644 --- a/airbyte-webapp-e2e-tests/cypress.json +++ b/airbyte-webapp-e2e-tests/cypress.json @@ -8,6 +8,8 @@ "destination.spec.js", "source.spec.js" ], + "viewportHeight": 800, + "viewportWidth": 1280, "retries": { "runMode": 2, "openMode": 0 diff --git a/airbyte-webapp-e2e-tests/cypress/support/commands/common.js b/airbyte-webapp-e2e-tests/cypress/support/commands/common.js index ef2386c50fdc..079011751b6b 100644 --- a/airbyte-webapp-e2e-tests/cypress/support/commands/common.js +++ b/airbyte-webapp-e2e-tests/cypress/support/commands/common.js @@ -14,7 +14,7 @@ Cypress.Commands.add("fillTestLocalJsonForm", (name) => { cy.wait("@getDestinationSpecifications"); - cy.get("input[name=name]").type(name); + cy.get("input[name=name]").clear().type(name); cy.get("input[name='connectionConfiguration.destination_path']").type("/local"); }) diff --git a/airbyte-webapp-e2e-tests/cypress/support/commands/source.js b/airbyte-webapp-e2e-tests/cypress/support/commands/source.js index 72bc1a959569..c231d0701c80 100644 --- a/airbyte-webapp-e2e-tests/cypress/support/commands/source.js +++ b/airbyte-webapp-e2e-tests/cypress/support/commands/source.js @@ -8,7 +8,7 @@ Cypress.Commands.add("fillPgSourceForm", (name) => { cy.wait("@getSourceSpecifications"); - cy.get("input[name=name]").type(name); + cy.get("input[name=name]").clear().type(name); cy.get("input[name='connectionConfiguration.host']").type("localhost"); cy.get("input[name='connectionConfiguration.port']").type("{selectAll}{del}5433"); cy.get("input[name='connectionConfiguration.database']").type("airbyte_ci"); diff --git a/airbyte-webapp/package-lock.json b/airbyte-webapp/package-lock.json index f53625efa0dd..b2be8d77bb9c 100644 --- a/airbyte-webapp/package-lock.json +++ b/airbyte-webapp/package-lock.json @@ -1,12 +1,12 @@ { "name": "airbyte-webapp", - "version": "0.39.1-alpha", + "version": "0.39.5-alpha", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "airbyte-webapp", - "version": "0.39.1-alpha", + "version": "0.39.5-alpha", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/free-brands-svg-icons": "^6.1.1", @@ -16,6 +16,7 @@ "@fullstory/browser": "^1.5.1", "@sentry/react": "^6.19.6", "@sentry/tracing": "^6.19.6", + "classnames": "^2.3.1", "dayjs": "^1.11.0", "firebase": "^9.6.10", "flat": "^5.0.2", @@ -46,6 +47,7 @@ "remark-gfm": "^3.0.0", "rxjs": "^7.5.5", "sanitize-html": "^2.7.0", + "sass": "^1.51.0", "styled-components": "^5.3.5", "typesafe-actions": "^5.1.0", "yup": "^0.32.11" @@ -16714,7 +16716,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -17957,7 +17958,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true, "engines": { "node": ">=8" } @@ -18209,7 +18209,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "dependencies": { "fill-range": "^7.0.1" }, @@ -18841,7 +18840,6 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, "funding": [ { "type": "individual", @@ -18935,9 +18933,9 @@ } }, "node_modules/classnames": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", - "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" }, "node_modules/clean-css": { "version": "4.2.4", @@ -23627,7 +23625,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -24495,7 +24492,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -26428,7 +26424,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, "dependencies": { "binary-extensions": "^2.0.0" }, @@ -26600,7 +26595,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -26632,7 +26626,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -26724,7 +26717,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, "engines": { "node": ">=0.12.0" } @@ -33841,7 +33833,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -35260,7 +35251,6 @@ "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, "engines": { "node": ">=8.6" }, @@ -40457,7 +40447,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, "dependencies": { "picomatch": "^2.2.1" }, @@ -42586,6 +42575,27 @@ "integrity": "sha512-ZRwKbh/eQ6w9vmTjkuG0Ioi3HBwPFce0O+v//ve+aOq1oeCy7jMV2qzzAlpsNuqpqCBjjriM1lbtZbF/Q8jVyA==", "dev": true }, + "node_modules/sass": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.51.0.tgz", + "integrity": "sha512-haGdpTgywJTvHC2b91GSq+clTKGbtkkZmVAb82jZQN/wTy6qs8DdFm2lhEQbEwrY0QDRgSQ3xDurqM977C3noA==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/sass/node_modules/immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==" + }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -44857,7 +44867,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "dependencies": { "is-number": "^7.0.0" }, @@ -61162,7 +61171,6 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", - "dev": true, "requires": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -62157,8 +62165,7 @@ "binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", - "dev": true + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" }, "bl": { "version": "4.1.0", @@ -62354,7 +62361,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, "requires": { "fill-range": "^7.0.1" } @@ -62857,7 +62863,6 @@ "version": "3.5.3", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", - "dev": true, "requires": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -62930,9 +62935,9 @@ } }, "classnames": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", - "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==" }, "clean-css": { "version": "4.2.4", @@ -66690,7 +66695,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, "requires": { "to-regex-range": "^5.0.1" } @@ -67368,7 +67372,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, "requires": { "is-glob": "^4.0.1" } @@ -68857,7 +68860,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, "requires": { "binary-extensions": "^2.0.0" } @@ -68977,8 +68979,7 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" }, "is-fullwidth-code-point": { "version": "3.0.0", @@ -69001,7 +69002,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, "requires": { "is-extglob": "^2.1.1" } @@ -69063,8 +69063,7 @@ "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" }, "is-number-object": { "version": "1.0.5", @@ -74457,8 +74456,7 @@ "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" }, "normalize-range": { "version": "0.1.2", @@ -75562,8 +75560,7 @@ "picomatch": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" }, "pidtree": { "version": "0.5.0", @@ -79215,7 +79212,6 @@ "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, "requires": { "picomatch": "^2.2.1" } @@ -80780,6 +80776,23 @@ "integrity": "sha512-ZRwKbh/eQ6w9vmTjkuG0Ioi3HBwPFce0O+v//ve+aOq1oeCy7jMV2qzzAlpsNuqpqCBjjriM1lbtZbF/Q8jVyA==", "dev": true }, + "sass": { + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.51.0.tgz", + "integrity": "sha512-haGdpTgywJTvHC2b91GSq+clTKGbtkkZmVAb82jZQN/wTy6qs8DdFm2lhEQbEwrY0QDRgSQ3xDurqM977C3noA==", + "requires": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "dependencies": { + "immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==" + } + } + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -82635,7 +82648,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, "requires": { "is-number": "^7.0.0" } diff --git a/airbyte-webapp/package.json b/airbyte-webapp/package.json index 5b4730774499..b69544559f9a 100644 --- a/airbyte-webapp/package.json +++ b/airbyte-webapp/package.json @@ -1,6 +1,6 @@ { "name": "airbyte-webapp", - "version": "0.39.1-alpha", + "version": "0.39.5-alpha", "private": true, "engines": { "node": ">=16.0.0" @@ -24,6 +24,7 @@ "@fullstory/browser": "^1.5.1", "@sentry/react": "^6.19.6", "@sentry/tracing": "^6.19.6", + "classnames": "^2.3.1", "dayjs": "^1.11.0", "firebase": "^9.6.10", "flat": "^5.0.2", @@ -54,6 +55,7 @@ "remark-gfm": "^3.0.0", "rxjs": "^7.5.5", "sanitize-html": "^2.7.0", + "sass": "^1.51.0", "styled-components": "^5.3.5", "typesafe-actions": "^5.1.0", "yup": "^0.32.11" diff --git a/airbyte-webapp/src/components/DocumentationPanel/DocumentationPanel.tsx b/airbyte-webapp/src/components/DocumentationPanel/DocumentationPanel.tsx index 1e5d703e1878..7d59e460578f 100644 --- a/airbyte-webapp/src/components/DocumentationPanel/DocumentationPanel.tsx +++ b/airbyte-webapp/src/components/DocumentationPanel/DocumentationPanel.tsx @@ -1,7 +1,5 @@ import type { Url } from "url"; -import { faTimes } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useMemo } from "react"; import { FormattedMessage } from "react-intl"; import { useIntl } from "react-intl"; @@ -14,7 +12,6 @@ import urls from "rehype-urls"; import styled from "styled-components"; import { LoadingPage, PageTitle } from "components"; -import { Button } from "components/base"; import Markdown from "components/Markdown/Markdown"; import { useConfig } from "config"; @@ -64,24 +61,11 @@ export const DocumentationPanel: React.FC = () => { setDocumentationPanelOpen(false); }, [setDocumentationPanelOpen, location.pathname]); - return isLoading ? ( + return isLoading || documentationUrl === "" ? ( ) : docs ? ( - } - endComponent={ - - } - /> + } /> {!docs.includes("") ? ( ) : ( diff --git a/airbyte-webapp/src/components/EntityTable/components/StatusCell.tsx b/airbyte-webapp/src/components/EntityTable/components/StatusCell.tsx index c702f86aa426..d67c42903635 100644 --- a/airbyte-webapp/src/components/EntityTable/components/StatusCell.tsx +++ b/airbyte-webapp/src/components/EntityTable/components/StatusCell.tsx @@ -3,7 +3,7 @@ import { FormattedMessage } from "react-intl"; import { useAsyncFn } from "react-use"; import styled from "styled-components"; -import { LoadingButton, Toggle } from "components"; +import { LoadingButton, Switch } from "components"; type IProps = { allowSync?: boolean; @@ -29,13 +29,13 @@ const StatusCell: React.FC = ({ enabled, isManual, id, onChangeStatus, i await onSync(id); }, []); - const OnToggleClick = (event: React.SyntheticEvent) => { - event.stopPropagation(); - onChangeStatus(id); - }; - if (!isManual) { - return ; + const onSwitchChange = (event: React.SyntheticEvent) => { + event.stopPropagation(); + onChangeStatus(id); + }; + + return ; } if (isSyncing) { diff --git a/airbyte-webapp/src/components/JobItem/JobItem.tsx b/airbyte-webapp/src/components/JobItem/JobItem.tsx index 2b494a516f7d..11543de2a0b5 100644 --- a/airbyte-webapp/src/components/JobItem/JobItem.tsx +++ b/airbyte-webapp/src/components/JobItem/JobItem.tsx @@ -10,6 +10,7 @@ import { JobsWithJobs } from "pages/ConnectionPage/pages/ConnectionItemPage/comp import { AttemptRead, JobStatus } from "../../core/request/AirbyteClient"; import { useAttemptLink } from "./attemptLinkUtils"; import ContentWrapper from "./components/ContentWrapper"; +import ErrorDetails from "./components/ErrorDetails"; import JobLogs from "./components/JobLogs"; import MainInfo from "./components/MainInfo"; @@ -53,8 +54,10 @@ export const getJobId = (job: SynchronousJobReadWithStatus | JobsWithJobs) => export const JobItem: React.FC = ({ shortInfo, job }) => { const { jobId: linkedJobId } = useAttemptLink(); const [isOpen, setIsOpen] = useState(linkedJobId === getJobId(job)); - const onExpand = () => setIsOpen(!isOpen); const scrollAnchor = useRef(null); + const onExpand = () => { + setIsOpen(!isOpen); + }; const didSucceed = didJobSucceed(job); @@ -86,7 +89,12 @@ export const JobItem: React.FC = ({ shortInfo, job }) => { } > - {isOpen && } + {isOpen && ( + <> + + + + )} diff --git a/airbyte-webapp/src/components/JobItem/components/AttemptDetails.tsx b/airbyte-webapp/src/components/JobItem/components/AttemptDetails.tsx index 036bf2c8b506..e77adf1a8669 100644 --- a/airbyte-webapp/src/components/JobItem/components/AttemptDetails.tsx +++ b/airbyte-webapp/src/components/JobItem/components/AttemptDetails.tsx @@ -60,7 +60,7 @@ const AttemptDetails: React.FC = ({ attempt, className, configType }) => })}: ${failureOrigin}`; }; - const getFailureMessage = (attempt: AttemptRead) => { + const getExternalFailureMessage = (attempt: AttemptRead) => { const failure = getFailureFromAttempt(attempt); const failureMessage = failure?.externalMessage ?? formatMessage({ id: "errorView.unknown" }); @@ -114,7 +114,7 @@ const AttemptDetails: React.FC = ({ attempt, className, configType }) => }, { key: getFailureOrigin(attempt), - value: getFailureMessage(attempt), + value: getExternalFailureMessage(attempt), } )} diff --git a/airbyte-webapp/src/components/JobItem/components/ErrorDetails.tsx b/airbyte-webapp/src/components/JobItem/components/ErrorDetails.tsx new file mode 100644 index 000000000000..ab6387df98b5 --- /dev/null +++ b/airbyte-webapp/src/components/JobItem/components/ErrorDetails.tsx @@ -0,0 +1,61 @@ +import dayjs from "dayjs"; +import { useIntl } from "react-intl"; +import styled from "styled-components"; + +import { AttemptRead } from "core/request/AirbyteClient"; + +type IProps = { + attempts?: AttemptRead[]; +}; + +const ExpandedFailureContainer = styled.div` + font-size: 12px; + line-height: 15px; + padding: 10px; + padding-left: 40px; + color: ${({ theme }) => theme.greyColor40}; +`; + +const FailureDateDisplay = styled.span` + font-style: italic; +`; + +const getFailureFromAttempt = (attempt: AttemptRead) => { + return attempt.failureSummary?.failures[0]; +}; + +const ErrorDetails: React.FC = ({ attempts }) => { + const { formatMessage } = useIntl(); + + if (!attempts?.length) { + return null; + } + + const getInternalFailureMessage = (attempt: AttemptRead) => { + const failure = getFailureFromAttempt(attempt); + const failureMessage = failure?.internalMessage ?? formatMessage({ id: "errorView.unknown" }); + + return `${formatMessage({ + id: "sources.additionalFailureInfo", + })}: ${failureMessage}`; + }; + + const attempt = attempts[attempts.length - 1]; + const failure = getFailureFromAttempt(attempt); + + if (!failure) { + return null; + } + + const internalMessage = getInternalFailureMessage(attempt); + return ( + + {!!failure.timestamp && ( + {dayjs.utc(failure.timestamp).format("YYYY-MM-DD HH:mm:ss")} - + )} + {internalMessage} + + ); +}; + +export default ErrorDetails; diff --git a/airbyte-webapp/src/components/JobItem/components/Logs.tsx b/airbyte-webapp/src/components/JobItem/components/Logs.tsx index a602ebadd26c..3a9f4f6eb04d 100644 --- a/airbyte-webapp/src/components/JobItem/components/Logs.tsx +++ b/airbyte-webapp/src/components/JobItem/components/Logs.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { FormattedMessage } from "react-intl"; import { LazyLog } from "react-lazylog"; import styled from "styled-components"; @@ -47,8 +46,10 @@ const Logs: React.FC = ({ logsArray }) => { lineClassName="logLine" highlightLineClassName="highlightLogLine" selectableLines - follow + follow={true} style={{ background: "transparent" }} + scrollToLine={undefined} + highlight={[]} /> ) : ( diff --git a/airbyte-webapp/src/components/LabeledToggle/LabeledToggle.tsx b/airbyte-webapp/src/components/LabeledSwitch/LabeledSwitch.tsx similarity index 78% rename from airbyte-webapp/src/components/LabeledToggle/LabeledToggle.tsx rename to airbyte-webapp/src/components/LabeledSwitch/LabeledSwitch.tsx index 982b30777d95..69756e9c2dd0 100644 --- a/airbyte-webapp/src/components/LabeledToggle/LabeledToggle.tsx +++ b/airbyte-webapp/src/components/LabeledSwitch/LabeledSwitch.tsx @@ -1,13 +1,14 @@ import React from "react"; import styled from "styled-components"; -import { CheckBox, Toggle } from "components/base"; +import { CheckBox, Switch } from "components/base"; -type IProps = { +interface LabeledSwitchProps extends React.InputHTMLAttributes { message?: React.ReactNode; label?: React.ReactNode; checkbox?: boolean; -} & React.InputHTMLAttributes; + loading?: boolean; +} const ToggleContainer = styled.div` display: flex; @@ -33,12 +34,12 @@ const AdditionMessage = styled.span` } `; -const LabeledToggle: React.FC = (props) => ( +export const LabeledSwitch: React.FC = (props) => ( {props.checkbox ? ( ) : ( - + )} ); - -export default LabeledToggle; diff --git a/airbyte-webapp/src/components/LabeledSwitch/index.tsx b/airbyte-webapp/src/components/LabeledSwitch/index.tsx new file mode 100644 index 000000000000..f46bd5e0788c --- /dev/null +++ b/airbyte-webapp/src/components/LabeledSwitch/index.tsx @@ -0,0 +1 @@ +export { LabeledSwitch } from "./LabeledSwitch"; diff --git a/airbyte-webapp/src/components/LabeledToggle/index.tsx b/airbyte-webapp/src/components/LabeledToggle/index.tsx deleted file mode 100644 index c3bbc450dbd0..000000000000 --- a/airbyte-webapp/src/components/LabeledToggle/index.tsx +++ /dev/null @@ -1,4 +0,0 @@ -import LabeledToggle from "./LabeledToggle"; - -export default LabeledToggle; -export { LabeledToggle }; diff --git a/airbyte-webapp/src/components/base/Switch/Progress.svg b/airbyte-webapp/src/components/base/Switch/Progress.svg new file mode 100644 index 000000000000..11f7f0b6462c --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/Progress.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/airbyte-webapp/src/components/base/Switch/ProgressReverse.svg b/airbyte-webapp/src/components/base/Switch/ProgressReverse.svg new file mode 100644 index 000000000000..e12f0bf7a9d4 --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/ProgressReverse.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/airbyte-webapp/src/components/base/Switch/Switch.module.scss b/airbyte-webapp/src/components/base/Switch/Switch.module.scss new file mode 100644 index 000000000000..d1618eb2010a --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/Switch.module.scss @@ -0,0 +1,113 @@ +@use "../../../scss/colors"; +@use "../../../scss/variables"; + +@mixin knobTransform($position, $small: false) { + @if $position == left { + transform: translateX(0); + } @else if $small { + transform: translateX(10px); + } @else { + transform: translateX(18px); + } +} + +.switch { + position: relative; + display: inline-block; + width: 42px; + height: 26px; + + &.small { + width: 28px; + height: 18px; + } + + .switchInput { + opacity: 0; + width: 0; + height: 0; + + &:checked + .slider { + background-color: colors.$primaryColor; + + &:before { + @include knobTransform(right, false); + } + + &.small:before { + @include knobTransform(right, true); + } + + &.loading { + background-image: url("./ProgressReverse.svg"); + + &:before { + @include knobTransform(left, false); + } + + &.small:before { + @include knobTransform(left, true); + } + } + } + + &:not(:checked) + .slider { + &:before { + @include knobTransform(left, false); + } + + &.small:before { + @include knobTransform(left, true); + } + + &.loading { + background-image: url("./Progress.svg"); + + &:before { + @include knobTransform(right, false); + } + + &.small:before { + @include knobTransform(right, true); + } + } + } + + &:disabled + .slider { + opacity: 0.5; + cursor: auto; + } + } + + .slider { + cursor: pointer; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background: colors.$greyColor20; + transition: variables.$transition; + border-radius: 20px; + border: 1px solid colors.$greyColor30; + + &.small:before { + height: 16px; + width: 16px; + } + + &:before { + position: absolute; + z-index: 1; + content: ""; + height: 24px; + width: 24px; + left: -1px; + top: -1px; + background: colors.$whiteColor; + transition: variables.$transition; + border-radius: 50%; + border: 1px solid colors.$greyColor30; + } + } +} diff --git a/airbyte-webapp/src/components/base/Switch/Switch.stories.tsx b/airbyte-webapp/src/components/base/Switch/Switch.stories.tsx new file mode 100644 index 000000000000..1780e43bb784 --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/Switch.stories.tsx @@ -0,0 +1,18 @@ +import { ComponentStory, ComponentMeta } from "@storybook/react"; + +import { Switch } from "./Switch"; + +export default { + title: "Ui/Switch", + component: Switch, + argTypes: {}, +} as ComponentMeta; + +const Template: ComponentStory = (args) => ; + +export const SwitchControl = Template.bind({}); +SwitchControl.args = { + checked: false, + small: false, + loading: false, +}; diff --git a/airbyte-webapp/src/components/base/Switch/Switch.tsx b/airbyte-webapp/src/components/base/Switch/Switch.tsx new file mode 100644 index 000000000000..6674b122cf6d --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/Switch.tsx @@ -0,0 +1,34 @@ +import classnames from "classnames"; +import React from "react"; + +import styles from "./Switch.module.scss"; + +interface SwitchProps extends React.InputHTMLAttributes { + small?: boolean; + loading?: boolean; +} + +export const Switch: React.FC = ({ loading, small, checked, value, ...props }) => { + const labelStyle = classnames(styles.switch, { + [styles.small]: small, + [styles.loading]: loading, + }); + const spanStyle = classnames(styles.slider, { + [styles.small]: small, + [styles.loading]: loading, + }); + + return ( + + ); +}; diff --git a/airbyte-webapp/src/components/base/Switch/index.tsx b/airbyte-webapp/src/components/base/Switch/index.tsx new file mode 100644 index 000000000000..c899e291535d --- /dev/null +++ b/airbyte-webapp/src/components/base/Switch/index.tsx @@ -0,0 +1 @@ +export { Switch } from "./Switch"; diff --git a/airbyte-webapp/src/components/base/Toggle/Toggle.tsx b/airbyte-webapp/src/components/base/Toggle/Toggle.tsx deleted file mode 100644 index ce67a1e8a1e5..000000000000 --- a/airbyte-webapp/src/components/base/Toggle/Toggle.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import React from "react"; -import styled from "styled-components"; - -type ToggleProps = { - small?: boolean; -} & React.InputHTMLAttributes; - -const Switch = styled.label<{ small?: boolean }>` - position: relative; - display: inline-block; - width: ${({ small }) => (small ? 28 : 42)}px; - min-width: ${({ small }) => (small ? 28 : 42)}px; - height: ${({ small }) => (small ? 18 : 24)}px; -`; - -const SwitchInput = styled.input` - opacity: 0; - width: 0; - height: 0; -`; - -const Slider = styled.span<{ small?: boolean }>` - position: absolute; - cursor: pointer; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: ${({ theme }) => theme.greyColor20}; - transition: 0.3s; - border-radius: 19px; - - &:before { - position: absolute; - z-index: 1; - content: ""; - height: ${({ small }) => (small ? 16 : 22)}px; - width: ${({ small }) => (small ? 16 : 22)}px; - left: 1px; - top: 1px; - background: ${({ theme }) => theme.whiteColor}; - transition: 0.3s; - border-radius: 50%; - } - - input:checked + &&:before { - transform: translateX(${({ small }) => (small ? 10 : 18)}px); - } - - input:checked + & { - background: ${({ theme }) => theme.primaryColor}; - } - - input:checked:disabled + & { - opacity: 0.5; - } - - input:disabled + & { - cursor: auto; - } -`; - -const Toggle: React.FC = (props) => { - return ( - event.stopPropagation()}> - - - - ); -}; - -export default Toggle; diff --git a/airbyte-webapp/src/components/base/Toggle/index.tsx b/airbyte-webapp/src/components/base/Toggle/index.tsx deleted file mode 100644 index 54af4442d7c1..000000000000 --- a/airbyte-webapp/src/components/base/Toggle/index.tsx +++ /dev/null @@ -1,4 +0,0 @@ -import Toggle from "./Toggle"; - -export default Toggle; -export { Toggle }; diff --git a/airbyte-webapp/src/components/base/index.tsx b/airbyte-webapp/src/components/base/index.tsx index dbf09822c5e7..6e9bf0cdafbd 100644 --- a/airbyte-webapp/src/components/base/index.tsx +++ b/airbyte-webapp/src/components/base/index.tsx @@ -7,6 +7,6 @@ export * from "./Input"; export * from "./Multiselect"; export * from "./RadioButton"; export * from "./TagInput"; -export * from "./Toggle"; +export * from "./Switch"; export * from "./TextArea"; export * from "./Titles"; diff --git a/airbyte-webapp/src/components/index.tsx b/airbyte-webapp/src/components/index.tsx index 160bbdb080df..9ce0e992401b 100644 --- a/airbyte-webapp/src/components/index.tsx +++ b/airbyte-webapp/src/components/index.tsx @@ -8,7 +8,7 @@ export * from "./Label"; export * from "./LabeledControl"; export * from "./LabeledInput"; export * from "./LabeledRadioButton"; -export * from "./LabeledToggle"; +export * from "./LabeledSwitch"; export * from "./Link"; export * from "./LoadingPage"; export * from "./MainPageWithScroll"; diff --git a/airbyte-webapp/src/core/request/AirbyteClient.ts b/airbyte-webapp/src/core/request/AirbyteClient.ts index 0e16d87b5359..b066780f316f 100644 --- a/airbyte-webapp/src/core/request/AirbyteClient.ts +++ b/airbyte-webapp/src/core/request/AirbyteClient.ts @@ -520,6 +520,7 @@ export interface AttemptFailureReason { failureOrigin?: AttemptFailureOrigin; failureType?: AttemptFailureType; externalMessage?: string; + internalMessage?: string; stacktrace?: string; /** True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known. */ retryable?: boolean; diff --git a/airbyte-webapp/src/globals.ts b/airbyte-webapp/src/globals.ts new file mode 100644 index 000000000000..a47c4100c47b --- /dev/null +++ b/airbyte-webapp/src/globals.ts @@ -0,0 +1,12 @@ +// This file should contain all stateful modification that need to be made to libraries. +// In general this is a bad pattern that should try to be avoided, but some libraries will +// require plugins to be registered to their global instance. This file encapsulates all those +// stateful modifications. + +import dayjs from "dayjs"; +import customParseFormat from "dayjs/plugin/customParseFormat"; +import utc from "dayjs/plugin/utc"; + +// Configure dayjs instance +dayjs.extend(customParseFormat); +dayjs.extend(utc); diff --git a/airbyte-webapp/src/hooks/services/useDocumentation.ts b/airbyte-webapp/src/hooks/services/useDocumentation.ts index 7b8b8b54cf55..ade75ef9cf3a 100644 --- a/airbyte-webapp/src/hooks/services/useDocumentation.ts +++ b/airbyte-webapp/src/hooks/services/useDocumentation.ts @@ -11,13 +11,6 @@ export const documentationKeys = { const DOCS_URL = /^https:\/\/docs\.airbyte\.(io|com)/; -export const getDocumentationType = (documentationUrl: string): "external" | "internal" | "none" => { - if (!documentationUrl) { - return "none"; - } - return DOCS_URL.test(documentationUrl) ? "internal" : "external"; -}; - export const useDocumentation = (documentationUrl: string): UseDocumentationResult => { const { integrationUrl } = useConfig(); const url = documentationUrl.replace(DOCS_URL, integrationUrl) + ".md"; diff --git a/airbyte-webapp/src/index.tsx b/airbyte-webapp/src/index.tsx index c168556485de..c28ca7e21d12 100644 --- a/airbyte-webapp/src/index.tsx +++ b/airbyte-webapp/src/index.tsx @@ -4,6 +4,8 @@ import { lazy, Suspense } from "react"; import ReactDOM from "react-dom"; import "react-reflex/styles.css"; +import "./globals"; + // We do not follow default config approach since we want to init sentry asap Sentry.init({ dsn: process.env.REACT_APP_SENTRY_DSN || window.REACT_APP_SENTRY_DSN, diff --git a/airbyte-webapp/src/locales/en.json b/airbyte-webapp/src/locales/en.json index 1d9fa12aadda..94b9f882ae52 100644 --- a/airbyte-webapp/src/locales/en.json +++ b/airbyte-webapp/src/locales/en.json @@ -291,6 +291,7 @@ "sources.copied": "Copied", "sources.failureOrigin": "Failure Origin", "sources.message": "Message", + "sources.additionalFailureInfo": "Additional Failure Information", "sources.lastAttempt": "Last attempt:", "destination.destinationSettings": "Destination Settings", diff --git a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/EnabledControl.tsx b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/EnabledControl.tsx index 4edc49edf470..acb3f1910d7d 100644 --- a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/EnabledControl.tsx +++ b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/EnabledControl.tsx @@ -1,8 +1,9 @@ import React from "react"; import { FormattedMessage } from "react-intl"; +import { useUpdateEffect } from "react-use"; import styled from "styled-components"; -import { Toggle } from "components"; +import { Switch } from "components"; import { useAnalyticsService } from "hooks/services/Analytics/useAnalyticsService"; import { useUpdateConnection } from "hooks/services/useConnectionHook"; @@ -26,14 +27,15 @@ const Content = styled.div` align-items: center; `; -type IProps = { +interface EnabledControlProps { connection: WebBackendConnectionRead; disabled?: boolean; frequencyText?: string; -}; + onStatusUpdating?: (updating: boolean) => void; +} -const EnabledControl: React.FC = ({ connection, disabled, frequencyText }) => { - const { mutateAsync: updateConnection } = useUpdateConnection(); +const EnabledControl: React.FC = ({ connection, disabled, frequencyText, onStatusUpdating }) => { + const { mutateAsync: updateConnection, isLoading } = useUpdateConnection(); const analyticsService = useAnalyticsService(); const onChangeStatus = async () => { @@ -58,15 +60,20 @@ const EnabledControl: React.FC = ({ connection, disabled, frequencyText }); }; + useUpdateEffect(() => { + onStatusUpdating?.(isLoading); + }, [isLoading]); + return ( - diff --git a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusMainInfo.tsx b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusMainInfo.tsx index fc5cab5f4702..e88f0a957efa 100644 --- a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusMainInfo.tsx +++ b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusMainInfo.tsx @@ -43,6 +43,7 @@ interface StatusMainInfoProps { destinationDefinition?: DestinationDefinitionRead; sourceDefinition?: SourceDefinitionRead; allowSync?: boolean; + onStatusUpdating?: (updating: boolean) => void; } export const StatusMainInfo: React.FC = ({ @@ -51,6 +52,7 @@ export const StatusMainInfo: React.FC = ({ destinationDefinition, sourceDefinition, allowSync, + onStatusUpdating, }) => { return ( @@ -80,7 +82,12 @@ export const StatusMainInfo: React.FC = ({ {frequencyText} {connection.status !== ConnectionStatus.deprecated && ( - + )} diff --git a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusView.tsx b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusView.tsx index 060a8a307846..178a85b153fb 100644 --- a/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusView.tsx +++ b/airbyte-webapp/src/pages/ConnectionPage/pages/ConnectionItemPage/components/StatusView.tsx @@ -66,6 +66,8 @@ const StatusView: React.FC = ({ connection, frequencyText }) => configTypes: ["sync", "reset_connection"], }); + const [isStatusUpdating, setStatusUpdating] = useState(false); + const { mutateAsync: resetConnection } = useResetConnection(); const { mutateAsync: syncConnection } = useSyncConnection(); @@ -80,6 +82,7 @@ const StatusView: React.FC = ({ connection, frequencyText }) => sourceDefinition={sourceDefinition} destinationDefinition={destinationDefinition} allowSync={allowSync} + onStatusUpdating={setStatusUpdating} /> = ({ connection, frequencyText }) => {connection.status === ConnectionStatus.active && (

- startAction({ action: onSync })} diff --git a/airbyte-webapp/src/pages/DestinationPage/pages/CreateDestinationPage/components/DestinationForm.tsx b/airbyte-webapp/src/pages/DestinationPage/pages/CreateDestinationPage/components/DestinationForm.tsx index 50de33c09df5..232b971c4383 100644 --- a/airbyte-webapp/src/pages/DestinationPage/pages/CreateDestinationPage/components/DestinationForm.tsx +++ b/airbyte-webapp/src/pages/DestinationPage/pages/CreateDestinationPage/components/DestinationForm.tsx @@ -9,7 +9,6 @@ import { TrackActionType, useTrackAction } from "hooks/useTrackAction"; import { useGetDestinationDefinitionSpecificationAsync } from "services/connector/DestinationDefinitionSpecificationService"; import { createFormErrorMessage } from "utils/errorStatusMessage"; import { ConnectorCard } from "views/Connector/ConnectorCard"; -import { useDocumentationPanelContext } from "views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext"; interface DestinationFormProps { onSubmit: (values: { @@ -18,10 +17,10 @@ interface DestinationFormProps { destinationDefinitionId?: string; connectionConfiguration?: ConnectionConfiguration; }) => void; + afterSelectConnector?: () => void; destinationDefinitions: DestinationDefinitionRead[]; hasSuccess?: boolean; error?: { message?: string; status?: number } | null; - afterSelectConnector?: () => void; } const hasDestinationDefinitionId = (state: unknown): state is { destinationDefinitionId: string } => { @@ -45,18 +44,17 @@ export const DestinationForm: React.FC = ({ const [destinationDefinitionId, setDestinationDefinitionId] = useState( hasDestinationDefinitionId(location.state) ? location.state.destinationDefinitionId : null ); + const { data: destinationDefinitionSpecification, - isLoading, error: destinationDefinitionError, + isLoading, } = useGetDestinationDefinitionSpecificationAsync(destinationDefinitionId); - const { setDocumentationUrl, setDocumentationPanelOpen } = useDocumentationPanelContext(); const onDropDownSelect = (destinationDefinitionId: string) => { - setDocumentationPanelOpen(false); setDestinationDefinitionId(destinationDefinitionId); + const connector = destinationDefinitions.find((item) => item.destinationDefinitionId === destinationDefinitionId); - setDocumentationUrl(connector?.documentationUrl ?? ""); if (afterSelectConnector) { afterSelectConnector(); diff --git a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/DestinationItemPage.tsx b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/DestinationItemPage.tsx index 4838c313c77c..97afa445d1a3 100644 --- a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/DestinationItemPage.tsx +++ b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/DestinationItemPage.tsx @@ -88,7 +88,6 @@ const DestinationItemPage: React.FC = () => { } - withLine middleComponent={} /> diff --git a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationConnectionTable.tsx b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationConnectionTable.tsx index bade037bc5ef..573b2ec384ad 100644 --- a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationConnectionTable.tsx +++ b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationConnectionTable.tsx @@ -1,10 +1,12 @@ import React, { useCallback } from "react"; +import { useQueryClient } from "react-query"; import { ConnectionTable } from "components/EntityTable"; import useSyncActions from "components/EntityTable/hooks"; import { ITableDataItem } from "components/EntityTable/types"; import { getConnectionTableData } from "components/EntityTable/utils"; +import { invalidateConnectionsList } from "hooks/services/useConnectionHook"; import useRouter from "hooks/useRouter"; import { RoutePaths } from "pages/routePaths"; import { useDestinationDefinitionList } from "services/connector/DestinationDefinitionService"; @@ -18,6 +20,7 @@ type IProps = { const DestinationConnectionTable: React.FC = ({ connections }) => { const { push } = useRouter(); + const queryClient = useQueryClient(); const { changeStatus, syncManualConnection } = useSyncActions(); const { sourceDefinitions } = useSourceDefinitionList(); @@ -31,9 +34,10 @@ const DestinationConnectionTable: React.FC = ({ connections }) => { if (connection) { await changeStatus(connection); + await invalidateConnectionsList(queryClient); } }, - [changeStatus, connections] + [changeStatus, connections, queryClient] ); const onSync = useCallback( diff --git a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.tsx b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.tsx index 97ef2e6b45fb..e2da1553b6b2 100644 --- a/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.tsx +++ b/airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.tsx @@ -14,6 +14,7 @@ import { ConnectorCard } from "views/Connector/ConnectorCard"; const Content = styled.div` max-width: 813px; + width: 80%; margin: 19px auto; `; diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/MetricsPage/components/MetricsForm.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/MetricsPage/components/MetricsForm.tsx index 4c3ce30033c5..e2159338975d 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/MetricsPage/components/MetricsForm.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/MetricsPage/components/MetricsForm.tsx @@ -3,7 +3,7 @@ import { FormattedMessage } from "react-intl"; import styled from "styled-components"; import Label from "components/Label"; -import LabeledToggle from "components/LabeledToggle"; +import { LabeledSwitch } from "components/LabeledSwitch"; import { useConfig } from "config"; @@ -69,13 +69,14 @@ const MetricsForm: React.FC = ({ /> - } onChange={(event) => { onChange({ anonymousDataCollection: event.target.checked }); }} + loading={isLoading} /> diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/NotificationsForm.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/NotificationsForm.tsx index 174b848ad46a..aa46bfb30f7f 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/NotificationsForm.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/NotificationsForm.tsx @@ -1,9 +1,9 @@ -import React from "react"; +import React, { useEffect, useState } from "react"; import { FormattedMessage } from "react-intl"; import styled from "styled-components"; import Label from "components/Label"; -import LabeledToggle from "components/LabeledToggle"; +import { LabeledSwitch } from "components/LabeledSwitch"; import FeedbackBlock from "../../../components/FeedbackBlock"; @@ -33,6 +33,16 @@ const NotificationsForm: React.FC = ({ errorMessage, isLoading, }) => { + const [securityUpdatesUpdating, setSecurityUpdatesUpdating] = useState(false); + const [newsletterUpdating, setNewsletterUpdating] = useState(false); + + useEffect(() => { + if (!isLoading) { + setSecurityUpdatesUpdating(false); + setNewsletterUpdating(false); + } + }, [isLoading]); + return ( <> @@ -40,12 +50,14 @@ const NotificationsForm: React.FC = ({ - } onChange={(event) => { + setSecurityUpdatesUpdating(true); onChange({ securityUpdates: event.target.checked, news: preferencesValues.news, @@ -55,12 +67,14 @@ const NotificationsForm: React.FC = ({ - } onChange={(event) => { + setNewsletterUpdating(true); onChange({ news: event.target.checked, securityUpdates: preferencesValues.securityUpdates, diff --git a/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/WebHookForm.tsx b/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/WebHookForm.tsx index d77b72e56e68..299f2b2f0d99 100644 --- a/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/WebHookForm.tsx +++ b/airbyte-webapp/src/pages/SettingsPage/pages/NotificationPage/components/WebHookForm.tsx @@ -4,7 +4,7 @@ import { FormattedMessage, useIntl } from "react-intl"; import styled from "styled-components"; import * as yup from "yup"; -import { Label, Input, LoadingButton, LabeledToggle } from "components"; +import { Label, Input, LoadingButton, LabeledSwitch } from "components"; import { Row, Cell } from "components/SimpleTableComponents"; import { WebhookPayload } from "hooks/services/useWorkspace"; @@ -141,7 +141,7 @@ const WebHookForm: React.FC = ({ webhook, onSubmit, successMes {({ field }: FieldProps) => ( - = ({ webhook, onSubmit, successMes {({ field }: FieldProps) => ( - = ({ afterSelectConnector, }) => { const { location } = useRouter(); - const { setDocumentationUrl, setDocumentationPanelOpen } = useDocumentationPanelContext(); const trackNewSourceAction = useTrackAction(TrackActionType.NEW_SOURCE); const [sourceDefinitionId, setSourceDefinitionId] = useState( @@ -55,10 +53,9 @@ export const SourceForm: React.FC = ({ } = useGetSourceDefinitionSpecificationAsync(sourceDefinitionId); const onDropDownSelect = (sourceDefinitionId: string) => { - setDocumentationPanelOpen(false); setSourceDefinitionId(sourceDefinitionId); + const connector = sourceDefinitions.find((item) => item.sourceDefinitionId === sourceDefinitionId); - setDocumentationUrl(connector?.documentationUrl || ""); if (afterSelectConnector) { afterSelectConnector(); diff --git a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/SourceItemPage.tsx b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/SourceItemPage.tsx index 60b7882bd45b..e962b84e3c4b 100644 --- a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/SourceItemPage.tsx +++ b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/SourceItemPage.tsx @@ -87,7 +87,6 @@ const SourceItemPage: React.FC = () => { } middleComponent={} - withLine /> }> diff --git a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceConnectionTable.tsx b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceConnectionTable.tsx index 131965dd726e..3badeda1ca1b 100644 --- a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceConnectionTable.tsx +++ b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceConnectionTable.tsx @@ -1,10 +1,12 @@ import React, { useCallback } from "react"; +import { useQueryClient } from "react-query"; import { ConnectionTable } from "components/EntityTable"; import useSyncActions from "components/EntityTable/hooks"; import { ITableDataItem } from "components/EntityTable/types"; import { getConnectionTableData } from "components/EntityTable/utils"; +import { invalidateConnectionsList } from "hooks/services/useConnectionHook"; import useRouter from "hooks/useRouter"; import { RoutePaths } from "pages/routePaths"; import { useDestinationDefinitionList } from "services/connector/DestinationDefinitionService"; @@ -18,6 +20,7 @@ type IProps = { const SourceConnectionTable: React.FC = ({ connections }) => { const { push } = useRouter(); + const queryClient = useQueryClient(); const { changeStatus, syncManualConnection } = useSyncActions(); const { sourceDefinitions } = useSourceDefinitionList(); @@ -32,9 +35,10 @@ const SourceConnectionTable: React.FC = ({ connections }) => { if (connection) { await changeStatus(connection); + await invalidateConnectionsList(queryClient); } }, - [changeStatus, connections] + [changeStatus, connections, queryClient] ); const onSync = useCallback( diff --git a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.tsx b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.tsx index 0889c7b389b0..54abe136ade5 100644 --- a/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.tsx +++ b/airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.tsx @@ -14,6 +14,7 @@ import { useDocumentationPanelContext } from "views/Connector/ConnectorDocumenta const Content = styled.div` max-width: 813px; + width: 80%; margin: 18px auto; `; diff --git a/airbyte-webapp/src/scss/_colors.scss b/airbyte-webapp/src/scss/_colors.scss new file mode 100644 index 000000000000..433ab6fd47c1 --- /dev/null +++ b/airbyte-webapp/src/scss/_colors.scss @@ -0,0 +1,55 @@ +$primaryColor: #615eff; +$primaryColor25: rgba(98, 94, 255, 0.25); +$primaryColor12: rgba(103, 87, 255, 0.12); +$mediumPrimaryColor: #36348f; +$mediumPrimaryColor20: rgba(73, 68, 193, 0.2); +$darkPrimaryColor: #010047; +$darkPrimaryColor60: rgba(1, 0, 71, 0.6); +$brightPrimaryColor: #c5c4ff; +$lightPrimaryColor: #edebff; + +$brightColor: #f7f6ff; + +$dangerColor: #ff5e7b; +$dangerColor25: rgba(255, 94, 123, 0.25); +$warningColor: #ffbf00; +$warningBackgroundColor: rgba(255, 191, 0, 0.2); +$lightDangerColor: #feedee; +$dangerTransparentColor: rgba(247, 77, 88, 0.1); +$attentionColor: #ffbd2e; +$successColor: #67dae1; +$successColor10: rgba(69, 230, 152, 0.1); +$successColor20: rgba(69, 230, 152, 0.2); +$backgroundColor: #fef9f4; +$shadowColor: rgba(0, 0, 0, 0.25); +$cardShadowColor: rgba(26, 25, 77, 0.12); + +$textColor: #1a194d; +$lightTextColor: #afafc1; +$textColor90: rgba(26, 26, 33, 0.9); +$darkBlue90: rgba(26, 25, 77, 0.9); +$greyColor80: #353542; +$greyColor70: #555461; +$greyColor60: #6b6b75; +$greyColor55: #868696; +$greyColor40: #b3b3bd; +$greyColor30: #d9d9e0; +$greyColor20: #e8e8ed; +$greyColor10: #f0f0f5; +$greyColor0: #f7f7fa; + +$whiteColor: #ffffff; +$blackColor: #000000; +$beigeColor: #fef9f4; +$darkBeigeColor: #ffebd7; +$borderTableColor: #d3dce4; +$lightTableColor: #f5f7f9; +$darkGreyColor: #8b8ba0; +$redColor: #ff6a4d; +$lightRedColor: #ff8870; +$redTransparentColor: rgba(255, 118, 94, 0.1); +$whiteColor5: rgba(255, 255, 255, 0.5); +$transparentColor: rgba(255, 255, 255, 0); + +$barChartColor1: #e8e8ed; +$barChartColor2: #afafc1; diff --git a/airbyte-webapp/src/scss/_fonts.scss b/airbyte-webapp/src/scss/_fonts.scss new file mode 100644 index 000000000000..90c8c3c6935e --- /dev/null +++ b/airbyte-webapp/src/scss/_fonts.scss @@ -0,0 +1,4 @@ +$regularFont: Inter, Arial, sans-serif; +$highlightFont: Montserrat, Arial, sans-serif; +$codeFont: Courier Prime, Arial, sans-serif; +$italicFont: Shrikhand, serif; diff --git a/airbyte-webapp/src/scss/_variables.scss b/airbyte-webapp/src/scss/_variables.scss new file mode 100644 index 000000000000..6e21721b3bfa --- /dev/null +++ b/airbyte-webapp/src/scss/_variables.scss @@ -0,0 +1 @@ +$transition: 0.3s; diff --git a/airbyte-webapp/src/scss/export.module.scss b/airbyte-webapp/src/scss/export.module.scss new file mode 100644 index 000000000000..0aa7c55c119f --- /dev/null +++ b/airbyte-webapp/src/scss/export.module.scss @@ -0,0 +1,69 @@ +// This module is only meant to be imported in TypeScript to give access to all SCSS variables +// that TS needs access to while we're migrating from styled components to SCSS. +// New variables won't need to be added here, unless there would be any reason we need to access +// its value from TypeScript. + +@use "./colors"; +@use "./fonts"; + +:export { + // Colors + primaryColor: colors.$primaryColor; + primaryColor25: colors.$primaryColor25; + primaryColor12: colors.$primaryColor12; + mediumPrimaryColor: colors.$mediumPrimaryColor; + mediumPrimaryColor20: colors.$mediumPrimaryColor20; + darkPrimaryColor: colors.$darkPrimaryColor; + darkPrimaryColor60: colors.$darkPrimaryColor60; + brightPrimaryColor: colors.$brightPrimaryColor; + lightPrimaryColor: colors.$lightPrimaryColor; + + brightColor: colors.$brightColor; + + dangerColor: colors.$dangerColor; + dangerColor25: colors.$dangerColor25; + warningColor: colors.$warningColor; + warningBackgroundColor: colors.$warningBackgroundColor; + lightDangerColor: colors.$lightDangerColor; + dangerTransparentColor: colors.$dangerTransparentColor; + attentionColor: colors.$attentionColor; + successColor: colors.$successColor; + successColor10: colors.$successColor10; + successColor20: colors.$successColor20; + backgroundColor: colors.$backgroundColor; + shadowColor: colors.$shadowColor; + cardShadowColor: colors.$cardShadowColor; + + textColor: colors.$textColor; + lightTextColor: colors.$lightTextColor; + textColor90: colors.$textColor90; + darkBlue90: colors.$darkBlue90; + greyColor80: colors.$greyColor80; + greyColor70: colors.$greyColor70; + greyColor60: colors.$greyColor60; + greyColor55: colors.$greyColor55; + greyColor40: colors.$greyColor40; + greyColor30: colors.$greyColor30; + greyColor20: colors.$greyColor20; + greyColor10: colors.$greyColor10; + greyColor0: colors.$greyColor0; + + whiteColor: colors.$whiteColor; + blackColor: colors.$blackColor; + beigeColor: colors.$beigeColor; + darkBeigeColor: colors.$darkBeigeColor; + borderTableColor: colors.$borderTableColor; + lightTableColor: colors.$lightTableColor; + darkGreyColor: colors.$darkGreyColor; + redColor: colors.$redColor; + lightRedColor: colors.$lightRedColor; + redTransparentColor: colors.$redTransparentColor; + whiteColor5: colors.$whiteColor5; + transparentColor: colors.$transparentColor; + + // Fonts + regularFont: fonts.$regularFont; + highlightFont: fonts.$highlightFont; + codeFont: fonts.$codeFont; + italicFont: fonts.$italicFont; +} diff --git a/airbyte-webapp/src/theme.ts b/airbyte-webapp/src/theme.ts index 8844bbe9df70..42f4e1f812e2 100644 --- a/airbyte-webapp/src/theme.ts +++ b/airbyte-webapp/src/theme.ts @@ -1,60 +1,64 @@ +import scss from "./scss/export.module.scss"; + +// Load all theme variables from our SCSS variables export const theme = { - primaryColor: "#615EFF", - primaryColor25: "rgba(98, 94, 255, .25)", - primaryColor12: "rgba(103, 87, 255, .12)", - mediumPrimaryColor: "#36348F", - mediumPrimaryColor20: "rgba(73, 68, 193, .2)", - darkPrimaryColor: "#010047", - darkPrimaryColor60: "rgba(1, 0, 71, .6)", - brightPrimaryColor: "#C5C4FF", - lightPrimaryColor: "#EDEBFF", - - brightColor: "#F7F6FF", - - dangerColor: "#FF5E7B", - warningColor: "#FFBF00", - warningBackgroundColor: "rgba(255, 191, 0, 0.2)", - lightDangerColor: "#FEEDEE", - dangerTransparentColor: "rgba(247, 77, 88, 0.1)", - attentionColor: "#FFBD2E", - successColor: "#67DAE1", - successColor10: "rgba(69, 230, 152, .1)", - successColor20: "rgba(69, 230, 152, .2)", - backgroundColor: "#FEF9F4", - shadowColor: "rgba(0, 0, 0, 0.25)", - cardShadowColor: "rgba(26, 25, 77, 0.12)", - - textColor: "#1A194D", - lightTextColor: "#AFAFC1", - textColor90: "rgba(26,26,33, .9)", - darkBlue90: "rgba(26, 25, 77, 0.9)", - greyColor80: "#353542", - greyColor70: "#555461", - greyColor60: "#6B6B75", - greyColor55: "#868696", - greyColor40: "#B3B3BD", - greyColor30: "#D9D9E0", - greyColor20: "#E8E8ED", - greyColor10: "#F0F0F5", - greyColor0: "#F7F7FA", - - whiteColor: "#FFFFFF", - blackColor: "#000000", - beigeColor: "#FEF9F4", - darkBeigeColor: "#FFEBD7", - borderTableColor: "#D3DCE4", - lightTableColor: "#F5F7F9", - darkGreyColor: "#8B8BA0", - redColor: "#FF6A4D", - lightRedColor: "#FF8870", - redTransparentColor: "rgba(255, 118, 94, 0.1)", - whiteColor5: "rgba(255, 255, 255, .5)", - transparentColor: "rgba(255, 255, 255, 0)", - - regularFont: "Inter, Arial, sans-serif", - highlightFont: "Montserrat, Arial, sans-serif", - codeFont: "Courier Prime, Arial, sans-serif", - italicFont: "Shrikhand, serif", + primaryColor: scss.primaryColor, + primaryColor25: scss.primaryColor25, + primaryColor12: scss.primaryColor12, + mediumPrimaryColor: scss.mediumPrimaryColor, + mediumPrimaryColor20: scss.mediumPrimaryColor20, + darkPrimaryColor: scss.darkPrimaryColor, + darkPrimaryColor60: scss.darkPrimaryColor60, + brightPrimaryColor: scss.brightPrimaryColor, + lightPrimaryColor: scss.lightPrimaryColor, + + brightColor: scss.brightColor, + + dangerColor: scss.dangerColor, + dangerColor25: scss.dangerColor25, + warningColor: scss.warningColor, + warningBackgroundColor: scss.warningBackgroundColor, + lightDangerColor: scss.lightDangerColor, + dangerTransparentColor: scss.dangerTransparentColor, + attentionColor: scss.attentionColor, + successColor: scss.successColor, + successColor10: scss.successColor10, + successColor20: scss.successColor20, + backgroundColor: scss.backgroundColor, + shadowColor: scss.shadowColor, + cardShadowColor: scss.cardShadowColor, + + textColor: scss.textColor, + lightTextColor: scss.lightTextColor, + textColor90: scss.textColor90, + darkBlue90: scss.darkBlue90, + greyColor80: scss.greyColor80, + greyColor70: scss.greyColor70, + greyColor60: scss.greyColor60, + greyColor55: scss.greyColor55, + greyColor40: scss.greyColor40, + greyColor30: scss.greyColor30, + greyColor20: scss.greyColor20, + greyColor10: scss.greyColor10, + greyColor0: scss.greyColor0, + + whiteColor: scss.whiteColor, + blackColor: scss.blackColor, + beigeColor: scss.beigeColor, + darkBeigeColor: scss.darkBeigeColor, + borderTableColor: scss.borderTableColor, + lightTableColor: scss.lightTableColor, + darkGreyColor: scss.darkGreyColor, + redColor: scss.redColor, + lightRedColor: scss.lightRedColor, + redTransparentColor: scss.redTransparentColor, + whiteColor5: scss.whiteColor5, + transparentColor: scss.transparentColor, + + regularFont: scss.regularFont, + highlightFont: scss.highlightFont, + codeFont: scss.codeFont, + italicFont: scss.italicFont, }; export const barChartColors = ["#E8E8ED", "#AFAFC1"]; diff --git a/airbyte-webapp/src/views/Connection/CatalogTree/StreamHeader.tsx b/airbyte-webapp/src/views/Connection/CatalogTree/StreamHeader.tsx index ef904a947561..c20aaf2bbe70 100644 --- a/airbyte-webapp/src/views/Connection/CatalogTree/StreamHeader.tsx +++ b/airbyte-webapp/src/views/Connection/CatalogTree/StreamHeader.tsx @@ -2,7 +2,7 @@ import React, { useMemo } from "react"; import { FormattedMessage } from "react-intl"; import styled from "styled-components"; -import { Cell, CheckBox, DropDownRow, Toggle } from "components"; +import { Cell, CheckBox, DropDownRow, Switch } from "components"; import { Path, SyncSchemaField, SyncSchemaStream } from "core/domain/catalog"; import { DestinationSyncMode, SyncMode } from "core/request/AirbyteClient"; @@ -89,7 +89,7 @@ export const StreamHeader: React.FC = ({ {hasFields ? : null} - + {stream.stream?.namespace || ( diff --git a/airbyte-webapp/src/views/Connection/CatalogTree/components/BulkHeader.tsx b/airbyte-webapp/src/views/Connection/CatalogTree/components/BulkHeader.tsx index ff9b7c2728be..001d146d072f 100644 --- a/airbyte-webapp/src/views/Connection/CatalogTree/components/BulkHeader.tsx +++ b/airbyte-webapp/src/views/Connection/CatalogTree/components/BulkHeader.tsx @@ -3,7 +3,7 @@ import React, { useMemo } from "react"; import { FormattedMessage } from "react-intl"; import styled from "styled-components"; -import { Button, Cell, Header, Toggle } from "components"; +import { Button, Cell, Header, Switch } from "components"; import { SyncSchemaField, SyncSchemaFieldObject, SyncSchemaStream, traverseSchemaToField } from "core/domain/catalog"; import { DestinationSyncMode, SyncMode } from "core/request/AirbyteClient"; @@ -97,7 +97,7 @@ export const BulkHeader: React.FC = ({ destinationSupportedSync - onChangeOption({ selected: !options.selected })} /> + onChangeOption({ selected: !options.selected })} /> diff --git a/airbyte-webapp/src/views/Connector/ConnectorCard/ConnectorCard.tsx b/airbyte-webapp/src/views/Connector/ConnectorCard/ConnectorCard.tsx index 9632f3d78732..e70ba383567b 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorCard/ConnectorCard.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorCard/ConnectorCard.tsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import React, { useEffect, useState } from "react"; import { FormattedMessage } from "react-intl"; import { ContentCard } from "components"; @@ -37,7 +37,13 @@ export const ConnectorCard: React.FC< const [saved, setSaved] = useState(false); const [errorStatusRequest, setErrorStatusRequest] = useState(null); - const { testConnector, isTestConnectionInProgress, onStopTesting, error } = useTestConnector(props); + const { testConnector, isTestConnectionInProgress, onStopTesting, error, reset } = useTestConnector(props); + + useEffect(() => { + // Whenever the selected connector changed, reset the check connection call and other errors + reset(); + setErrorStatusRequest(null); + }, [props.selectedConnectorDefinitionSpecification, reset]); const trackNewSourceAction = useTrackAction(TrackActionType.NEW_SOURCE); const trackNewDestinationAction = useTrackAction(TrackActionType.NEW_DESTINATION); diff --git a/airbyte-webapp/src/views/Connector/ConnectorCard/useTestConnector.tsx b/airbyte-webapp/src/views/Connector/ConnectorCard/useTestConnector.tsx index 333e48b4d5e8..337ff7940520 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorCard/useTestConnector.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorCard/useTestConnector.tsx @@ -22,6 +22,7 @@ export const useTestConnector = ( onStopTesting: () => void; testConnector: (v?: ServiceFormValues) => Promise; error: Error | null; + reset: () => void; } => { const { mutateAsync, isLoading, error, isSuccess, reset } = useCheckConnector(props.formType); @@ -31,6 +32,7 @@ export const useTestConnector = ( isTestConnectionInProgress: isLoading, isSuccess, error, + reset, onStopTesting: () => { abortControllerRef.current?.abort(); reset(); diff --git a/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/ConnectorDocumentationLayout.tsx b/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/ConnectorDocumentationLayout.tsx index b1732b757864..26bfefe45b0f 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/ConnectorDocumentationLayout.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/ConnectorDocumentationLayout.tsx @@ -3,6 +3,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import React from "react"; import { FormattedMessage } from "react-intl"; import { ReflexContainer, ReflexElement, ReflexSplitter } from "react-reflex"; +import { useWindowSize } from "react-use"; import styled from "styled-components"; import { DocumentationPanel } from "../../../components/DocumentationPanel/DocumentationPanel"; @@ -30,9 +31,11 @@ interface PanelContainerProps { const LeftPanelContainer: React.FC> = ({ children, dimensions }) => { const width = dimensions?.width ?? 0; + const screenWidth = useWindowSize().width; + return ( <> - {width < 450 && ( + {screenWidth > 500 && width < 450 && (

@@ -63,6 +66,7 @@ const RightPanelContainer: React.FC export const ConnectorDocumentationLayout: React.FC = ({ children }) => { const { documentationPanelOpen } = useDocumentationPanelContext(); + const screenWidth = useWindowSize().width; return ( @@ -76,7 +80,7 @@ export const ConnectorDocumentationLayout: React.FC = ({ children }) => { )} - {documentationPanelOpen && ( + {screenWidth > 500 && documentationPanelOpen && ( diff --git a/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext.tsx b/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext.tsx index f05a43394bc9..f26872b1b0d7 100644 --- a/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext.tsx +++ b/airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext.tsx @@ -18,7 +18,6 @@ export const useDocumentationPanelState = () => { export const useCloseDocumentationPanelEffect = () => { const { setDocumentationPanelOpen } = useDocumentationPanelState(); useEffect(() => { - console.log("I'm here"); return setDocumentationPanelOpen(false); }, [setDocumentationPanelOpen]); }; diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/ServiceForm.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/ServiceForm.tsx index f33daaa0da24..e59ddad0116d 100644 --- a/airbyte-webapp/src/views/Connector/ServiceForm/ServiceForm.tsx +++ b/airbyte-webapp/src/views/Connector/ServiceForm/ServiceForm.tsx @@ -15,6 +15,7 @@ import RequestConnectorModal from "views/Connector/RequestConnectorModal"; import { ConnectionConfiguration } from "../../../core/domain/connection"; import { CheckConnectionRead } from "../../../core/request/AirbyteClient"; +import { useDocumentationPanelContext } from "../ConnectorDocumentationLayout/DocumentationPanelContext"; import { ConnectorNameControl } from "./components/Controls/ConnectorNameControl"; import { ConnectorServiceTypeControl } from "./components/Controls/ConnectorServiceTypeControl"; import { FormRoot } from "./FormRoot"; @@ -82,8 +83,14 @@ const SetDefaultName: React.FC = () => { useEffect(() => { if (selectedService) { - setFieldValue("name", selectedService.name); + const timeout = setTimeout(() => { + // We need to push this out one execution slot, so the form isn't still in its + // initialization status and won't react to this call but would just take the initialValues instead. + setFieldValue("name", selectedService.name); + }); + return () => clearTimeout(timeout); } + return; // eslint-disable-next-line react-hooks/exhaustive-deps }, [selectedService]); @@ -148,7 +155,8 @@ const ServiceForm: React.FC = (props) => { const { formFields, initialValues } = useBuildForm(jsonSchema, formValues); - const documentationUrl = useMemo(() => { + const { setDocumentationUrl, setDocumentationPanelOpen } = useDocumentationPanelContext(); + useMemo(() => { if (!selectedConnectorDefinitionSpecification) { return undefined; } @@ -168,8 +176,10 @@ const ServiceForm: React.FC = (props) => { ); } }); - return selectedServiceDefinition?.documentationUrl; - }, [availableServices, selectedConnectorDefinitionSpecification]); + setDocumentationUrl(selectedServiceDefinition?.documentationUrl ?? ""); + setDocumentationPanelOpen(true); + return; + }, [availableServices, selectedConnectorDefinitionSpecification, setDocumentationPanelOpen, setDocumentationUrl]); const uiOverrides = useMemo( () => ({ @@ -181,7 +191,6 @@ const ServiceForm: React.FC = (props) => { = (props) => { ), }, }), - [ - formType, - documentationUrl, - props.onServiceSelect, - props.availableServices, - props.isEditMode, - toggleOpenRequestModal, - ] + [formType, props.onServiceSelect, props.availableServices, props.isEditMode, toggleOpenRequestModal] ); const { uiWidgetsInfo, setUiWidgetsInfo } = useBuildUiWidgetsContext(formFields, initialValues, uiOverrides); diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/ConnectorServiceTypeControl.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/ConnectorServiceTypeControl.tsx index 19b324fdc863..bf923117a062 100644 --- a/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/ConnectorServiceTypeControl.tsx +++ b/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/ConnectorServiceTypeControl.tsx @@ -25,7 +25,6 @@ import { naturalComparator } from "utils/objects"; import { useDocumentationPanelContext } from "views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext"; import { WarningMessage } from "../WarningMessage"; -import { DocumentationLink } from "./DocumentationLink"; const BottomElement = styled.div` background: ${(props) => props.theme.greyColro0}; @@ -289,7 +288,6 @@ const ConnectorServiceTypeControl: React.FC<{ noOptionsMessage={getNoOptionsMessage} /> - {selectedService && } {selectedService && (selectedService.releaseStage === ReleaseStage.alpha || selectedService.releaseStage === ReleaseStage.beta) && ( diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/DocumentationLink.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/DocumentationLink.tsx deleted file mode 100644 index af2dea269463..000000000000 --- a/airbyte-webapp/src/views/Connector/ServiceForm/components/Controls/DocumentationLink.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import React from "react"; -import { FormattedMessage } from "react-intl"; -import styled from "styled-components"; - -import { useDocumentationPanelContext } from "views/Connector/ConnectorDocumentationLayout/DocumentationPanelContext"; - -const SideViewButton = styled.button` - cursor: pointer; - margin-top: 5px; - font-weight: 500; - font-size: 14px; - line-height: 17px; - text-decoration: underline; - display: inline-block; - background: none; - border: none; - padding: 0; - - color: ${({ theme }) => theme.primaryColor}; -`; - -export const DocumentationLink: React.FC = () => { - const { documentationPanelOpen, setDocumentationPanelOpen } = useDocumentationPanelContext(); - - return ( - setDocumentationPanelOpen(!documentationPanelOpen)}> - - - ); -}; diff --git a/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/PropertySection.tsx b/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/PropertySection.tsx index d9000585eeed..2f4393b598fd 100644 --- a/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/PropertySection.tsx +++ b/airbyte-webapp/src/views/Connector/ServiceForm/components/Sections/PropertySection.tsx @@ -1,7 +1,7 @@ import { useField } from "formik"; import React from "react"; -import { LabeledToggle, TextWithHTML } from "components"; +import { LabeledSwitch, TextWithHTML } from "components"; import { FormBaseItem } from "core/form/types"; @@ -22,7 +22,7 @@ const PropertySection: React.FC<{ property: FormBaseItem; path?: string }> = ({ if (property.type === "boolean") { return ( - } diff --git a/airbyte-webapp/src/views/Settings/PreferencesForm/PreferencesForm.tsx b/airbyte-webapp/src/views/Settings/PreferencesForm/PreferencesForm.tsx index 77717ac1d245..f43edaf2d933 100644 --- a/airbyte-webapp/src/views/Settings/PreferencesForm/PreferencesForm.tsx +++ b/airbyte-webapp/src/views/Settings/PreferencesForm/PreferencesForm.tsx @@ -7,7 +7,7 @@ import * as yup from "yup"; import { BigButton } from "components/CenteredPageComponents"; import Label from "components/Label"; import LabeledInput from "components/LabeledInput"; -import LabeledToggle from "components/LabeledToggle"; +import { LabeledSwitch } from "components/LabeledSwitch"; import { useConfig } from "config"; @@ -135,7 +135,7 @@ const PreferencesForm: React.FC = ({ {({ field }: FieldProps) => ( - } @@ -149,7 +149,7 @@ const PreferencesForm: React.FC = ({ {({ field }: FieldProps) => ( - } @@ -164,7 +164,7 @@ const PreferencesForm: React.FC = ({ {({ field }: FieldProps) => ( - } diff --git a/airbyte-workers/Dockerfile b/airbyte-workers/Dockerfile index 392de84e97ff..62729a7c4161 100644 --- a/airbyte-workers/Dockerfile +++ b/airbyte-workers/Dockerfile @@ -27,7 +27,7 @@ RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packa RUN echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | tee /etc/apt/sources.list.d/kubernetes.list RUN apt-get update && apt-get install -y kubectl -ARG VERSION=0.39.1-alpha +ARG VERSION=0.39.5-alpha ENV APPLICATION airbyte-workers ENV VERSION ${VERSION} diff --git a/airbyte-workers/build.gradle b/airbyte-workers/build.gradle index a85cea795814..e165fe52b596 100644 --- a/airbyte-workers/build.gradle +++ b/airbyte-workers/build.gradle @@ -18,6 +18,7 @@ dependencies { implementation 'org.apache.commons:commons-text:1.9' implementation 'org.eclipse.jetty:jetty-server:9.4.31.v20200723' implementation 'org.eclipse.jetty:jetty-servlet:9.4.31.v20200723' + implementation libs.flyway.core implementation project(':airbyte-analytics') implementation project(':airbyte-commons-docker') diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/JobStatus.java b/airbyte-workers/src/main/java/io/airbyte/workers/JobStatus.java index 154f98a9df0c..797b3cb56683 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/JobStatus.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/JobStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/OutputAndStatus.java b/airbyte-workers/src/main/java/io/airbyte/workers/OutputAndStatus.java index 0751a3efd4c4..97e589df5220 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/OutputAndStatus.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/OutputAndStatus.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/RecordSchemaValidator.java b/airbyte-workers/src/main/java/io/airbyte/workers/RecordSchemaValidator.java index 60888c591955..fd4e970fba5a 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/RecordSchemaValidator.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/RecordSchemaValidator.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/SyncException.java b/airbyte-workers/src/main/java/io/airbyte/workers/SyncException.java index 584f5119a082..ac717a5053ee 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/SyncException.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/SyncException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/Worker.java b/airbyte-workers/src/main/java/io/airbyte/workers/Worker.java index 8e4179dac1e7..1a8b28bae57d 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/Worker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/Worker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerApp.java b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerApp.java index 2a50c37f8d1d..7c8a34479d50 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerApp.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerApp.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; @@ -23,11 +23,15 @@ import io.airbyte.config.persistence.split_secrets.SecretPersistence; import io.airbyte.config.persistence.split_secrets.SecretsHydrator; import io.airbyte.db.Database; +import io.airbyte.db.check.impl.JobsDatabaseAvailabilityCheck; import io.airbyte.db.factory.DSLContextFactory; import io.airbyte.db.factory.DataSourceFactory; +import io.airbyte.db.factory.DatabaseCheckFactory; import io.airbyte.db.factory.DatabaseDriver; -import io.airbyte.db.instance.configs.ConfigsDatabaseInstance; -import io.airbyte.db.instance.jobs.JobsDatabaseInstance; +import io.airbyte.db.factory.FlywayFactory; +import io.airbyte.db.instance.DatabaseConstants; +import io.airbyte.db.instance.configs.ConfigsDatabaseMigrator; +import io.airbyte.db.instance.jobs.JobsDatabaseMigrator; import io.airbyte.metrics.lib.DatadogClientConfiguration; import io.airbyte.metrics.lib.DogStatsDMetricSingleton; import io.airbyte.metrics.lib.MetricEmittingApps; @@ -86,6 +90,7 @@ import java.util.concurrent.Executors; import javax.sql.DataSource; import lombok.AllArgsConstructor; +import org.flywaydb.core.Flyway; import org.jooq.DSLContext; import org.jooq.SQLDialect; import org.slf4j.Logger; @@ -383,7 +388,7 @@ private static void launchWorkerApp(final Configs configs, final DSLContext conf TemporalUtils.configureTemporalNamespace(temporalService); - final Database configDatabase = new ConfigsDatabaseInstance(configsDslContext).getInitialized(); + final Database configDatabase = new Database(configsDslContext); final FeatureFlags featureFlags = new EnvVariableFeatureFlags(); final JsonSecretsProcessor jsonSecretsProcessor = JsonSecretsProcessor.builder() .maskSecrets(!featureFlags.exposeSecretsInExport()) @@ -392,7 +397,7 @@ private static void launchWorkerApp(final Configs configs, final DSLContext conf final ConfigPersistence configPersistence = DatabaseConfigPersistence.createWithValidation(configDatabase, jsonSecretsProcessor); final ConfigRepository configRepository = new ConfigRepository(configPersistence, configDatabase); - final Database jobDatabase = new JobsDatabaseInstance(jobsDslContext).getInitialized(); + final Database jobDatabase = new Database(jobsDslContext); final JobPersistence jobPersistence = new DefaultJobPersistence(jobDatabase); TrackingClientSingleton.initialize( @@ -477,6 +482,24 @@ public static void main(final String[] args) { // Ensure that the database resources are closed on application shutdown CloseableShutdownHook.registerRuntimeShutdownHook(configsDataSource, jobsDataSource, configsDslContext, jobsDslContext); + final Flyway configsFlyway = FlywayFactory.create(configsDataSource, WorkerApp.class.getSimpleName(), + ConfigsDatabaseMigrator.DB_IDENTIFIER, ConfigsDatabaseMigrator.MIGRATION_FILE_LOCATION); + final Flyway jobsFlyway = FlywayFactory.create(jobsDataSource, WorkerApp.class.getSimpleName(), JobsDatabaseMigrator.DB_IDENTIFIER, + JobsDatabaseMigrator.MIGRATION_FILE_LOCATION); + + // Ensure that the Configuration database is available + DatabaseCheckFactory + .createConfigsDatabaseMigrationCheck(configsDslContext, configsFlyway, configs.getConfigsDatabaseMinimumFlywayMigrationVersion(), + configs.getConfigsDatabaseInitializationTimeoutMs()) + .check(); + + LOGGER.info("Checking jobs database flyway migration version.."); + DatabaseCheckFactory.createJobsDatabaseMigrationCheck(jobsDslContext, jobsFlyway, configs.getJobsDatabaseMinimumFlywayMigrationVersion(), + configs.getJobsDatabaseInitializationTimeoutMs()).check(); + + // Ensure that the Jobs database is available + new JobsDatabaseAvailabilityCheck(jobsDslContext, DatabaseConstants.DEFAULT_ASSERT_DATABASE_TIMEOUT_MS).check(); + launchWorkerApp(configs, configsDslContext, jobsDslContext); } } catch (final Throwable t) { diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConfigs.java b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConfigs.java index acff802326d4..a8997e271088 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConfigs.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConfigs.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConstants.java b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConstants.java index dc5394bf1035..0b3fd4a213ff 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConstants.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerConstants.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerUtils.java b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerUtils.java index 40f4ca963456..80be9a4890ed 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/WorkerUtils.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/WorkerUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/exception/RecordSchemaValidationException.java b/airbyte-workers/src/main/java/io/airbyte/workers/exception/RecordSchemaValidationException.java index 18f6a5ac523c..2f68a64cf7b7 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/exception/RecordSchemaValidationException.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/exception/RecordSchemaValidationException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.exception; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/exception/WorkerException.java b/airbyte-workers/src/main/java/io/airbyte/workers/exception/WorkerException.java index 421ffd573ac2..90a4b4b8c701 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/exception/WorkerException.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/exception/WorkerException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.exception; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/CheckConnectionWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/CheckConnectionWorker.java index a044e37a2c7c..ae93ad544b4c 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/CheckConnectionWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/CheckConnectionWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationRunner.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationRunner.java index 87510b0f44a3..cd3c6fd31c18 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationRunner.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationRunner.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationWorker.java index 69c810fd59e8..97150e4fadfe 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DbtTransformationWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultCheckConnectionWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultCheckConnectionWorker.java index e4230c33374d..3831e506b93e 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultCheckConnectionWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultCheckConnectionWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultDiscoverCatalogWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultDiscoverCatalogWorker.java index 53b6d970224d..26225d0e3b2e 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultDiscoverCatalogWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultDiscoverCatalogWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultGetSpecWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultGetSpecWorker.java index 90355c7be081..5021ac3ac4e8 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultGetSpecWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultGetSpecWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultNormalizationWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultNormalizationWorker.java index a5198bcdc581..c5142eaf9c69 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultNormalizationWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultNormalizationWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultReplicationWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultReplicationWorker.java index d262fe2ec310..3fa866e5206e 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultReplicationWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DefaultReplicationWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; @@ -350,7 +350,7 @@ private static Runnable getReplicationRunnable(final AirbyteSource source, } try { - destination.notifyEndOfStream(); + destination.notifyEndOfInput(); } catch (final Exception e) { throw new DestinationException("Destination process end of stream notification failed", e); } diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DiscoverCatalogWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DiscoverCatalogWorker.java index 404fdd69bdd0..d5b5f9167c03 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DiscoverCatalogWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DiscoverCatalogWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/DocumentStoreClient.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/DocumentStoreClient.java index 9b107b75a4a1..d92c960f9f9e 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/DocumentStoreClient.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/DocumentStoreClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/EchoWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/EchoWorker.java index 80c9e5f1b9ba..7a5279aae531 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/EchoWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/EchoWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/GetSpecWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/GetSpecWorker.java index 1962a4fb942c..c184dcec9ffd 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/GetSpecWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/GetSpecWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/general/ReplicationWorker.java b/airbyte-workers/src/main/java/io/airbyte/workers/general/ReplicationWorker.java index b925299819df..2ef57848b62c 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/general/ReplicationWorker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/general/ReplicationWorker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.general; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/helper/ConnectionHelper.java b/airbyte-workers/src/main/java/io/airbyte/workers/helper/ConnectionHelper.java index e7a775ffd15c..9450e8cae1d7 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/helper/ConnectionHelper.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/helper/ConnectionHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.helper; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/helper/EntrypointEnvChecker.java b/airbyte-workers/src/main/java/io/airbyte/workers/helper/EntrypointEnvChecker.java index 95f22e9a13f0..38d4b9ce21f2 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/helper/EntrypointEnvChecker.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/helper/EntrypointEnvChecker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.helper; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/helper/FailureHelper.java b/airbyte-workers/src/main/java/io/airbyte/workers/helper/FailureHelper.java index 4098ae44332c..b3560401bd19 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/helper/FailureHelper.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/helper/FailureHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.helper; diff --git a/airbyte-workers/src/main/java/io/airbyte/workers/internal/AirbyteDestination.java b/airbyte-workers/src/main/java/io/airbyte/workers/internal/AirbyteDestination.java index 9855f67161f9..3add86d4fc5c 100644 --- a/airbyte-workers/src/main/java/io/airbyte/workers/internal/AirbyteDestination.java +++ b/airbyte-workers/src/main/java/io/airbyte/workers/internal/AirbyteDestination.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.internal; @@ -49,7 +49,7 @@ public interface AirbyteDestination extends CheckedConsumer eventQueue = testStateListener.events(testId); + final List events = new ArrayList<>(eventQueue); + + for (final ChangedStateEvent event : events) { + if (event.isValue()) { + log.info("event = " + event); + } + } + + Assertions.assertThat(events) + .filteredOn(changedStateEvent -> changedStateEvent.getField() == StateField.CANCELLED && changedStateEvent.isValue()) + .hasSizeGreaterThanOrEqualTo(1); + + Assertions.assertThat(events) + .filteredOn(changedStateEvent -> changedStateEvent.getField() == StateField.DELETED && changedStateEvent.isValue()) + .hasSizeGreaterThanOrEqualTo(1); + + Mockito.verify(mJobCreationAndStatusUpdateActivity) + .jobCancelledWithAttemptNumber(Mockito.argThat(new HasCancellationFailure(JOB_ID, ATTEMPT_ID))); + } + @RepeatedTest(10) @Timeout(value = 2, unit = TimeUnit.SECONDS) diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/WorkflowReplayingTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/WorkflowReplayingTest.java index 376f8cefe10b..d7949af3361e 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/WorkflowReplayingTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/WorkflowReplayingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/AutoDisableConnectionActivityTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/AutoDisableConnectionActivityTest.java index 6423f2d8b484..b60b7d3c2b0d 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/AutoDisableConnectionActivityTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/AutoDisableConnectionActivityTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.activities; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConfigFetchActivityTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConfigFetchActivityTest.java index af33c07eb64c..94d9a77dac2b 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConfigFetchActivityTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConfigFetchActivityTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.activities; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConnectionDeletionActivityTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConnectionDeletionActivityTest.java index 45eef3617724..8c9c318b97a4 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConnectionDeletionActivityTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/ConnectionDeletionActivityTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.activities; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/JobCreationAndStatusUpdateActivityTest.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/JobCreationAndStatusUpdateActivityTest.java index f836ff7159f3..abb8543e772c 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/JobCreationAndStatusUpdateActivityTest.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/activities/JobCreationAndStatusUpdateActivityTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.activities; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/DbtFailureSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/DbtFailureSyncWorkflow.java index 982914194c59..6b93baa68fe5 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/DbtFailureSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/DbtFailureSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/EmptySyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/EmptySyncWorkflow.java index 3f9615c383e5..2e1ea9624cc2 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/EmptySyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/EmptySyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/NormalizationFailureSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/NormalizationFailureSyncWorkflow.java index 3bcc67f5cc57..098e1337045b 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/NormalizationFailureSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/NormalizationFailureSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/PersistFailureSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/PersistFailureSyncWorkflow.java index 5dfadc3cad94..f9fd6219566e 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/PersistFailureSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/PersistFailureSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/ReplicateFailureSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/ReplicateFailureSyncWorkflow.java index 9a5dc3bdbd7a..8605b578a4a8 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/ReplicateFailureSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/ReplicateFailureSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SleepingSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SleepingSyncWorkflow.java index 3d6829b75adc..ccb44394a65e 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SleepingSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SleepingSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SourceAndDestinationFailureSyncWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SourceAndDestinationFailureSyncWorkflow.java index a318885125b8..4111f0a438ef 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SourceAndDestinationFailureSyncWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SourceAndDestinationFailureSyncWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingOutputWorkflow.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingOutputWorkflow.java index 843ce1ab7598..d100d742b379 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingOutputWorkflow.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingOutputWorkflow.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingWithHearbeatTimeoutException.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingWithHearbeatTimeoutException.java index 75e6c8cdce70..48a22dec4ae7 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingWithHearbeatTimeoutException.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowFailingWithHearbeatTimeoutException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowWithActivityFailureException.java b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowWithActivityFailureException.java index cc8b9dcd9398..484dd1eb67d6 100644 --- a/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowWithActivityFailureException.java +++ b/airbyte-workers/src/test/java/io/airbyte/workers/temporal/scheduling/testsyncworkflow/SyncWorkflowWithActivityFailureException.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Airbyte, Inc., all rights reserved. + * Copyright (c) 2022 Airbyte, Inc., all rights reserved. */ package io.airbyte.workers.temporal.scheduling.testsyncworkflow; diff --git a/charts/airbyte/Chart.yaml b/charts/airbyte/Chart.yaml index 3014f0166b30..f9b91c951089 100644 --- a/charts/airbyte/Chart.yaml +++ b/charts/airbyte/Chart.yaml @@ -21,7 +21,7 @@ version: 0.3.2 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.39.1-alpha" +appVersion: "0.39.5-alpha" dependencies: - name: common diff --git a/charts/airbyte/README.md b/charts/airbyte/README.md index a2a828e64c35..2eaf4f56bf8f 100644 --- a/charts/airbyte/README.md +++ b/charts/airbyte/README.md @@ -30,7 +30,7 @@ Helm charts for Airbyte. | `webapp.replicaCount` | Number of webapp replicas | `1` | | `webapp.image.repository` | The repository to use for the airbyte webapp image. | `airbyte/webapp` | | `webapp.image.pullPolicy` | the pull policy to use for the airbyte webapp image | `IfNotPresent` | -| `webapp.image.tag` | The airbyte webapp image tag. Defaults to the chart's AppVersion | `0.39.1-alpha` | +| `webapp.image.tag` | The airbyte webapp image tag. Defaults to the chart's AppVersion | `0.39.5-alpha` | | `webapp.podAnnotations` | Add extra annotations to the webapp pod(s) | `{}` | | `webapp.containerSecurityContext` | Security context for the container | `{}` | | `webapp.livenessProbe.enabled` | Enable livenessProbe on the webapp | `true` | @@ -72,7 +72,7 @@ Helm charts for Airbyte. | `scheduler.replicaCount` | Number of scheduler replicas | `1` | | `scheduler.image.repository` | The repository to use for the airbyte scheduler image. | `airbyte/scheduler` | | `scheduler.image.pullPolicy` | the pull policy to use for the airbyte scheduler image | `IfNotPresent` | -| `scheduler.image.tag` | The airbyte scheduler image tag. Defaults to the chart's AppVersion | `0.39.1-alpha` | +| `scheduler.image.tag` | The airbyte scheduler image tag. Defaults to the chart's AppVersion | `0.39.5-alpha` | | `scheduler.podAnnotations` | Add extra annotations to the scheduler pod | `{}` | | `scheduler.containerSecurityContext` | Security context for the container | `{}` | | `scheduler.livenessProbe.enabled` | Enable livenessProbe on the scheduler | `true` | @@ -135,7 +135,7 @@ Helm charts for Airbyte. | `server.replicaCount` | Number of server replicas | `1` | | `server.image.repository` | The repository to use for the airbyte server image. | `airbyte/server` | | `server.image.pullPolicy` | the pull policy to use for the airbyte server image | `IfNotPresent` | -| `server.image.tag` | The airbyte server image tag. Defaults to the chart's AppVersion | `0.39.1-alpha` | +| `server.image.tag` | The airbyte server image tag. Defaults to the chart's AppVersion | `0.39.5-alpha` | | `server.podAnnotations` | Add extra annotations to the server pod | `{}` | | `server.containerSecurityContext` | Security context for the container | `{}` | | `server.livenessProbe.enabled` | Enable livenessProbe on the server | `true` | @@ -170,7 +170,7 @@ Helm charts for Airbyte. | `worker.replicaCount` | Number of worker replicas | `1` | | `worker.image.repository` | The repository to use for the airbyte worker image. | `airbyte/worker` | | `worker.image.pullPolicy` | the pull policy to use for the airbyte worker image | `IfNotPresent` | -| `worker.image.tag` | The airbyte worker image tag. Defaults to the chart's AppVersion | `0.39.1-alpha` | +| `worker.image.tag` | The airbyte worker image tag. Defaults to the chart's AppVersion | `0.39.5-alpha` | | `worker.podAnnotations` | Add extra annotations to the worker pod(s) | `{}` | | `worker.containerSecurityContext` | Security context for the container | `{}` | | `worker.livenessProbe.enabled` | Enable livenessProbe on the worker | `true` | @@ -202,7 +202,7 @@ Helm charts for Airbyte. | ----------------------------- | -------------------------------------------------------------------- | -------------------- | | `bootloader.image.repository` | The repository to use for the airbyte bootloader image. | `airbyte/bootloader` | | `bootloader.image.pullPolicy` | the pull policy to use for the airbyte bootloader image | `IfNotPresent` | -| `bootloader.image.tag` | The airbyte bootloader image tag. Defaults to the chart's AppVersion | `0.39.1-alpha` | +| `bootloader.image.tag` | The airbyte bootloader image tag. Defaults to the chart's AppVersion | `0.39.5-alpha` | | `bootloader.podAnnotations` | Add extra annotations to the bootloader pod | `{}` | | `bootloader.nodeSelector` | Node labels for pod assignment | `{}` | | `bootloader.tolerations` | Tolerations for worker pod assignment. | `[]` | diff --git a/charts/airbyte/templates/worker/deployment.yaml b/charts/airbyte/templates/worker/deployment.yaml index 826f2b6d1066..8fd10be5f82a 100644 --- a/charts/airbyte/templates/worker/deployment.yaml +++ b/charts/airbyte/templates/worker/deployment.yaml @@ -239,6 +239,16 @@ spec: configMapKeyRef: name: {{ include "common.names.fullname" . }}-env key: INTERNAL_API_HOST + - name: CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + valueFrom: + configMapKeyRef: + name: {{ include "common.names.fullname" . }}-env + key: CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + - name: JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + valueFrom: + configMapKeyRef: + name: {{ include "common.names.fullname" . }}-env + key: JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION {{- if .Values.worker.extraEnv }} {{ .Values.worker.extraEnv | toYaml | nindent 8 }} {{- end }} diff --git a/charts/airbyte/values.yaml b/charts/airbyte/values.yaml index d3a9a6568c64..84c730fe901f 100644 --- a/charts/airbyte/values.yaml +++ b/charts/airbyte/values.yaml @@ -41,7 +41,7 @@ webapp: image: repository: airbyte/webapp pullPolicy: IfNotPresent - tag: 0.39.1-alpha + tag: 0.39.5-alpha ## @param webapp.podAnnotations [object] Add extra annotations to the webapp pod(s) ## @@ -207,7 +207,7 @@ scheduler: image: repository: airbyte/scheduler pullPolicy: IfNotPresent - tag: 0.39.1-alpha + tag: 0.39.5-alpha ## @param scheduler.podAnnotations [object] Add extra annotations to the scheduler pod ## @@ -438,7 +438,7 @@ server: image: repository: airbyte/server pullPolicy: IfNotPresent - tag: 0.39.1-alpha + tag: 0.39.5-alpha ## @param server.podAnnotations [object] Add extra annotations to the server pod ## @@ -565,7 +565,7 @@ worker: image: repository: airbyte/worker pullPolicy: IfNotPresent - tag: 0.39.1-alpha + tag: 0.39.5-alpha ## @param worker.podAnnotations [object] Add extra annotations to the worker pod(s) ## @@ -683,7 +683,7 @@ bootloader: image: repository: airbyte/bootloader pullPolicy: IfNotPresent - tag: 0.39.1-alpha + tag: 0.39.5-alpha ## @param bootloader.podAnnotations [object] Add extra annotations to the bootloader pod ## diff --git a/docker-compose.yaml b/docker-compose.yaml index 303954df5893..7711fa365edf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -97,10 +97,12 @@ services: - CONFIG_DATABASE_PASSWORD=${CONFIG_DATABASE_PASSWORD:-} - CONFIG_DATABASE_URL=${CONFIG_DATABASE_URL:-} - CONFIG_DATABASE_USER=${CONFIG_DATABASE_USER:-} + - CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=${CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION:-} - CONFIG_ROOT=${CONFIG_ROOT} - DATABASE_PASSWORD=${DATABASE_PASSWORD} - DATABASE_URL=${DATABASE_URL} - DATABASE_USER=${DATABASE_USER} + - JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION=${JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION:-} - JOB_MAIN_CONTAINER_CPU_LIMIT=${JOB_MAIN_CONTAINER_CPU_LIMIT} - JOB_MAIN_CONTAINER_CPU_REQUEST=${JOB_MAIN_CONTAINER_CPU_REQUEST} - JOB_MAIN_CONTAINER_MEMORY_LIMIT=${JOB_MAIN_CONTAINER_MEMORY_LIMIT} diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md deleted file mode 100644 index c872ea86f16c..000000000000 --- a/docs/SUMMARY.md +++ /dev/null @@ -1,305 +0,0 @@ -# Table of contents - -- [Introduction](../README.md) -- [Airbyte Cloud QuickStart](cloud/getting-started-with-airbyte-cloud.md) - - [Core Concepts](cloud/core-concepts.md) - - [Managing Airbyte Cloud](cloud/managing-airbyte-cloud.md) -- [Airbyte Open Source Quickstart](quickstart/README.md) - - [Deploy Airbyte](quickstart/deploy-airbyte.md) - - [Add a Source](quickstart/add-a-source.md) - - [Add a Destination](quickstart/add-a-destination.md) - - [Set up a Connection](quickstart/set-up-a-connection.md) -- [Deploying Airbyte Open Source](deploying-airbyte/README.md) - - [Local Deployment](deploying-airbyte/local-deployment.md) - - [On AWS (EC2)](deploying-airbyte/on-aws-ec2.md) - - [On AWS ECS (Coming Soon)](deploying-airbyte/on-aws-ecs.md) - - [On Azure(VM)](deploying-airbyte/on-azure-vm-cloud-shell.md) - - [On GCP (Compute Engine)](deploying-airbyte/on-gcp-compute-engine.md) - - [On Kubernetes (Beta)](deploying-airbyte/on-kubernetes.md) - - [On Plural (Beta)](deploying-airbyte/on-plural.md) - - [On Oracle Cloud Infrastructure VM](deploying-airbyte/on-oci-vm.md) - - [On Digital Ocean Droplet](deploying-airbyte/on-digitalocean-droplet.md) -- [Operator Guides](operator-guides/README.md) - - [Upgrading Airbyte](operator-guides/upgrading-airbyte.md) - - [Resetting Your Data](operator-guides/reset.md) - - [Configuring the Airbyte Database](operator-guides/configuring-airbyte-db.md) - - [Browsing Output Logs](operator-guides/browsing-output-logs.md) - - [Using the Airflow Airbyte Operator](operator-guides/using-the-airflow-airbyte-operator.md) - - [Using the Prefect Task](operator-guides/using-prefect-task.md) - - [Using the Dagster Integration](operator-guides/using-dagster-integration.md) - - [Windows - Browsing Local File Output](operator-guides/locating-files-local-destination.md) - - [Transformations and Normalization](operator-guides/transformation-and-normalization/README.md) - - [Transformations with SQL (Part 1/3)](operator-guides/transformation-and-normalization/transformations-with-sql.md) - - [Transformations with dbt (Part 2/3)](operator-guides/transformation-and-normalization/transformations-with-dbt.md) - - [Transformations with Airbyte (Part 3/3)](operator-guides/transformation-and-normalization/transformations-with-airbyte.md) - - [Configuring Airbyte](operator-guides/configuring-airbyte.md) - - [Sentry Integration](operator-guides/sentry-integration.md) - - [Using Custom Connectors](operator-guides/using-custom-connectors.md) - - [Scaling Airbyte](operator-guides/scaling-airbyte.md) - - [Securing Airbyte](operator-guides/securing-airbyte.md) -- [Connector Catalog](integrations/README.md) - - [Sources](integrations/sources/README.md) - - [3PL Central](integrations/sources/tplcentral.md) - - [Airtable](integrations/sources/airtable.md) - - [Amazon SQS](integrations/sources/amazon-sqs.md) - - [Amazon Seller Partner](integrations/sources/amazon-seller-partner.md) - - [Amazon Ads](integrations/sources/amazon-ads.md) - - [Amplitude](integrations/sources/amplitude.md) - - [Apify Dataset](integrations/sources/apify-dataset.md) - - [Appstore](integrations/sources/appstore.md) - - [Asana](integrations/sources/asana.md) - - [AWS CloudTrail](integrations/sources/aws-cloudtrail.md) - - [Azure Table Storage](integrations/sources/azure-table.md) - - [Bamboo HR](integrations/sources/bamboo-hr.md) - - [Bing Ads](integrations/sources/bing-ads.md) - - [BigCommerce](integrations/sources/bigcommerce.md) - - [BigQuery](integrations/sources/bigquery.md) - - [Braintree](integrations/sources/braintree.md) - - [Cart](integrations/sources/cart.md) - - [Chargebee](integrations/sources/chargebee.md) - - [Chartmogul](integrations/sources/chartmogul.md) - - [ClickHouse](integrations/sources/clickhouse.md) - - [Close.com](integrations/sources/close-com.md) - - [CockroachDB](integrations/sources/cockroachdb.md) - - [Confluence](integrations/sources/confluence.md) - - [Customer.io (Sponsored by Faros AI)](integrations/sources/customer-io.md) - - [Delighted](integrations/sources/delighted.md) - - [Db2](integrations/sources/db2.md) - - [Dixa](integrations/sources/dixa.md) - - [Drift](integrations/sources/drift.md) - - [Drupal](integrations/sources/drupal.md) - - [End-to-End Testing](integrations/sources/e2e-test.md) - - [Exchange Rates API](integrations/sources/exchangeratesapi.md) - - [Facebook Marketing](integrations/sources/facebook-marketing.md) - - [Facebook Pages](integrations/sources/facebook-pages.md) - - [Faker](integrations/sources/faker.md) - - [Files](integrations/sources/file.md) - - [Flexport](integrations/sources/flexport.md) - - [Freshdesk](integrations/sources/freshdesk.md) - - [Freshsales](integrations/sources/freshsales.md) - - [Freshservice](integrations/sources/freshservice.md) - - [GitHub](integrations/sources/github.md) - - [GitLab](integrations/sources/gitlab.md) - - [Google Ads](integrations/sources/google-ads.md) - - [Google Analytics](integrations/sources/google-analytics-v4.md) - - [Google Directory](integrations/sources/google-directory.md) - - [Google Search Console](integrations/sources/google-search-console.md) - - [Google Sheets](integrations/sources/google-sheets.md) - - [Google Workspace Admin Reports](integrations/sources/google-workspace-admin-reports.md) - - [Greenhouse](integrations/sources/greenhouse.md) - - [Harvest](integrations/sources/harvest.md) - - [Harness (Sponsored by Faros AI)](integrations/sources/harness.md) - - [HTTP Request (Graveyarded)](integrations/sources/http-request.md) - - [HubSpot](integrations/sources/hubspot.md) - - [Instagram](integrations/sources/instagram.md) - - [Intercom](integrations/sources/intercom.md) - - [Iterable](integrations/sources/iterable.md) - - [Jenkins (Sponsored by Faros AI)](integrations/sources/jenkins.md) - - [Jira](integrations/sources/jira.md) - - [Kafka](integrations/sources/kafka.md) - - [Klaviyo](integrations/sources/klaviyo.md) - - [Kustomer](integrations/sources/kustomer.md) - - [Lemlist](integrations/sources/lemlist.md) - - [LinkedIn Ads](integrations/sources/linkedin-ads.md) - - [Linnworks](integrations/sources/linnworks.md) - - [Lever Hiring](integrations/sources/lever-hiring.md) - - [Looker](integrations/sources/looker.md) - - [Magento](integrations/sources/magento.md) - - [Mailchimp](integrations/sources/mailchimp.md) - - [Marketo](integrations/sources/marketo.md) - - [Microsoft Dynamics AX](integrations/sources/microsoft-dynamics-ax.md) - - [Microsoft Dynamics Customer Engagement](integrations/sources/microsoft-dynamics-customer-engagement.md) - - [Microsoft Dynamics GP](integrations/sources/microsoft-dynamics-gp.md) - - [Microsoft Dynamics NAV](integrations/sources/microsoft-dynamics-nav.md) - - [Microsoft SQL Server (MSSQL)](integrations/sources/mssql.md) - - [Microsoft Teams](integrations/sources/microsoft-teams.md) - - [Mixpanel](integrations/sources/mixpanel.md) - - [Monday](integrations/sources/monday.md) - - [Mongo DB](integrations/sources/mongodb-v2.md) - - [My Hours](integrations/sources/my-hours.md) - - [MySQL](integrations/sources/mysql.md) - - [Notion](integrations/sources/notion.md) - - [Okta](integrations/sources/okta.md) - - [OneSignal](integrations/sources/onesignal.md) - - [OpenWeather](integrations/sources/openweather.md) - - [Oracle DB](integrations/sources/oracle.md) - - [Oracle Peoplesoft](integrations/sources/oracle-peoplesoft.md) - - [Oracle Siebel CRM](integrations/sources/oracle-siebel-crm.md) - - [Orb](integrations/sources/orb.md) - - [Outreach](integrations/sources/outreach.md) - - [PagerDuty (Sponsored by Faros AI)](integrations/sources/pagerduty.md) - - [Paypal Transaction](integrations/sources/paypal-transaction.md) - - [Paystack](integrations/sources/paystack.md) - - [Persistiq](integrations/sources/persistiq.md) - - [Plaid](integrations/sources/plaid.md) - - [Pinterest](integrations/sources/pinterest.md) - - [Pipedrive](integrations/sources/pipedrive.md) - - [PokéAPI](integrations/sources/pokeapi.md) - - [Postgres](integrations/sources/postgres.md) - - [PostHog](integrations/sources/posthog.md) - - [PrestaShop](integrations/sources/presta-shop.md) - - [Qualaroo](integrations/sources/qualaroo.md) - - [QuickBooks](integrations/sources/quickbooks.md) - - [Recharge](integrations/sources/recharge.md) - - [Recurly](integrations/sources/recurly.md) - - [Redshift](integrations/sources/redshift.md) - - [S3](integrations/sources/s3.md) - - [SAP Business One](integrations/sources/sap-business-one.md) - - [SearchMetrics](integrations/sources/search-metrics.md) - - [Salesforce](integrations/sources/salesforce.md) - - [SalesLoft](integrations/sources/salesloft.md) - - [Sendgrid](integrations/sources/sendgrid.md) - - [Sentry](integrations/sources/sentry.md) - - [Shopify](integrations/sources/shopify.md) - - [Shortio](integrations/sources/shortio.md) - - [Slack](integrations/sources/slack.md) - - [Smartsheets](integrations/sources/smartsheets.md) - - [Snapchat Marketing](integrations/sources/snapchat-marketing.md) - - [Snowflake](integrations/sources/snowflake.md) - - [Spree Commerce](integrations/sources/spree-commerce.md) - - [Square](integrations/sources/square.md) - - [Strava](integrations/sources/strava.md) - - [Stripe](integrations/sources/stripe.md) - - [Sugar CRM](integrations/sources/sugar-crm.md) - - [SurveyMonkey](integrations/sources/surveymonkey.md) - - [Tempo](integrations/sources/tempo.md) - - [TikTok Marketing](integrations/sources/tiktok-marketing.md) - - [Trello](integrations/sources/trello.md) - - [Twilio](integrations/sources/twilio.md) - - [TiDB](integrations/sources/tidb.md) - - [Typeform](integrations/sources/typeform.md) - - [US Census API](integrations/sources/us-census.md) - - [VictorOps (Sponsored by Faros AI)](integrations/sources/victorops.md) - - [Woo Commerce](integrations/sources/woocommerce.md) - - [Wordpress](integrations/sources/wordpress.md) - - [YouTube Analytics](integrations/sources/youtube-analytics.md) - - [Zencart](integrations/sources/zencart.md) - - [Zendesk Chat](integrations/sources/zendesk-chat.md) - - [Zendesk Sunshine](integrations/sources/zendesk-sunshine.md) - - [Zendesk Support](integrations/sources/zendesk-support.md) - - [Zendesk Talk](integrations/sources/zendesk-talk.md) - - [Zenloop](integrations/sources/zenloop.md) - - [Zoho CRM](integrations/sources/zoho-crm.md) - - [Zoom](integrations/sources/zoom.md) - - [Zuora](integrations/sources/zuora.md) - - [Destinations](integrations/destinations/README.md) - - [Amazon SQS](integrations/destinations/amazon-sqs.md) - - [AzureBlobStorage](integrations/destinations/azureblobstorage.md) - - [BigQuery](integrations/destinations/bigquery.md) - - [ClickHouse](integrations/destinations/clickhouse.md) - - [Databricks](integrations/destinations/databricks.md) - - [DynamoDB](integrations/destinations/dynamodb.md) - - [Elasticsearch](integrations/destinations/elasticsearch.md) - - [End-to-End Testing](integrations/destinations/e2e-test.md) - - [Chargify](integrations/destinations/chargify.md) - - [Google Cloud Storage (GCS)](integrations/destinations/gcs.md) - - [Google Firestore](integrations/destinations/firestore.md) - - [Google PubSub](integrations/destinations/pubsub.md) - - [Google Sheets](integrations/destinations/google-sheets.md) - - [Kafka](integrations/destinations/kafka.md) - - [Keen](integrations/destinations/keen.md) - - [Local CSV](integrations/destinations/local-csv.md) - - [Local JSON](integrations/destinations/local-json.md) - - [MariaDB ColumnStore](integrations/destinations/mariadb-columnstore.md) - - [MeiliSearch](integrations/destinations/meilisearch.md) - - [MongoDB](integrations/destinations/mongodb.md) - - [MQTT](integrations/destinations/mqtt.md) - - [MSSQL](integrations/destinations/mssql.md) - - [MySQL](integrations/destinations/mysql.md) - - [Oracle DB](integrations/destinations/oracle.md) - - [Postgres](integrations/destinations/postgres.md) - - [Pulsar](integrations/destinations/pulsar.md) - - [RabbitMQ](integrations/destinations/rabbitmq.md) - - [Redshift](integrations/destinations/redshift.md) - - [Rockset](integrations/destinations/rockset.md) - - [S3](integrations/destinations/s3.md) - - [SFTP JSON](integrations/destinations/sftp-json.md) - - [Snowflake](integrations/destinations/snowflake.md) - - [Cassandra](integrations/destinations/cassandra.md) - - [Scylla](integrations/destinations/scylla.md) - - [Redis](integrations/destinations/redis.md) - - [Kinesis](integrations/destinations/kinesis.md) - - [Streamr](integrations/destinations/streamr.md) - - [Custom or New Connector](integrations/custom-connectors.md) -- [Connector Development](connector-development/README.md) - - [Tutorials](connector-development/tutorials/README.md) - - [Python CDK Speedrun: Creating a Source](connector-development/tutorials/cdk-speedrun.md) - - [Python CDK: Creating a HTTP API Source](connector-development/tutorials/cdk-tutorial-python-http/README.md) - - [Getting Started](connector-development/tutorials/cdk-tutorial-python-http/0-getting-started.md) - - [Step 1: Creating the Source](connector-development/tutorials/cdk-tutorial-python-http/1-creating-the-source.md) - - [Step 2: Install Dependencies](connector-development/tutorials/cdk-tutorial-python-http/2-install-dependencies.md) - - [Step 3: Define Inputs](connector-development/tutorials/cdk-tutorial-python-http/3-define-inputs.md) - - [Step 4: Connection Checking](connector-development/tutorials/cdk-tutorial-python-http/4-connection-checking.md) - - [Step 5: Declare the Schema](connector-development/tutorials/cdk-tutorial-python-http/5-declare-schema.md) - - [Step 6: Read Data](connector-development/tutorials/cdk-tutorial-python-http/6-read-data.md) - - [Step 7: Use the Connector in Airbyte](connector-development/tutorials/cdk-tutorial-python-http/7-use-connector-in-airbyte.md) - - [Step 8: Test Connector](connector-development/tutorials/cdk-tutorial-python-http/8-test-your-connector.md) - - [Building a Python Source](connector-development/tutorials/building-a-python-source.md) - - [Building a Python Destination](connector-development/tutorials/building-a-python-destination.md) - - [Building a Java Destination](connector-development/tutorials/building-a-java-destination.md) - - [Profile Java Connector Memory](connector-development/tutorials/profile-java-connector-memory.md) - - [Connector Development Kit (Python)](connector-development/cdk-python/README.md) - - [Basic Concepts](connector-development/cdk-python/basic-concepts.md) - - [Defining Stream Schemas](connector-development/cdk-python/schemas.md) - - [Full Refresh Streams](connector-development/cdk-python/full-refresh-stream.md) - - [Incremental Streams](connector-development/cdk-python/incremental-stream.md) - - [HTTP-API-based Connectors](connector-development/cdk-python/http-streams.md) - - [Python Concepts](connector-development/cdk-python/python-concepts.md) - - [Stream Slices](connector-development/cdk-python/stream-slices.md) - - [Connector Development Kit (Javascript)](connector-development/cdk-faros-js.md) - - [Airbyte 101 for Connector Development](connector-development/airbyte101.md) - - [Testing Connectors](connector-development/testing-connectors/README.md) - - [Source Acceptance Tests Reference](connector-development/testing-connectors/source-acceptance-tests-reference.md) - - [Connector Specification Reference](connector-development/connector-specification-reference.md) - - [Best Practices](connector-development/best-practices.md) - - [UX Handbook](connector-development/ux-handbook.md) -- [Contributing to Airbyte](contributing-to-airbyte/README.md) - - [Code of Conduct](contributing-to-airbyte/code-of-conduct.md) - - [Developing Locally](contributing-to-airbyte/developing-locally.md) - - [Developing on Docker](contributing-to-airbyte/developing-on-docker.md) - - [Developing on Kubernetes](contributing-to-airbyte/developing-on-kubernetes.md) - - [Monorepo Python Development](contributing-to-airbyte/monorepo-python-development.md) - - [Code Style](contributing-to-airbyte/code-style.md) - - [Gradle Cheatsheet](contributing-to-airbyte/gradle-cheatsheet.md) - - [Updating Documentation](contributing-to-airbyte/updating-documentation.md) - - [Templates](contributing-to-airbyte/templates/README.md) - - [Connector Doc Template](contributing-to-airbyte/templates/integration-documentation-template.md) -- [Understanding Airbyte](understanding-airbyte/README.md) - - [A Beginner's Guide to the AirbyteCatalog](understanding-airbyte/beginners-guide-to-catalog.md) - - [AirbyteCatalog Reference](understanding-airbyte/catalog.md) - - [Airbyte Specification](understanding-airbyte/airbyte-specification.md) - - [Basic Normalization](understanding-airbyte/basic-normalization.md) - - [Connections and Sync Modes](understanding-airbyte/connections/README.md) - - [Full Refresh - Overwrite](understanding-airbyte/connections/full-refresh-overwrite.md) - - [Full Refresh - Append](understanding-airbyte/connections/full-refresh-append.md) - - [Incremental Sync - Append](understanding-airbyte/connections/incremental-append.md) - - [Incremental Sync - Deduped History](understanding-airbyte/connections/incremental-deduped-history.md) - - [Operations](understanding-airbyte/operations.md) - - [High-level View](understanding-airbyte/high-level-view.md) - - [Workers & Jobs](understanding-airbyte/jobs.md) - - [Technical Stack](understanding-airbyte/tech-stack.md) - - [Change Data Capture (CDC)](understanding-airbyte/cdc.md) - - [Namespaces](understanding-airbyte/namespaces.md) - - [Supported Data Types](understanding-airbyte/supported-data-types.md) - - [Json to Avro Conversion](understanding-airbyte/json-avro-conversion.md) - - [Glossary of Terms](understanding-airbyte/glossary.md) -- [API documentation](api-documentation.md) -- [CLI documentation](https://github.com/airbytehq/airbyte/tree/master/octavia-cli) -- [Project Overview](project-overview/README.md) - - [Roadmap](project-overview/roadmap.md) - - [Changelog](project-overview/changelog/README.md) - - [Platform](project-overview/changelog/platform.md) - - [Connectors](project-overview/changelog/connectors.md) - - [Slack Code of Conduct](project-overview/slack-code-of-conduct.md) - - [Security and Data Privacy](project-overview/security.md) - - [Licenses](project-overview/licenses/README.md) - - [License FAQ](project-overview/licenses/license-faq.md) - - [ELv2](project-overview/licenses/elv2-license.md) - - [MIT](project-overview/licenses/mit-license.md) - - [Examples](project-overview/licenses/examples.md) - - [Product Release Stages](project-overview/product-release-stages.md) -- [Troubleshooting & FAQ](troubleshooting/README.md) - - [On Deploying](troubleshooting/on-deploying.md) - - [On Setting up a New Connection](troubleshooting/new-connection.md) - - [On Running a Sync](troubleshooting/running-sync.md) - - [On Upgrading](troubleshooting/on-upgrading.md) \ No newline at end of file diff --git a/docs/archive/examples/slack-history.md b/docs/archive/examples/slack-history.md index 6b602a8f09e6..7bcbba7baf3a 100644 --- a/docs/archive/examples/slack-history.md +++ b/docs/archive/examples/slack-history.md @@ -102,9 +102,8 @@ Download \(or copy and paste\) this [html file](https://github.com/airbytehq/air ## 5. "Productionizing" Saving Slack History -You can find instructions for how to host Airbyte on various cloud platforms [here](../../deploying-airbyte). +You can find instructions for how to host Airbyte on various cloud platforms [here](../../deploying-airbyte/README.md). Documentation on how to host MeiliSearch on cloud platforms can be found [here](https://docs.meilisearch.com/running-production/#a-quick-introduction). If you want to use the UI mentioned in the section above, we recommend statically hosting it on S3, GCS, or equivalent. - diff --git a/docs/archive/faq/getting-started.md b/docs/archive/faq/getting-started.md index c57a50cb6fea..61d0e4e7bc1d 100644 --- a/docs/archive/faq/getting-started.md +++ b/docs/archive/faq/getting-started.md @@ -2,7 +2,7 @@ ## **What do I need to get started using Airbyte?** -You can deploy Airbyte in several ways, as [documented here](../../deploying-airbyte/). Airbyte will then help you replicate data between a source and a destination. Airbyte offers pre-built connectors for both, you can see their list [here](../../project-overview/changelog/connectors.md). If you don’t see the connector you need, you can [build your connector yourself](../../connector-development) and benefit from Airbyte’s optional scheduling, orchestration and monitoring modules. +You can deploy Airbyte in several ways, as [documented here](../../deploying-airbyte/README.md). Airbyte will then help you replicate data between a source and a destination. Airbyte offers pre-built connectors for both, you can see their list [here](../../project-overview/changelog/connectors.md). If you don’t see the connector you need, you can [build your connector yourself](../../connector-development) and benefit from Airbyte’s optional scheduling, orchestration and monitoring modules. ## **How long does it take to set up Airbyte?** diff --git a/docs/connector-development/README.md b/docs/connector-development/README.md index 11a096d53b60..87700e0aed5c 100644 --- a/docs/connector-development/README.md +++ b/docs/connector-development/README.md @@ -119,7 +119,7 @@ Once you've finished iterating on the changes to a connector as specified in its # Example: /test connector=connectors/source-hubspot /test connector=(connectors|bases)/ - # to run integration tests, publish the connector and bump the connector version + # to run integration tests, publish the connector, and use the updated connector version in our config/metadata files # Example: /publish connector=connectors/source-hubspot /publish connector=(connectors|bases)/ ``` diff --git a/docs/connector-development/tutorials/build-a-connector-the-hard-way.md b/docs/connector-development/tutorials/build-a-connector-the-hard-way.md index 98f70354f135..c21b76048309 100644 --- a/docs/connector-development/tutorials/build-a-connector-the-hard-way.md +++ b/docs/connector-development/tutorials/build-a-connector-the-hard-way.md @@ -13,7 +13,7 @@ This tutorial walks you through building a simple Airbyte source without using a At the end of this tutorial, you will have a working source that you will be able to use in the Airbyte UI. -**This tutorial is meant for those interested in learning how the Airbyte Specification works in detail, not for creating production connectors**. We intentionally don't use helper libraries provided by Airbyte so that this tutorial is self-contained. If you were building a "real" source, you'll want to use the helper modules such as the [Connector Development Kit](../../../airbyte-cdk/python/docs/tutorials/README.md). +**This tutorial is meant for those interested in learning how the Airbyte Specification works in detail, not for creating production connectors**. We intentionally don't use helper libraries provided by Airbyte so that this tutorial is self-contained. If you were building a "real" source, you'll want to use the helper modules such as the [Connector Development Kit](https://github.com/airbytehq/airbyte/tree/master/airbyte-cdk/python/docs/tutorials). This tutorial can be done entirely on your local workstation. @@ -1160,7 +1160,7 @@ This section is not yet complete and will be completed soon. Please reach out to Follow the [next tutorial](adding-incremental-sync.md) to implement incremental sync. ### Connector Development Kit -Like we mention at the beginning of the tutorial, this guide is meant more for understanding than as a blueprint for implementing production connectors. See the [Connector Development Kit](../../../airbyte-cdk/python/docs/tutorials/README.md) for the frameworks you should use to build production-ready connectors. +Like we mention at the beginning of the tutorial, this guide is meant more for understanding than as a blueprint for implementing production connectors. See the [Connector Development Kit](https://github.com/airbytehq/airbyte/tree/master/airbyte-cdk/python/docs/tutorials) for the frameworks you should use to build production-ready connectors. ### Language specific helpers * [Building a Python Source](https://docs.airbyte.com/connector-development/tutorials/building-a-python-source) diff --git a/docs/deploying-airbyte/README.md b/docs/deploying-airbyte/README.md new file mode 100644 index 000000000000..466ed6ee1b93 --- /dev/null +++ b/docs/deploying-airbyte/README.md @@ -0,0 +1,14 @@ +# Deploy Airbyte where you want to + +![not all who wander are lost](https://user-images.githubusercontent.com/2591516/170351002-0d054d06-c901-4794-8719-97569060408f.png) + +- [Local Deployment](local-deployment.md) +- [On Airbyte Cloud](on-cloud.md) +- [On Aws](on-aws-ec2.md) +- [On Azure VM Cloud Shell](on-azure-vm-cloud-shell.md) +- [On Digital Ocean Droplet](on-digitalocean-droplet.md) +- [On GCP.md](on-gcp-compute-engine.md) +- [On Kubernetes](on-kubernetes.md) +- [On OCI VM](on-oci-vm.md) +- [On Plural](on-plural.md) +- [On AWS ECS (spoiler alert: it doesn't work)](on-aws-ecs.md) diff --git a/docs/deploying-airbyte/on-aws-ecs.md b/docs/deploying-airbyte/on-aws-ecs.md index 6c6b0e29dbfa..8f41dd6fa33c 100644 --- a/docs/deploying-airbyte/on-aws-ecs.md +++ b/docs/deploying-airbyte/on-aws-ecs.md @@ -6,5 +6,7 @@ We do not currently support deployment on ECS. ::: -The current iteration is not compatible with ECS. Airbyte currently relies on docker containers being able to create other docker containers. ECS does not permit containers to do this. We will be revising this strategy soon, so that we can be compatible with ECS and other container services. - +The current iteration is not compatible with ECS. +Airbyte currently relies on docker containers being able to create other docker containers. +ECS does not permit containers to do this. We will be revising this strategy soon, +so that we can be compatible with ECS and other container services. diff --git a/docs/docusaurus/making_a_redirect.md b/docs/docusaurus/making_a_redirect.md new file mode 100644 index 000000000000..f2504925215a --- /dev/null +++ b/docs/docusaurus/making_a_redirect.md @@ -0,0 +1,23 @@ +# So you want to make a redirect in docs? + +![Anywhere but here](https://camo.githubusercontent.com/098cc23055cd8e4409de6f4c91b1fea522a1aefc7986bfda9cc2055c029a2d3b/68747470733a2f2f6661726d352e737461746963666c69636b722e636f6d2f343133312f353036343836333337355f663636613038303034335f622e6a7067) + +## Plugin Client Redirects +A silly name, but a useful plugin that adds redirect functionality to docusuaurs +[Official documentation here](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects) + +You will need to edit [this docusaurus file](https://github.com/airbytehq/airbyte/blob/master/docusaurus/docusaurus.config.js#L22) + +You will see a commented section the reads something like this + +```js +// { +// from: '/some-lame-path', +// to: '/a-much-cooler-uri', +// }, +``` + +Copy this section, replace the values, and [test it locally](locally_testing_docusaurus.md) by going to the +path you created a redirect for and checked to see that the address changes to your new one. + +*Note:* Your path **needs* a leading slash `/` to work diff --git a/docs/integrations/README.md b/docs/integrations/README.md index 725b1f5b0c3b..cabde93b9e49 100644 --- a/docs/integrations/README.md +++ b/docs/integrations/README.md @@ -15,10 +15,10 @@ For more information about the grading system, see [Product Release Stages](http ## Sources | Connector | Product Release Stage| Available in Cloud? | -| :------------------------------------------------------------------------------------------ | :------------------- | :------------------ | +|:--------------------------------------------------------------------------------------------| :------------------- | :------------------ | | [3PL Central](sources/tplcentral.md) | Alpha | No | | [Airtable](sources/airtable.md) | Alpha | Yes | -| [Amazon Ads](sources/amazon-ads.md) | Alpha | No | +| [Amazon Ads](sources/amazon-ads.md) | Beta | Yes | | [Amazon Seller Partner](sources/amazon-seller-partner.md) | Alpha | No | | [Amazon SQS](sources/amazon-sqs.md) | Alpha | Yes | | [Amplitude](sources/amplitude.md) | Beta | Yes | @@ -41,7 +41,7 @@ For more information about the grading system, see [Product Release Stages](http | [Close.com](sources/close-com.md) | Alpha | Yes | | [CockroachDB](sources/cockroachdb.md) | Alpha | No | | [Commercetools](sources/commercetools.md) | Alpha | No | -| [Confluence](sources/confulence.md) | Alpha | No | +| [Confluence](sources/confluence.md) | Alpha | No | | [Customer.io](sources/customer-io.md) | Alpha | No | | [Db2](sources/db2.md) | Alpha | No | | [Delighted](sources/delighted.md) | Alpha | Yes | @@ -63,7 +63,7 @@ For more information about the grading system, see [Product Release Stages](http | [Google Ads](sources/google-ads.md) | Beta | Yes | | [Google Analytics v4](sources/google-analytics-v4.md) | Beta | Yes | | [Google Directory](sources/google-directory.md) | Alpha | Yes | -| [Google Search Console](sources/google-search-console.md) | Alpha | Yes | +| [Google Search Console](sources/google-search-console.md) | Beta | Yes | | [Google Sheets](sources/google-sheets.md) | Generally Available | Yes | | [Google Workspace Admin Reports](sources/google-workspace-admin-reports.md) | Alpha | Yes | | [Greenhouse](sources/greenhouse.md) | Alpha | Yes | @@ -72,7 +72,7 @@ For more information about the grading system, see [Product Release Stages](http | [http-request](sources/http-request.md) | Alpha | No | | [HubSpot](sources/hubspot.md) | Beta | Yes | | [Instagram](sources/instagram.md) | Beta | Yes | -| [Intercom](sources/intercom.md) | Beta | Yes | +| [Intercom](sources/intercom.md) | Generally Available | Yes | | [Iterable](sources/iterable.md) | Alpha | Yes | | [Jenkins](sources/jenkins.md) | Alpha | No | | [Jira](sources/jira.md) | Alpha | No | @@ -80,7 +80,7 @@ For more information about the grading system, see [Product Release Stages](http | [Klaviyo](sources/klaviyo.md) | Alpha | Yes | | [Kustomer](sources/kustomer.md) | Alpha | Yes | | [Lemlist](sources/lemlist.md) | Alpha | Yes | -| [Lever](sources/level-hiring.md) | Alpha | No | +| [Lever](sources/lever-hiring.md) | Alpha | No | | [LinkedIn Ads](sources/linkedin-ads.md) | Beta | Yes | | [Linnworks](sources/linnworks.md) | Alpha | Yes | | [Looker](sources/looker.md) | Alpha | Yes | @@ -168,7 +168,7 @@ For more information about the grading system, see [Product Release Stages](http ## Destinations | Connector | Product Release Stage| Available in Cloud? | -| :--------------------------------------------------------- | :------------------- | :------------------ | +|:-----------------------------------------------------------| :------------------- | :------------------ | | [Amazon SQS](destinations/amazon-sqs.md) | Alpha | Yes | | [Amazon Datalake](destinations/aws-datalake.md) | Alpha | No | | [AzureBlobStorage](destinations/azureblobstorage.md) | Alpha | Yes | @@ -177,7 +177,7 @@ For more information about the grading system, see [Product Release Stages](http | [Chargify (Keen)](destinations/chargify.md) | Alpha | Yes | | [ClickHouse](destinations/clickhouse.md) | Alpha | Yes | | [Databricks](destinations/databricks.md) | Alpha | Yes | -| [DynamoDB](sources/dynamodb.md) | Alpha | Yes | +| [DynamoDB](destinations/dynamodb.md) | Alpha | Yes | | [Elasticsearch](destinations/elasticsearch.md) | Alpha | Yes | | [End-to-End Testing](destinations/e2e-test.md) | Alpha | Yes | | [Google Cloud Storage (GCS)](destinations/gcs.md) | Beta | Yes | @@ -198,10 +198,10 @@ For more information about the grading system, see [Product Release Stages](http | [Postgres](destinations/postgres.md) | Alpha | Yes | | [Pulsar](destinations/pulsar.md) | Alpha | Yes | | [RabbitMQ](destinations/rabbitmq.md) | Alpha | Yes | -| [Redis](sources/redis.md) | Alpha | Yes | +| [Redis](destinations/redis.md) | Alpha | Yes | | [Redshift](destinations/redshift.md) | Beta | Yes | | [Rockset](destinations/rockset.md) | Alpha | Yes | -| [S3](destinations/s3.md) | Beta | Yes | +| [S3](destinations/s3.md) | Generally Available | Yes | | [Scylla](destinations/scylla.md) | Alpha | Yes | | [SFTP JSON](destinations/sftp-json.md) | Alpha | Yes | | [Snowflake](destinations/snowflake.md) | Generally Available | Yes | diff --git a/docs/integrations/destinations/redshift.md b/docs/integrations/destinations/redshift.md index 87a23d1e4e2e..c3d67c16d0ef 100644 --- a/docs/integrations/destinations/redshift.md +++ b/docs/integrations/destinations/redshift.md @@ -136,8 +136,9 @@ Each stream will be output into its own raw table in Redshift. Each table will c ## Changelog -| Version | Date | Pull Request | Subject | -|:--------|:-----------| :----- | :------ | +| Version | Date | Pull Request | Subject | +|:--------|:-----------|:-----------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------| +| 0.3.37 | 2022-05-23 | [13090](https://github.com/airbytehq/airbyte/pull/13090) | Removed redshiftDataTmpTableMode. Some refactoring. | | 0.3.36 | 2022-05-23 | [12820](https://github.com/airbytehq/airbyte/pull/12820) | Improved 'check' operation performance | | 0.3.35 | 2022-05-18 | [12940](https://github.com/airbytehq/airbyte/pull/12940) | Fixed maximum record size for SUPER type | | 0.3.34 | 2022-05-16 | [12869](https://github.com/airbytehq/airbyte/pull/12869) | Fixed NPE in S3 staging check | diff --git a/docs/integrations/sources/faker.md b/docs/integrations/sources/faker.md index bf270c9f5931..a613f5383e88 100644 --- a/docs/integrations/sources/faker.md +++ b/docs/integrations/sources/faker.md @@ -39,6 +39,10 @@ N/A ## Changelog -| Version | Date | Pull Request | Subject | -| :------ | :--------- | :------------------------------------------------------- | :-------------------------- | -| 0.1.0 | 2022-04-12 | [11738](https://github.com/airbytehq/airbyte/pull/11738) | The Faker Source is created | +| Version | Date | Pull Request | Subject | +| :------ | :--------- | :------------------------------------------------------- | :-------------------------------------------------------- | +| 0.1.4 | 2022-05-27 | [13298](https://github.com/airbytehq/airbyte/pull/13298) | Test publication flow | +| 0.1.3 | 2022-05-27 | [13248](https://github.com/airbytehq/airbyte/pull/13248) | Add options for records_per_sync and page_size | +| 0.1.2 | 2022-05-26 | [13248](https://github.com/airbytehq/airbyte/pull/13293) | Test publication flow | +| 0.1.1 | 2022-05-26 | [13235](https://github.com/airbytehq/airbyte/pull/13235) | Publish for AMD and ARM (M1 Macs) & remove User.birthdate | +| 0.1.0 | 2022-04-12 | [11738](https://github.com/airbytehq/airbyte/pull/11738) | The Faker Source is created | diff --git a/docs/integrations/sources/github.md b/docs/integrations/sources/github.md index f5a5bf8be4af..5b781c31ab6b 100644 --- a/docs/integrations/sources/github.md +++ b/docs/integrations/sources/github.md @@ -11,52 +11,52 @@ This connector outputs the following full refresh streams: * [Assignees](https://docs.github.com/en/rest/reference/issues#list-assignees) * [Branches](https://docs.github.com/en/rest/reference/repos#list-branches) * [Collaborators](https://docs.github.com/en/rest/reference/repos#list-repository-collaborators) -* [Commit comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-a-commit-comment) -* [Issue comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-an-issue-comment) * [Issue labels](https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-labels-for-a-repository) -* [Issue reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-an-issue) * [Organizations](https://docs.github.com/en/rest/reference/orgs#get-an-organization) -* [Pull request comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment) * [Pull request commits](https://docs.github.com/en/rest/reference/pulls#list-commits-on-a-pull-request) -* [Repositories](https://docs.github.com/en/rest/reference/repos#list-organization-repositories) * [Tags](https://docs.github.com/en/rest/reference/repos#list-repository-tags) * [TeamMembers](https://docs.github.com/en/rest/teams/members#list-team-members) * [TeamMemberships](https://docs.github.com/en/rest/reference/teams#get-team-membership-for-a-user) * [Teams](https://docs.github.com/en/rest/reference/teams#list-teams) * [Users](https://docs.github.com/en/rest/reference/orgs#list-organization-members) -* [Workflows](https://docs.github.com/en/rest/reference/actions#workflows) -* [WorkflowRuns](https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository) This connector outputs the following incremental streams: * [Comments](https://docs.github.com/en/rest/reference/issues#list-issue-comments-for-a-repository) +* [Commit comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-a-commit-comment) * [Commit comments](https://docs.github.com/en/rest/reference/repos#list-commit-comments-for-a-repository) * [Commits](https://docs.github.com/en/rest/reference/repos#list-commits) * [Deployments](https://docs.github.com/en/rest/reference/deployments#list-deployments) * [Events](https://docs.github.com/en/rest/reference/activity#list-repository-events) +* [Issue comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-an-issue-comment) * [Issue events](https://docs.github.com/en/rest/reference/issues#list-issue-events-for-a-repository) * [Issue milestones](https://docs.github.com/en/rest/reference/issues#list-milestones) +* [Issue reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-an-issue) * [Issues](https://docs.github.com/en/rest/reference/issues#list-repository-issues) * [Project cards](https://docs.github.com/en/rest/reference/projects#list-project-cards) * [Project columns](https://docs.github.com/en/rest/reference/projects#list-project-columns) * [Projects](https://docs.github.com/en/rest/reference/projects#list-repository-projects) +* [Pull request comment reactions](https://docs.github.com/en/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment) * [Pull request stats](https://docs.github.com/en/rest/reference/pulls#get-a-pull-request) * [Pull requests](https://docs.github.com/en/rest/reference/pulls#list-pull-requests) * [Releases](https://docs.github.com/en/rest/reference/repos#list-releases) +* [Repositories](https://docs.github.com/en/rest/reference/repos#list-organization-repositories) * [Review comments](https://docs.github.com/en/rest/reference/pulls#list-review-comments-in-a-repository) * [Reviews](https://docs.github.com/en/rest/reference/pulls#list-reviews-for-a-pull-request) * [Stargazers](https://docs.github.com/en/rest/reference/activity#list-stargazers) +* [WorkflowRuns](https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository) +* [Workflows](https://docs.github.com/en/rest/reference/actions#workflows) ### Notes -1. Only 4 streams \(`comments`, `commits`, `issues` and `review comments`\) from the above 17 incremental streams are pure incremental meaning that they: +1. Only 4 streams \(`comments`, `commits`, `issues` and `review comments`\) from the above 24 incremental streams are pure incremental meaning that they: * read only new records; * output only new records. -2. Other 13 incremental streams are also incremental but with one difference, they: +2. Other 20 incremental streams are also incremental but with one difference, they: * read all records; * output only new records. - Please, consider this behaviour when using those 13 incremental streams because it may affect you API call limits. + Please, consider this behaviour when using those 20 incremental streams because it may affect you API call limits. 3. We are passing few parameters \(`since`, `sort` and `direction`\) to GitHub in order to filter records and sometimes for large streams specifying very distant `start_date` in the past may result in keep on getting error from GitHub instead of records \(respective `WARN` log message will be outputted\). In this case Specifying more recent `start_date` may help. **The "Start Date" configuration option does not apply to the streams below, because the Github API does not include dates which can be used for filtering:** @@ -113,6 +113,7 @@ Your token should have at least the `repo` scope. Depending on which streams you | Version | Date | Pull Request | Subject | |:--------|:-----------| :--- |:-------------------------------------------------------------------------------------------------------------| +| 0.2.31 | 2022-05-24 | [13115](https://github.com/airbytehq/airbyte/pull/13115) | Add incremental support for streams `WorkflowRuns` | | 0.2.30 | 2022-05-09 | [12294](https://github.com/airbytehq/airbyte/pull/12294) | Add incremental support for streams `CommitCommentReactions`, `IssueCommentReactions`, `IssueReactions`, `PullRequestCommentReactions`, `Repositories`, `Workflows` | | 0.2.29 | 2022-05-04 | [\#12482](https://github.com/airbytehq/airbyte/pull/12482) | Update input configuration copy | | 0.2.28 | 2022-04-21 | [11893](https://github.com/airbytehq/airbyte/pull/11893) | Add new streams `TeamMembers`, `TeamMemberships` | diff --git a/docs/integrations/sources/intercom.md b/docs/integrations/sources/intercom.md index 5d98909806b9..79c3f1a8baf2 100644 --- a/docs/integrations/sources/intercom.md +++ b/docs/integrations/sources/intercom.md @@ -57,6 +57,7 @@ The Intercom connector should not run into Intercom API limitations under normal | Version | Date | Pull Request | Subject | |:--------| :--- | :--- | :--- | +| 0.1.19 | 2022-05-25 | [13204](https://github.com/airbytehq/airbyte/pull/13204) | Fixed `conversation_parts` stream schema definition | | 0.1.18 | 2022-05-04 | [12482](https://github.com/airbytehq/airbyte/pull/12482) | Update input configuration copy | | 0.1.17 | 2022-04-29 | [12374](https://github.com/airbytehq/airbyte/pull/12374) | Fixed filtering of conversation_parts | | 0.1.16 | 2022-03-23 | [11206](https://github.com/airbytehq/airbyte/pull/11206) | Added conversation_id field to conversation_part records | diff --git a/docs/integrations/sources/lemlist.md b/docs/integrations/sources/lemlist.md index dfd7db1cd4c3..1c8f71b84abb 100644 --- a/docs/integrations/sources/lemlist.md +++ b/docs/integrations/sources/lemlist.md @@ -10,10 +10,10 @@ This source can sync data for the [Lemlist API](https://developer.lemlist.com/#i This Source is capable of syncing the following core Streams: -* [Team](`api.lemlist.com/api/team`) -* [Campaigns](`api.lemlist.com/api/campaigns`) -* [Activities](`api.lemlist.com/api/activities`) -* [Unsubscribes](`api.lemlist.com/api/unsubscribes`) +* Team `api.lemlist.com/api/team` +* Campaigns `api.lemlist.com/api/campaigns` +* Activities `api.lemlist.com/api/activities` +* Unsubscribes `api.lemlist.com/api/unsubscribes` ### Features diff --git a/docs/integrations/sources/postgres.md b/docs/integrations/sources/postgres.md index 22a4fc308789..c0f5208da51c 100644 --- a/docs/integrations/sources/postgres.md +++ b/docs/integrations/sources/postgres.md @@ -270,6 +270,7 @@ According to Postgres [documentation](https://www.postgresql.org/docs/14/datatyp | Version | Date | Pull Request | Subject | |:--------|:-----------|:-------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------| +| 0.4.17 | 2022-05-19 | [13016](https://github.com/airbytehq/airbyte/pull/13016) | CDC modify schema to allow null values | | 0.4.16 | 2022-05-14 | [12840](https://github.com/airbytehq/airbyte/pull/12840) | Added custom JDBC parameters field | | 0.4.15 | 2022-05-13 | [12834](https://github.com/airbytehq/airbyte/pull/12834) | Fix the bug that the connector returns empty catalog for Azure Postgres database | | 0.4.14 | 2022-05-08 | [12689](https://github.com/airbytehq/airbyte/pull/12689) | Add table retrieval according to role-based `SELECT` privilege | diff --git a/docs/integrations/sources/talkdesk-explore.md b/docs/integrations/sources/talkdesk-explore.md new file mode 100644 index 000000000000..6846d9fdc95f --- /dev/null +++ b/docs/integrations/sources/talkdesk-explore.md @@ -0,0 +1,53 @@ +# Talkdesk Explore + +## Overview + +Talkdesk is a software for contact center operations. + +The Talkdesk Explore connector uses the [Talkdesk Explore API](https://docs.talkdesk.com/docs/explore-api) to fetch data from usage reports. + +### Output schema + +The connector supports both Full Refresh and Incremental on the following streams: + +* [Calls Report](https://docs.talkdesk.com/docs/calls-report-explore) +* [User Status Report](https://docs.talkdesk.com/docs/user-status-explore) +* [Studio Flow Execution Report](https://docs.talkdesk.com/docs/studio-flow-execution-report) +* [Contacts Report](https://docs.talkdesk.com/docs/contacts-report) +* [Ring Attempts Report](https://docs.talkdesk.com/docs/ring-attempts-report) + +### Note on report generation + +To request data from one of the endpoints, first you need to generate a report. This is done by a POST request where the payload is the report specifications. Then, the response will be a report ID that you need to use in a GET request to obtain the report's data. + +This process is further explained here: [Executing a Report](https://docs.talkdesk.com/docs/executing-report) + +### Features + +| Feature | Supported? | +| :--- | :--- | +| Full Refresh Sync | Yes | +| Incremental - Append Sync | Yes | +| Incremental - Dedupe Sync | No | +| SSL connection | Yes | + +### Performance considerations + +The Explore API has an account-based quota limit of 15 simultaneous reports (executing + enqueued). If this limit is exceeded, the user will receive a 429 (too many requests) response. + +## Getting started + +### Requirements + +* Talkdesk account +* Talkdesk API key (`Client Credentials` auth method) + +### Setup guide + +Please refer to the [getting started with the API](https://docs.talkdesk.com/docs/api-access) guide. + +## Changelog + +| Version | Date | Pull Request | Subject | +| 0.1.0 | 2022-02-07 | | New Source: Talkdesk Explore +| :--- | :--- | :--- | :--- | diff --git a/docs/operator-guides/configuring-sync-notifications.md b/docs/operator-guides/configuring-sync-notifications.md index d7c68dbad2ff..6418aa2ffab5 100644 --- a/docs/operator-guides/configuring-sync-notifications.md +++ b/docs/operator-guides/configuring-sync-notifications.md @@ -52,4 +52,4 @@ From the settings page, you can click `Test` to send a test message to the chann ![](../.gitbook/assets/notifications_slack_message.png) -You're done! \ No newline at end of file +You're done! diff --git a/docs/operator-guides/upgrading-airbyte.md b/docs/operator-guides/upgrading-airbyte.md index 1a3d518dc5ea..116174f316b6 100644 --- a/docs/operator-guides/upgrading-airbyte.md +++ b/docs/operator-guides/upgrading-airbyte.md @@ -103,7 +103,7 @@ If you are upgrading from (i.e. your current version of Airbyte is) Airbyte vers Here's an example of what it might look like with the values filled in. It assumes that the downloaded `airbyte_archive.tar.gz` is in `/tmp`. ```bash - docker run --rm -v /tmp:/config airbyte/migration:0.39.1-alpha --\ + docker run --rm -v /tmp:/config airbyte/migration:0.39.5-alpha --\ --input /config/airbyte_archive.tar.gz\ --output /config/airbyte_archive_migrated.tar.gz ``` diff --git a/docs/project-overview/changelog/connectors.md b/docs/project-overview/changelog/connectors.md index f07565693ec8..9135ef40427d 100644 --- a/docs/project-overview/changelog/connectors.md +++ b/docs/project-overview/changelog/connectors.md @@ -763,7 +763,7 @@ Other progress on connectors: ## 11/04/2020 -**New sources:** [Facebook Ads](connectors.md), [Google Ads](../../integrations/sources/google-adwords.md), [Marketo](../../integrations/sources/marketo.md) **New destination:** [Snowflake](../../integrations/destinations/snowflake.md) +**New sources:** [Facebook Ads](connectors.md), [Google Ads](../../integrations/sources/google-ads.md), [Marketo](../../integrations/sources/marketo.md) **New destination:** [Snowflake](../../integrations/destinations/snowflake.md) ## 10/30/2020 @@ -776,4 +776,3 @@ Other progress on connectors: ## 09/23/2020 **New sources:** [Stripe](../../integrations/sources/stripe.md), [Postgres](../../integrations/sources/postgres.md) **New destinations:** [BigQuery](../../integrations/destinations/bigquery.md), [Postgres](../../integrations/destinations/postgres.md), [local CSV](../../integrations/destinations/local-csv.md) - diff --git a/docs/reference/api/generated-api-html/index.html b/docs/reference/api/generated-api-html/index.html index f6166403d80f..25fcbf390883 100644 --- a/docs/reference/api/generated-api-html/index.html +++ b/docs/reference/api/generated-api-html/index.html @@ -1079,11 +1079,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -1128,11 +1130,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -1400,11 +1404,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -1449,11 +1455,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -3972,11 +3980,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4021,11 +4031,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4197,11 +4209,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4246,11 +4260,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4359,11 +4375,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4408,11 +4426,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4521,11 +4541,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4565,11 +4587,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4617,11 +4641,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -4661,11 +4687,13 @@

Example data

"failures" : [ { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 }, { "retryable" : true, "stacktrace" : "stacktrace", + "internalMessage" : "internalMessage", "externalMessage" : "externalMessage", "timestamp" : 1 } ], @@ -9957,6 +9985,7 @@

AttemptFailureReason - failureOrigin (optional)

failureType (optional)
externalMessage (optional)
+
internalMessage (optional)
stacktrace (optional)
retryable (optional)
Boolean True if it is known that retrying may succeed, e.g. for a transient failure. False if it is known that a retry will not succeed, e.g. for a configuration issue. If not set, retryable status is not well known.
timestamp
Long format: int64
diff --git a/docs/understanding-airbyte/cdc.md b/docs/understanding-airbyte/cdc.md index 3b381493651d..290d23a09e37 100644 --- a/docs/understanding-airbyte/cdc.md +++ b/docs/understanding-airbyte/cdc.md @@ -39,3 +39,7 @@ We add some metadata columns for CDC sources: * Oracle DB * Please [create a ticket](https://github.com/airbytehq/airbyte/issues/new/choose) if you need CDC support on another database! +## Additional information + +* Read our article: [Understanding Change Data Capture (CDC): Definition, Methods and Benefits](https://airbyte.com/blog/change-data-capture-definition-methods-and-benefits) + diff --git a/docs/understanding-airbyte/glossary.md b/docs/understanding-airbyte/glossary.md index 37d017f25b76..537b201c6c75 100644 --- a/docs/understanding-airbyte/glossary.md +++ b/docs/understanding-airbyte/glossary.md @@ -2,11 +2,19 @@ ### Airbyte CDK -The Airbyte CDK (Connector Development Kit) allows you to create connectors for Sources or Destinations. If your source or destination doesn't exist, you can use the CDK to make the building process a lot easier. It generates all the tests and files you need and all you need to do is write the connector-specific code for your source or destination. We created one in Python which you can check out [here](../connector-development/cdk-python/) and the Faros AI team created a Javascript/Typescript one that you can check out [here](../connector-development/cdk-faros-js.md). +The Airbyte CDK (Connector Development Kit) allows you to create connectors for Sources or Destinations. +If your source or destination doesn't exist, you can use the CDK to make the building process a lot easier. +It generates all the tests and files you need and all you need to do is write the connector-specific code +for your source or destination. We created one in Python which you can check out [here](../connector-development/cdk-python/) +and the Faros AI team created a Javascript/Typescript one that you can check out [here](../connector-development/cdk-faros-js.md). ### DAG -DAG stands for **Directed Acyclic Graph**. It's a term originally coined by math graph theorists that describes a tree-like process that cannot contain loops. For example, in the following diagram, you start at A and can choose B or C, which then proceed to D and E, respectively. This kind of structure is great for representing workflows and is what tools like [Airflow](https://airflow.apache.org) use to orchestrate the execution of software based on different cases or states. +DAG stands for **Directed Acyclic Graph**. It's a term originally coined by math graph theorists that +describes a tree-like process that cannot contain loops. For example, in the following diagram, you start +at A and can choose B or C, which then proceed to D and E, respectively. This kind of structure is great +for representing workflows and is what tools like [Airflow](https://airflow.apache.org) use to orchestrate +the execution of software based on different cases or states. @@ -16,27 +24,36 @@ DAG stands for **Directed Acyclic Graph**. It's a term originally coined by math Stands for **E**xtract, **T**ransform, and **L**oad and **E**xtract, **L**oad, and **T**ransform, respectively. -**Extract**: Retrieve data from a [source](../integrations/sources/), which can be an application, database, anything really. +**Extract**: Retrieve data from a [source](../integrations/README.md#Sources), which can be an application, database, anything really. -**Load**: Move data to your [destination](../integrations/destinations/). +**Load**: Move data to your [destination](../integrations/README.md#Destinations). -**Transform**: Clean up the data. This is referred to as [normalization](basic-normalization.md) in Airbyte and involves [deduplication](connections/incremental-deduped-history.md), changing data types, formats, and more. +**Transform**: Clean up the data. This is referred to as [normalization](basic-normalization.md) +in Airbyte and involves [deduplication](connections/incremental-deduped-history.md), changing data types, formats, and more. ### Full Refresh Sync -A **Full Refresh Sync** will attempt to retrieve all data from the source every time a sync is run. Then there are two choices, **Overwrite** and **Append**. **Overwrite** deletes the data in the destination before running the sync and **Append** doesn't. +A **Full Refresh Sync** will attempt to retrieve all data from the source every time a sync is run. +Then there are two choices, **Overwrite** and **Append**. **Overwrite** deletes the data in the destination before running the +sync and **Append** doesn't. ### Incremental Sync -An **Incremental Sync** will only retrieve new data from the source when a sync occurs. The first sync will always attempt to retrieve all the data. If the [destination supports it](https://discuss.airbyte.io/t/what-destinations-support-the-incremental-deduped-sync-mode/89), you can have your data deduplicated. Simply put, this just means that if you sync an updated version of a record you've already synced, it will remove the old record. +An **Incremental Sync** will only retrieve new data from the source when a sync occurs. +The first sync will always attempt to retrieve all the data. +If the [destination supports it](https://discuss.airbyte.io/t/what-destinations-support-the-incremental-deduped-sync-mode/89), +you can have your data deduplicated. Simply put, this just means that if you sync an updated +version of a record you've already synced, it will remove the old record. ### Partial Success -A **Partial Success** indicates that some records were successfully committed to the destination during a sync, even when the overall sync status was reported as a failure. +A **Partial Success** indicates that some records were successfully committed to the destination during a sync, +even when the overall sync status was reported as a failure. ### Raw Tables -Airbyte spits out tables with the prefix `_airbyte_raw_`. This is your replicated data, but the prefix indicates that it's not normalized. If you select basic normalization, Airbyte will create renamed versions without the prefix. +Airbyte spits out tables with the prefix `_airbyte_raw_`. This is your replicated data, but the prefix +indicates that it's not normalized. If you select basic normalization, Airbyte will create renamed versions without the prefix. ## Advanced Terms @@ -48,7 +65,11 @@ This is only relevant for individuals who want to create a connector. ::: -This refers to how you define the data that you can retrieve from a Source. For example, if you want to retrieve information from an API, the data that you can receive needs to be defined clearly so that Airbyte can have a clear expectation of what endpoints are supported and what the objects that the streams return look like. This is represented as a sort of schema that Airbyte can interpret. Learn more [here](beginners-guide-to-catalog.md). +This refers to how you define the data that you can retrieve from a Source. For example, +if you want to retrieve information from an API, the data that you can receive needs to be +defined clearly so that Airbyte can have a clear expectation of what endpoints are supported +and what the objects that the streams return look like. This is represented as a sort of schema +that Airbyte can interpret. Learn more [here](beginners-guide-to-catalog.md). ### Airbyte Specification @@ -58,7 +79,9 @@ This is only relevant for individuals who want to create a connector. ::: -This refers to the functions that a Source or Destination must implement to successfully retrieve data and load it, respectively. Implementing these functions using the Airbyte Specification makes a Source or Destination work correctly. Learn more [here](airbyte-specification.md). +This refers to the functions that a Source or Destination must implement to successfully +retrieve data and load it, respectively. Implementing these functions using the Airbyte +Specification makes a Source or Destination work correctly. Learn more [here](airbyte-specification.md). ### Temporal @@ -68,4 +91,6 @@ This is only relevant for individuals who want to learn about or contribute to o ::: -[Temporal](https://temporal.io) is a development kit that lets you create workflows, parallelize them, and handle failures/retries gracefully. We use it to reliably schedule each step of the ELT process, and a Temporal service is always deployed with each Airbyte installation. +[Temporal](https://temporal.io) is a development kit that lets you create workflows, +parallelize them, and handle failures/retries gracefully. We use it to reliably schedule each step +of the ELT process, and a Temporal service is always deployed with each Airbyte installation. diff --git a/docusaurus/docusaurus.config.js b/docusaurus/docusaurus.config.js index 4de9c8063cee..5887ea1ba420 100644 --- a/docusaurus/docusaurus.config.js +++ b/docusaurus/docusaurus.config.js @@ -13,16 +13,33 @@ const config = { // Assumed relative path. If you are using airbytehq.github.io use / // anything else should match the repo name baseUrl: '/', - onBrokenLinks: 'warn', - onBrokenMarkdownLinks: 'warn', + onBrokenLinks: 'throw', + onBrokenMarkdownLinks: 'throw', favicon: 'img/favicon.png', organizationName: 'airbytehq', // Usually your GitHub org/user name. projectName: 'airbyte', // Usually your repo name. plugins: [ - [ - require.resolve('@cmfcmf/docusaurus-search-local'), {indexBlog: false} - ] + [ + require.resolve('@cmfcmf/docusaurus-search-local'), {indexBlog: false}, + ], + [ + '@docusaurus/plugin-client-redirects', + { + fromExtensions: ['html', 'htm'], // /myPage.html -> /myPage + redirects: [ + // /docs/oldDoc -> /docs/newDoc + { + from: '/upgrading-airbyte', + to: '/operator-guides/upgrading-airbyte', + }, +// { +// from: '/some-lame-path', +// to: '/a-much-cooler-uri', +// }, + ], + }, + ], ], presets: [ diff --git a/docusaurus/package.json b/docusaurus/package.json index ea379d33c7fb..0dd786915bcf 100644 --- a/docusaurus/package.json +++ b/docusaurus/package.json @@ -16,6 +16,7 @@ "dependencies": { "@cmfcmf/docusaurus-search-local": "^0.10.0", "@docusaurus/core": "^2.0.0-beta.20", + "@docusaurus/plugin-client-redirects": "^2.0.0-beta.20", "@docusaurus/plugin-google-gtag": "^2.0.0-beta.20", "@docusaurus/preset-classic": "^2.0.0-beta.20", "@mdx-js/react": "^1.6.21", diff --git a/docusaurus/yarn.lock b/docusaurus/yarn.lock index d661850c3f43..ec43b6ff5b61 100644 --- a/docusaurus/yarn.lock +++ b/docusaurus/yarn.lock @@ -2,168 +2,149 @@ # yarn lockfile v1 -"@algolia/autocomplete-core@1.5.2": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.5.2.tgz#ec0178e07b44fd74a057728ac157291b26cecf37" - integrity sha512-DY0bhyczFSS1b/CqJlTE/nQRtnTAHl6IemIkBy0nEWnhDzRDdtdx4p5Uuk3vwAFxwEEgi1WqKwgSSMx6DpNL4A== - dependencies: - "@algolia/autocomplete-shared" "1.5.2" - -"@algolia/autocomplete-core@1.6.2": - version "1.6.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.6.2.tgz#54324a558efc2438559bb3e79fd2f2ae4acef0dd" - integrity sha512-YntEdEOck6f7LtCcrT2TjUl2AI+G/HcY7gQWMgM4kuruu9vSxyF05W48IFWANt2gTI7oj0Q5zAZgyVppkQM9LA== +"@algolia/autocomplete-core@1.6.3": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.6.3.tgz#76832fffb6405ac2c87bac5a040b8a31a1cdef80" + integrity sha512-dqQqRt01fX3YuVFrkceHsoCnzX0bLhrrg8itJI1NM68KjrPYQPYsE+kY8EZTCM4y8VDnhqJErR73xe/ZsV+qAA== dependencies: - "@algolia/autocomplete-shared" "1.6.2" + "@algolia/autocomplete-shared" "1.6.3" "@algolia/autocomplete-js@^1.5.1": - version "1.6.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-js/-/autocomplete-js-1.6.2.tgz#b7a3ef38513f24f732b896bc0e75b70a9be388bb" - integrity sha512-/0lFGUZ6c5HGOidb06NlvApLR19nGviFEQI6A2wtEds0ME+L9Xp3LzJWCi/675a5rekOfSR6RE4fN14ujXrVug== + version "1.6.3" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-js/-/autocomplete-js-1.6.3.tgz#a5bacfcced057a8587bc7a136a6c4f54052913fe" + integrity sha512-WgzufbwaAU6owis5NK/02q21zPyUW5lji+KRr1zgJffxW8nX5SGZ8OWmv73J187klwURHymxqsBEV4fdj0LDuw== dependencies: - "@algolia/autocomplete-core" "1.6.2" - "@algolia/autocomplete-preset-algolia" "1.6.2" - "@algolia/autocomplete-shared" "1.6.2" + "@algolia/autocomplete-core" "1.6.3" + "@algolia/autocomplete-preset-algolia" "1.6.3" + "@algolia/autocomplete-shared" "1.6.3" htm "^3.0.0" preact "^10.0.0" -"@algolia/autocomplete-preset-algolia@1.5.2": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.5.2.tgz#36c5638cc6dba6ea46a86e5a0314637ca40a77ca" - integrity sha512-3MRYnYQFJyovANzSX2CToS6/5cfVjbLLqFsZTKcvF3abhQzxbqwwaMBlJtt620uBUOeMzhdfasKhCc40+RHiZw== +"@algolia/autocomplete-preset-algolia@1.6.3": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.6.3.tgz#110e56228aa41e47712bbdeb093b613c5b62ddd5" + integrity sha512-IJVyknSDZJRheE5sKffRJN7ukJJDAtvuKiHrk0VLZCJHR/o7XQkowu/6axhUIBRZ6Q2JFzV9hzYZ0PbtSJo9gA== dependencies: - "@algolia/autocomplete-shared" "1.5.2" + "@algolia/autocomplete-shared" "1.6.3" -"@algolia/autocomplete-preset-algolia@1.6.2": - version "1.6.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.6.2.tgz#22ce3979c13b912d293d4f23fd1b2008a304096a" - integrity sha512-1g2Fr4XcGFf0+bSPVcxPhiOP6cwWpu3d8TMcinU6On68+IJ8YeMzLTX72uWYLd+kK32SLepdxUpY+Gx9gN3C2g== +"@algolia/autocomplete-shared@1.6.3": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.6.3.tgz#52085ce89a755977841ed0a463aa31ce8f1dea97" + integrity sha512-UV46bnkTztyADFaETfzFC5ryIdGVb2zpAoYgu0tfcuYWjhg1KbLXveFffZIrGVoboqmAk1b+jMrl6iCja1i3lg== + +"@algolia/autocomplete-theme-classic@^1.5.1": + version "1.6.3" + resolved "https://registry.yarnpkg.com/@algolia/autocomplete-theme-classic/-/autocomplete-theme-classic-1.6.3.tgz#b659b4535482e1c6195eb1186afe1dc03b237aaa" + integrity sha512-TGtErtYlhDa/88jCzmYK2uvPEKEDs073Uj11BAN3W+yrrpDMEjcGXvOFbUGR9Gb+nxlCznM9wK2/j8932DAXXw== + +"@algolia/cache-browser-local-storage@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.13.1.tgz#ffacb9230119f77de1a6f163b83680be999110e4" + integrity sha512-UAUVG2PEfwd/FfudsZtYnidJ9eSCpS+LW9cQiesePQLz41NAcddKxBak6eP2GErqyFagSlnVXe/w2E9h2m2ttg== dependencies: - "@algolia/autocomplete-shared" "1.6.2" + "@algolia/cache-common" "4.13.1" -"@algolia/autocomplete-shared@1.5.2": - version "1.5.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.5.2.tgz#e157f9ad624ab8fd940ff28bd2094cdf199cdd79" - integrity sha512-ylQAYv5H0YKMfHgVWX0j0NmL8XBcAeeeVQUmppnnMtzDbDnca6CzhKj3Q8eF9cHCgcdTDdb5K+3aKyGWA0obug== +"@algolia/cache-common@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.13.1.tgz#c933fdec9f73b4f7c69d5751edc92eee4a63d76b" + integrity sha512-7Vaf6IM4L0Jkl3sYXbwK+2beQOgVJ0mKFbz/4qSxKd1iy2Sp77uTAazcX+Dlexekg1fqGUOSO7HS4Sx47ZJmjA== -"@algolia/autocomplete-shared@1.6.2": - version "1.6.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.6.2.tgz#27ad6d8fa7825c6146933e11eebc5936ca12f569" - integrity sha512-Js7N8EgKsRgaclDde70rF07VOdC+Zb6VLXTIWkJnO6+EI9zbXm/mT2StGVcpNuQ+UN8ZF/bVZLjuVBypOk8bUQ== +"@algolia/cache-in-memory@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.13.1.tgz#c19baa67b4597e1a93e987350613ab3b88768832" + integrity sha512-pZzybCDGApfA/nutsFK1P0Sbsq6fYJU3DwIvyKg4pURerlJM4qZbB9bfLRef0FkzfQu7W11E4cVLCIOWmyZeuQ== + dependencies: + "@algolia/cache-common" "4.13.1" -"@algolia/autocomplete-theme-classic@^1.5.1": - version "1.6.2" - resolved "https://registry.yarnpkg.com/@algolia/autocomplete-theme-classic/-/autocomplete-theme-classic-1.6.2.tgz#44ffcc869f7e9976037e3b661bcf28dd8640b209" - integrity sha512-RUMAbqGEEQwj/l1y4pqY5yJ/8m7JHtDX+G9q+MTzhkMTO5zoKQ3n2FtbhPuiSdp0bULVJ0pRsTb5PTAe/rSdzg== - -"@algolia/cache-browser-local-storage@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.13.0.tgz#f8aa4fe31104b19d616ea392f9ed5c2ea847d964" - integrity sha512-nj1vHRZauTqP/bluwkRIgEADEimqojJgoTRCel5f6q8WCa9Y8QeI4bpDQP28FoeKnDRYa3J5CauDlN466jqRhg== - dependencies: - "@algolia/cache-common" "4.13.0" - -"@algolia/cache-common@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.13.0.tgz#27b83fd3939d08d72261b36a07eeafc4cb4d2113" - integrity sha512-f9mdZjskCui/dA/fA/5a+6hZ7xnHaaZI5tM/Rw9X8rRB39SUlF/+o3P47onZ33n/AwkpSbi5QOyhs16wHd55kA== - -"@algolia/cache-in-memory@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.13.0.tgz#10801a74550cbabb64b59ff08c56bce9c278ff2d" - integrity sha512-hHdc+ahPiMM92CQMljmObE75laYzNFYLrNOu0Q3/eyvubZZRtY2SUsEEgyUEyzXruNdzrkcDxFYa7YpWBJYHAg== - dependencies: - "@algolia/cache-common" "4.13.0" - -"@algolia/client-account@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.13.0.tgz#f8646dd40d1e9e3353e10abbd5d6c293ea92a8e2" - integrity sha512-FzFqFt9b0g/LKszBDoEsW+dVBuUe1K3scp2Yf7q6pgHWM1WqyqUlARwVpLxqyc+LoyJkTxQftOKjyFUqddnPKA== - dependencies: - "@algolia/client-common" "4.13.0" - "@algolia/client-search" "4.13.0" - "@algolia/transporter" "4.13.0" - -"@algolia/client-analytics@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.13.0.tgz#a00bd02df45d71becb9dd4c5c993d805f2e1786d" - integrity sha512-klmnoq2FIiiMHImkzOm+cGxqRLLu9CMHqFhbgSy9wtXZrqb8BBUIUE2VyBe7azzv1wKcxZV2RUyNOMpFqmnRZA== - dependencies: - "@algolia/client-common" "4.13.0" - "@algolia/client-search" "4.13.0" - "@algolia/requester-common" "4.13.0" - "@algolia/transporter" "4.13.0" - -"@algolia/client-common@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.13.0.tgz#8bc373d164dbdcce38b4586912bbe162492bcb86" - integrity sha512-GoXfTp0kVcbgfSXOjfrxx+slSipMqGO9WnNWgeMmru5Ra09MDjrcdunsiiuzF0wua6INbIpBQFTC2Mi5lUNqGA== - dependencies: - "@algolia/requester-common" "4.13.0" - "@algolia/transporter" "4.13.0" - -"@algolia/client-personalization@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.13.0.tgz#10fb7af356422551f11a67222b39c52306f1512c" - integrity sha512-KneLz2WaehJmNfdr5yt2HQETpLaCYagRdWwIwkTqRVFCv4DxRQ2ChPVW9jeTj4YfAAhfzE6F8hn7wkQ/Jfj6ZA== - dependencies: - "@algolia/client-common" "4.13.0" - "@algolia/requester-common" "4.13.0" - "@algolia/transporter" "4.13.0" - -"@algolia/client-search@4.13.0", "@algolia/client-search@^4.12.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.13.0.tgz#2d8ff8e755c4a37ec89968f3f9b358eed005c7f0" - integrity sha512-blgCKYbZh1NgJWzeGf+caKE32mo3j54NprOf0LZVCubQb3Kx37tk1Hc8SDs9bCAE8hUvf3cazMPIg7wscSxspA== - dependencies: - "@algolia/client-common" "4.13.0" - "@algolia/requester-common" "4.13.0" - "@algolia/transporter" "4.13.0" +"@algolia/client-account@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.13.1.tgz#fea591943665477a23922ab31863ad0732e26c66" + integrity sha512-TFLiZ1KqMiir3FNHU+h3b0MArmyaHG+eT8Iojio6TdpeFcAQ1Aiy+2gb3SZk3+pgRJa/BxGmDkRUwE5E/lv3QQ== + dependencies: + "@algolia/client-common" "4.13.1" + "@algolia/client-search" "4.13.1" + "@algolia/transporter" "4.13.1" + +"@algolia/client-analytics@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.13.1.tgz#5275956b2d0d16997148f2085f1701b6c39ecc32" + integrity sha512-iOS1JBqh7xaL5x00M5zyluZ9+9Uy9GqtYHv/2SMuzNW1qP7/0doz1lbcsP3S7KBbZANJTFHUOfuqyRLPk91iFA== + dependencies: + "@algolia/client-common" "4.13.1" + "@algolia/client-search" "4.13.1" + "@algolia/requester-common" "4.13.1" + "@algolia/transporter" "4.13.1" + +"@algolia/client-common@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.13.1.tgz#3bf9e3586f20ef85bbb56ccca390f7dbe57c8f4f" + integrity sha512-LcDoUE0Zz3YwfXJL6lJ2OMY2soClbjrrAKB6auYVMNJcoKZZ2cbhQoFR24AYoxnGUYBER/8B+9sTBj5bj/Gqbg== + dependencies: + "@algolia/requester-common" "4.13.1" + "@algolia/transporter" "4.13.1" + +"@algolia/client-personalization@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.13.1.tgz#438a1f58576ef19c4ad4addb8417bdacfe2fce2e" + integrity sha512-1CqrOW1ypVrB4Lssh02hP//YxluoIYXAQCpg03L+/RiXJlCs+uIqlzC0ctpQPmxSlTK6h07kr50JQoYH/TIM9w== + dependencies: + "@algolia/client-common" "4.13.1" + "@algolia/requester-common" "4.13.1" + "@algolia/transporter" "4.13.1" + +"@algolia/client-search@4.13.1", "@algolia/client-search@^4.12.0": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.13.1.tgz#5501deed01e23c33d4aaa9f9eb96a849f0fce313" + integrity sha512-YQKYA83MNRz3FgTNM+4eRYbSmHi0WWpo019s5SeYcL3HUan/i5R09VO9dk3evELDFJYciiydSjbsmhBzbpPP2A== + dependencies: + "@algolia/client-common" "4.13.1" + "@algolia/requester-common" "4.13.1" + "@algolia/transporter" "4.13.1" "@algolia/events@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@algolia/events/-/events-4.0.1.tgz#fd39e7477e7bc703d7f893b556f676c032af3950" integrity sha512-FQzvOCgoFXAbf5Y6mYozw2aj5KCJoA3m4heImceldzPSMbdyS4atVjJzXKMsfX3wnZTFYwkkt8/z8UesLHlSBQ== -"@algolia/logger-common@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.13.0.tgz#be2606e71aae618a1ff1ea9a1b5f5a74284b35a8" - integrity sha512-8yqXk7rMtmQJ9wZiHOt/6d4/JDEg5VCk83gJ39I+X/pwUPzIsbKy9QiK4uJ3aJELKyoIiDT1hpYVt+5ia+94IA== +"@algolia/logger-common@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.13.1.tgz#4221378e701e3f1eacaa051bcd4ba1f25ddfaf4d" + integrity sha512-L6slbL/OyZaAXNtS/1A8SAbOJeEXD5JcZeDCPYDqSTYScfHu+2ePRTDMgUTY4gQ7HsYZ39N1LujOd8WBTmM2Aw== -"@algolia/logger-console@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.13.0.tgz#f28028a760e3d9191e28a10b12925e48f6c9afde" - integrity sha512-YepRg7w2/87L0vSXRfMND6VJ5d6699sFJBRWzZPOlek2p5fLxxK7O0VncYuc/IbVHEgeApvgXx0WgCEa38GVuQ== +"@algolia/logger-console@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.13.1.tgz#423d358e4992dd4bceab0d9a4e99d1fd68107043" + integrity sha512-7jQOTftfeeLlnb3YqF8bNgA2GZht7rdKkJ31OCeSH2/61haO0tWPoNRjZq9XLlgMQZH276pPo0NdiArcYPHjCA== dependencies: - "@algolia/logger-common" "4.13.0" + "@algolia/logger-common" "4.13.1" -"@algolia/requester-browser-xhr@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.13.0.tgz#e2483f4e8d7f09e27cd0daf6c77711d15c5a919f" - integrity sha512-Dj+bnoWR5MotrnjblzGKZ2kCdQi2cK/VzPURPnE616NU/il7Ypy6U6DLGZ/ZYz+tnwPa0yypNf21uqt84fOgrg== +"@algolia/requester-browser-xhr@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.13.1.tgz#f8ea79233cf6f0392feaf31e35a6b40d68c5bc9e" + integrity sha512-oa0CKr1iH6Nc7CmU6RE7TnXMjHnlyp7S80pP/LvZVABeJHX3p/BcSCKovNYWWltgTxUg0U1o+2uuy8BpMKljwA== dependencies: - "@algolia/requester-common" "4.13.0" + "@algolia/requester-common" "4.13.1" -"@algolia/requester-common@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.13.0.tgz#47fb3464cfb26b55ba43676d13f295d812830596" - integrity sha512-BRTDj53ecK+gn7ugukDWOOcBRul59C4NblCHqj4Zm5msd5UnHFjd/sGX+RLOEoFMhetILAnmg6wMrRrQVac9vw== +"@algolia/requester-common@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.13.1.tgz#daea143d15ab6ed3909c4c45877f1b6c36a16179" + integrity sha512-eGVf0ID84apfFEuXsaoSgIxbU3oFsIbz4XiotU3VS8qGCJAaLVUC5BUJEkiFENZIhon7hIB4d0RI13HY4RSA+w== -"@algolia/requester-node-http@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.13.0.tgz#7d981bbd31492f51dd11820a665f9d8906793c37" - integrity sha512-9b+3O4QFU4azLhGMrZAr/uZPydvzOR4aEZfSL8ZrpLZ7fbbqTO0S/5EVko+QIgglRAtVwxvf8UJ1wzTD2jvKxQ== +"@algolia/requester-node-http@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.13.1.tgz#32c63d4c009f22d97e396406de7af9b66fb8e89d" + integrity sha512-7C0skwtLdCz5heKTVe/vjvrqgL/eJxmiEjHqXdtypcE5GCQCYI15cb+wC4ytYioZDMiuDGeVYmCYImPoEgUGPw== dependencies: - "@algolia/requester-common" "4.13.0" + "@algolia/requester-common" "4.13.1" -"@algolia/transporter@4.13.0": - version "4.13.0" - resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.13.0.tgz#f6379e5329efa2127da68c914d1141f5f21dbd07" - integrity sha512-8tSQYE+ykQENAdeZdofvtkOr5uJ9VcQSWgRhQ9h01AehtBIPAczk/b2CLrMsw5yQZziLs5cZ3pJ3478yI+urhA== +"@algolia/transporter@4.13.1": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.13.1.tgz#509e03e9145102843d5be4a031c521f692d4e8d6" + integrity sha512-pICnNQN7TtrcYJqqPEXByV8rJ8ZRU2hCiIKLTLRyNpghtQG3VAFk6fVtdzlNfdUGZcehSKGarPIZEHlQXnKjgw== dependencies: - "@algolia/cache-common" "4.13.0" - "@algolia/logger-common" "4.13.0" - "@algolia/requester-common" "4.13.0" + "@algolia/cache-common" "4.13.1" + "@algolia/logger-common" "4.13.1" + "@algolia/requester-common" "4.13.1" "@ampproject/remapping@^2.1.0": version "2.2.0" @@ -180,7 +161,7 @@ dependencies: "@babel/highlight" "^7.16.7" -"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.17.0", "@babel/compat-data@^7.17.10": +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.17.10": version "7.17.10" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.17.10.tgz#711dc726a492dfc8be8220028b1b92482362baab" integrity sha512-GZt/TCsG70Ms19gfZO1tM4CVnXsPgEPBCpJu+Qz3L0LUDsY5nZqFZglIoPC1kIYOtNBZlrnFT+klg12vFGZXrw== @@ -208,33 +189,33 @@ source-map "^0.5.0" "@babel/core@^7.15.5", "@babel/core@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.17.10.tgz#74ef0fbf56b7dfc3f198fc2d927f4f03e12f4b05" - integrity sha512-liKoppandF3ZcBnIYFjfSDHZLKdLHGJRkoWtG8zQyGJBQfIYobpnVGI5+pLBNtS6psFLDzyq8+h5HiVljW9PNA== + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.2.tgz#87b2fcd7cce9becaa7f5acebdc4f09f3dd19d876" + integrity sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ== dependencies: "@ampproject/remapping" "^2.1.0" "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.10" - "@babel/helper-compilation-targets" "^7.17.10" - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helpers" "^7.17.9" - "@babel/parser" "^7.17.10" + "@babel/generator" "^7.18.2" + "@babel/helper-compilation-targets" "^7.18.2" + "@babel/helper-module-transforms" "^7.18.0" + "@babel/helpers" "^7.18.2" + "@babel/parser" "^7.18.0" "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.10" - "@babel/types" "^7.17.10" + "@babel/traverse" "^7.18.2" + "@babel/types" "^7.18.2" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.2.1" semver "^6.3.0" -"@babel/generator@^7.12.5", "@babel/generator@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.10.tgz#c281fa35b0c349bbe9d02916f4ae08fc85ed7189" - integrity sha512-46MJZZo9y3o4kmhBVc7zW7i8dtR1oIK/sdO5NcfcZRhTGYi+KKJRtHNgsU6c4VUcJmUNV/LQdebD/9Dlv4K+Tg== +"@babel/generator@^7.12.5", "@babel/generator@^7.17.10", "@babel/generator@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.2.tgz#33873d6f89b21efe2da63fe554460f3df1c5880d" + integrity sha512-W1lG5vUwFvfMd8HVXqdfbuG7RuaSrTCCD8cl8fP8wOivdbtbIg2Db3IWUcgvfxKbbn6ZBGYRW/Zk1MIwK49mgw== dependencies: - "@babel/types" "^7.17.10" - "@jridgewell/gen-mapping" "^0.1.0" + "@babel/types" "^7.18.2" + "@jridgewell/gen-mapping" "^0.3.0" jsesc "^2.5.1" "@babel/helper-annotate-as-pure@^7.16.7": @@ -252,20 +233,20 @@ "@babel/helper-explode-assignable-expression" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7", "@babel/helper-compilation-targets@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.17.10.tgz#09c63106d47af93cf31803db6bc49fef354e2ebe" - integrity sha512-gh3RxjWbauw/dFiU/7whjd0qN9K6nPJMqe6+Er7rOavFh0CQUSwhAE3IcTho2rywPJFxej6TUUHDkWcYI6gGqQ== +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.16.7", "@babel/helper-compilation-targets@^7.17.10", "@babel/helper-compilation-targets@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.2.tgz#67a85a10cbd5fc7f1457fec2e7f45441dc6c754b" + integrity sha512-s1jnPotJS9uQnzFtiZVBUxe67CuBa679oWFHpxYYnTpRL/1ffhyX44R9uYiXoa/pLXcY9H2moJta0iaanlk/rQ== dependencies: "@babel/compat-data" "^7.17.10" "@babel/helper-validator-option" "^7.16.7" browserslist "^4.20.2" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.16.10", "@babel/helper-create-class-features-plugin@^7.16.7", "@babel/helper-create-class-features-plugin@^7.17.6": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.9.tgz#71835d7fb9f38bd9f1378e40a4c0902fdc2ea49d" - integrity sha512-kUjip3gruz6AJKOq5i3nC6CoCEEF/oHH3cp6tOZhB+IyyyPyW0g1Gfsxn3mkk6S08pIA2y8GQh609v9G/5sHVQ== +"@babel/helper-create-class-features-plugin@^7.17.12", "@babel/helper-create-class-features-plugin@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.0.tgz#fac430912606331cb075ea8d82f9a4c145a4da19" + integrity sha512-Kh8zTGR9de3J63e5nS0rQUdRs/kbtwoeQQ0sriS0lItjC96u8XXZN6lKpuyWd2coKSU13py/y+LTmThLuVX0Pg== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" "@babel/helper-environment-visitor" "^7.16.7" @@ -275,10 +256,10 @@ "@babel/helper-replace-supers" "^7.16.7" "@babel/helper-split-export-declaration" "^7.16.7" -"@babel/helper-create-regexp-features-plugin@^7.16.7", "@babel/helper-create-regexp-features-plugin@^7.17.0": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz#1dcc7d40ba0c6b6b25618997c5dbfd310f186fe1" - integrity sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA== +"@babel/helper-create-regexp-features-plugin@^7.16.7", "@babel/helper-create-regexp-features-plugin@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.12.tgz#bb37ca467f9694bbe55b884ae7a5cc1e0084e4fd" + integrity sha512-b2aZrV4zvutr9AIa6/gA3wsZKRwTKYoDxYiFKcESS3Ug2GTXzwBEvMuuFLhCQpEnRXs1zng4ISAXSUxxKBIcxw== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" regexpu-core "^5.0.1" @@ -297,12 +278,10 @@ resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-environment-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" - integrity sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag== - dependencies: - "@babel/types" "^7.16.7" +"@babel/helper-environment-visitor@^7.16.7", "@babel/helper-environment-visitor@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.2.tgz#8a6d2dedb53f6bf248e31b4baf38739ee4a637bd" + integrity sha512-14GQKWkX9oJzPiQQ7/J36FTXcD4kSp8egKjO9nINlSKiHITRA9q/R74qu8S9xlc/b/yjsJItQUeeh3xnGN0voQ== "@babel/helper-explode-assignable-expression@^7.16.7": version "7.16.7" @@ -326,7 +305,7 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-member-expression-to-functions@^7.16.7", "@babel/helper-member-expression-to-functions@^7.17.7": +"@babel/helper-member-expression-to-functions@^7.17.7": version "7.17.7" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.17.7.tgz#a34013b57d8542a8c4ff8ba3f747c02452a4d8c4" integrity sha512-thxXgnQ8qQ11W2wVUObIqDL4p148VMxkt5T/qpN5k2fboRyzFGFmKsTGViquyM5QHKUy48OZoca8kw4ajaDPyw== @@ -340,10 +319,10 @@ dependencies: "@babel/types" "^7.16.7" -"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.16.7", "@babel/helper-module-transforms@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz#3943c7f777139e7954a5355c815263741a9c1cbd" - integrity sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw== +"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.18.0.tgz#baf05dec7a5875fb9235bd34ca18bad4e21221cd" + integrity sha512-kclUYSUBIjlvnzN2++K9f2qzYKFgjmnmjwL4zlmU5f8ZtzgWe8s0rUPSTGy2HmK4P8T52MQsS+HTQAgZd3dMEA== dependencies: "@babel/helper-environment-visitor" "^7.16.7" "@babel/helper-module-imports" "^7.16.7" @@ -351,8 +330,8 @@ "@babel/helper-split-export-declaration" "^7.16.7" "@babel/helper-validator-identifier" "^7.16.7" "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.3" - "@babel/types" "^7.17.0" + "@babel/traverse" "^7.18.0" + "@babel/types" "^7.18.0" "@babel/helper-optimise-call-expression@^7.16.7": version "7.16.7" @@ -366,10 +345,10 @@ resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz#2f75a831269d4f677de49986dff59927533cf375" integrity sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg== -"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz#aa3a8ab4c3cceff8e65eb9e73d87dc4ff320b2f5" - integrity sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA== +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.17.12", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.17.12.tgz#86c2347da5acbf5583ba0a10aed4c9bf9da9cf96" + integrity sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA== "@babel/helper-remap-async-to-generator@^7.16.8": version "7.16.8" @@ -381,22 +360,22 @@ "@babel/types" "^7.16.8" "@babel/helper-replace-supers@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz#e9f5f5f32ac90429c1a4bdec0f231ef0c2838ab1" - integrity sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw== + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.18.2.tgz#41fdfcc9abaf900e18ba6e5931816d9062a7b2e0" + integrity sha512-XzAIyxx+vFnrOxiQrToSUOzUOn0e1J2Li40ntddek1Y69AXUTXoDJ40/D5RdjFu7s7qHiaeoTiempZcbuVXh2Q== dependencies: - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-member-expression-to-functions" "^7.16.7" + "@babel/helper-environment-visitor" "^7.18.2" + "@babel/helper-member-expression-to-functions" "^7.17.7" "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/traverse" "^7.16.7" - "@babel/types" "^7.16.7" + "@babel/traverse" "^7.18.2" + "@babel/types" "^7.18.2" -"@babel/helper-simple-access@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz#aaa473de92b7987c6dfa7ce9a7d9674724823367" - integrity sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA== +"@babel/helper-simple-access@^7.17.7", "@babel/helper-simple-access@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.18.2.tgz#4dc473c2169ac3a1c9f4a51cfcd091d1c36fcff9" + integrity sha512-7LIrjYzndorDY88MycupkpQLKS1AFfsVRm2k/9PtKScSy5tZq0McZTj+DiMRynboZfIqOKvo03pmhTaUgiD6fQ== dependencies: - "@babel/types" "^7.17.0" + "@babel/types" "^7.18.2" "@babel/helper-skip-transparent-expression-wrappers@^7.16.0": version "7.16.0" @@ -432,69 +411,69 @@ "@babel/traverse" "^7.16.8" "@babel/types" "^7.16.8" -"@babel/helpers@^7.12.5", "@babel/helpers@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.17.9.tgz#b2af120821bfbe44f9907b1826e168e819375a1a" - integrity sha512-cPCt915ShDWUEzEp3+UNRktO2n6v49l5RSnG9M5pS24hA+2FAc5si+Pn1i4VVbQQ+jh+bIZhPFQOJOzbrOYY1Q== +"@babel/helpers@^7.12.5", "@babel/helpers@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.18.2.tgz#970d74f0deadc3f5a938bfa250738eb4ac889384" + integrity sha512-j+d+u5xT5utcQSzrh9p+PaJX94h++KN+ng9b9WEJq7pkUPAd61FGqhjuUEdfknb3E/uDBb7ruwEeKkIxNJPIrg== dependencies: "@babel/template" "^7.16.7" - "@babel/traverse" "^7.17.9" - "@babel/types" "^7.17.0" + "@babel/traverse" "^7.18.2" + "@babel/types" "^7.18.2" "@babel/highlight@^7.16.7": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.17.9.tgz#61b2ee7f32ea0454612def4fccdae0de232b73e3" - integrity sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg== + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.17.12.tgz#257de56ee5afbd20451ac0a75686b6b404257351" + integrity sha512-7yykMVF3hfZY2jsHZEEgLc+3x4o1O+fYyULu11GynEUQNwB6lua+IIQn1FiJxNucd5UlyJryrwsOh8PL9Sn8Qg== dependencies: "@babel/helper-validator-identifier" "^7.16.7" chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.12.7", "@babel/parser@^7.16.7", "@babel/parser@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.10.tgz#873b16db82a8909e0fbd7f115772f4b739f6ce78" - integrity sha512-n2Q6i+fnJqzOaq2VkdXxy2TCPCWQZHiCo0XqmrCvDWcZQKRyZzYi4Z0yxlBuN0w+r2ZHmre+Q087DSrw3pbJDQ== +"@babel/parser@^7.12.7", "@babel/parser@^7.16.7", "@babel/parser@^7.17.10", "@babel/parser@^7.18.0": + version "7.18.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.3.tgz#39e99c7b0c4c56cef4d1eed8de9f506411c2ebc2" + integrity sha512-rL50YcEuHbbauAFAysNsJA4/f89fGTOBRNs9P81sniKnKAr4xULe5AecolcsKbi88xu0ByWYDj/S1AJ3FSFuSQ== -"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz#4eda6d6c2a0aa79c70fa7b6da67763dfe2141050" - integrity sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg== +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.17.12.tgz#1dca338caaefca368639c9ffb095afbd4d420b1e" + integrity sha512-xCJQXl4EeQ3J9C4yOmpTrtVGmzpm2iSzyxbkZHw7UCnZBftHpF/hpII80uWVyVrc40ytIClHjgWGTG1g/yB+aw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz#cc001234dfc139ac45f6bcf801866198c8c72ff9" - integrity sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw== +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.17.12.tgz#0d498ec8f0374b1e2eb54b9cb2c4c78714c77753" + integrity sha512-/vt0hpIw0x4b6BLKUkwlvEoiGZYYLNZ96CzyHYPbtG2jZGz6LBe7/V+drYrc/d+ovrF9NBi0pmtvmNb/FsWtRQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" - "@babel/plugin-proposal-optional-chaining" "^7.16.7" + "@babel/plugin-proposal-optional-chaining" "^7.17.12" -"@babel/plugin-proposal-async-generator-functions@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz#3bdd1ebbe620804ea9416706cd67d60787504bc8" - integrity sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ== +"@babel/plugin-proposal-async-generator-functions@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.17.12.tgz#094a417e31ce7e692d84bab06c8e2a607cbeef03" + integrity sha512-RWVvqD1ooLKP6IqWTA5GyFVX2isGEgC5iFxKzfYOIy/QEFdxYyCybBDtIGjipHpb9bDWHzcqGqFakf+mVmBTdQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-remap-async-to-generator" "^7.16.8" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz#925cad7b3b1a2fcea7e59ecc8eb5954f961f91b0" - integrity sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww== +"@babel/plugin-proposal-class-properties@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.17.12.tgz#84f65c0cc247d46f40a6da99aadd6438315d80a4" + integrity sha512-U0mI9q8pW5Q9EaTHFPwSVusPMV/DV9Mm8p7csqROFLtIE9rBF5piLqyrBGigftALrBcsBGu4m38JneAe7ZDLXw== dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.17.12" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-proposal-class-static-block@^7.17.6": - version "7.17.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.17.6.tgz#164e8fd25f0d80fa48c5a4d1438a6629325ad83c" - integrity sha512-X/tididvL2zbs7jZCeeRJ8167U/+Ac135AM6jCAx6gYXDUviZV5Ku9UDvWS2NCuWlFjIRXklYhwo6HhAC7ETnA== +"@babel/plugin-proposal-class-static-block@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.0.tgz#7d02253156e3c3793bdb9f2faac3a1c05f0ba710" + integrity sha512-t+8LsRMMDE74c6sV7KShIw13sqbqd58tlqNrsWoWBTIMw7SVQ0cZ905wLNS/FBCy/3PyooRHLFFlfrUNyyz5lA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.17.6" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-proposal-dynamic-import@^7.16.7": @@ -505,36 +484,36 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-export-namespace-from@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz#09de09df18445a5786a305681423ae63507a6163" - integrity sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA== +"@babel/plugin-proposal-export-namespace-from@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.17.12.tgz#b22864ccd662db9606edb2287ea5fd1709f05378" + integrity sha512-j7Ye5EWdwoXOpRmo5QmRyHPsDIe6+u70ZYZrd7uz+ebPYFKfRcLcNu3Ro0vOlJ5zuv8rU7xa+GttNiRzX56snQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz#9732cb1d17d9a2626a08c5be25186c195b6fa6e8" - integrity sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ== +"@babel/plugin-proposal-json-strings@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.17.12.tgz#f4642951792437233216d8c1af370bb0fbff4664" + integrity sha512-rKJ+rKBoXwLnIn7n6o6fulViHMrOThz99ybH+hKHcOZbnN14VuMnH9fo2eHE69C8pO4uX1Q7t2HYYIDmv8VYkg== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-logical-assignment-operators@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz#be23c0ba74deec1922e639832904be0bea73cdea" - integrity sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg== +"@babel/plugin-proposal-logical-assignment-operators@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.17.12.tgz#c64a1bcb2b0a6d0ed2ff674fd120f90ee4b88a23" + integrity sha512-EqFo2s1Z5yy+JeJu7SFfbIUtToJTVlC61/C7WLKDntSw4Sz6JNAIfL7zQ74VvirxpjB5kz/kIx0gCcb+5OEo2Q== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz#141fc20b6857e59459d430c850a0011e36561d99" - integrity sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.17.12.tgz#1e93079bbc2cbc756f6db6a1925157c4a92b94be" + integrity sha512-ws/g3FSGVzv+VH86+QvgtuJL/kR67xaEIF2x0iPqdDfYW6ra6JF3lKVBkWynRLcNtIC1oCTfDRVxmm2mKzy+ag== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-proposal-numeric-separator@^7.16.7": @@ -554,16 +533,16 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.12.1" -"@babel/plugin-proposal-object-rest-spread@^7.17.3": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.17.3.tgz#d9eb649a54628a51701aef7e0ea3d17e2b9dd390" - integrity sha512-yuL5iQA/TbZn+RGAfxQXfi7CNLmKi1f8zInn4IgobuCWcAb7i+zj4TYzQ9l8cEzVyJ89PDGuqxK1xZpUDISesw== +"@babel/plugin-proposal-object-rest-spread@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.0.tgz#79f2390c892ba2a68ec112eb0d895cfbd11155e8" + integrity sha512-nbTv371eTrFabDfHLElkn9oyf9VG+VKK6WMzhY2o4eHKaG19BToD9947zzGMO6I/Irstx9d8CwX6njPNIAR/yw== dependencies: - "@babel/compat-data" "^7.17.0" - "@babel/helper-compilation-targets" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/compat-data" "^7.17.10" + "@babel/helper-compilation-targets" "^7.17.10" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.16.7" + "@babel/plugin-transform-parameters" "^7.17.12" "@babel/plugin-proposal-optional-catch-binding@^7.16.7": version "7.16.7" @@ -573,40 +552,40 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz#7cd629564724816c0e8a969535551f943c64c39a" - integrity sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA== +"@babel/plugin-proposal-optional-chaining@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.17.12.tgz#f96949e9bacace3a9066323a5cf90cfb9de67174" + integrity sha512-7wigcOs/Z4YWlK7xxjkvaIw84vGhDv/P1dFGQap0nHkc8gFKY/r+hXc8Qzf5k1gY7CvGIcHqAnOagVKJJ1wVOQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-private-methods@^7.16.11": - version "7.16.11" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz#e8df108288555ff259f4527dbe84813aac3a1c50" - integrity sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw== +"@babel/plugin-proposal-private-methods@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.17.12.tgz#c2ca3a80beb7539289938da005ad525a038a819c" + integrity sha512-SllXoxo19HmxhDWm3luPz+cPhtoTSKLJE9PXshsfrOzBqs60QP0r8OaJItrPhAj0d7mZMnNF0Y1UUggCDgMz1A== dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.10" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.17.12" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-proposal-private-property-in-object@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz#b0b8cef543c2c3d57e59e2c611994861d46a3fce" - integrity sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ== +"@babel/plugin-proposal-private-property-in-object@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.17.12.tgz#b02efb7f106d544667d91ae97405a9fd8c93952d" + integrity sha512-/6BtVi57CJfrtDNKfK5b66ydK2J5pXUKBKSPD2G1whamMuEnZWgoOIfO8Vf9F/DoD4izBLD/Au4NMQfruzzykg== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-create-class-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.17.12" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.16.7", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz#635d18eb10c6214210ffc5ff4932552de08188a2" - integrity sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg== +"@babel/plugin-proposal-unicode-property-regex@^7.17.12", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.17.12.tgz#3dbd7a67bd7f94c8238b394da112d86aaf32ad4d" + integrity sha512-Wb9qLjXf3ZazqXA7IvI7ozqRIXIGPtSo+L5coFmEkhTQK18ao4UDDD0zdTGAarmbLj2urpRwrc6893cu5Bfh0A== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-create-regexp-features-plugin" "^7.17.12" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" @@ -643,6 +622,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-syntax-import-assertions@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.17.12.tgz#58096a92b11b2e4e54b24c6a0cc0e5e607abcedd" + integrity sha512-n/loy2zkq9ZEM8tEOwON9wTQSTNDTDEz6NujPtJGLU7qObzT1N4c4YZZf8E6ATB2AjNQg/Ib2AIpO03EZaCehw== + dependencies: + "@babel/helper-plugin-utils" "^7.17.12" + "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" @@ -657,12 +643,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-jsx@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.16.7.tgz#50b6571d13f764266a113d77c82b4a6508bbe665" - integrity sha512-Esxmk7YjA8QysKeT3VhTXvF6y77f/a91SIs4pWb4H2eWGQkCKFgQaG6hdoEVZtGsrAcb2K5BW66XsOErD4WU3Q== +"@babel/plugin-syntax-jsx@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.17.12.tgz#834035b45061983a491f60096f61a2e7c5674a47" + integrity sha512-spyY3E3AURfxh/RHtjx5j6hs8am5NbUBGfcZ2vB3uShSpZdQyXSf5rR5Mk76vbtlAZOelyVQ71Fg0x9SG4fsog== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" @@ -720,27 +706,27 @@ dependencies: "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-typescript@^7.16.7": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.17.10.tgz#80031e6042cad6a95ed753f672ebd23c30933195" - integrity sha512-xJefea1DWXW09pW4Tm9bjwVlPDyYA2it3fWlmEjpYz6alPvTUjL0EOzNzI/FEOyI3r4/J7uVH5UqKgl1TQ5hqQ== +"@babel/plugin-syntax-typescript@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.17.12.tgz#b54fc3be6de734a56b87508f99d6428b5b605a7b" + integrity sha512-TYY0SXFiO31YXtNg3HtFwNJHjLsAyIIhAhNWkQ5whPPS7HWUFlg9z0Ta4qAQNjQbP1wsSt/oKkmZ/4/WWdMUpw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-arrow-functions@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz#44125e653d94b98db76369de9c396dc14bef4154" - integrity sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ== +"@babel/plugin-transform-arrow-functions@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.17.12.tgz#dddd783b473b1b1537ef46423e3944ff24898c45" + integrity sha512-PHln3CNi/49V+mza4xMwrg+WGYevSF1oaiXaC2EQfdp4HWlSjRsrDXWJiQBKpP7749u6vQ9mcry2uuFOv5CXvA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-async-to-generator@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz#b83dff4b970cf41f1b819f8b49cc0cfbaa53a808" - integrity sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg== +"@babel/plugin-transform-async-to-generator@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.17.12.tgz#dbe5511e6b01eee1496c944e35cdfe3f58050832" + integrity sha512-J8dbrWIOO3orDzir57NRsjg4uxucvhby0L/KZuGsWDj0g7twWK3g7JhJhOrXtuXiw8MeiSdJ3E0OW9H8LYEzLQ== dependencies: "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-remap-async-to-generator" "^7.16.8" "@babel/plugin-transform-block-scoped-functions@^7.16.7": @@ -750,40 +736,40 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-block-scoping@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz#f50664ab99ddeaee5bc681b8f3a6ea9d72ab4f87" - integrity sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ== +"@babel/plugin-transform-block-scoping@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.17.12.tgz#68fc3c4b3bb7dfd809d97b7ed19a584052a2725c" + integrity sha512-jw8XW/B1i7Lqwqj2CbrViPcZijSxfguBWZP2aN59NHgxUyO/OcO1mfdCxH13QhN5LbWhPkX+f+brKGhZTiqtZQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-classes@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz#8f4b9562850cd973de3b498f1218796eb181ce00" - integrity sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ== +"@babel/plugin-transform-classes@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.17.12.tgz#da889e89a4d38375eeb24985218edeab93af4f29" + integrity sha512-cvO7lc7pZat6BsvH6l/EGaI8zpl8paICaoGk+7x7guvtfak/TbIf66nYmJOH13EuG0H+Xx3M+9LQDtSvZFKXKw== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" + "@babel/helper-function-name" "^7.17.9" "@babel/helper-optimise-call-expression" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-replace-supers" "^7.16.7" "@babel/helper-split-export-declaration" "^7.16.7" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz#66dee12e46f61d2aae7a73710f591eb3df616470" - integrity sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw== +"@babel/plugin-transform-computed-properties@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.17.12.tgz#bca616a83679698f3258e892ed422546e531387f" + integrity sha512-a7XINeplB5cQUWMg1E/GI1tFz3LfK021IjV1rj1ypE+R7jHm+pIHmHl25VNkZxtx9uuYp7ThGk8fur1HHG7PgQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-destructuring@^7.17.7": - version "7.17.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.17.7.tgz#49dc2675a7afa9a5e4c6bdee636061136c3408d1" - integrity sha512-XVh0r5yq9sLR4vZ6eVZe8FKfIcSgaTBxVBRSYokRj2qksf6QerYnTxz9/GTuKTH/n/HwLP7t6gtlybHetJ/6hQ== +"@babel/plugin-transform-destructuring@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.0.tgz#dc4f92587e291b4daa78aa20cc2d7a63aa11e858" + integrity sha512-Mo69klS79z6KEfrLg/1WkmVnB8javh75HX4pi2btjvlIoasuxilEyjtsQW6XPrubNd7AQy0MMaNIaQE4e7+PQw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-dotall-regex@^7.16.7", "@babel/plugin-transform-dotall-regex@^7.4.4": version "7.16.7" @@ -793,12 +779,12 @@ "@babel/helper-create-regexp-features-plugin" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-duplicate-keys@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz#2207e9ca8f82a0d36a5a67b6536e7ef8b08823c9" - integrity sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw== +"@babel/plugin-transform-duplicate-keys@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.17.12.tgz#a09aa709a3310013f8e48e0e23bc7ace0f21477c" + integrity sha512-EA5eYFUG6xeerdabina/xIoB95jJ17mAkR8ivx6ZSu9frKShBjpOGZPn511MTDTkiCO+zXnzNczvUM69YSf3Zw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-exponentiation-operator@^7.16.7": version "7.16.7" @@ -808,12 +794,12 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-for-of@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz#649d639d4617dff502a9a158c479b3b556728d8c" - integrity sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg== +"@babel/plugin-transform-for-of@^7.18.1": + version "7.18.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.1.tgz#ed14b657e162b72afbbb2b4cdad277bf2bb32036" + integrity sha512-+TTB5XwvJ5hZbO8xvl2H4XaMDOAK57zF4miuC9qQJgysPNEAZZ9Z69rdF5LJkozGdZrjBIUAIyKUWRMmebI7vg== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-function-name@^7.16.7": version "7.16.7" @@ -824,12 +810,12 @@ "@babel/helper-function-name" "^7.16.7" "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz#254c9618c5ff749e87cb0c0cef1a0a050c0bdab1" - integrity sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ== +"@babel/plugin-transform-literals@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.17.12.tgz#97131fbc6bbb261487105b4b3edbf9ebf9c830ae" + integrity sha512-8iRkvaTjJciWycPIZ9k9duu663FT7VrBdNqNgxnVXEFwOIp55JWcZd23VBRySYbnS3PwQ3rGiabJBBBGj5APmQ== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-member-expression-literals@^7.16.7": version "7.16.7" @@ -838,57 +824,58 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-modules-amd@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz#b28d323016a7daaae8609781d1f8c9da42b13186" - integrity sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g== +"@babel/plugin-transform-modules-amd@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.0.tgz#7ef1002e67e36da3155edc8bf1ac9398064c02ed" + integrity sha512-h8FjOlYmdZwl7Xm2Ug4iX2j7Qy63NANI+NQVWQzv6r25fqgg7k2dZl03p95kvqNclglHs4FZ+isv4p1uXMA+QA== dependencies: - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-module-transforms" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz#274be1a2087beec0254d4abd4d86e52442e1e5b6" - integrity sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw== +"@babel/plugin-transform-modules-commonjs@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.2.tgz#1aa8efa2e2a6e818b6a7f2235fceaf09bdb31e9e" + integrity sha512-f5A865gFPAJAEE0K7F/+nm5CmAE3y8AWlMBG9unu5j9+tk50UQVK0QS8RNxSp7MJf0wh97uYyLWt3Zvu71zyOQ== dependencies: - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/helper-simple-access" "^7.17.7" + "@babel/helper-module-transforms" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" + "@babel/helper-simple-access" "^7.18.2" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.17.8": - version "7.17.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.17.8.tgz#81fd834024fae14ea78fbe34168b042f38703859" - integrity sha512-39reIkMTUVagzgA5x88zDYXPCMT6lcaRKs1+S9K6NKBPErbgO/w/kP8GlNQTC87b412ZTlmNgr3k2JrWgHH+Bw== +"@babel/plugin-transform-modules-systemjs@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.0.tgz#50ecdb43de97c8483824402f7125edb94cddb09a" + integrity sha512-vwKpxdHnlM5tIrRt/eA0bzfbi7gUBLN08vLu38np1nZevlPySRe6yvuATJB5F/WPJ+ur4OXwpVYq9+BsxqAQuQ== dependencies: "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-module-transforms" "^7.17.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-module-transforms" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-validator-identifier" "^7.16.7" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz#23dad479fa585283dbd22215bff12719171e7618" - integrity sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ== +"@babel/plugin-transform-modules-umd@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.0.tgz#56aac64a2c2a1922341129a4597d1fd5c3ff020f" + integrity sha512-d/zZ8I3BWli1tmROLxXLc9A6YXvGK8egMxHp+E/rRwMh1Kip0AP77VwZae3snEJ33iiWwvNv2+UIIhfalqhzZA== dependencies: - "@babel/helper-module-transforms" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-module-transforms" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-named-capturing-groups-regex@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.10.tgz#715dbcfafdb54ce8bccd3d12e8917296a4ba66a4" - integrity sha512-v54O6yLaJySCs6mGzaVOUw9T967GnH38T6CQSAtnzdNPwu84l2qAjssKzo/WSO8Yi7NF+7ekm5cVbF/5qiIgNA== +"@babel/plugin-transform-named-capturing-groups-regex@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.17.12.tgz#9c4a5a5966e0434d515f2675c227fd8cc8606931" + integrity sha512-vWoWFM5CKaTeHrdUJ/3SIOTRV+MBVGybOC9mhJkaprGNt5demMymDW24yC74avb915/mIRe3TgNb/d8idvnCRA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.17.0" + "@babel/helper-create-regexp-features-plugin" "^7.17.12" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-new-target@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz#9967d89a5c243818e0800fdad89db22c5f514244" - integrity sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg== +"@babel/plugin-transform-new-target@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.17.12.tgz#10842cd605a620944e81ea6060e9e65c265742e3" + integrity sha512-CaOtzk2fDYisbjAD4Sd1MTKGVIpRtx9bWLyj24Y/k6p4s4gQ3CqDGJauFJxt8M/LEx003d0i3klVqnN73qvK3w== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-object-super@^7.16.7": version "7.16.7" @@ -898,12 +885,12 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/helper-replace-supers" "^7.16.7" -"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz#a1721f55b99b736511cb7e0152f61f17688f331f" - integrity sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw== +"@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.17.12.tgz#eb467cd9586ff5ff115a9880d6fdbd4a846b7766" + integrity sha512-6qW4rWo1cyCdq1FkYri7AHpauchbGLXpdwnYsfxFb+KtddHENfsY5JZb35xUwkK5opOLcJ3BNd2l7PhRYGlwIA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-property-literals@^7.16.7": version "7.16.7" @@ -913,11 +900,11 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/plugin-transform-react-constant-elements@^7.14.5": - version "7.17.6" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.17.6.tgz#6cc273c2f612a6a50cb657e63ee1303e5e68d10a" - integrity sha512-OBv9VkyyKtsHZiHLoSfCn+h6yU7YKX8nrs32xUmOa1SRSk+t03FosB6fBZ0Yz4BpD1WV7l73Nsad+2Tz7APpqw== + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.17.12.tgz#cc580857696b6dd9e5e3d079e673d060a0657f37" + integrity sha512-maEkX2xs2STuv2Px8QuqxqjhV2LsFobT1elCgyU5704fcyTu9DyD/bJXxD/mrRiVyhpHweOQ00OJ5FKhHq9oEw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-react-display-name@^7.16.7": version "7.16.7" @@ -933,46 +920,47 @@ dependencies: "@babel/plugin-transform-react-jsx" "^7.16.7" -"@babel/plugin-transform-react-jsx@^7.16.7": - version "7.17.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.3.tgz#eac1565da176ccb1a715dae0b4609858808008c1" - integrity sha512-9tjBm4O07f7mzKSIlEmPdiE6ub7kfIe6Cd+w+oQebpATfTQMAgW+YOuWxogbKVTulA+MEO7byMeIUtQ1z+z+ZQ== +"@babel/plugin-transform-react-jsx@^7.16.7", "@babel/plugin-transform-react-jsx@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.17.12.tgz#2aa20022709cd6a3f40b45d60603d5f269586dba" + integrity sha512-Lcaw8bxd1DKht3thfD4A12dqo1X16he1Lm8rIv8sTwjAYNInRS1qHa9aJoqvzpscItXvftKDCfaEQzwoVyXpEQ== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-jsx" "^7.16.7" - "@babel/types" "^7.17.0" + "@babel/helper-plugin-utils" "^7.17.12" + "@babel/plugin-syntax-jsx" "^7.17.12" + "@babel/types" "^7.17.12" "@babel/plugin-transform-react-pure-annotations@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.16.7.tgz#232bfd2f12eb551d6d7d01d13fe3f86b45eb9c67" - integrity sha512-hs71ToC97k3QWxswh2ElzMFABXHvGiJ01IB1TbYQDGeWRKWz/MPUTh5jGExdHvosYKpnJW5Pm3S4+TA3FyX+GA== + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.18.0.tgz#ef82c8e310913f3522462c9ac967d395092f1954" + integrity sha512-6+0IK6ouvqDn9bmEG7mEyF/pwlJXVj5lwydybpyyH3D0A7Hftk+NCTdYjnLNZksn261xaOV5ksmp20pQEmc2RQ== dependencies: "@babel/helper-annotate-as-pure" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-regenerator@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.17.9.tgz#0a33c3a61cf47f45ed3232903683a0afd2d3460c" - integrity sha512-Lc2TfbxR1HOyn/c6b4Y/b6NHoTb67n/IoWLxTu4kC7h4KQnWlhCq2S8Tx0t2SVvv5Uu87Hs+6JEJ5kt2tYGylQ== +"@babel/plugin-transform-regenerator@^7.18.0": + version "7.18.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.0.tgz#44274d655eb3f1af3f3a574ba819d3f48caf99d5" + integrity sha512-C8YdRw9uzx25HSIzwA7EM7YP0FhCe5wNvJbZzjVNHHPGVcDJ3Aie+qGYYdS1oVQgn+B3eAIJbWFLrJ4Jipv7nw== dependencies: + "@babel/helper-plugin-utils" "^7.17.12" regenerator-transform "^0.15.0" -"@babel/plugin-transform-reserved-words@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz#1d798e078f7c5958eec952059c460b220a63f586" - integrity sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg== +"@babel/plugin-transform-reserved-words@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.17.12.tgz#7dbd349f3cdffba751e817cf40ca1386732f652f" + integrity sha512-1KYqwbJV3Co03NIi14uEHW8P50Md6KqFgt0FfpHdK6oyAHQVTosgPuPSiWud1HX0oYJ1hGRRlk0fP87jFpqXZA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/plugin-transform-runtime@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.17.10.tgz#b89d821c55d61b5e3d3c3d1d636d8d5a81040ae1" - integrity sha512-6jrMilUAJhktTr56kACL8LnWC5hx3Lf27BS0R0DSyW/OoJfb/iTHeE96V3b1dgKG3FSFdd/0culnYWMkjcKCig== + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.2.tgz#04637de1e45ae8847ff14b9beead09c33d34374d" + integrity sha512-mr1ufuRMfS52ttq+1G1PD8OJNqgcTFjq3hwn8SZ5n1x1pBhi0E36rYMdTK0TsKtApJ4lDEdfXJwtGobQMHSMPg== dependencies: "@babel/helper-module-imports" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" babel-plugin-polyfill-corejs2 "^0.3.0" babel-plugin-polyfill-corejs3 "^0.5.0" babel-plugin-polyfill-regenerator "^0.3.0" @@ -985,12 +973,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-spread@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz#a303e2122f9f12e0105daeedd0f30fb197d8ff44" - integrity sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg== +"@babel/plugin-transform-spread@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.17.12.tgz#c112cad3064299f03ea32afed1d659223935d1f5" + integrity sha512-9pgmuQAtFi3lpNUstvG9nGfk9DkrdmWNp9KeKPFmuZCpEnxRzYlS8JgwPjYj+1AWDOSvoGN0H30p1cBOmT/Svg== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-skip-transparent-expression-wrappers" "^7.16.0" "@babel/plugin-transform-sticky-regex@^7.16.7": @@ -1000,28 +988,28 @@ dependencies: "@babel/helper-plugin-utils" "^7.16.7" -"@babel/plugin-transform-template-literals@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz#f3d1c45d28967c8e80f53666fc9c3e50618217ab" - integrity sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA== +"@babel/plugin-transform-template-literals@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.2.tgz#31ed6915721864847c48b656281d0098ea1add28" + integrity sha512-/cmuBVw9sZBGZVOMkpAEaVLwm4JmK2GZ1dFKOGGpMzEHWFmyZZ59lUU0PdRr8YNYeQdNzTDwuxP2X2gzydTc9g== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-typeof-symbol@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz#9cdbe622582c21368bd482b660ba87d5545d4f7e" - integrity sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ== +"@babel/plugin-transform-typeof-symbol@^7.17.12": + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.17.12.tgz#0f12f57ac35e98b35b4ed34829948d42bd0e6889" + integrity sha512-Q8y+Jp7ZdtSPXCThB6zjQ74N3lj0f6TDh1Hnf5B+sYlzQ8i5Pjp8gW0My79iekSpT4WnI06blqP6DT0OmaXXmw== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" -"@babel/plugin-transform-typescript@^7.16.7": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.16.8.tgz#591ce9b6b83504903fa9dd3652c357c2ba7a1ee0" - integrity sha512-bHdQ9k7YpBDO2d0NVfkj51DpQcvwIzIusJ7mEUaMlbZq3Kt/U47j24inXZHQ5MDiYpCs+oZiwnXyKedE8+q7AQ== +"@babel/plugin-transform-typescript@^7.17.12": + version "7.18.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.18.1.tgz#5fd8b86130bad95c4a24377b41ab989a9ccad22d" + integrity sha512-F+RJmL479HJmC0KeqqwEGZMg1P7kWArLGbAKfEi9yPthJyMNjF+DjxFF/halfQvq1Q9GFM4TUbYDNV8xe4Ctqg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.16.7" - "@babel/helper-plugin-utils" "^7.16.7" - "@babel/plugin-syntax-typescript" "^7.16.7" + "@babel/helper-create-class-features-plugin" "^7.18.0" + "@babel/helper-plugin-utils" "^7.17.12" + "@babel/plugin-syntax-typescript" "^7.17.12" "@babel/plugin-transform-unicode-escapes@^7.16.7": version "7.16.7" @@ -1039,36 +1027,37 @@ "@babel/helper-plugin-utils" "^7.16.7" "@babel/preset-env@^7.15.6", "@babel/preset-env@^7.17.10": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.17.10.tgz#a81b093669e3eb6541bb81a23173c5963c5de69c" - integrity sha512-YNgyBHZQpeoBSRBg0xixsZzfT58Ze1iZrajvv0lJc70qDDGuGfonEnMGfWeSY0mQ3JTuCWFbMkzFRVafOyJx4g== + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.2.tgz#f47d3000a098617926e674c945d95a28cb90977a" + integrity sha512-PfpdxotV6afmXMU47S08F9ZKIm2bJIQ0YbAAtDfIENX7G1NUAXigLREh69CWDjtgUy7dYn7bsMzkgdtAlmS68Q== dependencies: "@babel/compat-data" "^7.17.10" - "@babel/helper-compilation-targets" "^7.17.10" - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-compilation-targets" "^7.18.2" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.16.7" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.16.7" - "@babel/plugin-proposal-async-generator-functions" "^7.16.8" - "@babel/plugin-proposal-class-properties" "^7.16.7" - "@babel/plugin-proposal-class-static-block" "^7.17.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.17.12" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.17.12" + "@babel/plugin-proposal-async-generator-functions" "^7.17.12" + "@babel/plugin-proposal-class-properties" "^7.17.12" + "@babel/plugin-proposal-class-static-block" "^7.18.0" "@babel/plugin-proposal-dynamic-import" "^7.16.7" - "@babel/plugin-proposal-export-namespace-from" "^7.16.7" - "@babel/plugin-proposal-json-strings" "^7.16.7" - "@babel/plugin-proposal-logical-assignment-operators" "^7.16.7" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.16.7" + "@babel/plugin-proposal-export-namespace-from" "^7.17.12" + "@babel/plugin-proposal-json-strings" "^7.17.12" + "@babel/plugin-proposal-logical-assignment-operators" "^7.17.12" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.17.12" "@babel/plugin-proposal-numeric-separator" "^7.16.7" - "@babel/plugin-proposal-object-rest-spread" "^7.17.3" + "@babel/plugin-proposal-object-rest-spread" "^7.18.0" "@babel/plugin-proposal-optional-catch-binding" "^7.16.7" - "@babel/plugin-proposal-optional-chaining" "^7.16.7" - "@babel/plugin-proposal-private-methods" "^7.16.11" - "@babel/plugin-proposal-private-property-in-object" "^7.16.7" - "@babel/plugin-proposal-unicode-property-regex" "^7.16.7" + "@babel/plugin-proposal-optional-chaining" "^7.17.12" + "@babel/plugin-proposal-private-methods" "^7.17.12" + "@babel/plugin-proposal-private-property-in-object" "^7.17.12" + "@babel/plugin-proposal-unicode-property-regex" "^7.17.12" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.17.12" "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" @@ -1078,40 +1067,40 @@ "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-private-property-in-object" "^7.14.5" "@babel/plugin-syntax-top-level-await" "^7.14.5" - "@babel/plugin-transform-arrow-functions" "^7.16.7" - "@babel/plugin-transform-async-to-generator" "^7.16.8" + "@babel/plugin-transform-arrow-functions" "^7.17.12" + "@babel/plugin-transform-async-to-generator" "^7.17.12" "@babel/plugin-transform-block-scoped-functions" "^7.16.7" - "@babel/plugin-transform-block-scoping" "^7.16.7" - "@babel/plugin-transform-classes" "^7.16.7" - "@babel/plugin-transform-computed-properties" "^7.16.7" - "@babel/plugin-transform-destructuring" "^7.17.7" + "@babel/plugin-transform-block-scoping" "^7.17.12" + "@babel/plugin-transform-classes" "^7.17.12" + "@babel/plugin-transform-computed-properties" "^7.17.12" + "@babel/plugin-transform-destructuring" "^7.18.0" "@babel/plugin-transform-dotall-regex" "^7.16.7" - "@babel/plugin-transform-duplicate-keys" "^7.16.7" + "@babel/plugin-transform-duplicate-keys" "^7.17.12" "@babel/plugin-transform-exponentiation-operator" "^7.16.7" - "@babel/plugin-transform-for-of" "^7.16.7" + "@babel/plugin-transform-for-of" "^7.18.1" "@babel/plugin-transform-function-name" "^7.16.7" - "@babel/plugin-transform-literals" "^7.16.7" + "@babel/plugin-transform-literals" "^7.17.12" "@babel/plugin-transform-member-expression-literals" "^7.16.7" - "@babel/plugin-transform-modules-amd" "^7.16.7" - "@babel/plugin-transform-modules-commonjs" "^7.17.9" - "@babel/plugin-transform-modules-systemjs" "^7.17.8" - "@babel/plugin-transform-modules-umd" "^7.16.7" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.17.10" - "@babel/plugin-transform-new-target" "^7.16.7" + "@babel/plugin-transform-modules-amd" "^7.18.0" + "@babel/plugin-transform-modules-commonjs" "^7.18.2" + "@babel/plugin-transform-modules-systemjs" "^7.18.0" + "@babel/plugin-transform-modules-umd" "^7.18.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.17.12" + "@babel/plugin-transform-new-target" "^7.17.12" "@babel/plugin-transform-object-super" "^7.16.7" - "@babel/plugin-transform-parameters" "^7.16.7" + "@babel/plugin-transform-parameters" "^7.17.12" "@babel/plugin-transform-property-literals" "^7.16.7" - "@babel/plugin-transform-regenerator" "^7.17.9" - "@babel/plugin-transform-reserved-words" "^7.16.7" + "@babel/plugin-transform-regenerator" "^7.18.0" + "@babel/plugin-transform-reserved-words" "^7.17.12" "@babel/plugin-transform-shorthand-properties" "^7.16.7" - "@babel/plugin-transform-spread" "^7.16.7" + "@babel/plugin-transform-spread" "^7.17.12" "@babel/plugin-transform-sticky-regex" "^7.16.7" - "@babel/plugin-transform-template-literals" "^7.16.7" - "@babel/plugin-transform-typeof-symbol" "^7.16.7" + "@babel/plugin-transform-template-literals" "^7.18.2" + "@babel/plugin-transform-typeof-symbol" "^7.17.12" "@babel/plugin-transform-unicode-escapes" "^7.16.7" "@babel/plugin-transform-unicode-regex" "^7.16.7" "@babel/preset-modules" "^0.1.5" - "@babel/types" "^7.17.10" + "@babel/types" "^7.18.2" babel-plugin-polyfill-corejs2 "^0.3.0" babel-plugin-polyfill-corejs3 "^0.5.0" babel-plugin-polyfill-regenerator "^0.3.0" @@ -1130,38 +1119,38 @@ esutils "^2.0.2" "@babel/preset-react@^7.14.5", "@babel/preset-react@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.16.7.tgz#4c18150491edc69c183ff818f9f2aecbe5d93852" - integrity sha512-fWpyI8UM/HE6DfPBzD8LnhQ/OcH8AgTaqcqP2nGOXEUV+VKBR5JRN9hCk9ai+zQQ57vtm9oWeXguBCPNUjytgA== + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.17.12.tgz#62adbd2d1870c0de3893095757ed5b00b492ab3d" + integrity sha512-h5U+rwreXtZaRBEQhW1hOJLMq8XNJBQ/9oymXiCXTuT/0uOwpbT0gUt+sXeOqoXBgNuUKI7TaObVwoEyWkpFgA== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-validator-option" "^7.16.7" "@babel/plugin-transform-react-display-name" "^7.16.7" - "@babel/plugin-transform-react-jsx" "^7.16.7" + "@babel/plugin-transform-react-jsx" "^7.17.12" "@babel/plugin-transform-react-jsx-development" "^7.16.7" "@babel/plugin-transform-react-pure-annotations" "^7.16.7" "@babel/preset-typescript@^7.15.0", "@babel/preset-typescript@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.16.7.tgz#ab114d68bb2020afc069cd51b37ff98a046a70b9" - integrity sha512-WbVEmgXdIyvzB77AQjGBEyYPZx+8tTsO50XtfozQrkW8QB2rLJpH2lgx0TRw5EJrBxOZQ+wCcyPVQvS8tjEHpQ== + version "7.17.12" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.17.12.tgz#40269e0a0084d56fc5731b6c40febe1c9a4a3e8c" + integrity sha512-S1ViF8W2QwAKUGJXxP9NAfNaqGDdEBJKpYkxHf5Yy2C4NPPzXGeR3Lhk7G8xJaaLcFTRfNjVbtbVtm8Gb0mqvg== dependencies: - "@babel/helper-plugin-utils" "^7.16.7" + "@babel/helper-plugin-utils" "^7.17.12" "@babel/helper-validator-option" "^7.16.7" - "@babel/plugin-transform-typescript" "^7.16.7" + "@babel/plugin-transform-typescript" "^7.17.12" "@babel/runtime-corejs3@^7.17.9": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.17.9.tgz#3d02d0161f0fbf3ada8e88159375af97690f4055" - integrity sha512-WxYHHUWF2uZ7Hp1K+D1xQgbgkGUfA+5UPOegEXGt2Y5SMog/rYCVaifLZDbw8UkNXozEqqrZTy6bglL7xTaCOw== + version "7.18.3" + resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.18.3.tgz#52f0241a31e0ec61a6187530af6227c2846bd60c" + integrity sha512-l4ddFwrc9rnR+EJsHsh+TJ4A35YqQz/UqcjtlX2ov53hlJYG5CxtQmNZxyajwDVmCxwy++rtvGU5HazCK4W41Q== dependencies: core-js-pure "^3.20.2" regenerator-runtime "^0.13.4" "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.12.1", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.17.9", "@babel/runtime@^7.8.4": - version "7.17.9" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72" - integrity sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg== + version "7.18.3" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.18.3.tgz#c7b654b57f6f63cf7f8b418ac9ca04408c4579f4" + integrity sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug== dependencies: regenerator-runtime "^0.13.4" @@ -1174,26 +1163,26 @@ "@babel/parser" "^7.16.7" "@babel/types" "^7.16.7" -"@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.7", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.10", "@babel/traverse@^7.17.3", "@babel/traverse@^7.17.9": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.10.tgz#1ee1a5ac39f4eac844e6cf855b35520e5eb6f8b5" - integrity sha512-VmbrTHQteIdUUQNTb+zE12SHS/xQVIShmBPhlNP12hD5poF2pbITW1Z4172d03HegaQWhLffdkRJYtAzp0AGcw== +"@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.8", "@babel/traverse@^7.17.10", "@babel/traverse@^7.18.0", "@babel/traverse@^7.18.2": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.2.tgz#b77a52604b5cc836a9e1e08dca01cba67a12d2e8" + integrity sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA== dependencies: "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.17.10" - "@babel/helper-environment-visitor" "^7.16.7" + "@babel/generator" "^7.18.2" + "@babel/helper-environment-visitor" "^7.18.2" "@babel/helper-function-name" "^7.17.9" "@babel/helper-hoist-variables" "^7.16.7" "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.17.10" - "@babel/types" "^7.17.10" + "@babel/parser" "^7.18.0" + "@babel/types" "^7.18.2" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.12.7", "@babel/types@^7.15.6", "@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.17.10", "@babel/types@^7.4.4": - version "7.17.10" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.10.tgz#d35d7b4467e439fcf06d195f8100e0fea7fc82c4" - integrity sha512-9O26jG0mBYfGkUYCYZRnBwbVLd1UZOICEr2Em6InB6jVfsAv1GKgwXHmrSg+WFWDmeKTA6vyTZiN8tCSM5Oo3A== +"@babel/types@^7.12.7", "@babel/types@^7.15.6", "@babel/types@^7.16.0", "@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.17.0", "@babel/types@^7.17.12", "@babel/types@^7.18.0", "@babel/types@^7.18.2", "@babel/types@^7.4.4": + version "7.18.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.2.tgz#191abfed79ebe6f4242f643a9a5cbaa36b10b091" + integrity sha512-0On6B8A4/+mFUto5WERt3EEuG1NznDirvwca1O8UwXQHVY8g3R7OzYgxXdOfMwLO08UrpUD/2+3Bclyq+/C94Q== dependencies: "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" @@ -1217,19 +1206,18 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@docsearch/css@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.0.0.tgz#fe57b474802ffd706d3246eab25d52fac8aa3698" - integrity sha512-1kkV7tkAsiuEd0shunYRByKJe3xQDG2q7wYg24SOw1nV9/2lwEd4WrUYRJC/ukGTl2/kHeFxsaUvtiOy0y6fFA== +"@docsearch/css@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.1.0.tgz#6781cad43fc2e034d012ee44beddf8f93ba21f19" + integrity sha512-bh5IskwkkodbvC0FzSg1AxMykfDl95hebEKwxNoq4e5QaGzOXSBgW8+jnMFZ7JU4sTBiB04vZWoUSzNrPboLZA== "@docsearch/react@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.0.0.tgz#d02ebdc67573412185a6a4df13bc254c7c0da491" - integrity sha512-yhMacqS6TVQYoBh/o603zszIb5Bl8MIXuOc6Vy617I74pirisDzzcNh0NEaYQt50fVVR3khUbeEhUEWEWipESg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.1.0.tgz#da943a64c01ee82b04e53b691806469272f943f7" + integrity sha512-bjB6ExnZzf++5B7Tfoi6UXgNwoUnNOfZ1NyvnvPhWgCMy5V/biAtLL4o7owmZSYdAKeFSvZ5Lxm0is4su/dBWg== dependencies: - "@algolia/autocomplete-core" "1.5.2" - "@algolia/autocomplete-preset-algolia" "1.5.2" - "@docsearch/css" "3.0.0" + "@algolia/autocomplete-core" "1.6.3" + "@docsearch/css" "3.1.0" algoliasearch "^4.0.0" "@docusaurus/core@2.0.0-beta.20", "@docusaurus/core@^2.0.0-beta.20": @@ -1359,6 +1347,21 @@ "@types/react-router-dom" "*" react-helmet-async "*" +"@docusaurus/plugin-client-redirects@^2.0.0-beta.20": + version "2.0.0-beta.20" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-2.0.0-beta.20.tgz#f4bbe5958bbcc7915968c23d99dcfcbfe82df8d2" + integrity sha512-YgIDFpr2EDpLwYUtq1t6VD7EOsD3YqA6biXkQmgts1gjFZ1pqVte6Q+tXVzwvL/xR7NdnekevygmS98/IPNePQ== + dependencies: + "@docusaurus/core" "2.0.0-beta.20" + "@docusaurus/logger" "2.0.0-beta.20" + "@docusaurus/utils" "2.0.0-beta.20" + "@docusaurus/utils-common" "2.0.0-beta.20" + "@docusaurus/utils-validation" "2.0.0-beta.20" + eta "^1.12.3" + fs-extra "^10.1.0" + lodash "^4.17.21" + tslib "^2.4.0" + "@docusaurus/plugin-content-blog@2.0.0-beta.20": version "2.0.0-beta.20" resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-beta.20.tgz#7c0d413ac8df9a422a0b3ddd90b77ec491bbda15" @@ -1625,33 +1628,42 @@ "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" +"@jridgewell/gen-mapping@^0.3.0": + version "0.3.1" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.1.tgz#cf92a983c83466b8c0ce9124fadeaf09f7c66ea9" + integrity sha512-GcHwniMlA2z+WFPWuY8lp3fsza0I8xPFMWL5+n8LYyP6PSvPrXf4+n8stDHZY2DM0zy9sVkRDy1jDI4XGzYVqg== + dependencies: + "@jridgewell/set-array" "^1.0.0" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + "@jridgewell/resolve-uri@^3.0.3": - version "3.0.6" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.6.tgz#4ac237f4dabc8dd93330386907b97591801f7352" - integrity sha512-R7xHtBSNm+9SyvpJkdQl+qrM3Hm2fea3Ef197M3mUug+v+yR+Rhfbs7PBtcBUVnIWJ4JcAdjvij+c8hXS9p5aw== + version "3.0.7" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz#30cd49820a962aff48c8fffc5cd760151fca61fe" + integrity sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA== "@jridgewell/set-array@^1.0.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.0.tgz#1179863356ac8fbea64a5a4bcde93a4871012c01" - integrity sha512-SfJxIxNVYLTsKwzB3MoOQ1yxf4w/E6MdkvTgrgAt1bfxjSrLUoHMKrDOykwN14q65waezZIdqDneUIPh4/sKxg== + version "1.1.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.1.tgz#36a6acc93987adcf0ba50c66908bd0b70de8afea" + integrity sha512-Ct5MqZkLGEXTVmQYbGtx9SVqD2fqwvdubdps5D3djjAkgkKwT918VNOz65pEHFaYTeWcukmJmH5SwsA9Tn2ObQ== "@jridgewell/sourcemap-codec@^1.4.10": - version "1.4.12" - resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.12.tgz#7ed98f6fa525ffb7c56a2cbecb5f7bb91abd2baf" - integrity sha512-az/NhpIwP3K33ILr0T2bso+k2E/SLf8Yidd8mHl0n6sCQ4YdyC8qDhZA6kOPDNDBA56ZnIjngVl0U3jREA0BUA== + version "1.4.13" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz#b6461fb0c2964356c469e115f504c95ad97ab88c" + integrity sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w== "@jridgewell/trace-mapping@^0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" - integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + version "0.3.13" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.13.tgz#dcfe3e95f224c8fe97a87a5235defec999aa92ea" + integrity sha512-o1xbKhp9qnIAoHJSWd6KlCZfqslL4valSF81H8ImioOAxluWYWOpWkpyktY2vnt4tbrX9XYaxovq6cgowaJp2w== dependencies: "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" "@leichtgewicht/ip-codec@^2.0.1": - version "2.0.3" - resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.3.tgz#0300943770e04231041a51bd39f0439b5c7ab4f0" - integrity sha512-nkalE/f1RvRGChwBnEIoBfSEYOXnCRdleKuv6+lePbMDrMZXeDQnqak5XDOeBgrPPyPfAdcCu/B5z+v3VhplGg== + version "2.0.4" + resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" + integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== "@mdx-js/mdx@^1.6.22": version "1.6.22" @@ -1691,19 +1703,19 @@ "@ndhoule/each@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@ndhoule/each/-/each-2.0.1.tgz#bbed372a603e0713a3193c706a73ddebc5b426a9" - integrity sha1-u+03KmA+BxOjGTxwanPd68W0Jqk= + integrity sha512-wHuJw6x+rF6Q9Skgra++KccjBozCr9ymtna0FhxmV/8xT/hZ2ExGYR8SV8prg8x4AH/7mzDYErNGIVHuzHeybw== dependencies: "@ndhoule/keys" "^2.0.0" "@ndhoule/keys@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@ndhoule/keys/-/keys-2.0.0.tgz#3d64ae677c65a261747bf3a457c62eb292a4e0ce" - integrity sha1-PWSuZ3xlomF0e/OkV8YuspKk4M4= + integrity sha512-vtCqKBC1Av6dsBA8xpAO+cgk051nfaI+PnmTZep2Px0vYrDvpUmLxv7z40COlWH5yCpu3gzNhepk+02yiQiZNw== "@ndhoule/map@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@ndhoule/map/-/map-2.0.1.tgz#f5ca0a47424ea67f46e2a6d499b9e9bc886aefa8" - integrity sha1-9coKR0JOpn9G4qbUmbnpvIhq76g= + integrity sha512-WOEf2An9mL4DVY6NHgaRmFC82pZGrmzW4I0hpPPdczDP4Gp5+Q1Nny77x3w0qzENA8+cbgd9+Lx2ClSTLvkB0g== dependencies: "@ndhoule/each" "^2.0.1" @@ -2000,9 +2012,9 @@ integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== "@types/node@*", "@types/node@^17.0.5": - version "17.0.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" - integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== + version "17.0.35" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.35.tgz#635b7586086d51fb40de0a2ec9d1014a5283ba4a" + integrity sha512-vu1SrqBjbbZ3J6vwY17jBs8Sr/BKA+/a/WtjRG+whKg1iuLFOosq872EXS0eXWILdO36DHQQeku/ZcL6hz2fpg== "@types/parse-json@^4.0.0": version "4.0.0" @@ -2056,9 +2068,9 @@ "@types/react" "*" "@types/react@*": - version "18.0.8" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.8.tgz#a051eb380a9fbcaa404550543c58e1cf5ce4ab87" - integrity sha512-+j2hk9BzCOrrOSJASi5XiOyBbERk9jG5O73Ya4M0env5Ixi6vUNli4qy994AINcEF+1IEHISYFfIT4zwr++LKw== + version "18.0.9" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.9.tgz#d6712a38bd6cd83469603e7359511126f122e878" + integrity sha512-9bjbg1hJHUm4De19L1cHiW0Jvx3geel6Qczhjd0qY5VKVE2X5+x77YxAepuCwVh4vrgZJdgEJw48zrhRIeF4Nw== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -2329,24 +2341,24 @@ algoliasearch-helper@^3.8.2: "@algolia/events" "^4.0.1" algoliasearch@^4.0.0, algoliasearch@^4.12.0, algoliasearch@^4.13.0: - version "4.13.0" - resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.13.0.tgz#e36611fda82b1fc548c156ae7929a7f486e4b663" - integrity sha512-oHv4faI1Vl2s+YC0YquwkK/TsaJs79g2JFg5FDm2rKN12VItPTAeQ7hyJMHarOPPYuCnNC5kixbtcqvb21wchw== - dependencies: - "@algolia/cache-browser-local-storage" "4.13.0" - "@algolia/cache-common" "4.13.0" - "@algolia/cache-in-memory" "4.13.0" - "@algolia/client-account" "4.13.0" - "@algolia/client-analytics" "4.13.0" - "@algolia/client-common" "4.13.0" - "@algolia/client-personalization" "4.13.0" - "@algolia/client-search" "4.13.0" - "@algolia/logger-common" "4.13.0" - "@algolia/logger-console" "4.13.0" - "@algolia/requester-browser-xhr" "4.13.0" - "@algolia/requester-common" "4.13.0" - "@algolia/requester-node-http" "4.13.0" - "@algolia/transporter" "4.13.0" + version "4.13.1" + resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.13.1.tgz#54195c41c9e4bd13ed64982248cf49d4576974fe" + integrity sha512-dtHUSE0caWTCE7liE1xaL+19AFf6kWEcyn76uhcitWpntqvicFHXKFoZe5JJcv9whQOTRM6+B8qJz6sFj+rDJA== + dependencies: + "@algolia/cache-browser-local-storage" "4.13.1" + "@algolia/cache-common" "4.13.1" + "@algolia/cache-in-memory" "4.13.1" + "@algolia/client-account" "4.13.1" + "@algolia/client-analytics" "4.13.1" + "@algolia/client-common" "4.13.1" + "@algolia/client-personalization" "4.13.1" + "@algolia/client-search" "4.13.1" + "@algolia/logger-common" "4.13.1" + "@algolia/logger-console" "4.13.1" + "@algolia/requester-browser-xhr" "4.13.1" + "@algolia/requester-common" "4.13.1" + "@algolia/requester-node-http" "4.13.1" + "@algolia/transporter" "4.13.1" ansi-align@^3.0.0, ansi-align@^3.0.1: version "3.0.1" @@ -2417,7 +2429,7 @@ argparse@^2.0.1: array-flatten@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" - integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== array-flatten@^2.1.2: version "2.1.2" @@ -2437,7 +2449,7 @@ array-union@^3.0.1: asap@~2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== async@2.6.4: version "2.6.4" @@ -2546,12 +2558,12 @@ balanced-match@^1.0.0: base16@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/base16/-/base16-1.0.0.tgz#e297f60d7ec1014a7a971a39ebc8a98c0b681e70" - integrity sha1-4pf2DX7BAUp6lxo568ipjAtoHnA= + integrity sha512-pNdYkNPiJUnEhnfXV56+sQy8+AaPcG3POZAUnwr4EeqCUZFz4u2PePbo3e5Gj4ziYPCWGUZT9RHisvJKnwFuBQ== batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" - integrity sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY= + integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== big.js@^5.2.2: version "5.2.2" @@ -2599,7 +2611,7 @@ bonjour-service@^1.0.11: boolbase@^1.0.0, boolbase@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" - integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== boxen@^5.0.0: version "5.1.2" @@ -2663,7 +2675,7 @@ buffer-from@^1.0.0: bytes@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" - integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= + integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== bytes@3.1.2: version "3.1.2" @@ -2725,9 +2737,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001335: - version "1.0.30001336" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001336.tgz#a9eb13edd2613f418ebc632c8d6c9ab9fde7ccc4" - integrity sha512-/YxSlBmL7iKXTbIJ48IQTnAOBk7XmWsxhBF1PZLOko5Dt9qc4Pl+84lfqG3Tc4EuavurRn1QLoVJGxY2iSycfw== + version "1.0.30001342" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001342.tgz#87152b1e3b950d1fbf0093e23f00b6c8e8f1da96" + integrity sha512-bn6sOCu7L7jcbBbyNhLg0qzXdJ/PMbybZTH/BA6Roet9wxYRm6Tr9D0s0uhLkOZ6MSG+QU6txUgdpr3MXIVqjA== ccount@^1.0.0, ccount@^1.0.3: version "1.1.0" @@ -2766,21 +2778,22 @@ character-reference-invalid@^1.0.0: resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== -cheerio-select@^1.5.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-1.6.0.tgz#489f36604112c722afa147dedd0d4609c09e1696" - integrity sha512-eq0GdBvxVFbqWgmCm7M3XGs1I8oLy/nExUnh6oLqmBditPO9AqQJrkslDpMun/hZ0yyTs8L0m85OHp4ho6Qm9g== +cheerio-select@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4" + integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g== dependencies: - css-select "^4.3.0" - css-what "^6.0.1" - domelementtype "^2.2.0" - domhandler "^4.3.1" - domutils "^2.8.0" + boolbase "^1.0.0" + css-select "^5.1.0" + css-what "^6.1.0" + domelementtype "^2.3.0" + domhandler "^5.0.3" + domutils "^3.0.1" cheerio@^0.22.0: version "0.22.0" resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-0.22.0.tgz#a9baa860a3f9b595a6b81b1a86873121ed3a269e" - integrity sha1-qbqoYKP5tZWmuBsahocxIe06Jp4= + integrity sha512-8/MzidM6G/TgRelkzDG13y3Y9LxBjCb+8yOEZ9+wwq5gVF2w2pV0wmHvjfT0RvuxGyR7UEuK36r+yYMbT4uKgA== dependencies: css-select "~1.2.0" dom-serializer "~0.1.0" @@ -2800,17 +2813,18 @@ cheerio@^0.22.0: lodash.some "^4.4.0" cheerio@^1.0.0-rc.10, cheerio@^1.0.0-rc.9: - version "1.0.0-rc.10" - resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.10.tgz#2ba3dcdfcc26e7956fc1f440e61d51c643379f3e" - integrity sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw== - dependencies: - cheerio-select "^1.5.0" - dom-serializer "^1.3.2" - domhandler "^4.2.0" - htmlparser2 "^6.1.0" - parse5 "^6.0.1" - parse5-htmlparser2-tree-adapter "^6.0.1" - tslib "^2.2.0" + version "1.0.0-rc.11" + resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.11.tgz#1be84be1a126958366bcc57a11648cd9b30a60c2" + integrity sha512-bQwNaDIBKID5ts/DsdhxrjqFXYfLw4ste+wMKqWA8DyKcS4qwsPP4Bk8ZNaTJjvpiX/qW3BT4sU7d6Bh5i+dag== + dependencies: + cheerio-select "^2.1.0" + dom-serializer "^2.0.0" + domhandler "^5.0.3" + domutils "^3.0.1" + htmlparser2 "^8.0.1" + parse5 "^7.0.0" + parse5-htmlparser2-tree-adapter "^7.0.0" + tslib "^2.4.0" chokidar@^3.4.2, chokidar@^3.5.3: version "3.5.3" @@ -3062,22 +3076,22 @@ copy-webpack-plugin@^10.2.4: serialize-javascript "^6.0.0" core-js-compat@^3.21.0, core-js-compat@^3.22.1: - version "3.22.4" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.22.4.tgz#d700f451e50f1d7672dcad0ac85d910e6691e579" - integrity sha512-dIWcsszDezkFZrfm1cnB4f/J85gyhiCpxbgBdohWCDtSVuAaChTSpPV7ldOQf/Xds2U5xCIJZOK82G4ZPAIswA== + version "3.22.7" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.22.7.tgz#8359eb66ecbf726dd0cfced8e48d5e73f3224239" + integrity sha512-uI9DAQKKiiE/mclIC5g4AjRpio27g+VMRhe6rQoz+q4Wm4L6A/fJhiLtBw+sfOpDG9wZ3O0pxIw7GbfOlBgjOA== dependencies: browserslist "^4.20.3" semver "7.0.0" core-js-pure@^3.20.2: - version "3.22.4" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.22.4.tgz#a992210f4cad8b32786b8654563776c56b0e0d0a" - integrity sha512-4iF+QZkpzIz0prAFuepmxwJ2h5t4agvE8WPYqs2mjLJMNNwJOnpch76w2Q7bUfCPEv/V7wpvOfog0w273M+ZSw== + version "3.22.7" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.22.7.tgz#f58489d9b309fa7b26486a0f70d4ec19a418084e" + integrity sha512-wTriFxiZI+C8msGeh7fJcbC/a0V8fdInN1oS2eK79DMBGs8iIJiXhtFJCiT3rBa8w6zroHWW3p8ArlujZ/Mz+w== core-js@^3.22.3: - version "3.22.4" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.22.4.tgz#f4b3f108d45736935aa028444a69397e40d8c531" - integrity sha512-1uLykR+iOfYja+6Jn/57743gc9n73EWiOnSJJ4ba3B4fOEYDBv25MagmEZBxTp5cWq4b/KPx/l77zgsp28ju4w== + version "3.22.7" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.22.7.tgz#8d6c37f630f6139b8732d10f2c114c3f1d00024f" + integrity sha512-Jt8SReuDKVNZnZEzyEQT5eK6T2RRCXkfTq7Lo09kpm+fHjgGewSbNjV+Wt4yZMhPDdzz2x1ulI5z/w4nxpBseg== core-util-is@~1.0.0: version "1.0.3" @@ -3158,7 +3172,7 @@ css-minimizer-webpack-plugin@^3.4.1: serialize-javascript "^6.0.0" source-map "^0.6.1" -css-select@^4.1.3, css-select@^4.3.0: +css-select@^4.1.3: version "4.3.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== @@ -3169,6 +3183,17 @@ css-select@^4.1.3, css-select@^4.3.0: domutils "^2.8.0" nth-check "^2.0.1" +css-select@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" + integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== + dependencies: + boolbase "^1.0.0" + css-what "^6.1.0" + domhandler "^5.0.2" + domutils "^3.0.1" + nth-check "^2.0.1" + css-select@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858" @@ -3192,7 +3217,7 @@ css-what@2.1: resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2" integrity sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg== -css-what@^6.0.1: +css-what@^6.0.1, css-what@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== @@ -3203,36 +3228,36 @@ cssesc@^3.0.0: integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== cssnano-preset-advanced@^5.3.3: - version "5.3.3" - resolved "https://registry.yarnpkg.com/cssnano-preset-advanced/-/cssnano-preset-advanced-5.3.3.tgz#848422118d7a62b5b29a53edc160f58c7f7f7539" - integrity sha512-AB9SmTSC2Gd8T7PpKUsXFJ3eNsg7dc4CTZ0+XAJ29MNxyJsrCEk7N1lw31bpHrsQH2PVJr21bbWgGAfA9j0dIA== + version "5.3.5" + resolved "https://registry.yarnpkg.com/cssnano-preset-advanced/-/cssnano-preset-advanced-5.3.5.tgz#b01dda0f76ff762b58bccd17c59701176b9be131" + integrity sha512-KgrfLQaTBB4bov/Xsi0+y5iGM5gg5QChP1PTMJ9t7U6p9geKHYcPS9AC6gmfwurm0GKxhTRafDx55E8FKHX8eg== dependencies: autoprefixer "^10.3.7" - cssnano-preset-default "^5.2.7" + cssnano-preset-default "^5.2.9" postcss-discard-unused "^5.1.0" postcss-merge-idents "^5.1.1" postcss-reduce-idents "^5.2.0" postcss-zindex "^5.1.0" -cssnano-preset-default@^5.2.7: - version "5.2.7" - resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.7.tgz#791e3603fb8f1b46717ac53b47e3c418e950f5f3" - integrity sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA== +cssnano-preset-default@^5.2.9: + version "5.2.9" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.9.tgz#63f6aa9a9f0b21d9a526371dd308253b656a9784" + integrity sha512-/4qcQcAfFEg+gnXE5NxKmYJ9JcT+8S5SDuJCLYMDN8sM/ymZ+lgLXq5+ohx/7V2brUCkgW2OaoCzOdAN0zvhGw== dependencies: css-declaration-sorter "^6.2.2" cssnano-utils "^3.1.0" postcss-calc "^8.2.3" postcss-colormin "^5.3.0" - postcss-convert-values "^5.1.0" + postcss-convert-values "^5.1.1" postcss-discard-comments "^5.1.1" postcss-discard-duplicates "^5.1.0" postcss-discard-empty "^5.1.1" postcss-discard-overridden "^5.1.0" - postcss-merge-longhand "^5.1.4" + postcss-merge-longhand "^5.1.5" postcss-merge-rules "^5.1.1" postcss-minify-font-values "^5.1.0" postcss-minify-gradients "^5.1.1" - postcss-minify-params "^5.1.2" + postcss-minify-params "^5.1.3" postcss-minify-selectors "^5.2.0" postcss-normalize-charset "^5.1.0" postcss-normalize-display-values "^5.1.0" @@ -3255,11 +3280,11 @@ cssnano-utils@^3.1.0: integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== cssnano@^5.0.6, cssnano@^5.1.7: - version "5.1.7" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.7.tgz#99858bef6c76c9240f0cdc9239570bc7db8368be" - integrity sha512-pVsUV6LcTXif7lvKKW9ZrmX+rGRzxkEdJuVJcp5ftUjWITgwam5LMZOgaTvUrWPkcORBey6he7JKb4XAJvrpKg== + version "5.1.9" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.9.tgz#e6cb286c4907cbd55678eb315837a21008be21be" + integrity sha512-hctQHIIeDrfMjq0bQhoVmRVaSeNNOGxkvkKVOcKpJzLr09wlRrZWH4GaYudp0aszpW8wJeaO5/yBmID9n7DNCg== dependencies: - cssnano-preset-default "^5.2.7" + cssnano-preset-default "^5.2.9" lilconfig "^2.0.3" yaml "^1.10.2" @@ -3271,9 +3296,9 @@ csso@^4.2.0: css-tree "^1.1.2" csstype@^3.0.2: - version "3.0.11" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.11.tgz#d66700c5eacfac1940deb4e3ee5642792d85cd33" - integrity sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw== + version "3.1.0" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.0.tgz#4ddcac3718d787cf9df0d1b7d15033925c8f29f2" + integrity sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA== debug@2.6.9, debug@^2.6.0: version "2.6.9" @@ -3332,9 +3357,9 @@ define-properties@^1.1.3: object-keys "^1.1.1" del@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" - integrity sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ== + version "6.1.1" + resolved "https://registry.yarnpkg.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" + integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg== dependencies: globby "^11.0.1" graceful-fs "^4.2.4" @@ -3413,9 +3438,9 @@ docusaurus-plugin-hubspot@^1.0.0: integrity sha512-sX/6dMQ1nkh5sneNLIdOqrZdzFDlxBGcFwGjiQBS3z3JH87UinlSSVWpzCHU/PFKCAX3cqQSTjZwA/JP5dLPzQ== docusaurus-plugin-segment@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/docusaurus-plugin-segment/-/docusaurus-plugin-segment-1.0.3.tgz#d32ec8ace8625837dee650f853bc89ae2221206a" - integrity sha512-9DqebTx9TqjujCnB22qEeCm8NGJUAH7VAKLAa20/CyfSSrs+khTQI0FmzEALtiCqKNO1D3GWm3VvE4gqbuGqnw== + version "1.0.4" + resolved "https://registry.yarnpkg.com/docusaurus-plugin-segment/-/docusaurus-plugin-segment-1.0.4.tgz#4b405c47b424d87abbc4bc23a7983146111a2bf1" + integrity sha512-kJT0wvhlursmjHNrrQDs7Ce6vAB+yjflr8P6T0s6LE87BPA2+KQ8ifyNb4PwSdX91OJ5bBYyb4V0T8EI8MtGWQ== dependencies: "@segment/snippet" "^4.13.2" @@ -3434,7 +3459,7 @@ dom-serializer@0: domelementtype "^2.0.1" entities "^2.0.0" -dom-serializer@^1.0.1, dom-serializer@^1.3.2: +dom-serializer@^1.0.1: version "1.4.1" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== @@ -3443,6 +3468,15 @@ dom-serializer@^1.0.1, dom-serializer@^1.3.2: domhandler "^4.2.0" entities "^2.0.0" +dom-serializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" + integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.2" + entities "^4.2.0" + dom-serializer@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" @@ -3456,7 +3490,7 @@ domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== -domelementtype@^2.0.1, domelementtype@^2.2.0: +domelementtype@^2.0.1, domelementtype@^2.2.0, domelementtype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== @@ -3475,6 +3509,13 @@ domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: dependencies: domelementtype "^2.2.0" +domhandler@^5.0.1, domhandler@^5.0.2, domhandler@^5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" + integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== + dependencies: + domelementtype "^2.3.0" + domutils@1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" @@ -3500,6 +3541,15 @@ domutils@^2.5.2, domutils@^2.8.0: domelementtype "^2.2.0" domhandler "^4.2.0" +domutils@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.0.1.tgz#696b3875238338cb186b6c0612bd4901c89a4f1c" + integrity sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q== + dependencies: + dom-serializer "^2.0.0" + domelementtype "^2.3.0" + domhandler "^5.0.1" + dot-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" @@ -3536,9 +3586,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.4.118: - version "1.4.134" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.134.tgz#9baca7a018ca489d8e81a00c7cfe15161da38568" - integrity sha512-OdD7M2no4Mi8PopfvoOuNcwYDJ2mNFxaBfurA6okG3fLBaMcFah9S+si84FhX+FIWLKkdaiHfl4A+5ep/gOVrg== + version "1.4.138" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.138.tgz#3ec41ca589aaf505dfe2034fde913329af801730" + integrity sha512-IOyp2Seq3w4QLln+yZWcMF3VXhhduz4bwg9gfI+CnP5TkzwNXQ8FCZuwwPsnes73AfWdf5J2n2OXdUwDUspDPQ== emoji-regex@^8.0.0: version "8.0.0" @@ -3572,7 +3622,7 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" -enhanced-resolve@^5.9.2: +enhanced-resolve@^5.9.3: version "5.9.3" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" integrity sha512-Bq9VSor+kjvW3f9/MiiR4eE3XYgOl7/rS8lnSxbRbF3kS0B2r+Y9w5krBWxZgDxASVZbdYrn5wT4j/Wb0J9qow== @@ -3595,6 +3645,11 @@ entities@^3.0.1: resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4" integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q== +entities@^4.2.0, entities@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-4.3.0.tgz#62915f08d67353bb4eb67e3d62641a4059aec656" + integrity sha512-/iP1rZrSEJ0DTlPiX+jbzlA3eVkY/e8L8SozroF395fIqE3TYF/Nz7YOMAawta+vLmyJ/hkGNNPcSbMADCCXbg== + error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -4047,14 +4102,14 @@ glob-to-regexp@^0.4.1: integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== glob@^7.0.0, glob@^7.1.3, glob@^7.1.6: - version "7.2.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" - integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.4" + minimatch "^3.1.1" once "^1.3.0" path-is-absolute "^1.0.0" @@ -4377,6 +4432,16 @@ htmlparser2@^6.1.0: domutils "^2.5.2" entities "^2.0.0" +htmlparser2@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-8.0.1.tgz#abaa985474fcefe269bc761a779b544d7196d010" + integrity sha512-4lVbmc1diZC7GUJQtRQ5yBAeUCL1exyMwmForWkRLnwyzWBFxN633SALPMGYaWZvKe9j1pRZJpauvmxENSp/EA== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.2" + domutils "^3.0.1" + entities "^4.3.0" + http-cache-semantics@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" @@ -4463,9 +4528,9 @@ image-size@^1.0.1: queue "6.0.2" immer@^9.0.7: - version "9.0.12" - resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.12.tgz#2d33ddf3ee1d247deab9d707ca472c8c942a0f20" - integrity sha512-lk7UNmSbAukB5B6dh9fnh5D0bJTOFKxVg2cyJWTYrWRfhLrLMBquONcUs3aFq507hNoIZEDDh8lb8UtOizSMhA== + version "9.0.14" + resolved "https://registry.yarnpkg.com/immer/-/immer-9.0.14.tgz#e05b83b63999d26382bb71676c9d827831248a48" + integrity sha512-ubBeqQutOSLIFCUBN03jGeOS6a3DoYlSYwYJTa+gSKEZKU5redJIqkIdZ3JVv/4RZpfcXdAWH5zCNLWPRv2WDw== import-fresh@^3.1.0, import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" @@ -4803,12 +4868,7 @@ json-buffer@3.0.0: resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" integrity sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg= -json-parse-better-errors@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - -json-parse-even-better-errors@^2.3.0: +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== @@ -5118,10 +5178,10 @@ media-typer@0.3.0: resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= -memfs@^3.1.2, memfs@^3.4.1: - version "3.4.1" - resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.1.tgz#b78092f466a0dce054d63d39275b24c71d3f1305" - integrity sha512-1c9VPVvW5P7I85c35zAdEr1TD5+F11IToIHIlrVIcflfnzPkJa0ZoYEoEdYDP8KgPFoSZ/opDrUsAoZWym3mtw== +memfs@^3.1.2, memfs@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/memfs/-/memfs-3.4.3.tgz#fc08ac32363b6ea6c95381cabb4d67838180d4e1" + integrity sha512-eivjfi7Ahr6eQTn44nvTnR60e4a1Fs1Via2kCR5lHo/kyNoiMWaXCNJ/GpSd0ilXas2JSOl9B5FTIhflXu0hlg== dependencies: fs-monkey "1.0.3" @@ -5219,7 +5279,7 @@ minimatch@3.0.4: dependencies: brace-expansion "^1.1.7" -minimatch@^3.0.4: +minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -5252,14 +5312,14 @@ ms@2.1.3: integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== multicast-dns@^7.2.4: - version "7.2.4" - resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.4.tgz#cf0b115c31e922aeb20b64e6556cbeb34cf0dd19" - integrity sha512-XkCYOU+rr2Ft3LI6w4ye51M3VK31qJXFIxu0XLw169PtKG0Zx47OrXeVW/GCYOfpC9s1yyyf1S+L8/4LY0J9Zw== + version "7.2.5" + resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" + integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== dependencies: dns-packet "^5.2.2" thunky "^1.0.2" -nanoid@^3.3.3: +nanoid@^3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== @@ -5302,9 +5362,9 @@ node-forge@^1: integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-releases@^2.0.3: - version "2.0.4" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.4.tgz#f38252370c43854dc48aa431c766c6c398f40476" - integrity sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ== + version "2.0.5" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.5.tgz#280ed5bc3eba0d96ce44897d8aee478bfb3d9666" + integrity sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q== normalize-path@^3.0.0, normalize-path@~3.0.0: version "3.0.0" @@ -5338,13 +5398,20 @@ nprogress@^0.2.0: resolved "https://registry.yarnpkg.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1" integrity sha1-y480xTIT2JVyP8urkH6UIq28r7E= -nth-check@2.0.1, nth-check@^2.0.1: +nth-check@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.1.tgz#2efe162f5c3da06a28959fbd3db75dbeea9f0fc2" integrity sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w== dependencies: boolbase "^1.0.0" +nth-check@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== + dependencies: + boolbase "^1.0.0" + nth-check@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c" @@ -5358,9 +5425,9 @@ object-assign@^4.1.0, object-assign@^4.1.1: integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= object-inspect@^1.9.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" - integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== + version "1.12.1" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.1.tgz#28a661153bad7e470e4b01479ef1cb91ce511191" + integrity sha512-Y/jF6vnvEtOPGiKD1+q+X0CiUYRQtEHp89MLLUJ7TUivtH8Ugn2+3A7Rynqk7BRsAoqeOQWnFnjpDrKSxDgIGA== object-keys@^1.1.1: version "1.1.1" @@ -5534,23 +5601,31 @@ parse-numeric-range@^1.3.0: resolved "https://registry.yarnpkg.com/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz#7c63b61190d61e4d53a1197f0c83c47bb670ffa3" integrity sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ== -parse5-htmlparser2-tree-adapter@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz#2cdf9ad823321140370d4dbf5d3e92c7c8ddc6e6" - integrity sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA== +parse5-htmlparser2-tree-adapter@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz#23c2cc233bcf09bb7beba8b8a69d46b08c62c2f1" + integrity sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g== dependencies: - parse5 "^6.0.1" + domhandler "^5.0.2" + parse5 "^7.0.0" parse5@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178" integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug== -parse5@^6.0.0, parse5@^6.0.1: +parse5@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== +parse5@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-7.0.0.tgz#51f74a5257f5fcc536389e8c2d0b3802e1bfa91a" + integrity sha512-y/t8IXSPWTuRZqXc0ajH/UwDj4mnqLEbSttNbThcFhGrZuOyoyvNBO85PBp2jQa55wY9d07PBNjsK8ZP3K5U6g== + dependencies: + entities "^4.3.0" + parseurl@~1.3.2, parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -5658,11 +5733,12 @@ postcss-colormin@^5.3.0: colord "^2.9.1" postcss-value-parser "^4.2.0" -postcss-convert-values@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz#f8d3abe40b4ce4b1470702a0706343eac17e7c10" - integrity sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g== +postcss-convert-values@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.1.tgz#31c8ffba650e86dc750631cafcf1db022c5bb6f1" + integrity sha512-UjcYfl3wJJdcabGKk8lgetPvhi1Et7VDc3sYr9EyhNBeB00YD4vHgPBp+oMVoG/dDWCc6ASbmzPNV6jADTwh8Q== dependencies: + browserslist "^4.20.3" postcss-value-parser "^4.2.0" postcss-discard-comments@^5.1.1: @@ -5709,10 +5785,10 @@ postcss-merge-idents@^5.1.1: cssnano-utils "^3.1.0" postcss-value-parser "^4.2.0" -postcss-merge-longhand@^5.1.4: - version "5.1.4" - resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.4.tgz#0f46f8753989a33260efc47de9a0cdc571f2ec5c" - integrity sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA== +postcss-merge-longhand@^5.1.5: + version "5.1.5" + resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.5.tgz#b0e03bee3b964336f5f33c4fc8eacae608e91c05" + integrity sha512-NOG1grw9wIO+60arKa2YYsrbgvP6tp+jqc7+ZD5/MalIw234ooH2C6KlR6FEn4yle7GqZoBxSK1mLBE9KPur6w== dependencies: postcss-value-parser "^4.2.0" stylehacks "^5.1.0" @@ -5743,10 +5819,10 @@ postcss-minify-gradients@^5.1.1: cssnano-utils "^3.1.0" postcss-value-parser "^4.2.0" -postcss-minify-params@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.2.tgz#77e250780c64198289c954884ebe3ee4481c3b1c" - integrity sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g== +postcss-minify-params@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.3.tgz#ac41a6465be2db735099bbd1798d85079a6dc1f9" + integrity sha512-bkzpWcjykkqIujNL+EVEPOlLYi/eZ050oImVtHU7b4lFS82jPnsCb44gvC6pxaNt38Els3jWYDHTjHKf0koTgg== dependencies: browserslist "^4.16.6" cssnano-utils "^3.1.0" @@ -5921,18 +5997,18 @@ postcss-zindex@^5.1.0: integrity sha512-fgFMf0OtVSBR1va1JNHYgMxYk73yhn/qb4uQDq1DLGYolz8gHCyr/sesEuGUaYs58E3ZJRcpoGuPVoB7Meiq9A== postcss@^8.3.11, postcss@^8.3.5, postcss@^8.4.13, postcss@^8.4.7: - version "8.4.13" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.13.tgz#7c87bc268e79f7f86524235821dfdf9f73e5d575" - integrity sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA== + version "8.4.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf" + integrity sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig== dependencies: - nanoid "^3.3.3" + nanoid "^3.3.4" picocolors "^1.0.0" source-map-js "^1.0.2" preact@^10.0.0: - version "10.7.1" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.7.1.tgz#bdd2b2dce91a5842c3b9b34dfe050e5401068c9e" - integrity sha512-MufnRFz39aIhs9AMFisonjzTud1PK1bY+jcJLo6m2T9Uh8AqjD77w11eAAawmjUogoGOnipECq7e/1RClIKsxg== + version "10.7.2" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.7.2.tgz#5c632ba194b87345dcaee6598b3b6529b58e6a12" + integrity sha512-GLjn0I3r6ka+NvxJUppsVFqb4V0qDTEHT/QxHlidPuClGaxF/4AI2Qti4a0cv3XMh5n1+D3hLScW10LRIm5msQ== prepend-http@^2.0.0: version "2.0.0" @@ -5953,9 +6029,9 @@ pretty-time@^1.1.0: integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA== prism-react-renderer@^1.2.1, prism-react-renderer@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.1.tgz#88fc9d0df6bed06ca2b9097421349f8c2f24e30d" - integrity sha512-xUeDMEz074d0zc5y6rxiMp/dlC7C+5IDDlaEUlcBOFE2wddz7hz5PNupb087mPwTt7T9BrFmewObfCBuf/LKwQ== + version "1.3.3" + resolved "https://registry.yarnpkg.com/prism-react-renderer/-/prism-react-renderer-1.3.3.tgz#9b5a4211a6756eee3c96fee9a05733abc0b0805c" + integrity sha512-Viur/7tBTCH2HmYzwCHmt2rEFn+rdIWNIINXyg0StiISbDiIhHKhrFuEK8eMkKgvsIYSjgGqy/hNyucHp6FpoQ== prismjs@^1.28.0: version "1.28.0" @@ -6197,22 +6273,22 @@ react-router-config@^5.1.1: "@babel/runtime" "^7.1.2" react-router-dom@^5.2.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.3.1.tgz#0151baf2365c5fcd8493f6ec9b9b31f34d0f8ae1" - integrity sha512-f0pj/gMAbv9e8gahTmCEY20oFhxhrmHwYeIwH5EO5xu0qme+wXtsdB8YfUOAZzUz4VaXmb58m3ceiLtjMhqYmQ== + version "5.3.3" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.3.3.tgz#8779fc28e6691d07afcaf98406d3812fe6f11199" + integrity sha512-Ov0tGPMBgqmbu5CDmN++tv2HQ9HlWDuWIIqn4b88gjlAN5IHI+4ZUZRcpz9Hl0azFIwihbLDYw1OiHGRo7ZIng== dependencies: "@babel/runtime" "^7.12.13" history "^4.9.0" loose-envify "^1.3.1" prop-types "^15.6.2" - react-router "5.3.1" + react-router "5.3.3" tiny-invariant "^1.0.2" tiny-warning "^1.0.0" -react-router@5.3.1, react-router@^5.2.0: - version "5.3.1" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.3.1.tgz#b13e84a016c79b9e80dde123ca4112c4f117e3cf" - integrity sha512-v+zwjqb7bakqgF+wMVKlAPTca/cEmPOvQ9zt7gpSNyPXau1+0qvuYZ5BWzzNDP1y6s15zDwgb9rPN63+SIniRQ== +react-router@5.3.3, react-router@^5.2.0: + version "5.3.3" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.3.3.tgz#8e3841f4089e728cf82a429d92cdcaa5e4a3a288" + integrity sha512-mzQGUvS3bM84TnbtMYR8ZjKnuPJ71IjSzR+DE6UkUqvN4czWIqEs17yLL8xkAycv4ev0AiN+IGrWu88vJs/p2w== dependencies: "@babel/runtime" "^7.12.13" history "^4.9.0" @@ -6226,13 +6302,13 @@ react-router@5.3.1, react-router@^5.2.0: tiny-warning "^1.0.0" react-textarea-autosize@^8.3.2: - version "8.3.3" - resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.3.3.tgz#f70913945369da453fd554c168f6baacd1fa04d8" - integrity sha512-2XlHXK2TDxS6vbQaoPbMOfQ8GK7+irc2fVK6QFIcC8GOnH3zI/v481n+j1L0WaPVvKxwesnY93fEfH++sus2rQ== + version "8.3.4" + resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-8.3.4.tgz#270a343de7ad350534141b02c9cb78903e553524" + integrity sha512-CdtmP8Dc19xL8/R6sWvtknD/eCXkQr30dtvC4VmGInhRsfF8X/ihXCq6+9l9qbxmKRiq407/7z5fxE7cVWQNgQ== dependencies: "@babel/runtime" "^7.10.2" - use-composed-ref "^1.0.0" - use-latest "^1.0.0" + use-composed-ref "^1.3.0" + use-latest "^1.2.1" react@^17.0.1: version "17.0.2" @@ -7164,7 +7240,7 @@ trough@^1.0.0: resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" integrity sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA== -tslib@^2.0.3, tslib@^2.1.0, tslib@^2.2.0, tslib@^2.4.0: +tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== @@ -7175,9 +7251,9 @@ type-fest@^0.20.2: integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== type-fest@^2.5.0: - version "2.12.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.12.2.tgz#80a53614e6b9b475eb9077472fb7498dc7aa51d0" - integrity sha512-qt6ylCGpLjZ7AaODxbpyBZSs9fCI9SkL3Z9q2oxMBQhs/uyY+VD8jHA8ULCGmWQJlBgqvO3EJeAngOHD8zQCrQ== + version "2.13.0" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-2.13.0.tgz#d1ecee38af29eb2e863b22299a3d68ef30d2abfb" + integrity sha512-lPfAm42MxE4/456+QyIaaVBAwgpJb6xZ8PRu09utnhPdWwcyj9vgy6Sq0Z5yNbJ21EdxB5dRU/Qg8bsyAMtlcw== type-is@~1.6.18: version "1.6.18" @@ -7371,7 +7447,7 @@ url-parse-lax@^3.0.0: dependencies: prepend-http "^2.0.0" -use-composed-ref@^1.0.0: +use-composed-ref@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/use-composed-ref/-/use-composed-ref-1.3.0.tgz#3d8104db34b7b264030a9d916c5e94fbe280dbda" integrity sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ== @@ -7381,7 +7457,7 @@ use-isomorphic-layout-effect@^1.1.1: resolved "https://registry.yarnpkg.com/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.1.2.tgz#497cefb13d863d687b08477d9e5a164ad8c1a6fb" integrity sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA== -use-latest@^1.0.0: +use-latest@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/use-latest/-/use-latest-1.2.1.tgz#d13dfb4b08c28e3e33991546a2cee53e14038cf2" integrity sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw== @@ -7503,12 +7579,12 @@ webpack-bundle-analyzer@^4.5.0: ws "^7.3.1" webpack-dev-middleware@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.1.tgz#aa079a8dedd7e58bfeab358a9af7dab304cee57f" - integrity sha512-81EujCKkyles2wphtdrnPg/QqegC/AtqNH//mQkBYSMqwFVCQrxM6ktB2O/SPlZy7LqeEfTbV3cZARGQz6umhg== + version "5.3.3" + resolved "https://registry.yarnpkg.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" + integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== dependencies: colorette "^2.0.10" - memfs "^3.4.1" + memfs "^3.4.3" mime-types "^2.1.31" range-parser "^1.2.1" schema-utils "^4.0.0" @@ -7569,9 +7645,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.72.0: - version "5.72.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.72.0.tgz#f8bc40d9c6bb489a4b7a8a685101d6022b8b6e28" - integrity sha512-qmSmbspI0Qo5ld49htys8GY9XhS9CGqFoHTsOVAnjBdg0Zn79y135R+k4IR4rKK6+eKaabMhJwiVB7xw0SJu5w== + version "5.72.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.72.1.tgz#3500fc834b4e9ba573b9f430b2c0a61e1bb57d13" + integrity sha512-dXG5zXCLspQR4krZVR6QgajnZOjW2K/djHvdcRaDQvsjV9z9vaW6+ja5dZOYbqBBjF6kGXka/2ZyxNdc+8Jung== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^0.0.51" @@ -7582,13 +7658,13 @@ webpack@^5.72.0: acorn-import-assertions "^1.7.6" browserslist "^4.14.5" chrome-trace-event "^1.0.2" - enhanced-resolve "^5.9.2" + enhanced-resolve "^5.9.3" es-module-lexer "^0.9.0" eslint-scope "5.1.1" events "^3.2.0" glob-to-regexp "^0.4.1" graceful-fs "^4.2.9" - json-parse-better-errors "^1.0.2" + json-parse-even-better-errors "^2.3.1" loader-runner "^4.2.0" mime-types "^2.1.27" neo-async "^2.6.2" diff --git a/kube/overlays/stable-with-resource-limits/.env b/kube/overlays/stable-with-resource-limits/.env index def32b6c14df..b4ad40c9c131 100644 --- a/kube/overlays/stable-with-resource-limits/.env +++ b/kube/overlays/stable-with-resource-limits/.env @@ -1,4 +1,4 @@ -AIRBYTE_VERSION=0.39.1-alpha +AIRBYTE_VERSION=0.39.5-alpha # Airbyte Internal Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db DATABASE_HOST=airbyte-db-svc diff --git a/kube/overlays/stable-with-resource-limits/kustomization.yaml b/kube/overlays/stable-with-resource-limits/kustomization.yaml index 9beebb1e7c9c..74da4831f63d 100644 --- a/kube/overlays/stable-with-resource-limits/kustomization.yaml +++ b/kube/overlays/stable-with-resource-limits/kustomization.yaml @@ -8,17 +8,17 @@ bases: images: - name: airbyte/db - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/bootloader - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/scheduler - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/server - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/webapp - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/worker - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: temporalio/auto-setup newTag: 1.7.0 diff --git a/kube/overlays/stable/.env b/kube/overlays/stable/.env index 978ce6ce50d5..bf7dce9ca3a3 100644 --- a/kube/overlays/stable/.env +++ b/kube/overlays/stable/.env @@ -1,4 +1,4 @@ -AIRBYTE_VERSION=0.39.1-alpha +AIRBYTE_VERSION=0.39.5-alpha # Airbyte Internal Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db DATABASE_HOST=airbyte-db-svc diff --git a/kube/overlays/stable/kustomization.yaml b/kube/overlays/stable/kustomization.yaml index d3ed8525e67a..73fcb3e971bb 100644 --- a/kube/overlays/stable/kustomization.yaml +++ b/kube/overlays/stable/kustomization.yaml @@ -8,17 +8,17 @@ bases: images: - name: airbyte/db - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/bootloader - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/scheduler - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/server - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/webapp - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: airbyte/worker - newTag: 0.39.1-alpha + newTag: 0.39.5-alpha - name: temporalio/auto-setup newTag: 1.7.0 diff --git a/kube/resources/worker.yaml b/kube/resources/worker.yaml index 3e6258d2224c..f0c1deb5565e 100644 --- a/kube/resources/worker.yaml +++ b/kube/resources/worker.yaml @@ -215,6 +215,16 @@ spec: configMapKeyRef: name: airbyte-env key: CONTAINER_ORCHESTRATOR_ENABLED + - name: CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + valueFrom: + configMapKeyRef: + name: airbyte-env + key: CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + - name: JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION + valueFrom: + configMapKeyRef: + name: airbyte-env + key: JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION ports: - containerPort: 9000 # for heartbeat server - containerPort: 9001 # start temporal worker port pool diff --git a/octavia-cli/Dockerfile b/octavia-cli/Dockerfile index bcd7a270c1a8..7ce9b4bd2f9d 100644 --- a/octavia-cli/Dockerfile +++ b/octavia-cli/Dockerfile @@ -14,5 +14,5 @@ USER octavia-cli WORKDIR /home/octavia-project ENTRYPOINT ["octavia"] -LABEL io.airbyte.version=0.39.1-alpha +LABEL io.airbyte.version=0.39.5-alpha LABEL io.airbyte.name=airbyte/octavia-cli diff --git a/octavia-cli/README.md b/octavia-cli/README.md index 2f1ddf5c7499..4aa8fb23706a 100644 --- a/octavia-cli/README.md +++ b/octavia-cli/README.md @@ -105,7 +105,7 @@ This script: ```bash touch ~/.octavia # Create a file to store env variables that will be mapped the octavia-cli container mkdir my_octavia_project_directory # Create your octavia project directory where YAML configurations will be stored. -docker run --name octavia-cli -i --rm -v my_octavia_project_directory:/home/octavia-project --network host --user $(id -u):$(id -g) --env-file ~/.octavia airbyte/octavia-cli:0.39.1-alpha +docker run --name octavia-cli -i --rm -v my_octavia_project_directory:/home/octavia-project --network host --user $(id -u):$(id -g) --env-file ~/.octavia airbyte/octavia-cli:0.39.5-alpha ``` ### Using `docker-compose` diff --git a/octavia-cli/install.sh b/octavia-cli/install.sh index 932ed07e2d1d..c9e6c4db4540 100755 --- a/octavia-cli/install.sh +++ b/octavia-cli/install.sh @@ -3,7 +3,7 @@ # This install scripts currently only works for ZSH and Bash profiles. # It creates an octavia alias in your profile bound to a docker run command and your current user. -VERSION=0.39.1-alpha +VERSION=0.39.5-alpha OCTAVIA_ENV_FILE=${HOME}/.octavia detect_profile() { diff --git a/octavia-cli/integration_tests/conftest.py b/octavia-cli/integration_tests/conftest.py index 76c6ae70b791..9f3e3993bfe4 100644 --- a/octavia-cli/integration_tests/conftest.py +++ b/octavia-cli/integration_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/integration_tests/test_apply/test_resources.py b/octavia-cli/integration_tests/test_apply/test_resources.py index a56292cac78f..85047290742a 100644 --- a/octavia-cli/integration_tests/test_apply/test_resources.py +++ b/octavia-cli/integration_tests/test_apply/test_resources.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/octavia-cli/integration_tests/test_generate/test_definitions.py b/octavia-cli/integration_tests/test_generate/test_definitions.py index 9a368bbf41f7..f1ffd78fd0b1 100644 --- a/octavia-cli/integration_tests/test_generate/test_definitions.py +++ b/octavia-cli/integration_tests/test_generate/test_definitions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/integration_tests/test_generate/test_renderers.py b/octavia-cli/integration_tests/test_generate/test_renderers.py index 2431a439f0a9..ac2862257755 100644 --- a/octavia-cli/integration_tests/test_generate/test_renderers.py +++ b/octavia-cli/integration_tests/test_generate/test_renderers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import filecmp diff --git a/octavia-cli/integration_tests/test_list/test_listings.py b/octavia-cli/integration_tests/test_list/test_listings.py index d13c3312406c..b8c4f06215c6 100644 --- a/octavia-cli/integration_tests/test_list/test_listings.py +++ b/octavia-cli/integration_tests/test_list/test_listings.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # diff --git a/octavia-cli/octavia_cli/apply/commands.py b/octavia-cli/octavia_cli/apply/commands.py index 34874f1826e6..47bbd1872096 100644 --- a/octavia-cli/octavia_cli/apply/commands.py +++ b/octavia-cli/octavia_cli/apply/commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from glob import glob diff --git a/octavia-cli/octavia_cli/apply/diff_helpers.py b/octavia-cli/octavia_cli/apply/diff_helpers.py index 1c18eeecb9d4..99ad19f71051 100644 --- a/octavia-cli/octavia_cli/apply/diff_helpers.py +++ b/octavia-cli/octavia_cli/apply/diff_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import hashlib diff --git a/octavia-cli/octavia_cli/apply/resources.py b/octavia-cli/octavia_cli/apply/resources.py index fb60ec283922..c97fe01b6306 100644 --- a/octavia-cli/octavia_cli/apply/resources.py +++ b/octavia-cli/octavia_cli/apply/resources.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import abc diff --git a/octavia-cli/octavia_cli/apply/yaml_loaders.py b/octavia-cli/octavia_cli/apply/yaml_loaders.py index 9e2585d54d10..67a66e22b1da 100644 --- a/octavia-cli/octavia_cli/apply/yaml_loaders.py +++ b/octavia-cli/octavia_cli/apply/yaml_loaders.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/octavia_cli/base_commands.py b/octavia-cli/octavia_cli/base_commands.py index 0f072e8ca9ec..a5c0166b9f42 100644 --- a/octavia-cli/octavia_cli/base_commands.py +++ b/octavia-cli/octavia_cli/base_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import typing as t diff --git a/octavia-cli/octavia_cli/check_context.py b/octavia-cli/octavia_cli/check_context.py index 76d839f46caa..8228fb655e75 100644 --- a/octavia-cli/octavia_cli/check_context.py +++ b/octavia-cli/octavia_cli/check_context.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/octavia_cli/entrypoint.py b/octavia-cli/octavia_cli/entrypoint.py index 461a033df6b7..b111975a0081 100644 --- a/octavia-cli/octavia_cli/entrypoint.py +++ b/octavia-cli/octavia_cli/entrypoint.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List diff --git a/octavia-cli/octavia_cli/generate/commands.py b/octavia-cli/octavia_cli/generate/commands.py index 0e389c464ed0..523507723995 100644 --- a/octavia-cli/octavia_cli/generate/commands.py +++ b/octavia-cli/octavia_cli/generate/commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import click diff --git a/octavia-cli/octavia_cli/generate/definitions.py b/octavia-cli/octavia_cli/generate/definitions.py index 0e0649003276..eaba6a898a6c 100644 --- a/octavia-cli/octavia_cli/generate/definitions.py +++ b/octavia-cli/octavia_cli/generate/definitions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import abc diff --git a/octavia-cli/octavia_cli/generate/renderers.py b/octavia-cli/octavia_cli/generate/renderers.py index cd5371399974..e496624ed834 100644 --- a/octavia-cli/octavia_cli/generate/renderers.py +++ b/octavia-cli/octavia_cli/generate/renderers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import abc diff --git a/octavia-cli/octavia_cli/generate/yaml_dumpers.py b/octavia-cli/octavia_cli/generate/yaml_dumpers.py index a20e6ce33982..12b25082eb29 100644 --- a/octavia-cli/octavia_cli/generate/yaml_dumpers.py +++ b/octavia-cli/octavia_cli/generate/yaml_dumpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import yaml diff --git a/octavia-cli/octavia_cli/init/commands.py b/octavia-cli/octavia_cli/init/commands.py index 2e91fd1a7cde..7bd5c249a265 100644 --- a/octavia-cli/octavia_cli/init/commands.py +++ b/octavia-cli/octavia_cli/init/commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/octavia_cli/list/commands.py b/octavia-cli/octavia_cli/list/commands.py index 080fe8037630..da7d46545985 100644 --- a/octavia-cli/octavia_cli/list/commands.py +++ b/octavia-cli/octavia_cli/list/commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List diff --git a/octavia-cli/octavia_cli/list/formatting.py b/octavia-cli/octavia_cli/list/formatting.py index 834e3c499de8..e97450225e1d 100644 --- a/octavia-cli/octavia_cli/list/formatting.py +++ b/octavia-cli/octavia_cli/list/formatting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from typing import List diff --git a/octavia-cli/octavia_cli/list/listings.py b/octavia-cli/octavia_cli/list/listings.py index 4207edc6b592..211640fdef21 100644 --- a/octavia-cli/octavia_cli/list/listings.py +++ b/octavia-cli/octavia_cli/list/listings.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import abc diff --git a/octavia-cli/octavia_cli/telemetry.py b/octavia-cli/octavia_cli/telemetry.py index b288b3f5bb39..0fb0ed2124de 100644 --- a/octavia-cli/octavia_cli/telemetry.py +++ b/octavia-cli/octavia_cli/telemetry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/setup.py b/octavia-cli/setup.py index cc37cb349e7e..ae89c974e907 100644 --- a/octavia-cli/setup.py +++ b/octavia-cli/setup.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os @@ -15,7 +15,7 @@ setup( name="octavia-cli", - version="0.39.1", + version="0.39.5", description="A command line interface to manage Airbyte configurations", long_description=README, author="Airbyte", diff --git a/octavia-cli/unit_tests/conftest.py b/octavia-cli/unit_tests/conftest.py index 9524639853d4..2c70d1741c25 100644 --- a/octavia-cli/unit_tests/conftest.py +++ b/octavia-cli/unit_tests/conftest.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_apply/test_commands.py b/octavia-cli/unit_tests/test_apply/test_commands.py index 0546bb38bf27..b706ea2b9d68 100644 --- a/octavia-cli/unit_tests/test_apply/test_commands.py +++ b/octavia-cli/unit_tests/test_apply/test_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_apply/test_diff_helpers.py b/octavia-cli/unit_tests/test_apply/test_diff_helpers.py index e6ca3ea9986f..0a14622739e0 100644 --- a/octavia-cli/unit_tests/test_apply/test_diff_helpers.py +++ b/octavia-cli/unit_tests/test_apply/test_diff_helpers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_apply/test_resources.py b/octavia-cli/unit_tests/test_apply/test_resources.py index 248121096a4a..ada45b864df8 100644 --- a/octavia-cli/unit_tests/test_apply/test_resources.py +++ b/octavia-cli/unit_tests/test_apply/test_resources.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import mock_open, patch diff --git a/octavia-cli/unit_tests/test_apply/test_yaml_loaders.py b/octavia-cli/unit_tests/test_apply/test_yaml_loaders.py index 84879753b7eb..47c379a505e3 100644 --- a/octavia-cli/unit_tests/test_apply/test_yaml_loaders.py +++ b/octavia-cli/unit_tests/test_apply/test_yaml_loaders.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/unit_tests/test_base_commands.py b/octavia-cli/unit_tests/test_base_commands.py index 967bd41ea7db..c0e1d3195a2a 100644 --- a/octavia-cli/unit_tests/test_base_commands.py +++ b/octavia-cli/unit_tests/test_base_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import click diff --git a/octavia-cli/unit_tests/test_check_context.py b/octavia-cli/unit_tests/test_check_context.py index 02795a2163fa..a43331b202c4 100644 --- a/octavia-cli/unit_tests/test_check_context.py +++ b/octavia-cli/unit_tests/test_check_context.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import os diff --git a/octavia-cli/unit_tests/test_entrypoint.py b/octavia-cli/unit_tests/test_entrypoint.py index cc4e866c5753..7471e2c000ad 100644 --- a/octavia-cli/unit_tests/test_entrypoint.py +++ b/octavia-cli/unit_tests/test_entrypoint.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import click diff --git a/octavia-cli/unit_tests/test_generate/test_commands.py b/octavia-cli/unit_tests/test_generate/test_commands.py index 05c76d55f0e4..6cd4c980e67c 100644 --- a/octavia-cli/unit_tests/test_generate/test_commands.py +++ b/octavia-cli/unit_tests/test_generate/test_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_generate/test_connection.py b/octavia-cli/unit_tests/test_generate/test_connection.py index 0f599765708a..afff7653e69c 100644 --- a/octavia-cli/unit_tests/test_generate/test_connection.py +++ b/octavia-cli/unit_tests/test_generate/test_connection.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # # diff --git a/octavia-cli/unit_tests/test_generate/test_definitions.py b/octavia-cli/unit_tests/test_generate/test_definitions.py index b0244f0f030d..34ad805b6729 100644 --- a/octavia-cli/unit_tests/test_generate/test_definitions.py +++ b/octavia-cli/unit_tests/test_generate/test_definitions.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_generate/test_renderers.py b/octavia-cli/unit_tests/test_generate/test_renderers.py index 315ed823dd20..44fe64683548 100644 --- a/octavia-cli/unit_tests/test_generate/test_renderers.py +++ b/octavia-cli/unit_tests/test_generate/test_renderers.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # from unittest.mock import mock_open, patch diff --git a/octavia-cli/unit_tests/test_init/test_commands.py b/octavia-cli/unit_tests/test_init/test_commands.py index 5ee8bc43fc95..b9421109770b 100644 --- a/octavia-cli/unit_tests/test_init/test_commands.py +++ b/octavia-cli/unit_tests/test_init/test_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_list/test_commands.py b/octavia-cli/unit_tests/test_list/test_commands.py index 4d474292377d..309e2f5efd75 100644 --- a/octavia-cli/unit_tests/test_list/test_commands.py +++ b/octavia-cli/unit_tests/test_list/test_commands.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_list/test_formatting.py b/octavia-cli/unit_tests/test_list/test_formatting.py index a5666896fbcc..32cf35dd95e9 100644 --- a/octavia-cli/unit_tests/test_list/test_formatting.py +++ b/octavia-cli/unit_tests/test_list/test_formatting.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_list/test_listings.py b/octavia-cli/unit_tests/test_list/test_listings.py index d5214d7628b9..88be1a8df9b6 100644 --- a/octavia-cli/unit_tests/test_list/test_listings.py +++ b/octavia-cli/unit_tests/test_list/test_listings.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import pytest diff --git a/octavia-cli/unit_tests/test_telemetry.py b/octavia-cli/unit_tests/test_telemetry.py index 81e630970c52..8c3eaf92ef3c 100644 --- a/octavia-cli/unit_tests/test_telemetry.py +++ b/octavia-cli/unit_tests/test_telemetry.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # import click diff --git a/tools/bin/build_report.py b/tools/bin/build_report.py index 6f2821c209f7..96043badb77c 100644 --- a/tools/bin/build_report.py +++ b/tools/bin/build_report.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2021 Airbyte, Inc., all rights reserved. +# Copyright (c) 2022 Airbyte, Inc., all rights reserved. # """ @@ -29,6 +29,7 @@ SOURCE_DEFINITIONS_YAML = f"{CONNECTOR_DEFINITIONS_DIR}/source_definitions.yaml" DESTINATION_DEFINITIONS_YAML = f"{CONNECTOR_DEFINITIONS_DIR}/destination_definitions.yaml" CONNECTORS_ROOT_PATH = "./airbyte-integrations/connectors" +RELEVANT_BASE_MODULES = ["base-normalization", "source-acceptance-test"] # Global vars TESTED_SOURCE = [] @@ -62,7 +63,7 @@ def parse(page) -> list: return history -def check_connector(connector): +def check_module(connector): status_page = get_status_page(connector) # check if connector is tested @@ -222,7 +223,8 @@ def setup_module(): print(f"Checking {len(relevant_connectors)} relevant connectors out of {len(connectors)} total connectors") # analyse build results for each connector - [check_connector(connector) for connector in relevant_connectors] + [check_module(connector) for connector in relevant_connectors] + [check_module(base) for base in RELEVANT_BASE_MODULES] report = create_report(relevant_connectors, relevant_stages) print(report) diff --git a/tools/bin/gke-kube-acceptance-test/acceptance_test_kube_gke.sh b/tools/bin/gke-kube-acceptance-test/acceptance_test_kube_gke.sh index 85ee8e4c517b..57556ae87320 100755 --- a/tools/bin/gke-kube-acceptance-test/acceptance_test_kube_gke.sh +++ b/tools/bin/gke-kube-acceptance-test/acceptance_test_kube_gke.sh @@ -13,7 +13,7 @@ echo "Namespace" $NAMESPACE TAG=$(openssl rand -hex 12) echo "Tag" $TAG -docker login -u airbytebot -p $DOCKER_PASSWORD +docker login -u "$DOCKER_HUB_USERNAME" -p "$DOCKER_HUB_PASSWORD" VERSION=$TAG ./gradlew build VERSION=$TAG docker-compose -f docker-compose.build.yaml push @@ -44,7 +44,7 @@ function findAndDeleteTag () { } function cleanUpImages () { - TOKEN=$(curl --request POST 'https://hub.docker.com/v2/users/login/' --header 'Content-Type: application/json' --data-raw '{"username":"airbytebot","password":"'$DOCKER_PASSWORD'"}' | jq '.token') + TOKEN=$(curl --request POST 'https://hub.docker.com/v2/users/login/' --header 'Content-Type: application/json' --data-raw '{"username":"'$DOCKER_HUB_USERNAME'","password":"'$DOCKER_HUB_PASSWORD'"}' | jq '.token') TOKEN="${TOKEN%\"}" TOKEN="${TOKEN#\"}" diff --git a/tools/bin/release_version.sh b/tools/bin/release_version.sh index eee7012f318d..a9c21bc6110d 100755 --- a/tools/bin/release_version.sh +++ b/tools/bin/release_version.sh @@ -14,12 +14,17 @@ if [[ -z "${CLOUDREPO_PASSWORD}" ]]; then exit 1; fi -if [[ -z "${DOCKER_PASSWORD}" ]]; then - echo 'DOCKER_PASSWORD for airbytebot not set.'; +if [[ -z "${DOCKER_HUB_USERNAME}" ]]; then + echo 'DOCKER_HUB_USERNAME not set.'; exit 1; fi -docker login -u airbytebot -p "${DOCKER_PASSWORD}" +if [[ -z "${DOCKER_HUB_PASSWORD}" ]]; then + echo 'DOCKER_HUB_PASSWORD for docker user not set.'; + exit 1; +fi + +docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}" source ./tools/bin/bump_version.sh diff --git a/tools/bin/release_version_octavia.sh b/tools/bin/release_version_octavia.sh index 47b3d9f8029e..5bfa746294cb 100755 --- a/tools/bin/release_version_octavia.sh +++ b/tools/bin/release_version_octavia.sh @@ -4,12 +4,17 @@ set -e . tools/lib/lib.sh -if test -z "${DOCKER_PASSWORD}"; then - echo 'DOCKER_PASSWORD for airbytebot not set.'; +if test -z "${DOCKER_HUB_USERNAME}"; then + echo 'DOCKER_HUB_USERNNAME not set.'; exit 1; fi -docker login --username airbytebot --password "${DOCKER_PASSWORD}" +if test -z "${DOCKER_HUB_PASSWORD}"; then + echo 'DOCKER_HUB_PASSWORD for docker user not set.'; + exit 1; +fi + +docker login --username "${DOCKER_HUB_USERNAME}" --password "${DOCKER_HUB_PASSWORD}" source ./tools/bin/bump_version.sh diff --git a/tools/integrations/manage.sh b/tools/integrations/manage.sh index 2a2ef55e93df..eec015955255 100755 --- a/tools/integrations/manage.sh +++ b/tools/integrations/manage.sh @@ -41,6 +41,8 @@ cmd_build() { local run_tests=$1; shift || run_tests=true echo "Building $path" + # Note that we are only building (and testing) once on this build machine's architecture + # Learn more @ https://github.com/airbytehq/airbyte/pull/13004 ./gradlew --no-daemon "$(_to_gradle_path "$path" clean)" ./gradlew --no-daemon "$(_to_gradle_path "$path" build)" @@ -198,7 +200,32 @@ cmd_publish() { local image_name; image_name=$(_get_docker_image_name "$path"/Dockerfile) local image_version; image_version=$(_get_docker_image_version "$path"/Dockerfile) local versioned_image=$image_name:$image_version - local latest_image=$image_name:latest + local latest_image="$image_name" # don't include ":latest", that's assumed here + local build_arch="linux/amd64,linux/arm64" + + # learn about this version of Docker + echo "--- docker info ---" + docker --version + docker buildx version + + # Install docker emulators + # TODO: Don't run this command on M1 macs locally (it won't work and isn't needed) + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes + + # log into docker + if test -z "${DOCKER_HUB_USERNAME}"; then + echo 'DOCKER_HUB_USERNAME not set.'; + exit 1; + fi + + if test -z "${DOCKER_HUB_PASSWORD}"; then + echo 'DOCKER_HUB_PASSWORD for docker user not set.'; + exit 1; + fi + + set +x + DOCKER_TOKEN=$(curl -s -H "Content-Type: application/json" -X POST -d '{"username": "'${DOCKER_HUB_USERNAME}'", "password": "'${DOCKER_HUB_PASSWORD}'"}' https://hub.docker.com/v2/users/login/ | jq -r .token) + set -x echo "image_name $image_name" echo "versioned_image $versioned_image" @@ -217,17 +244,56 @@ cmd_publish() { if [[ "airbyte/normalization" == "${image_name}" ]]; then echo "Publishing normalization images (version: $versioned_image)" GIT_REVISION=$(git rev-parse HEAD) - VERSION=$image_version GIT_REVISION=$GIT_REVISION docker-compose -f airbyte-integrations/bases/base-normalization/docker-compose.build.yaml build - VERSION=$image_version GIT_REVISION=$GIT_REVISION docker-compose -f airbyte-integrations/bases/base-normalization/docker-compose.build.yaml push - VERSION=latest GIT_REVISION=$GIT_REVISION docker-compose -f airbyte-integrations/bases/base-normalization/docker-compose.build.yaml build - VERSION=latest GIT_REVISION=$GIT_REVISION docker-compose -f airbyte-integrations/bases/base-normalization/docker-compose.build.yaml push + + # Note: "buildx bake" needs to be run within the directory + local original_pwd=$PWD + cd airbyte-integrations/bases/base-normalization + + VERSION=$image_version GIT_REVISION=$GIT_REVISION docker buildx bake \ + --set "*.platform=$build_arch" \ + -f docker-compose.build.yaml \ + --push + + VERSION=latest GIT_REVISION=$GIT_REVISION docker buildx bake \ + --set "*.platform=$build_arch" \ + -f docker-compose.build.yaml \ + --push + + cd $original_pwd else - docker tag "$image_name:dev" "$versioned_image" - docker tag "$image_name:dev" "$latest_image" + # We have to go arch-by-arch locally (see https://github.com/docker/buildx/issues/59 for more info) due to our base images (e.g. airbyte-integrations/bases/base-java) + # Alternative local approach @ https://github.com/docker/buildx/issues/301#issuecomment-755164475 + + for arch in $(echo $build_arch | sed "s/,/ /g") + do + echo "building base images for $arch" + docker buildx build -t airbyte/integration-base:dev --platform $arch --load airbyte-integrations/bases/base + docker buildx build -t airbyte/integration-base-java:dev --platform $arch --load airbyte-integrations/bases/base-java + + local arch_versioned_image=$image_name:`echo $arch | sed "s/\//-/g"`-$image_version + echo "Publishing new version ($arch_versioned_image) from $path" + docker buildx build -t $arch_versioned_image --platform $arch --push $path + docker manifest create $latest_image --amend $arch_versioned_image + docker manifest create $versioned_image --amend $arch_versioned_image + done + + docker manifest push $latest_image + docker manifest push $versioned_image + docker manifest rm $latest_image + docker manifest rm $versioned_image + + # delete the temporary image tags made with arch_versioned_image + sleep 5 + for arch in $(echo $build_arch | sed "s/,/ /g") + do + local arch_versioned_tag=`echo $arch | sed "s/\//-/g"`-$image_version + echo "deleting temporary tag: ${image_name}/tags/${arch_versioned_tag}" + TAG_URL="https://hub.docker.com/v2/repositories/${image_name}/tags/${arch_versioned_tag}/" # trailing slash is needed! + set +x + curl -X DELETE -H "Authorization: JWT ${DOCKER_TOKEN}" "$TAG_URL" + set -x + done - echo "Publishing new version ($versioned_image)" - docker push "$versioned_image" - docker push "$latest_image" fi # Checking if the image was successfully registered on DockerHub @@ -235,10 +301,10 @@ cmd_publish() { sleep 5 # To work for private repos we need a token as well - DOCKER_USERNAME=${DOCKER_USERNAME:-airbytebot} - DOCKER_TOKEN=$(curl -s -H "Content-Type: application/json" -X POST -d '{"username": "'${DOCKER_USERNAME}'", "password": "'${DOCKER_PASSWORD}'"}' https://hub.docker.com/v2/users/login/ | jq -r .token) TAG_URL="https://hub.docker.com/v2/repositories/${image_name}/tags/${image_version}" + set +x DOCKERHUB_RESPONSE_CODE=$(curl --silent --output /dev/null --write-out "%{http_code}" -H "Authorization: JWT ${DOCKER_TOKEN}" ${TAG_URL}) + set -x if [[ "${DOCKERHUB_RESPONSE_CODE}" == "404" ]]; then echo "Tag ${image_version} was not registered on DockerHub for image ${image_name}, please try to bump the version again." && exit 1 fi