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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Destination snowflake: reorder auth spec options #35194

Merged
merged 2 commits into from
Feb 13, 2024
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 @@ -5,7 +5,7 @@ data:
connectorSubtype: database
connectorType: destination
definitionId: 424892c4-daac-4491-b35d-c6688ba547ba
dockerImageTag: 3.5.10
dockerImageTag: 3.5.11
dockerRepository: airbyte/destination-snowflake
documentationUrl: https://docs.airbyte.com/integrations/destinations/snowflake
githubIssueLabel: destination-snowflake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,49 +63,10 @@
"description": "",
"type": "object",
"oneOf": [
{
"title": "OAuth2.0",
"type": "object",
"order": 0,
"required": ["access_token", "refresh_token"],
"properties": {
"auth_type": {
"type": "string",
"const": "OAuth2.0",
"enum": ["OAuth2.0"],
"default": "OAuth2.0",
"order": 0
},
"client_id": {
"type": "string",
"title": "Client ID",
"description": "Enter your application's Client ID",
"airbyte_secret": true
},
"client_secret": {
"type": "string",
"title": "Client Secret",
"description": "Enter your application's Client secret",
"airbyte_secret": true
},
"access_token": {
"type": "string",
"title": "Access Token",
"description": "Enter you application's Access Token",
"airbyte_secret": true
},
"refresh_token": {
"type": "string",
"title": "Refresh Token",
"description": "Enter your application's Refresh Token",
"airbyte_secret": true
}
}
},
{
"title": "Key Pair Authentication",
"type": "object",
"order": 1,
"order": 0,
"required": ["private_key"],
"properties": {
"auth_type": {
Expand Down Expand Up @@ -134,7 +95,7 @@
"title": "Username and Password",
"type": "object",
"required": ["password"],
"order": 2,
"order": 1,
"properties": {
"auth_type": {
"type": "string",
Expand All @@ -151,6 +112,45 @@
"order": 1
}
}
},
{
"title": "OAuth2.0",
"type": "object",
"order": 2,
"required": ["access_token", "refresh_token"],
"properties": {
"auth_type": {
"type": "string",
"const": "OAuth2.0",
"enum": ["OAuth2.0"],
"default": "OAuth2.0",
"order": 0
},
"client_id": {
"type": "string",
"title": "Client ID",
"description": "Enter your application's Client ID",
"airbyte_secret": true
},
"client_secret": {
"type": "string",
"title": "Client Secret",
"description": "Enter your application's Client secret",
"airbyte_secret": true
},
"access_token": {
"type": "string",
"title": "Access Token",
"description": "Enter you application's Access Token",
"airbyte_secret": true
},
"refresh_token": {
"type": "string",
"title": "Refresh Token",
"description": "Enter your application's Refresh Token",
"airbyte_secret": true
}
}
}
],
"order": 6
Expand Down
9 changes: 5 additions & 4 deletions docs/integrations/destinations/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,11 @@ Otherwise, make sure to grant the role the required permissions in the desired n

| Version | Date | Pull Request | Subject |
|:----------------|:-----------|:-----------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 3.5.10 | 2024-02-12 | [35144](https://github.com/airbytehq/airbyte/pull/35144) | Adopt CDK 0.20.2 |
| 3.5.9 | 2024-02-12 | [35111](https://github.com/airbytehq/airbyte/pull/35111) | Adopt CDK 0.20.1 |
| 3.5.8 | 2024-02-09 | [34574](https://github.com/airbytehq/airbyte/pull/34574) | Adopt CDK 0.20.0 |
| 3.5.7 | 2024-02-08 | [34747](https://github.com/airbytehq/airbyte/pull/34747) | Adopt CDK 0.19.0 |
| 3.5.11 | 2024-02-12 | [35194](https://github.com/airbytehq/airbyte/pull/35194) | Reorder auth options |
| 3.5.10 | 2024-02-12 | [35144](https://github.com/airbytehq/airbyte/pull/35144) | Adopt CDK 0.20.2 |
| 3.5.9 | 2024-02-12 | [35111](https://github.com/airbytehq/airbyte/pull/35111) | Adopt CDK 0.20.1 |
| 3.5.8 | 2024-02-09 | [34574](https://github.com/airbytehq/airbyte/pull/34574) | Adopt CDK 0.20.0 |
| 3.5.7 | 2024-02-08 | [34747](https://github.com/airbytehq/airbyte/pull/34747) | Adopt CDK 0.19.0 |
| 3.5.6 | 2024-02-08 | [\#35027](https://github.com/airbytehq/airbyte/pull/35027) | Upgrade CDK to version 0.17.1 |
| 3.5.5 | 2024-02-08 | [\#34502](https://github.com/airbytehq/airbyte/pull/34502) | Reduce COPY frequency |
| 3.5.4 | 2024-01-24 | [\#34451](https://github.com/airbytehq/airbyte/pull/34451) | Improve logging for unparseable input |
Expand Down
Loading