From fd747691bf4d4560ab78a5b91b1d6be2c2f560fa Mon Sep 17 00:00:00 2001 From: Ronald Fortmann <72810611+rfortmann-ewolff@users.noreply.github.com> Date: Thu, 24 Feb 2022 19:36:37 +0100 Subject: [PATCH] Source Pinterest: fix typo in schema fields (#10223) --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- .../init/src/main/resources/seed/source_specs.yaml | 2 +- airbyte-integrations/builds.md | 1 + airbyte-integrations/connectors/source-pinterest/Dockerfile | 2 +- .../source_pinterest/schemas/ad_account_analytics.json | 5 ++++- .../source_pinterest/schemas/ad_analytics.json | 5 ++++- .../source_pinterest/schemas/ad_group_analytics.json | 5 ++++- .../source_pinterest/schemas/campaign_analytics.json | 5 ++++- docs/integrations/sources/pinterest.md | 1 + 9 files changed, 21 insertions(+), 7 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 a562713a5e185..6625eb4837081 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -564,7 +564,7 @@ - name: Pinterest sourceDefinitionId: 5cb7e5fe-38c2-11ec-8d3d-0242ac130003 dockerRepository: airbyte/source-pinterest - dockerImageTag: 0.1.1 + dockerImageTag: 0.1.2 documentationUrl: https://docs.airbyte.io/integrations/sources/pinterest icon: pinterest.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 5a9bfca42d7bd..e39eb90d64f07 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -5976,7 +5976,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-pinterest:0.1.1" +- dockerImage: "airbyte/source-pinterest:0.1.2" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/pinterest" connectionSpecification: diff --git a/airbyte-integrations/builds.md b/airbyte-integrations/builds.md index 719f1eee0cf48..8bde13be03d51 100644 --- a/airbyte-integrations/builds.md +++ b/airbyte-integrations/builds.md @@ -72,6 +72,7 @@ | Paypal Transaction | [![paypal-transaction](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-paypal-transaction%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-paypal-transaction) | | Paystack | [![source-paystack](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-paystack%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-paystack) | | PersistIq | [![source-persistiq](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-persistiq%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-persistiq/) | +| Pinterest | [![source-pinterest](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-pinterest%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-pinterest) | | Pipedrive | [![source-pipedrive](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-pipedrive%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-pipedrive) | | Plaid | [![source-plaid](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-plaid%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-plaid) | | Postgres | [![source-postgres](https://img.shields.io/endpoint?url=https%3A%2F%2Fdnsgjos7lj2fu.cloudfront.net%2Ftests%2Fsummary%2Fsource-postgres%2Fbadge.json)](https://dnsgjos7lj2fu.cloudfront.net/tests/summary/source-postgres) | diff --git a/airbyte-integrations/connectors/source-pinterest/Dockerfile b/airbyte-integrations/connectors/source-pinterest/Dockerfile index 4734e3d3596c1..78e07b1d03370 100644 --- a/airbyte-integrations/connectors/source-pinterest/Dockerfile +++ b/airbyte-integrations/connectors/source-pinterest/Dockerfile @@ -34,5 +34,5 @@ COPY source_pinterest ./source_pinterest ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"] -LABEL io.airbyte.version=0.1.1 +LABEL io.airbyte.version=0.1.2 LABEL io.airbyte.name=airbyte/source-pinterest diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_account_analytics.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_account_analytics.json index 5c1420c6e8276..12ede7b5c54ce 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_account_analytics.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_account_analytics.json @@ -6,7 +6,10 @@ "type": ["null", "string"], "format": "date" }, - "AD_ACCOUNT_IDAD_ID": { + "AD_ACCOUNT_ID": { + "type": ["null", "string"] + }, + "AD_ID": { "type": ["null", "string"] }, "AD_GROUP_ENTITY_STATUS": { diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_analytics.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_analytics.json index 4433798e0da47..bcd32affea493 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_analytics.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_analytics.json @@ -6,7 +6,10 @@ "type": ["null", "string"], "format": "date" }, - "AD_ACCOUNT_IDAD_ID": { + "AD_ACCOUNT_ID": { + "type": ["null", "string"] + }, + "AD_ID": { "type": ["null", "string"] }, "AD_GROUP_ENTITY_STATUS": { diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_group_analytics.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_group_analytics.json index 353d799283bd1..25cb790dfa3b5 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_group_analytics.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_group_analytics.json @@ -6,7 +6,10 @@ "type": ["null", "string"], "format": "date" }, - "AD_ACCOUNT_IDAD_ID": { + "AD_ACCOUNT_ID": { + "type": ["string"] + }, + "AD_ID": { "type": ["null", "string"] }, "AD_GROUP_ENTITY_STATUS": { diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/campaign_analytics.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/campaign_analytics.json index 998f8faeade58..fd4f484819210 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/campaign_analytics.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/campaign_analytics.json @@ -6,7 +6,10 @@ "type": ["null", "string"], "format": "date" }, - "AD_ACCOUNT_IDAD_ID": { + "AD_ACCOUNT_ID": { + "type": ["null", "string"] + }, + "AD_ID": { "type": ["null", "string"] }, "AD_GROUP_ENTITY_STATUS": { diff --git a/docs/integrations/sources/pinterest.md b/docs/integrations/sources/pinterest.md index e2900a4dc2643..dc79ef66c3b82 100644 --- a/docs/integrations/sources/pinterest.md +++ b/docs/integrations/sources/pinterest.md @@ -64,6 +64,7 @@ Please read [How to get your credentials](https://developers.pinterest.com/docs/ | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.2 | 2021-12-22 | [10223](https://github.com/airbytehq/airbyte/pull/10223) | Fix naming of `AD_ID` and `AD_ACCOUNT_ID` fields | | 0.1.1 | 2021-12-22 | [9043](https://github.com/airbytehq/airbyte/pull/9043) | Update connector fields title/description | | 0.1.0 | 2021-10-29 | [7493](https://github.com/airbytehq/airbyte/pull/7493) | Release Pinterest CDK Connector |