Skip to content

Commit ef7a834

Browse files
arsenlosenkooctavia-squidington-iii
authored andcommitted
Source Amplitude: Mark datefields in spec as dates (airbytehq#23087)
* Source Amplitude: Mark datefields in spec as dates * Update changelog * Add allowedHosts * Update Dockerfile * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent ffcb1eb commit ef7a834

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
- name: Amplitude
9292
sourceDefinitionId: fa9f58c6-2d03-4237-aaa4-07d75e0c1396
9393
dockerRepository: airbyte/source-amplitude
94-
dockerImageTag: 0.1.22
94+
dockerImageTag: 0.1.23
9595
documentationUrl: https://docs.airbyte.com/integrations/sources/amplitude
9696
icon: amplitude.svg
9797
sourceType: api

airbyte-config/init/src/main/resources/seed/source_specs.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@
12731273
supportsNormalization: false
12741274
supportsDBT: false
12751275
supported_destination_sync_modes: []
1276-
- dockerImage: "airbyte/source-amplitude:0.1.22"
1276+
- dockerImage: "airbyte/source-amplitude:0.1.23"
12771277
spec:
12781278
documentationUrl: "https://docs.airbyte.com/integrations/sources/amplitude"
12791279
connectionSpecification:
@@ -1314,6 +1314,7 @@
13141314
\ data before this date will not be replicated."
13151315
examples:
13161316
- "2021-01-25T00:00:00Z"
1317+
format: "date-time"
13171318
supportsNormalization: false
13181319
supportsDBT: false
13191320
supported_destination_sync_modes: []

airbyte-integrations/connectors/source-amplitude/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ RUN pip install .
1212
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1313
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1414

15-
LABEL io.airbyte.version=0.1.22
15+
LABEL io.airbyte.version=0.1.23
1616
LABEL io.airbyte.name=airbyte/source-amplitude

airbyte-integrations/connectors/source-amplitude/source_amplitude/spec.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"title": "Replication Start Date",
3232
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
3333
"description": "UTC date and time in the format 2021-01-25T00:00:00Z. Any data before this date will not be replicated.",
34-
"examples": ["2021-01-25T00:00:00Z"]
34+
"examples": ["2021-01-25T00:00:00Z"],
35+
"format": "date-time"
3536
}
3637
}
3738
}

connectors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| **Amazon Ads** | <img alt="Amazon Ads icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/amazonads.svg" height="30" height="30"/> | 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) | <small>`c6b0a29e-1da9-4512-9002-7bfd0cba2246`</small> |
1515
| **Amazon SQS** | <img alt="Amazon SQS icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/awssqs.svg" height="30" height="30"/> | 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) | <small>`983fd355-6bf3-4709-91b5-37afa391eeb6`</small> |
1616
| **Amazon Seller Partner** | <img alt="Amazon Seller Partner icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/amazonsellerpartner.svg" height="30" height="30"/> | 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) | <small>`e55879a8-0ef8-4557-abcf-ab34c53ec460`</small> |
17-
| **Amplitude** | <img alt="Amplitude icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/amplitude.svg" height="30" height="30"/> | 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) | <small>`fa9f58c6-2d03-4237-aaa4-07d75e0c1396`</small> |
17+
| **Amplitude** | <img alt="Amplitude icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/amplitude.svg" height="30" height="30"/> | 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) | <small>`fa9f58c6-2d03-4237-aaa4-07d75e0c1396`</small> |
1818
| **Apify Dataset** | <img alt="Apify Dataset icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/apify.svg" height="30" height="30"/> | 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) | <small>`47f17145-fe20-4ef5-a548-e29b048adf84`</small> |
1919
| **Appfollow** | <img alt="Appfollow icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/appfollow.svg" height="30" height="30"/> | 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) | <small>`b4375641-e270-41d3-9c20-4f9cecad87a8`</small> |
2020
| **AppsFlyer** | <img alt="AppsFlyer icon" src="https://raw.githubusercontent.com/airbytehq/airbyte/master/airbyte-config/init/src/main/resources/icons/appsflyer.svg" height="30" height="30"/> | 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) | <small>`16447954-e6a8-4593-b140-43dea13bc457`</small> |

docs/integrations/sources/amplitude.md

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The Amplitude connector ideally should gracefully handle Amplitude API limitatio
4343

4444
| Version | Date | Pull Request | Subject |
4545
|:--------|:-----------|:---------------------------------------------------------|:------------------------------------------------------------------------------------------------|
46+
| 0.1.23 | 2023-03-02 | [23087](https://github.com/airbytehq/airbyte/pull/23087) | Specified date formatting in specification |
4647
| 0.1.22 | 2023-02-17 | [23192](https://github.com/airbytehq/airbyte/pull/23192) | Skip the stream if `start_date` is specified in the future.
4748
| 0.1.21 | 2023-02-01 | [21888](https://github.com/airbytehq/airbyte/pull/21888) | Set `AvailabilityStrategy` for streams explicitly to `None` |
4849
| 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 commit comments

Comments
 (0)