Skip to content

Commit

Permalink
Source PayPal Transaction: Mark datefields in spec as dates (airbyteh…
Browse files Browse the repository at this point in the history
…q#22916)

* Source PayPal Transaction: Mark datefields in spec as dates

* Update changelog

* Update Dockerfile

* Update regex pattern

* Update config examples, and skip comparison with previous version

* Update pattern regex to match both datetime from datepicker and datetime with offset

* Remove previous changes in config examples

* Update examples in spec

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
  • Loading branch information
2 people authored and marcosmarxm committed Jun 8, 2023
1 parent 2a2c9b1 commit 89b2236
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20376,7 +20376,7 @@
"sourceDefinitionId": "d913b0f2-cc51-4e55-a44c-8ba1697b9239",
"name": "Paypal Transaction",
"dockerRepository": "airbyte/source-paypal-transaction",
"dockerImageTag": "0.1.12",
"dockerImageTag": "0.1.13",
"documentationUrl": "https://docs.airbyte.com/integrations/sources/paypal-transaction",
"icon": "paypal.svg",
"sourceType": "api",
Expand Down Expand Up @@ -20411,8 +20411,9 @@
"type": "string",
"title": "Start Date",
"description": "Start Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. Date must be in range from 3 years till 12 hrs before present time.",
"examples": [ "2021-06-11T23:59:59-00:00" ],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}$"
"examples": [ "2021-06-11T23:59:59", "2021-06-11T23:59:59+00:00" ],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(|Z|[+-][0-9]{2}:[0-9]{2})$",
"format": "date-time"
},
"is_sandbox": {
"title": "Sandbox",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@
- name: Paypal Transaction
sourceDefinitionId: d913b0f2-cc51-4e55-a44c-8ba1697b9239
dockerRepository: airbyte/source-paypal-transaction
dockerImageTag: 0.1.12
dockerImageTag: 0.1.13
documentationUrl: https://docs.airbyte.com/integrations/sources/paypal-transaction
icon: paypal.svg
sourceType: api
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11465,7 +11465,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-paypal-transaction:0.1.12"
- dockerImage: "airbyte/source-paypal-transaction:0.1.13"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/sources/paypal-transactions"
connectionSpecification:
Expand Down Expand Up @@ -11499,8 +11499,10 @@
>ISO format</a>. Date must be in range from 3 years till 12 hrs before\
\ present time."
examples:
- "2021-06-11T23:59:59-00:00"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}$"
- "2021-06-11T23:59:59"
- "2021-06-11T23:59:59+00:00"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(|Z|[+-][0-9]{2}:[0-9]{2})$"
format: "date-time"
is_sandbox:
title: "Sandbox"
description: "Determines whether to use the sandbox or production environment."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.12
LABEL io.airbyte.version=0.1.13
LABEL io.airbyte.name=airbyte/source-paypal-transaction
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@
"type": "string",
"title": "Start Date",
"description": "Start Date for data extraction in <a href=\"https://datatracker.ietf.org/doc/html/rfc3339#section-5.6\">ISO format</a>. Date must be in range from 3 years till 12 hrs before present time.",
"examples": ["2021-06-11T23:59:59-00:00"],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}$"
"examples": ["2021-06-11T23:59:59", "2021-06-11T23:59:59+00:00"],
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(|Z|[+-][0-9]{2}:[0-9]{2})$",
"format": "date-time"
},
"is_sandbox": {
"title": "Sandbox",
Expand Down
2 changes: 1 addition & 1 deletion connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
| **PagerDuty** | <img alt="PagerDuty icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/pagerduty.svg" height="30" height="30"/> | Source | farosai/airbyte-pagerduty-source:0.1.23 | alpha | [docs](https://docs.airbyte.com/integrations/sources/pagerduty) | [connectors/destination/airbyte-pagerduty-source](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/destination/airbyte-pagerduty-source) | [airbyte-pagerduty-source](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/airbyte-pagerduty-source) | <small>`2817b3f0-04e4-4c7a-9f32-7a5e8a83db95`</small> |
| **Pardot** | <img alt="Pardot icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/salesforcepardot.svg" height="30" height="30"/> | Source | airbyte/source-pardot:0.1.1 | alpha | [docs](https://docs.airbyte.com/integrations/sources/pardot) | [connectors/source/pardot](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/pardot) | [source-pardot](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-pardot) | <small>`ad15c7ba-72a7-440b-af15-b9a963dc1a8a`</small> |
| **PartnerStack** | <img alt="PartnerStack icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/partnerstack.svg" height="30" height="30"/> | Source | airbyte/source-partnerstack:0.1.0 | alpha | [docs](https://docs.airbyte.com/integrations/sources/partnerstack) | [connectors/source/partnerstack](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/partnerstack) | [source-partnerstack](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-partnerstack) | <small>`d30fb809-6456-484d-8e2c-ee12e0f6888d`</small> |
| **Paypal Transaction** | <img alt="Paypal Transaction icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/paypal.svg" height="30" height="30"/> | Source | airbyte/source-paypal-transaction:0.1.12 | generally_available | [docs](https://docs.airbyte.com/integrations/sources/paypal-transaction) | [connectors/source/paypal-transaction](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/paypal-transaction) | [source-paypal-transaction](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-paypal-transaction) | <small>`d913b0f2-cc51-4e55-a44c-8ba1697b9239`</small> |
| **Paypal Transaction** | <img alt="Paypal Transaction icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/paypal.svg" height="30" height="30"/> | Source | airbyte/source-paypal-transaction:0.1.13 | generally_available | [docs](https://docs.airbyte.com/integrations/sources/paypal-transaction) | [connectors/source/paypal-transaction](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/paypal-transaction) | [source-paypal-transaction](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-paypal-transaction) | <small>`d913b0f2-cc51-4e55-a44c-8ba1697b9239`</small> |
| **Paystack** | <img alt="Paystack icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/paystack.svg" height="30" height="30"/> | Source | airbyte/source-paystack:0.1.3 | beta | [docs](https://docs.airbyte.com/integrations/sources/paystack) | [connectors/source/paystack](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/paystack) | [source-paystack](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-paystack) | <small>`193bdcb8-1dd9-48d1-aade-91cadfd74f9b`</small> |
| **Pendo** | <img alt="Pendo icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/pendo.svg" height="30" height="30"/> | Source | airbyte/source-pendo:0.1.0 | alpha | [docs](https://docs.airbyte.com/integrations/sources/pendo) | [connectors/source/pendo](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/pendo) | [source-pendo](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-pendo) | <small>`b1ccb590-e84f-46c0-83a0-2048ccfffdae`</small> |
| **PersistIq** | <img alt="PersistIq icon" src="https://raw.githubusercontent.com/airbytehq/airbyte /master/airbyte-config-oss/init-oss/src/main/resources/icons/persistiq.svg" height="30" height="30"/> | Source | airbyte/source-persistiq:0.1.0 | alpha | [docs](https://docs.airbyte.com/integrations/sources/persistiq) | [connectors/source/persistiq](https://github.com/airbytehq/airbyte/issues?q=is:open+is:issue+label:connectors/source/persistiq) | [source-persistiq](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-persistiq) | <small>`3052c77e-8b91-47e2-97a0-a29a22794b4b`</small> |
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/paypal-transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Transactions sync is performed with default `stream_slice_period` = 1 day, it me

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------|
| 0.1.13 | 2023-02-20 | [22916](https://github.com/airbytehq/airbyte/pull/22916) | Specified date formatting in specification |
| 0.1.12 | 2023-02-18 | [23211](https://github.com/airbytehq/airbyte/pull/23211) | Fix error handler |
| 0.1.11 | 2023-01-27 | [22019](https://github.com/airbytehq/airbyte/pull/22019) | Set `AvailabilityStrategy` for streams explicitly to `None` |
| 0.1.10 | 2022-09-04 | [17554](https://github.com/airbytehq/airbyte/pull/17554) | Made the spec and source config to be consistent |
Expand Down

0 comments on commit 89b2236

Please sign in to comment.