Skip to content

Commit

Permalink
Merge pull request #415 from rudderlabs/hotfix-release/1.9.0
Browse files Browse the repository at this point in the history
chore(release): pull hotfix-release/1.9.0 into main
  • Loading branch information
ItsSudip authored Feb 27, 2023
2 parents cdf60a6 + bbe6b3d commit 815a630
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [1.9.0](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.2...1.9.0) (2023-02-27)


### Features

* added roles for snoflake ([78f6e0d](https://github.com/rudderlabs/rudder-config-schema/commit/78f6e0d01df7ac544722e65dd548879615616ca3))

### [1.8.2](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.1...1.8.2) (2023-02-27)

### [1.8.1](https://github.com/rudderlabs/rudder-config-schema/compare/1.8.0...1.8.1) (2023-02-27)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rudder-config-schema",
"version": "1.8.2",
"version": "1.9.0",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
1 change: 1 addition & 0 deletions src/configurations/destinations/snowflake/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"database",
"warehouse",
"user",
"role",
"password",
"cloudProvider",
"bucketName",
Expand Down
4 changes: 4 additions & 0 deletions src/configurations/destinations/snowflake/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"type": "string",
"pattern": "(^env[.].+)|^(.{1,100})$"
},
"role": {
"type": "string",
"pattern": "(^env[.].*)|^(.{0,100})$"
},
"password": {
"type": "string",
"pattern": "(^env[.].+)|.+"
Expand Down
9 changes: 9 additions & 0 deletions src/configurations/destinations/snowflake/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@
"placeholder": "e.g: RUDDER_USER",
"required": true
},
{
"type": "textInput",
"label": "Role",
"value": "role",
"regex": "^(.{0,100})$",
"regexErrorMessage": "Invalid Role",
"placeholder": "e.g: RUDDER_ROLE",
"required": false
},
{
"type": "textInput",
"label": "Password",
Expand Down
20 changes: 20 additions & 0 deletions test/data/validation/destinations/snowflake.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@
},
"result": true
},
{
"config": {
"account": "test-account",
"database": "test-database",
"warehouse": "test-warehouse",
"user": "test-user",
"role": "test-role",
"password": "test-password",
"cloudProvider": "AWS",
"syncFrequency": "30",
"enableSSE": false,
"useRudderStorage": false,
"prefix": "test-prefix",
"useSTSTokens": false,
"bucketName": "test-bucket",
"accessKeyID": "test-access-key-id",
"accessKey": "test-access-key"
},
"result": true
},
{
"config": {
"account": "test-account",
Expand Down

0 comments on commit 815a630

Please sign in to comment.