Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fields in source-connectors specifications: linkedin-ads #8984

Merged
merged 5 commits into from
Dec 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sourceDefinitionId": "137ece28-5434-455c-8f34-69dc3782f451",
"name": "LinkedIn Ads",
"dockerRepository": "airbyte/source-linkedin-ads",
"dockerImageTag": "0.1.2",
"dockerImageTag": "0.1.5",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/linkedin-ads",
"icon": "linkedin.svg"
}
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
- name: LinkedIn Ads
sourceDefinitionId: 137ece28-5434-455c-8f34-69dc3782f451
dockerRepository: airbyte/source-linkedin-ads
dockerImageTag: 0.1.4
dockerImageTag: 0.1.5
documentationUrl: https://docs.airbyte.io/integrations/sources/linkedin-ads
icon: linkedin.svg
sourceType: api
Expand Down
24 changes: 14 additions & 10 deletions airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3520,7 +3520,7 @@
- - "client_secret"
- - "refresh_token"
oauthFlowOutputParameters: []
- dockerImage: "airbyte/source-linkedin-ads:0.1.4"
- dockerImage: "airbyte/source-linkedin-ads:0.1.5"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/linkedin-ads"
connectionSpecification:
Expand All @@ -3535,15 +3535,16 @@
type: "string"
title: "Start Date"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
description: "Date in the format 2020-09-17. Any data before this date will\
\ not be replicated."
description: "UTC date in the format 2020-09-17. Any data before this date\
\ will not be replicated."
examples:
- "2021-05-17"
account_ids:
title: "Account IDs"
type: "array"
description: "Specify the Account IDs separated by space, from which to\
\ pull the data. Leave empty to pull from all associated accounts."
description: "Specify the Account IDs separated by space, to pull the data\
\ from. Leave empty, if you want to pull the data from all associated\
\ accounts."
items:
type: "integer"
default: []
Expand All @@ -3552,7 +3553,7 @@
type: "object"
oneOf:
- type: "object"
title: "oAuth2.0"
title: "OAuth2.0"
required:
- "client_id"
- "client_secret"
Expand All @@ -3563,15 +3564,18 @@
const: "oAuth2.0"
client_id:
type: "string"
description: "The API ID of the Gitlab developer application."
title: "Client ID"
description: "The Client ID of the LinkedIn Ads developer application."
airbyte_secret: true
client_secret:
type: "string"
description: "The API Secret the Gitlab developer application."
title: "Client Secret"
description: "The Client Secret the LinkedIn Ads developer application."
airbyte_secret: true
refresh_token:
type: "string"
description: "The key to refresh the expired access_token."
title: "Refresh Token"
description: "The key to refresh the expired Access Token."
airbyte_secret: true
- title: "Access Token"
type: "object"
Expand All @@ -3584,7 +3588,7 @@
access_token:
type: "string"
title: "Access Token"
description: "The token value ganerated using Auth Code"
description: "The token value generated using Authentication Code."
airbyte_secret: true
supportsNormalization: false
supportsDBT: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ COPY source_linkedin_ads ./source_linkedin_ads
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.4
LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.name=airbyte/source-linkedin-ads
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"type": "string",
"title": "Start Date",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"description": "Date in the format 2020-09-17. Any data before this date will not be replicated.",
"description": "UTC date in the format 2020-09-17. Any data before this date will not be replicated.",
"examples": ["2021-05-17"]
},
"account_ids": {
"title": "Account IDs",
"type": "array",
"description": "Specify the Account IDs separated by space, from which to pull the data. Leave empty to pull from all associated accounts.",
"description": "Specify the Account IDs separated by space, to pull the data from. Leave empty, if you want to pull the data from all associated accounts.",
"items": {
"type": "integer"
},
Expand All @@ -29,7 +29,7 @@
"oneOf": [
{
"type": "object",
"title": "oAuth2.0",
"title": "OAuth2.0",
"required": ["client_id", "client_secret", "refresh_token"],
"properties": {
"auth_method": {
Expand All @@ -38,17 +38,20 @@
},
"client_id": {
"type": "string",
"description": "The API ID of the Gitlab developer application.",
"title": "Client ID",
"description": "The Client ID of the LinkedIn Ads developer application.",
"airbyte_secret": true
},
"client_secret": {
"type": "string",
"description": "The API Secret the Gitlab developer application.",
"title": "Client Secret",
"description": "The Client Secret the LinkedIn Ads developer application.",
"airbyte_secret": true
},
"refresh_token": {
"type": "string",
"description": "The key to refresh the expired access_token.",
"title": "Refresh Token",
"description": "The key to refresh the expired Access Token.",
"airbyte_secret": true
}
}
Expand All @@ -65,7 +68,7 @@
"access_token": {
"type": "string",
"title": "Access Token",
"description": "The token value ganerated using Auth Code",
"description": "The token value generated using Authentication Code.",
"airbyte_secret": true
}
}
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/sources/linkedin-ads.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ The source LinkedIn supports the oAuth2 protocol. Everyone can use it directly v

| Version | Date | Pull Request | Subject |
| :------ | :--------- | :----------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------- |
| 0.1.5 | 2021-12-21 | [8984](https://github.com/airbytehq/airbyte/pull/8984) | Update connector fields title/description |
| 0.1.4 | 2021-12-02 | [8382](https://github.com/airbytehq/airbyte/pull/8382) | Modify log message in rate-limit cases |
| 0.1.3 | 2021-11-11 | [7839](https://github.com/airbytehq/airbyte/pull/7839) | Added oauth support |
| 0.1.2 | 2021-11-08 | [7499](https://github.com/airbytehq/airbyte/pull/7499) | Remove base-python dependencies |
Expand Down