From 808e85fdbfc08058b44890db0c17a8199de27497 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Wed, 15 Feb 2023 18:09:27 +0200 Subject: [PATCH 1/5] Source Amplitude: Mark datefields in spec as dates --- airbyte-integrations/connectors/source-amplitude/Dockerfile | 2 +- .../connectors/source-amplitude/source_amplitude/spec.json | 3 ++- docs/integrations/sources/amplitude.md | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-amplitude/Dockerfile b/airbyte-integrations/connectors/source-amplitude/Dockerfile index 154c4df3d56e..7bca8de33e38 100644 --- a/airbyte-integrations/connectors/source-amplitude/Dockerfile +++ b/airbyte-integrations/connectors/source-amplitude/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.21 +LABEL io.airbyte.version=0.1.22 LABEL io.airbyte.name=airbyte/source-amplitude diff --git a/airbyte-integrations/connectors/source-amplitude/source_amplitude/spec.json b/airbyte-integrations/connectors/source-amplitude/source_amplitude/spec.json index 7e0b31c16b23..bea6c53bcdbf 100644 --- a/airbyte-integrations/connectors/source-amplitude/source_amplitude/spec.json +++ b/airbyte-integrations/connectors/source-amplitude/source_amplitude/spec.json @@ -31,7 +31,8 @@ "title": "Replication Start Date", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", "description": "UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated.", - "examples": ["2021-01-25T00:00:00Z"] + "examples": ["2021-01-25T00:00:00Z"], + "format": "date-time" } } } diff --git a/docs/integrations/sources/amplitude.md b/docs/integrations/sources/amplitude.md index 0a8dbc8d14df..1b6b348059b0 100644 --- a/docs/integrations/sources/amplitude.md +++ b/docs/integrations/sources/amplitude.md @@ -43,6 +43,7 @@ The Amplitude connector ideally should gracefully handle Amplitude API limitatio | Version | Date | Pull Request | Subject | |:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------------------------------| +| 0.1.22 | 2023-02-15 | [00000](https://github.com/airbytehq/airbyte/pull/00000) |Specified date formatting in specification | | 0.1.21 | TODO | [21888](https://github.com/airbytehq/airbyte/pull/21888) | Set `AvailabilityStrategy` for streams explicitly to `None` | | 0.1.20 | 2023-01-27 | [21957](https://github.com/airbytehq/airbyte/pull/21957) | Handle null values and empty strings in date-time fields | | 0.1.19 | 2022-12-09 | [19727](https://github.com/airbytehq/airbyte/pull/19727) | Remove `data_region` as required | From f1058d7527d096788a3bc11b523d11787b08f7d9 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Wed, 15 Feb 2023 18:10:24 +0200 Subject: [PATCH 2/5] Update changelog --- docs/integrations/sources/amplitude.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations/sources/amplitude.md b/docs/integrations/sources/amplitude.md index 1b6b348059b0..a39859efade7 100644 --- a/docs/integrations/sources/amplitude.md +++ b/docs/integrations/sources/amplitude.md @@ -43,7 +43,7 @@ The Amplitude connector ideally should gracefully handle Amplitude API limitatio | Version | Date | Pull Request | Subject | |:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------------------------------| -| 0.1.22 | 2023-02-15 | [00000](https://github.com/airbytehq/airbyte/pull/00000) |Specified date formatting in specification | +| 0.1.22 | 2023-02-15 | [23087](https://github.com/airbytehq/airbyte/pull/23087) |Specified date formatting in specification | | 0.1.21 | TODO | [21888](https://github.com/airbytehq/airbyte/pull/21888) | Set `AvailabilityStrategy` for streams explicitly to `None` | | 0.1.20 | 2023-01-27 | [21957](https://github.com/airbytehq/airbyte/pull/21957) | Handle null values and empty strings in date-time fields | | 0.1.19 | 2022-12-09 | [19727](https://github.com/airbytehq/airbyte/pull/19727) | Remove `data_region` as required | From 6e694ff1ccd0ca0c97fbc59cb25e51a489a76231 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Mon, 20 Feb 2023 16:56:48 +0200 Subject: [PATCH 3/5] Add allowedHosts --- .../init/src/main/resources/seed/source_definitions.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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 8c3a15e0399b..0bb6d8ff1376 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -90,6 +90,10 @@ icon: amplitude.svg sourceType: api releaseStage: generally_available + allowedHosts: + hosts: + - analytics.eu.amplitude.com + - amplitude.com - name: Apify Dataset sourceDefinitionId: 47f17145-fe20-4ef5-a548-e29b048adf84 dockerRepository: airbyte/source-apify-dataset From 9f81f0451175c937d004c7e5320e1238d749e488 Mon Sep 17 00:00:00 2001 From: Arsen Losenko Date: Thu, 2 Mar 2023 08:27:43 +0200 Subject: [PATCH 4/5] Update Dockerfile --- airbyte-integrations/connectors/source-amplitude/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-amplitude/Dockerfile b/airbyte-integrations/connectors/source-amplitude/Dockerfile index 7bca8de33e38..eee804329878 100644 --- a/airbyte-integrations/connectors/source-amplitude/Dockerfile +++ b/airbyte-integrations/connectors/source-amplitude/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.22 +LABEL io.airbyte.version=0.1.23 LABEL io.airbyte.name=airbyte/source-amplitude From 258fa7e1aa8202a43ca7e308dd9ad6e958e05cdf Mon Sep 17 00:00:00 2001 From: Octavia Squidington III Date: Thu, 2 Mar 2023 10:08:33 +0000 Subject: [PATCH 5/5] auto-bump connector version --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 3 ++- connectors.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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 904442fffe88..d5a72efa4e61 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -91,7 +91,7 @@ - name: Amplitude sourceDefinitionId: fa9f58c6-2d03-4237-aaa4-07d75e0c1396 dockerRepository: airbyte/source-amplitude - dockerImageTag: 0.1.22 + dockerImageTag: 0.1.23 documentationUrl: https://docs.airbyte.com/integrations/sources/amplitude icon: amplitude.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 83cfdf690884..34c292143d96 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -1273,7 +1273,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-amplitude:0.1.22" +- dockerImage: "airbyte/source-amplitude:0.1.23" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/amplitude" connectionSpecification: @@ -1314,6 +1314,7 @@ \ data before this date will not be replicated." examples: - "2021-01-25T00:00:00Z" + format: "date-time" supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] diff --git a/connectors.md b/connectors.md index 471202af94ad..14faf935bb0f 100644 --- a/connectors.md +++ b/connectors.md @@ -14,7 +14,7 @@ | **Amazon Ads** | Amazon Ads icon | Source | airbyte/source-amazon-ads:1.0.0 | generally_available | [link](https://docs.airbyte.com/integrations/sources/amazon-ads) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-amazon-ads) | `c6b0a29e-1da9-4512-9002-7bfd0cba2246` | | **Amazon SQS** | Amazon SQS icon | Source | airbyte/source-amazon-sqs:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/amazon-sqs) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-amazon-sqs) | `983fd355-6bf3-4709-91b5-37afa391eeb6` | | **Amazon Seller Partner** | Amazon Seller Partner icon | Source | airbyte/source-amazon-seller-partner:0.2.32 | alpha | [link](https://docs.airbyte.com/integrations/sources/amazon-seller-partner) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-amazon-seller-partner) | `e55879a8-0ef8-4557-abcf-ab34c53ec460` | -| **Amplitude** | Amplitude icon | Source | airbyte/source-amplitude:0.1.22 | generally_available | [link](https://docs.airbyte.com/integrations/sources/amplitude) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-amplitude) | `fa9f58c6-2d03-4237-aaa4-07d75e0c1396` | +| **Amplitude** | Amplitude icon | Source | airbyte/source-amplitude:0.1.23 | generally_available | [link](https://docs.airbyte.com/integrations/sources/amplitude) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-amplitude) | `fa9f58c6-2d03-4237-aaa4-07d75e0c1396` | | **Apify Dataset** | Apify Dataset icon | Source | airbyte/source-apify-dataset:0.1.11 | alpha | [link](https://docs.airbyte.com/integrations/sources/apify-dataset) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-apify-dataset) | `47f17145-fe20-4ef5-a548-e29b048adf84` | | **Appfollow** | Appfollow icon | Source | airbyte/source-appfollow:0.1.1 | alpha | [link](https://docs.airbyte.com/integrations/sources/appfollow) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-appfollow) | `b4375641-e270-41d3-9c20-4f9cecad87a8` | | **AppsFlyer** | AppsFlyer icon | Source | airbyte/source-appsflyer:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/appsflyer) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-appsflyer) | `16447954-e6a8-4593-b140-43dea13bc457` |