From 6f91ab3b3e466504e1f5b589da9b0e227314f5a2 Mon Sep 17 00:00:00 2001 From: manojsaikumar Date: Mon, 6 May 2024 19:38:36 +0530 Subject: [PATCH 1/2] change image version to 0.0.1 --- .../b3c1ecb8-f0de-11eb-9a03-0242ac130003.json | 8 ---- .../d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json | 8 ++++ .../resources/seed/source_definitions.yaml | 6 +++ .../src/main/resources/seed/source_specs.yaml | 43 +++++++++++++++++++ .../connectors/source-woocommerce/Dockerfile | 4 +- .../acceptance-test-config.yml | 2 +- 6 files changed, 60 insertions(+), 11 deletions(-) delete mode 100644 airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b3c1ecb8-f0de-11eb-9a03-0242ac130003.json create mode 100644 airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b3c1ecb8-f0de-11eb-9a03-0242ac130003.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b3c1ecb8-f0de-11eb-9a03-0242ac130003.json deleted file mode 100644 index 47c8d0e5fbd4..000000000000 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b3c1ecb8-f0de-11eb-9a03-0242ac130003.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "sourceDefinitionId": "b3c1ecb8-f0de-11eb-9a03-0242ac130003", - "name": "Woocommerce", - "dockerRepository": "airbyte/source-woocommerce", - "dockerImageTag": "0.1.1", - "documentationUrl": "https://docs.airbyte.io/integrations/sources/woocommerce", - "icon": "woocommerce.svg" -} diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json new file mode 100644 index 000000000000..901281e76b33 --- /dev/null +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json @@ -0,0 +1,8 @@ +{ + "sourceDefinitionId": "d6f9a7c2-815e-4b76-a10c-9f6d2a871e32", + "name": "Woocommerce", + "dockerRepository": "blotout/source-woocommerce", + "dockerImageTag": "0.0.1", + "documentationUrl": "https://docs.airbyte.com/integrations/sources/woocommerce", + "icon": "woocommerce.svg" +} 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 0be4d8704640..66e6215cd597 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -601,6 +601,12 @@ dockerImageTag: 0.1.1 documentationUrl: https://docs.airbyte.io/integrations/sources/us-census sourceType: api +- name: WooCommerce + sourceDefinitionId: d6f9a7c2-815e-4b76-a10c-9f6d2a871e32 + dockerRepository: airbyte/source-woocommerce + dockerImageTag: 0.0.1 + documentationUrl: https://docs.airbyte.com/integrations/sources/woocommerce + sourceType: api - name: Zendesk Chat sourceDefinitionId: 40d24d0f-b8f9-4fe0-9e6c-b06c0f3f45e4 dockerRepository: airbyte/source-zendesk-chat 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 a9ec0ed7df95..e6de731ddc8c 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -5952,6 +5952,49 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] +- dockerImage: "airbyte/source-woocommerce:0.0.1" + spec: + documentationUrl: "https://docs.airbyte.com/integrations/sources/woocommerce" + connectionSpecification: + $schema: "http://json-schema.org/draft-07/schema#" + title: "Woocommerce Spec" + type: "object" + required: + - "api_key" + - "api_secret" + - "shop" + - "start_date" + additionalProperties: true + properties: + api_key: + type: "string" + title: "Customer Key" + description: "Customer Key for API in WooCommerce shop" + airbyte_secret: true + order: 0 + api_secret: + type: "string" + title: "Customer Secret" + description: "Customer Secret for API in WooCommerce shop" + airbyte_secret: true + order: 1 + shop: + type: "string" + title: "Shop Name" + description: "The name of the store. For https://EXAMPLE.com, the shop name is 'EXAMPLE.com'." + order: 2 + start_date: + type: "string" + title: "Start Date" + description: "The date you would like to replicate data from. Format: YYYY-MM-DD" + examples: + - "2021-01-01" + pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" + format: "date" + order: 3 + supportsNormalization: false + supportsDBT: false + supported_destination_sync_modes: [] - dockerImage: "airbyte/source-zendesk-chat:0.1.3" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/zendesk-chat" diff --git a/airbyte-integrations/connectors/source-woocommerce/Dockerfile b/airbyte-integrations/connectors/source-woocommerce/Dockerfile index 9e919723d4a1..c1ed81c18352 100644 --- a/airbyte-integrations/connectors/source-woocommerce/Dockerfile +++ b/airbyte-integrations/connectors/source-woocommerce/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.1.1 -LABEL io.airbyte.name=airbyte/source-woocommerce +LABEL io.airbyte.version=0.0.1 +LABEL io.airbyte.name=blotout/source-woocommerce diff --git a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml index e0d08fdcacf0..d999273e32a8 100644 --- a/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml +++ b/airbyte-integrations/connectors/source-woocommerce/acceptance-test-config.yml @@ -1,6 +1,6 @@ # See [Source Acceptance Tests](https://docs.airbyte.io/contributing-to-airbyte/building-new-connector/source-acceptance-tests.md) # for more information about how to configure these tests -connector_image: airbyte/source-woocommerce:dev +connector_image: blotout/source-woocommerce:dev tests: spec: - spec_path: "source_woocommerce/spec.json" From 9378e8393bd366b97cb6feee056ffaa1cecbacc9 Mon Sep 17 00:00:00 2001 From: manojsaikumar Date: Wed, 26 Jun 2024 19:50:09 +0530 Subject: [PATCH 2/2] updated woocommerce image to 0.0.2 --- .../d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json | 2 +- .../init/src/main/resources/seed/source_definitions.yaml | 4 ++-- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 2 +- airbyte-integrations/connectors/source-woocommerce/Dockerfile | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json index 901281e76b33..3fc9f3a79687 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/d6f9a7c2-815e-4b76-a10c-9f6d2a871e32.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "d6f9a7c2-815e-4b76-a10c-9f6d2a871e32", "name": "Woocommerce", "dockerRepository": "blotout/source-woocommerce", - "dockerImageTag": "0.0.1", + "dockerImageTag": "0.0.2", "documentationUrl": "https://docs.airbyte.com/integrations/sources/woocommerce", "icon": "woocommerce.svg" } 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 66e6215cd597..753e14de52a3 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -603,8 +603,8 @@ sourceType: api - name: WooCommerce sourceDefinitionId: d6f9a7c2-815e-4b76-a10c-9f6d2a871e32 - dockerRepository: airbyte/source-woocommerce - dockerImageTag: 0.0.1 + dockerRepository: blotout/source-woocommerce + dockerImageTag: 0.0.2 documentationUrl: https://docs.airbyte.com/integrations/sources/woocommerce sourceType: api - name: Zendesk Chat 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 e6de731ddc8c..4e7f24ceaa2a 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -5952,7 +5952,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-woocommerce:0.0.1" +- dockerImage: "blotout/source-woocommerce:0.0.2" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/woocommerce" connectionSpecification: diff --git a/airbyte-integrations/connectors/source-woocommerce/Dockerfile b/airbyte-integrations/connectors/source-woocommerce/Dockerfile index c1ed81c18352..5ea7fa25ebcd 100644 --- a/airbyte-integrations/connectors/source-woocommerce/Dockerfile +++ b/airbyte-integrations/connectors/source-woocommerce/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.0.1 +LABEL io.airbyte.version=0.0.2 LABEL io.airbyte.name=blotout/source-woocommerce