From c756a9a65f35c95bb7fc7792e270113e3d8f4834 Mon Sep 17 00:00:00 2001 From: Arsen Losenko <20901439+arsenlosenko@users.noreply.github.com> Date: Mon, 20 Mar 2023 16:20:24 +0200 Subject: [PATCH] Source Google Search Console: Mark datefields in spec as dates (#22984) * Source Google Search Console: Mark datefields in spec as dates * Update changelog * auto-bump connector version --------- Co-authored-by: Octavia Squidington III --- .../init/src/main/resources/seed/source_definitions.yaml | 2 +- .../init/src/main/resources/seed/source_specs.yaml | 4 +++- .../connectors/source-google-search-console/Dockerfile | 2 +- .../source_google_search_console/spec.json | 6 ++++-- connectors.md | 2 +- docs/integrations/sources/google-search-console.md | 3 ++- 6 files changed, 12 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 a653aa624771..4f3d08f137b4 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -802,7 +802,7 @@ - name: Google Search Console sourceDefinitionId: eb4c9e00-db83-4d63-a386-39cfa91012a8 dockerRepository: airbyte/source-google-search-console - dockerImageTag: 0.1.20 + dockerImageTag: 0.1.21 documentationUrl: https://docs.airbyte.com/integrations/sources/google-search-console icon: googlesearchconsole.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 7e975ace8d0e..34ff39a10676 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -6091,7 +6091,7 @@ supportsNormalization: false supportsDBT: false supported_destination_sync_modes: [] -- dockerImage: "airbyte/source-google-search-console:0.1.20" +- dockerImage: "airbyte/source-google-search-console:0.1.21" spec: documentationUrl: "https://docs.airbyte.com/integrations/sources/google-search-console" connectionSpecification: @@ -6124,6 +6124,7 @@ - "2021-01-01" pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" order: 1 + format: "date" end_date: type: "string" title: "End Date" @@ -6133,6 +6134,7 @@ - "2021-12-12" pattern: "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$" order: 2 + format: "date" authorization: type: "object" title: "Authentication Type" diff --git a/airbyte-integrations/connectors/source-google-search-console/Dockerfile b/airbyte-integrations/connectors/source-google-search-console/Dockerfile index ac15a7415c60..61e8f3fc4511 100755 --- a/airbyte-integrations/connectors/source-google-search-console/Dockerfile +++ b/airbyte-integrations/connectors/source-google-search-console/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.20 +LABEL io.airbyte.version=0.1.21 LABEL io.airbyte.name=airbyte/source-google-search-console diff --git a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json index 7d7266ab77a9..764800553b7d 100755 --- a/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json +++ b/airbyte-integrations/connectors/source-google-search-console/source_google_search_console/spec.json @@ -22,7 +22,8 @@ "description": "UTC date in the format 2017-01-25. Any data before this date will not be replicated.", "examples": ["2021-01-01"], "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$", - "order": 1 + "order": 1, + "format": "date" }, "end_date": { "type": "string", @@ -30,7 +31,8 @@ "description": "UTC date in the format 2017-01-25. Any data after this date will not be replicated. Must be greater or equal to the start date field.", "examples": ["2021-12-12"], "pattern": "^$|^[0-9]{4}-[0-9]{2}-[0-9]{2}$", - "order": 2 + "order": 2, + "format": "date" }, "authorization": { "type": "object", diff --git a/connectors.md b/connectors.md index af357f0ad95c..5ba491a11522 100644 --- a/connectors.md +++ b/connectors.md @@ -92,7 +92,7 @@ | **Google Analytics 4 (GA4)** | Google Analytics 4 (GA4) icon | Source | airbyte/source-google-analytics-data-api:0.1.3 | beta | [link](https://docs.airbyte.com/integrations/sources/google-analytics-data-api) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-analytics-data-api) | `3cc2eafd-84aa-4dca-93af-322d9dfeec1a` | | **Google Directory** | Google Directory icon | Source | airbyte/source-google-directory:0.1.9 | alpha | [link](https://docs.airbyte.com/integrations/sources/google-directory) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-directory) | `d19ae824-e289-4b14-995a-0632eb46d246` | | **Google PageSpeed Insights** | Google PageSpeed Insights icon | Source | airbyte/source-google-pagespeed-insights:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/google-pagespeed-insights) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-pagespeed-insights) | `1e9086ab-ddac-4c1d-aafd-ba43ff575fe4` | -| **Google Search Console** | Google Search Console icon | Source | airbyte/source-google-search-console:0.1.20 | generally_available | [link](https://docs.airbyte.com/integrations/sources/google-search-console) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-search-console) | `eb4c9e00-db83-4d63-a386-39cfa91012a8` | +| **Google Search Console** | Google Search Console icon | Source | airbyte/source-google-search-console:0.1.21 | generally_available | [link](https://docs.airbyte.com/integrations/sources/google-search-console) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-search-console) | `eb4c9e00-db83-4d63-a386-39cfa91012a8` | | **Google Sheets** | Google Sheets icon | Source | airbyte/source-google-sheets:0.2.37 | generally_available | [link](https://docs.airbyte.com/integrations/sources/google-sheets) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-sheets) | `71607ba1-c0ac-4799-8049-7f4b90dd50f7` | | **Google Webfonts** | Google Webfonts icon | Source | airbyte/source-google-webfonts:0.1.0 | alpha | [link](https://docs.airbyte.com/integrations/sources/google-webfonts) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-webfonts) | `a68fbcde-b465-4ab3-b2a6-b0590a875835` | | **Google Workspace Admin Reports** | Google Workspace Admin Reports icon | Source | airbyte/source-google-workspace-admin-reports:0.1.8 | alpha | [link](https://docs.airbyte.com/integrations/sources/google-workspace-admin-reports) | [code](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-google-workspace-admin-reports) | `ed9dfefa-1bbc-419d-8c5e-4d78f0ef6734` | diff --git a/docs/integrations/sources/google-search-console.md b/docs/integrations/sources/google-search-console.md index 967a67eb562b..c66ea6c38137 100644 --- a/docs/integrations/sources/google-search-console.md +++ b/docs/integrations/sources/google-search-console.md @@ -132,7 +132,8 @@ This connector attempts to back off gracefully when it hits Reports API's rate l ## Changelog | Version | Date | Pull Request | Subject | -|:---------|:-----------|:--------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------| +|:---------| :--------- |:--------------------------------------------------------------------------------------------------------------| :---------------------------------------------------------- | +| `0.1.21` | 2023-02-14 | [22984](https://github.com/airbytehq/airbyte/pull/22984) | Specified date formatting in specification | | `0.1.20` | 2023-02-02 | [22334](https://github.com/airbytehq/airbyte/pull/22334) | Turn on default HttpAvailabilityStrategy | | `0.1.19` | 2023-01-27 | [22007](https://github.com/airbytehq/airbyte/pull/22007) | Set `AvailabilityStrategy` for streams explicitly to `None` | | `0.1.18` | 2022-10-27 | [18568](https://github.com/airbytehq/airbyte/pull/18568) | Improved config validation: custom_reports.dimension |