From 0a43fb76b6c36dbb982ddce1fcf1c9045c0ed4bd Mon Sep 17 00:00:00 2001 From: Marcos Marx Date: Mon, 8 Nov 2021 15:19:48 -0300 Subject: [PATCH] Source Stripe: remove \n from field tax_id (#7729) * correct stripe schema * bump connector version * run seed config file * run format --- .../e094cb9a-26de-4645-8761-65c0c425d1de.json | 2 +- .../src/main/resources/seed/source_definitions.yaml | 2 +- .../init/src/main/resources/seed/source_specs.yaml | 11 ++++------- .../connectors/source-stripe/Dockerfile | 2 +- .../source_stripe/schemas/payment_intents.json | 2 +- docs/integrations/sources/stripe.md | 1 + 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/e094cb9a-26de-4645-8761-65c0c425d1de.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/e094cb9a-26de-4645-8761-65c0c425d1de.json index 327a7d21a5e4..d0d0dd6c36fc 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/e094cb9a-26de-4645-8761-65c0c425d1de.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/e094cb9a-26de-4645-8761-65c0c425d1de.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "e094cb9a-26de-4645-8761-65c0c425d1de", "name": "Stripe", "dockerRepository": "airbyte/source-stripe", - "dockerImageTag": "0.1.22", + "dockerImageTag": "0.1.23", "documentationUrl": "https://docs.airbyte.io/integrations/sources/stripe", "icon": "stripe.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 640dad7be07f..378544fe00c0 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -536,7 +536,7 @@ - name: Stripe sourceDefinitionId: e094cb9a-26de-4645-8761-65c0c425d1de dockerRepository: airbyte/source-stripe - dockerImageTag: 0.1.22 + dockerImageTag: 0.1.23 documentationUrl: https://docs.airbyte.io/integrations/sources/stripe icon: stripe.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 e526ee27f5c3..6d8ef5bc0cd2 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2250,7 +2250,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-greenhouse:0.2.5" +- dockerImage: "airbyte/source-greenhouse:0.2.6" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/greenhouse" connectionSpecification: @@ -2306,7 +2306,7 @@ supportsDBT: false supported_destination_sync_modes: - "append" -- dockerImage: "airbyte/source-hubspot:0.1.22" +- dockerImage: "airbyte/source-hubspot:0.1.23" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/hubspot" connectionSpecification: @@ -2334,11 +2334,9 @@ - type: "object" title: "Authenticate via Hubspot (Oauth)" required: - - "redirect_uri" - "client_id" - "client_secret" - "refresh_token" - - "access_token" - "credentials_title" properties: credentials_title: @@ -2406,7 +2404,6 @@ oauthFlowInitParameters: - - "client_id" - - "client_secret" - - - "refresh_token" oauthFlowOutputParameters: - - "refresh_token" - dockerImage: "airbyte/source-db2:0.1.1" @@ -4521,7 +4518,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-recharge:0.1.3" +- dockerImage: "airbyte/source-recharge:0.1.4" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/recharge" connectionSpecification: @@ -5419,7 +5416,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-stripe:0.1.22" +- dockerImage: "airbyte/source-stripe:0.1.23" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/stripe" connectionSpecification: diff --git a/airbyte-integrations/connectors/source-stripe/Dockerfile b/airbyte-integrations/connectors/source-stripe/Dockerfile index c9d18d752c73..7586e2540563 100644 --- a/airbyte-integrations/connectors/source-stripe/Dockerfile +++ b/airbyte-integrations/connectors/source-stripe/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-stripe diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/payment_intents.json b/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/payment_intents.json index e05550347071..6228fbbd1a34 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/payment_intents.json +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/schemas/payment_intents.json @@ -195,7 +195,7 @@ "boleto": { "type": ["null", "object"], "properties": { - "tax_id\n": { + "tax_id": { "type": ["null", "string"] } } diff --git a/docs/integrations/sources/stripe.md b/docs/integrations/sources/stripe.md index df253799f28d..6098512c456a 100644 --- a/docs/integrations/sources/stripe.md +++ b/docs/integrations/sources/stripe.md @@ -74,6 +74,7 @@ If you would like to test Airbyte using test data on Stripe, `sk_test_` and `rk_ | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.23 | 2021-11-08 | [7729](https://github.com/airbytehq/airbyte/pull/7729) | Correct `payment_intents` schema | | 0.1.22 | 2021-11-05 | [7345](https://github.com/airbytehq/airbyte/pull/7345) | Add 3 new streams | | 0.1.21 | 2021-10-07 | [6841](https://github.com/airbytehq/airbyte/pull/6841) | Fix missing `start_date` argument + update json files for SAT | | 0.1.20 | 2021-09-30 | [6017](https://github.com/airbytehq/airbyte/pull/6017) | Add lookback\_window\_days parameter |