Skip to content

Commit 3297e9e

Browse files
Source SmartSheets: enable OAuth2 (#22419)
* Source SmartSheets: enable OAuth2 * Source SmartSheets: add allowed hosts * Source SmartSheets: update docs * Source SmartSheets: fix formatting * auto-bump connector version --------- Co-authored-by: Octavia Squidington III <[email protected]>
1 parent cf157bc commit 3297e9e

File tree

5 files changed

+67
-3
lines changed

5 files changed

+67
-3
lines changed

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1658,11 +1658,15 @@
16581658
- name: Smartsheets
16591659
sourceDefinitionId: 374ebc65-6636-4ea0-925c-7d35999a8ffc
16601660
dockerRepository: airbyte/source-smartsheets
1661-
dockerImageTag: 0.1.13
1661+
dockerImageTag: 0.1.14
16621662
documentationUrl: https://docs.airbyte.com/integrations/sources/smartsheets
16631663
icon: smartsheet.svg
16641664
sourceType: api
16651665
releaseStage: beta
1666+
allowedHosts:
1667+
hosts:
1668+
- app.smartsheet.com
1669+
- api.smartsheet.com
16661670
- name: Snapchat Marketing
16671671
sourceDefinitionId: 200330b2-ea62-4d11-ac6d-cfe3e3f8ab2b
16681672
dockerRepository: airbyte/source-snapchat-marketing

airbyte-config/init/src/main/resources/seed/source_specs.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13809,7 +13809,7 @@
1380913809
supportsNormalization: false
1381013810
supportsDBT: false
1381113811
supported_destination_sync_modes: []
13812-
- dockerImage: "airbyte/source-smartsheets:0.1.13"
13812+
- dockerImage: "airbyte/source-smartsheets:0.1.14"
1381313813
spec:
1381413814
documentationUrl: "https://docs.airbyte.com/integrations/sources/smartsheets"
1381513815
connectionSpecification:
@@ -13853,6 +13853,31 @@
1385313853
supportsNormalization: false
1385413854
supportsDBT: false
1385513855
supported_destination_sync_modes: []
13856+
advanced_auth:
13857+
auth_flow_type: "oauth2.0"
13858+
predicate_key: []
13859+
predicate_value: ""
13860+
oauth_config_specification:
13861+
complete_oauth_output_specification:
13862+
type: "object"
13863+
additionalProperties: false
13864+
properties:
13865+
access_token:
13866+
type: "string"
13867+
path_in_connector_config:
13868+
- "access_token"
13869+
complete_oauth_server_input_specification:
13870+
type: "object"
13871+
additionalProperties: false
13872+
properties:
13873+
client_id:
13874+
type: "string"
13875+
client_secret:
13876+
type: "string"
13877+
complete_oauth_server_output_specification:
13878+
type: "object"
13879+
additionalProperties: false
13880+
properties: {}
1385613881
- dockerImage: "airbyte/source-snapchat-marketing:0.1.13"
1385713882
spec:
1385813883
documentationUrl: "https://docs.airbyte.com/integrations/sources/snapchat-marketing"

airbyte-integrations/connectors/source-smartsheets/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ COPY $CODE_PATH ./$CODE_PATH
1414
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
1515
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
1616

17-
LABEL io.airbyte.version=0.1.13
17+
LABEL io.airbyte.version=0.1.14
1818
LABEL io.airbyte.name=airbyte/source-smartsheets

airbyte-integrations/connectors/source-smartsheets/source_smartsheets/spec.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,39 @@
3131
"airbyte_hidden": true
3232
}
3333
}
34+
},
35+
"advanced_auth": {
36+
"auth_flow_type": "oauth2.0",
37+
"predicate_key": [],
38+
"predicate_value": "",
39+
"oauth_config_specification": {
40+
"complete_oauth_output_specification": {
41+
"type": "object",
42+
"additionalProperties": false,
43+
"properties": {
44+
"access_token": {
45+
"type": "string",
46+
"path_in_connector_config": ["access_token"]
47+
}
48+
}
49+
},
50+
"complete_oauth_server_input_specification": {
51+
"type": "object",
52+
"additionalProperties": false,
53+
"properties": {
54+
"client_id": {
55+
"type": "string"
56+
},
57+
"client_secret": {
58+
"type": "string"
59+
}
60+
}
61+
},
62+
"complete_oauth_server_output_specification": {
63+
"type": "object",
64+
"additionalProperties": false,
65+
"properties": {}
66+
}
67+
}
3468
}
3569
}

docs/integrations/sources/smartsheets.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ The remaining column datatypes supported by Smartsheets are more complex types (
8888

8989
| Version | Date | Pull Request | Subject |
9090
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------|
91+
| 0.1.14 | 2023-02-07 | [22419](https://github.com/airbytehq/airbyte/pull/22419) | OAuth2.0 support - enabled; add allowed hosts |
9192
| 0.1.13 | 2022-12-02 | [20017](https://github.com/airbytehq/airbyte/pull/20017) | OAuth2.0 support - disabled |
9293
| 0.1.12 | 2022-04-30 | [12500](https://github.com/airbytehq/airbyte/pull/12500) | Improve input configuration copy |
9394
| 0.1.11 | 2022-04-27 | [12203](https://github.com/airbytehq/airbyte/pull/12203) | Doc improvements |

0 commit comments

Comments
 (0)