Skip to content

Commit e3bc9bb

Browse files
Snowflake source: add scope for role for oauth (#15797)
* Snowflake source: add ability to support different roles during oauth * Snowflake source: add ability to support different roles during oauth * Snowflake source: handle case with empty role fields * Snowflake source: added host to spec seeds * Snowflake source: bump version * Snowflake source: update change log * auto-bump connector version [ci skip] Co-authored-by: Octavia Squidington III <[email protected]>
1 parent 469a4fc commit e3bc9bb

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@
948948
- name: Snowflake
949949
sourceDefinitionId: e2d65910-8c8b-40a1-ae7d-ee2416b2bfa2
950950
dockerRepository: airbyte/source-snowflake
951-
dockerImageTag: 0.1.18
951+
dockerImageTag: 0.1.19
952952
documentationUrl: https://docs.airbyte.io/integrations/sources/snowflake
953953
icon: snowflake.svg
954954
sourceType: database

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9319,7 +9319,7 @@
93199319
- - "client_secret"
93209320
oauthFlowOutputParameters:
93219321
- - "refresh_token"
9322-
- dockerImage: "airbyte/source-snowflake:0.1.18"
9322+
- dockerImage: "airbyte/source-snowflake:0.1.19"
93239323
spec:
93249324
documentationUrl: "https://docs.airbyte.io/integrations/sources/snowflake"
93259325
connectionSpecification:
@@ -9462,6 +9462,10 @@
94629462
type: "string"
94639463
path_in_connector_config:
94649464
- "host"
9465+
role:
9466+
type: "string"
9467+
path_in_connector_config:
9468+
- "role"
94659469
complete_oauth_output_specification:
94669470
type: "object"
94679471
properties:

airbyte-integrations/connectors/source-snowflake/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ ENV APPLICATION source-snowflake
1616

1717
COPY --from=build /airbyte /airbyte
1818

19-
LABEL io.airbyte.version=0.1.18
19+
LABEL io.airbyte.version=0.1.19
2020
LABEL io.airbyte.name=airbyte/source-snowflake

airbyte-integrations/connectors/source-snowflake/src/main/resources/spec.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@
137137
"host": {
138138
"type": "string",
139139
"path_in_connector_config": ["host"]
140+
},
141+
"role": {
142+
"type": "string",
143+
"path_in_connector_config": ["role"]
140144
}
141145
}
142146
},

docs/integrations/sources/snowflake.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ To read more please check official [Snowflake documentation](https://docs.snowfl
122122

123123
| Version | Date | Pull Request | Subject |
124124
|:----------| :--- | :--- | :--- |
125+
| 0.1.19 | 2022-08-19 | [15797](https://github.com/airbytehq/airbyte/pull/15797) | Allow using role during oauth |
125126
| 0.1.18 | 2022-08-18 | [14356](https://github.com/airbytehq/airbyte/pull/14356) | DB Sources: only show a table can sync incrementally if at least one column can be used as a cursor field |
126127
| 0.1.17 | 2022-08-09 | [15314](https://github.com/airbytehq/airbyte/pull/15314) | Discover integer columns as integers rather than floats |
127128
| 0.1.16 | 2022-08-04 | [15314](https://github.com/airbytehq/airbyte/pull/15314) | (broken, do not use) Discover integer columns as integers rather than floats |

0 commit comments

Comments
 (0)