From f6a6e3aaf9897fe2dbf54d4627a7ca31f2a9f6d9 Mon Sep 17 00:00:00 2001 From: Ronald FORTMANN Jr Date: Wed, 2 Feb 2022 11:12:57 +0100 Subject: [PATCH 1/8] =?UTF-8?q?=F0=9F=8D=B1=20=20schema=20names=20have=20b?= =?UTF-8?q?een=20changed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source_pinterest/schemas/ad_account_analytics.json | 7 +++++-- .../source_pinterest/schemas/ad_analytics.json | 7 +++++-- .../source_pinterest/schemas/ad_group_analytics.json | 7 +++++-- .../source_pinterest/schemas/campaign_analytics.json | 7 +++++-- 4 files changed, 20 insertions(+), 8 deletions(-) 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..bcc69ce3f34ff 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file 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..5a0bdf03cb4cb 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file 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..8a8b34ab68ab6 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": ["null", "string"] + }, + "AD_ID": { "type": ["null", "string"] }, "AD_GROUP_ENTITY_STATUS": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file 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..e2eb7de8f93fb 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file From 8516e5592ebd1d3fe296cb43f804f390f40c5ad1 Mon Sep 17 00:00:00 2001 From: Ronald FORTMANN Jr Date: Wed, 2 Feb 2022 14:03:37 +0100 Subject: [PATCH 2/8] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=20testing=20a=20st?= =?UTF-8?q?ring=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source_pinterest/schemas/ad_accounts.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json index 0551c7f6eb6c6..3c9dd8f524e3e 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json @@ -3,7 +3,7 @@ "type": "object", "properties": { "id": { - "type": ["null", "string"] + "type": ["string"] }, "name": { "type": ["null", "string"] @@ -23,4 +23,4 @@ "type": ["null", "string"] } } -} +} \ No newline at end of file From 48900afc3f53055fd6a719aa29e9e4b1fc6e9fcd Mon Sep 17 00:00:00 2001 From: Ronald FORTMANN Jr Date: Wed, 2 Feb 2022 16:06:56 +0100 Subject: [PATCH 3/8] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=20Changes=20undone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source-pinterest/source_pinterest/schemas/ad_accounts.json | 2 +- .../source_pinterest/schemas/ad_group_analytics.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json index 3c9dd8f524e3e..04f957866b08f 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json @@ -3,7 +3,7 @@ "type": "object", "properties": { "id": { - "type": ["string"] + "type": ["null", "string"] }, "name": { "type": ["null", "string"] 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 8a8b34ab68ab6..6e0505b5fd7ce 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 @@ -7,7 +7,7 @@ "format": "date" }, "AD_ACCOUNT_ID": { - "type": ["null", "string"] + "type": ["string"] }, "AD_ID": { "type": ["null", "string"] From 5d332d9190250d24f1a0d3d5790f6f59264acffd Mon Sep 17 00:00:00 2001 From: Ronald FORTMANN Jr Date: Wed, 2 Feb 2022 11:12:57 +0100 Subject: [PATCH 4/8] =?UTF-8?q?=F0=9F=8D=B1=20=20schema=20names=20have=20b?= =?UTF-8?q?een=20changed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🏷️ testing a string type 🏷️ Changes undone # Last commands done (3 commands done): --- .../source_pinterest/schemas/ad_account_analytics.json | 7 +++++-- .../source_pinterest/schemas/ad_accounts.json | 2 +- .../source_pinterest/schemas/ad_analytics.json | 7 +++++-- .../source_pinterest/schemas/ad_group_analytics.json | 7 +++++-- .../source_pinterest/schemas/campaign_analytics.json | 7 +++++-- 5 files changed, 21 insertions(+), 9 deletions(-) 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..bcc69ce3f34ff 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json index 0551c7f6eb6c6..04f957866b08f 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json @@ -23,4 +23,4 @@ "type": ["null", "string"] } } -} +} \ No newline at end of file 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..5a0bdf03cb4cb 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file 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..6e0505b5fd7ce 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file 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..e2eb7de8f93fb 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": { @@ -271,4 +274,4 @@ "type": ["null", "number"] } } -} +} \ No newline at end of file From 08987dddd532be2d4dd385e3172cb588d52a38ee Mon Sep 17 00:00:00 2001 From: Ronald FORTMANN Jr Date: Wed, 9 Feb 2022 16:22:39 +0100 Subject: [PATCH 5/8] =?UTF-8?q?=F0=9F=8E=A8=20:=20Add=20new=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source_pinterest/schemas/ad_account_analytics.json | 2 +- .../source-pinterest/source_pinterest/schemas/ad_accounts.json | 2 +- .../source-pinterest/source_pinterest/schemas/ad_analytics.json | 2 +- .../source_pinterest/schemas/ad_group_analytics.json | 2 +- .../source_pinterest/schemas/campaign_analytics.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) 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 bcc69ce3f34ff..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 @@ -274,4 +274,4 @@ "type": ["null", "number"] } } -} \ No newline at end of file +} diff --git a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json index 04f957866b08f..0551c7f6eb6c6 100644 --- a/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json +++ b/airbyte-integrations/connectors/source-pinterest/source_pinterest/schemas/ad_accounts.json @@ -23,4 +23,4 @@ "type": ["null", "string"] } } -} \ No newline at end of file +} 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 5a0bdf03cb4cb..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 @@ -274,4 +274,4 @@ "type": ["null", "number"] } } -} \ No newline at end of file +} 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 6e0505b5fd7ce..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 @@ -274,4 +274,4 @@ "type": ["null", "number"] } } -} \ No newline at end of file +} 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 e2eb7de8f93fb..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 @@ -274,4 +274,4 @@ "type": ["null", "number"] } } -} \ No newline at end of file +} From c4f0f9060ea8b19f6e3a37265c6ded35bfd20e69 Mon Sep 17 00:00:00 2001 From: alafanechere Date: Thu, 24 Feb 2022 14:41:44 -0300 Subject: [PATCH 6/8] bump version to 0.1.2 --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- airbyte-integrations/connectors/source-pinterest/Dockerfile | 2 +- docs/integrations/sources/pinterest.md | 1 + 3 files changed, 3 insertions(+), 2 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 d91a8d423e9de..70843c1ba9703 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-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/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 | From 925f49d016aca9b0b266376cc88cdac785b87c5a Mon Sep 17 00:00:00 2001 From: alafanechere Date: Thu, 24 Feb 2022 14:58:22 -0300 Subject: [PATCH 7/8] add pinterest to builds.md --- airbyte-integrations/builds.md | 1 + 1 file changed, 1 insertion(+) 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) | From 6cac9d5266222371cb3589352171bd273bcfd14f Mon Sep 17 00:00:00 2001 From: alafanechere Date: Thu, 24 Feb 2022 15:31:54 -0300 Subject: [PATCH 8/8] update source specs --- airbyte-config/init/src/main/resources/seed/source_specs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 aff539123401c..07040f820d6d0 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -5843,7 +5843,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: