From df4b4d645758a15ea942cd47521c8f6a8e00a6d1 Mon Sep 17 00:00:00 2001 From: ycherniaiev <94798230+ycherniaiev@users.noreply.github.com> Date: Wed, 19 Jan 2022 14:11:30 +0200 Subject: [PATCH] Update fields in source-connectors specifications: google-analytics-v4 (#9165) Signed-off-by: Sergey Chvalyuk Co-authored-by: Sergey Chvalyuk --- .../eff3616a-f9c3-11eb-9a03-0242ac130003.json | 2 +- .../main/resources/seed/source_definitions.yaml | 2 +- .../src/main/resources/seed/source_specs.yaml | 17 +++++++++-------- .../source-google-analytics-v4/Dockerfile | 2 +- .../source_google_analytics_v4/spec.json | 11 ++++++----- .../integrations/sources/google-analytics-v4.md | 1 + 6 files changed, 19 insertions(+), 16 deletions(-) diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/eff3616a-f9c3-11eb-9a03-0242ac130003.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/eff3616a-f9c3-11eb-9a03-0242ac130003.json index ae410771e25ae..cfa492ef70a79 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/eff3616a-f9c3-11eb-9a03-0242ac130003.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/eff3616a-f9c3-11eb-9a03-0242ac130003.json @@ -2,7 +2,7 @@ "sourceDefinitionId": "eff3616a-f9c3-11eb-9a03-0242ac130003", "name": "Google Analytics v4", "dockerRepository": "airbyte/source-google-analytics-v4", - "dockerImageTag": "0.1.13", + "dockerImageTag": "0.1.15", "documentationUrl": "https://docs.airbyte.io/integrations/sources/google-analytics-v4", "icon": "google-analytics.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 17c997cb072fb..1f82f0b7a6f01 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -245,7 +245,7 @@ - name: Google Analytics sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003 dockerRepository: airbyte/source-google-analytics-v4 - dockerImageTag: 0.1.14 + dockerImageTag: 0.1.15 documentationUrl: https://docs.airbyte.io/integrations/sources/google-analytics-v4 icon: google-analytics.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 ea4564ac06a62..34f1f168c55b5 100644 --- a/airbyte-config/init/src/main/resources/seed/source_specs.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_specs.yaml @@ -2283,7 +2283,7 @@ oauthFlowOutputParameters: - - "access_token" - - "refresh_token" -- dockerImage: "airbyte/source-google-analytics-v4:0.1.14" +- dockerImage: "airbyte/source-google-analytics-v4:0.1.15" spec: documentationUrl: "https://docs.airbyte.io/integrations/sources/google-analytics-v4" connectionSpecification: @@ -2306,7 +2306,8 @@ order: 1 type: "string" title: "Start Date" - description: "A date in the format YYYY-MM-DD." + description: "The date in the format YYYY-MM-DD. Any data before this date\ + \ will not be replicated." examples: - "2020-06-01" custom_reports: @@ -2338,24 +2339,23 @@ client_id: title: "Client ID" type: "string" - description: "The Client ID of your developer application" + description: "The Client ID of your Google Analytics developer application." airbyte_secret: true client_secret: title: "Client Secret" type: "string" - description: "The client secret of your developer application" + description: "The Client Secret of your Google Analytics developer\ + \ application." airbyte_secret: true refresh_token: title: "Refresh Token" type: "string" - description: "A refresh token generated using the above client ID\ - \ and secret" + description: "The token for obtaining a new access token." airbyte_secret: true access_token: title: "Access Token" type: "string" - description: "A access token generated using the above client ID,\ - \ secret and refresh_token" + description: "Access Token for making authenticated requests." airbyte_secret: true - type: "object" title: "Service Account Key Authentication" @@ -2370,6 +2370,7 @@ default: "Service" order: 0 credentials_json: + title: "JSON credentials" type: "string" description: "The JSON key of the service account to use for authorization" examples: diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile b/airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile index f98cdc1908797..d1215de0e6410 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile +++ b/airbyte-integrations/connectors/source-google-analytics-v4/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.14 +LABEL io.airbyte.version=0.1.15 LABEL io.airbyte.name=airbyte/source-google-analytics-v4 diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/spec.json b/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/spec.json index 411f4dc74a830..2aeb998bc2ad8 100644 --- a/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/spec.json +++ b/airbyte-integrations/connectors/source-google-analytics-v4/source_google_analytics_v4/spec.json @@ -17,7 +17,7 @@ "order": 1, "type": "string", "title": "Start Date", - "description": "A date in the format YYYY-MM-DD.", + "description": "The date in the format YYYY-MM-DD. Any data before this date will not be replicated.", "examples": ["2020-06-01"] }, "custom_reports": { @@ -46,25 +46,25 @@ "client_id": { "title": "Client ID", "type": "string", - "description": "The Client ID of your developer application", + "description": "The Client ID of your Google Analytics developer application.", "airbyte_secret": true }, "client_secret": { "title": "Client Secret", "type": "string", - "description": "The client secret of your developer application", + "description": "The Client Secret of your Google Analytics developer application.", "airbyte_secret": true }, "refresh_token": { "title": "Refresh Token", "type": "string", - "description": "A refresh token generated using the above client ID and secret", + "description": "The token for obtaining a new access token.", "airbyte_secret": true }, "access_token": { "title": "Access Token", "type": "string", - "description": "A access token generated using the above client ID, secret and refresh_token", + "description": "Access Token for making authenticated requests.", "airbyte_secret": true } } @@ -82,6 +82,7 @@ "order": 0 }, "credentials_json": { + "title": "JSON credentials", "type": "string", "description": "The JSON key of the service account to use for authorization", "examples": [ diff --git a/docs/integrations/sources/google-analytics-v4.md b/docs/integrations/sources/google-analytics-v4.md index a68f12dc2f6c9..60d14991a4094 100644 --- a/docs/integrations/sources/google-analytics-v4.md +++ b/docs/integrations/sources/google-analytics-v4.md @@ -132,6 +132,7 @@ The Google Analytics connector should not run into Google Analytics API limitati | Version | Date | Pull Request | Subject | | :--- | :--- | :--- | :--- | +| 0.1.15 | 2021-12-28 | [9165](https://github.com/airbytehq/airbyte/pull/9165) | Update titles and descriptions | | 0.1.14 | 2021-12-09 | [8656](https://github.com/airbytehq/airbyte/pull/8656) | Fix date-format in schemas | | 0.1.13 | 2021-12-09 | [8676](https://github.com/airbytehq/airbyte/pull/8676) | Fix `window_in_days` validation issue | | 0.1.12 | 2021-12-03 | [8175](https://github.com/airbytehq/airbyte/pull/8175) | Fix validation of unknown metric(s) or dimension(s) error |