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 79983472ffb4..db8769aa4321 100644 --- a/airbyte-config/init/src/main/resources/seed/source_definitions.yaml +++ b/airbyte-config/init/src/main/resources/seed/source_definitions.yaml @@ -140,7 +140,7 @@ - sourceDefinitionId: eff3616a-f9c3-11eb-9a03-0242ac130003 name: Google Analytics v4 dockerRepository: airbyte/source-google-analytics-v4 - dockerImageTag: 0.1.3 + dockerImageTag: 0.1.5 documentationUrl: https://docs.airbyte.io/integrations/sources/source-google-analytics-v4 icon: google-analytics.svg sourceType: api diff --git a/airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile b/airbyte-integrations/connectors/source-google-analytics-v4/Dockerfile index 217496b57004..e060667507cc 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.3 +LABEL io.airbyte.version=0.1.5 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 7231817271a2..b9cb21925c5d 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 @@ -22,7 +22,8 @@ }, "client_id": { "type": "string" }, "client_secret": { "type": "string", "airbyte_secret": true }, - "refresh_token": { "type": "string", "airbyte_secret": true } + "refresh_token": { "type": "string", "airbyte_secret": true }, + "access_token": { "type": "string", "airbyte_secret": true } }, "required": ["client_id", "client_secret", "refresh_token"], "additionalProperties": false @@ -75,10 +76,14 @@ "authSpecification": { "auth_type": "oauth2.0", "oauth2Specification": { + "rootObject": ["credentials", 0], "oauthFlowInitParameters": [ - ["credentials", "client_id"], - ["credentials", "client_secret"], - ["credentials", "refresh_token"] + ["client_id"], + ["client_secret"] + ], + "oauthFlowOutputParameters": [ + ["access_token"], + ["refresh_token"] ] } } diff --git a/docs/integrations/sources/google-analytics-v4.md b/docs/integrations/sources/google-analytics-v4.md index cec3487c9612..3eedd7c3ef4d 100644 --- a/docs/integrations/sources/google-analytics-v4.md +++ b/docs/integrations/sources/google-analytics-v4.md @@ -129,6 +129,7 @@ Incremental sync supports only if you add `ga:date` dimension to your custom rep | Version | Date | Pull Request | Subject | | :------ | :-------- | :----- | :------ | +| 0.1.5 | 2021-09-27 | [6459](https://github.com/airbytehq/airbyte/pull/6459) | Update OAuth Spec File | | 0.1.3 | 2021-09-21 | [6357](https://github.com/airbytehq/airbyte/pull/6357) | Fix oauth workflow parameters | | 0.1.2 | 2021-09-20 | [6306](https://github.com/airbytehq/airbyte/pull/6306) | Support of airbyte OAuth initialization flow | | 0.1.1 | 2021-08-25 | [5655](https://github.com/airbytehq/airbyte/pull/5655) | Corrected validation of empty custom report|