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 12f1139987004..07d1aee55cdae 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -2130,7 +2130,7 @@ - name: WooCommerce sourceDefinitionId: 2a2552ca-9f78-4c1c-9eb7-4d0dc66d72df dockerRepository: airbyte/source-woocommerce - dockerImageTag: 0.2.1 + dockerImageTag: 0.2.2 documentationUrl: https://docs.airbyte.com/integrations/sources/woocommerce icon: woocommerce.svg sourceType: api 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 c75767ac5b10f..cec479dab54ca 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -16192,7 +16192,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-woocommerce:0.2.1" +- dockerImage: "airbyte/source-woocommerce:0.2.2" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/woocommerce" connectionSpecification: @@ -16233,18 +16233,6 @@ pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" format: "date" order: 3 - conversion_window_days: - type: "integer" - title: "Conversion Window" - description: "A conversion window is the period of time after an ad interaction\ - \ (such as an ad click or video view) during which a conversion, such\ - \ as a purchase, is recorded in Google Ads" - order: 4 - minimum: 0 - maximum: 1095 - default: 0 - examples: - - 14 supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] diff --git a/airbyte-integrations/connectors/source-woocommerce/Dockerfile b/airbyte-integrations/connectors/source-woocommerce/Dockerfile index 9ba5966e3b350..30d30fb67393a 100644 --- a/airbyte-integrations/connectors/source-woocommerce/Dockerfile +++ b/airbyte-integrations/connectors/source-woocommerce/Dockerfile @@ -34,5 +34,5 @@ COPY source_woocommerce ./source_woocommerce ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.2.1 +LABEL io.airbyte.version=0.2.2 LABEL io.airbyte.name=airbyte/source-woocommerce diff --git a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/manifest.yaml b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/manifest.yaml index 1ed0c5a92dae8..ef3140fe15267 100644 --- a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/manifest.yaml +++ b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/manifest.yaml @@ -20,7 +20,6 @@ definitions: dates_are_gmt: "true" date_incremental_sync: type: DatetimeBasedCursor - lookback_window: "P{{ config.get('conversion_window_days', 0) }}D" start_datetime: datetime: "{{ format_datetime(config['start_date'], '%Y-%m-%dT%H:%M:%S') }}" datetime_format: "%Y-%m-%dT%H:%M:%S" @@ -48,7 +47,7 @@ definitions: page_token_option: type: RequestOption inject_into: "request_parameter" - field_name: "page" + field_name: "offset" page_size_option: inject_into: "request_parameter" field_name: "per_page" diff --git a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/spec.yaml b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/spec.yaml index 265283fbb49ab..39e9317437c0e 100644 --- a/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/spec.yaml +++ b/airbyte-integrations/connectors/source-woocommerce/source_woocommerce/spec.yaml @@ -36,13 +36,3 @@ connectionSpecification: pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" format: date order: 3 - conversion_window_days: - type: integer - title: Conversion Window - description: A conversion window is the period of time after an ad interaction (such as an ad click or video view) during which a conversion, such as a purchase, is recorded in Google Ads - order: 4 - minimum: 0 - maximum: 1095 - default: 0 - examples: - - 14 \ No newline at end of file diff --git a/connectors.md b/connectors.md index 9ffdcf457c767..cf215cb12c10a 100644 --- a/connectors.md +++ b/connectors.md @@ -252,7 +252,7 @@ | **Webflow** | Webflow icon | Source | airbyte/source-webflow:0.1.2 | alpha | [link](https://docs.airbyte.com/integrations/sources/webflow) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-webflow) | `ef580275-d9a9-48bb-af5e-db0f5855be04` | | **Whisky Hunter** | Whisky Hunter icon | Source | airbyte/source-whisky-hunter:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/whisky-hunter) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-whisky-hunter) | `e65f84c0-7598-458a-bfac-f770c381ff5d` | | **Wikipedia Pageviews** | Wikipedia Pageviews icon | Source | airbyte/source-wikipedia-pageviews:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/wikipedia-pageviews) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-wikipedia-pageviews) | `87c58f70-6f7a-4f70-aba5-bab1a458f5ba` | -| **WooCommerce** | WooCommerce icon | Source | airbyte/source-woocommerce:0.2.1 | beta | [link](https://docs.airbyte.com/integrations/sources/woocommerce) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-woocommerce) | `2a2552ca-9f78-4c1c-9eb7-4d0dc66d72df` | +| **WooCommerce** | WooCommerce icon | Source | airbyte/source-woocommerce:0.2.2 | beta | [link](https://docs.airbyte.com/integrations/sources/woocommerce) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-woocommerce) | `2a2552ca-9f78-4c1c-9eb7-4d0dc66d72df` | | **WorkRamp** | WorkRamp icon | Source | airbyte/source-workramp:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/workramp) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-workramp) | `05b0bce2-4ec4-4534-bb1a-5d0127bd91b7` | | **Workable** | Workable icon | Source | airbyte/source-workable:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/workable) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-workable) | `ef3c99c6-9e90-43c8-9517-926cfd978517` | | **Wrike** | Wrike icon | Source | airbyte/source-wrike:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/wrike) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-wrike) | `9c13f986-a13b-4988-b808-4705badf71c2` | diff --git a/docs/integrations/sources/woocommerce.md b/docs/integrations/sources/woocommerce.md index a3a47aa4e207a..35c9dd59c2dbf 100644 --- a/docs/integrations/sources/woocommerce.md +++ b/docs/integrations/sources/woocommerce.md @@ -99,7 +99,8 @@ Useful links: | Version | Date | Pull Request | Subject | | :------ | :--------- | :------------------------------------------------------- | :----------------------------------------- | -| 0.2.1 | 2023-02-10 | [00000](https://github.com/airbytehq/airbyte/pull/00000) | Specified date formatting in specification | +| 0.2.2 | 2023-03-03 | [23599](https://github.com/airbytehq/airbyte/pull/23599) | Fix pagination and removed lookback window | +| 0.2.1 | 2023-02-10 | [22821](https://github.com/airbytehq/airbyte/pull/22821) | Specified date formatting in specification | | 0.2.0 | 2022-11-30 | [19903](https://github.com/airbytehq/airbyte/pull/19903) | Migrate to low-code; Certification to Beta | | 0.1.1 | 2021-11-08 | [7499](https://github.com/airbytehq/airbyte/pull/7499) | Remove base-python dependencies | | 0.1.0 | 2021-09-09 | [5955](https://github.com/airbytehq/airbyte/pull/5955) | Initial Release. Source WooCommerce |