Skip to content

Commit

Permalink
Fix snowflake destination spec (#20566)
Browse files Browse the repository at this point in the history
Fix spec to specify a const member for each possible object in a oneOf clause
  • Loading branch information
Joe Reuter authored Jan 2, 2023
1 parent d95c06d commit 2654e05
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
- name: Snowflake
destinationDefinitionId: 424892c4-daac-4491-b35d-c6688ba547ba
dockerRepository: airbyte/destination-snowflake
dockerImageTag: 0.4.40
dockerImageTag: 0.4.41
documentationUrl: https://docs.airbyte.com/integrations/destinations/snowflake
icon: snowflake.svg
normalizationConfig:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5914,7 +5914,7 @@
supported_destination_sync_modes:
- "overwrite"
- "append"
- dockerImage: "airbyte/destination-snowflake:0.4.40"
- dockerImage: "airbyte/destination-snowflake:0.4.41"
spec:
documentationUrl: "https://docs.airbyte.com/integrations/destinations/snowflake"
connectionSpecification:
Expand Down Expand Up @@ -6049,6 +6049,13 @@
- "password"
order: 2
properties:
auth_type:
type: "string"
const: "Username and Password"
enum:
- "Username and Password"
default: "Username and Password"
order: 0
password:
description: "Enter the password associated with the username."
type: "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ RUN tar xf ${APPLICATION}.tar --strip-components=1

ENV ENABLE_SENTRY true

LABEL io.airbyte.version=0.4.40
LABEL io.airbyte.version=0.4.41
LABEL io.airbyte.name=airbyte/destination-snowflake
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@
"required": ["password"],
"order": 2,
"properties": {
"auth_type": {
"type": "string",
"const": "Username and Password",
"enum": ["Username and Password"],
"default": "Username and Password",
"order": 0
},
"password": {
"description": "Enter the password associated with the username.",
"type": "string",
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/destinations/snowflake.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ Now that you have set up the Snowflake destination connector, check out the foll
| Version | Date | Pull Request | Subject |
|:--------|:-----------|:-----------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------|
| 0.4.41 | 2022-12-16 | [\#20566](https://github.com/airbytehq/airbyte/pull/20566) | Improve spec to adhere to standards |
| 0.4.40 | 2022-11-11 | [\#19302](https://github.com/airbytehq/airbyte/pull/19302) | Set jdbc application env variable depends on env - airbyte_oss or airbyte_cloud |
| 0.4.39 | 2022-11-09 | [\#18970](https://github.com/airbytehq/airbyte/pull/18970) | Updated "check" connection method to handle more errors |
| 0.4.38 | 2022-09-26 | [\#17115](https://github.com/airbytehq/airbyte/pull/17115) | Added connection string identifier |
Expand Down

0 comments on commit 2654e05

Please sign in to comment.