Skip to content

Commit

Permalink
Merge pull request #287 from rudderlabs/hotfix-release/1.3.3
Browse files Browse the repository at this point in the history
chore(release): pull hotfix-release/1.3.3 into main
  • Loading branch information
saikumarrs authored Jan 13, 2023
2 parents 49cd5b1 + 935022e commit b4e62a8
Show file tree
Hide file tree
Showing 11 changed files with 66 additions and 58 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

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.3.3 (2023-01-13)


### Bug Fixes

* enable cdkv2 for algolia and pinterest ([630644e](https://github.com/rudderlabs/rudder-config-schema/commit/630644e5466d5d624e76f52dd37d1524e71ef499))
* revert a specific commit from [#253](https://github.com/rudderlabs/rudder-config-schema/issues/253) ([#284](https://github.com/rudderlabs/rudder-config-schema/issues/284)) ([856c9b9](https://github.com/rudderlabs/rudder-config-schema/commit/856c9b91c3f33bef5ca8c46b1d0b751629574b8f))

### 1.3.2 (2023-01-12)


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.3.2",
"version": "1.3.3",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/algolia/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ALGOLIA",
"displayName": "Algolia",
"config": {
"cdkV2TestThreshold": 1,
"cdkV2Enabled": true,
"transformAt": "router",
"transformAtV1": "router",
"saveDestinationResponse": true,
Expand Down
1 change: 0 additions & 1 deletion src/configurations/destinations/deltalake/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"port",
"path",
"token",
"catalog",
"namespace",
"bucketProvider",
"bucketName",
Expand Down
4 changes: 0 additions & 4 deletions src/configurations/destinations/deltalake/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
"type": "string",
"pattern": "(^env[.].+)|^(.{1,100})$"
},
"catalog": {
"type": "string",
"pattern": "(^env[.].*)|^(.*)$"
},
"namespace": {
"type": "string",
"pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$"
Expand Down
10 changes: 0 additions & 10 deletions src/configurations/destinations/deltalake/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@
"text": "Please refer to the FAQs section, before you wanted to make any changes around managed and unmanaged tables provided by the Databricks."
}
},
{
"type": "textInput",
"label": "Catalog",
"labelNote": "Catalog name where you organize your data assets",
"value": "catalog",
"regex": "^(.*)$",
"regexErrorMessage": "Invalid Catalog",
"required": false,
"placeholder": "e.g: iosCatalog"
},
{
"type": "textInput",
"label": "Namespace",
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/gtm/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"serverUrl": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$"
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?:(?!.*\\.ngrok\\.io)http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+|^$"
},
"eventFilteringOption": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "PINTEREST_TAG",
"displayName": "Pinterest Tag",
"config": {
"cdkV2TestThreshold": 1,
"cdkV2Enabled": true,
"transformAt": "router",
"transformAtV1": "router",
"saveDestinationResponse": false,
Expand Down
36 changes: 0 additions & 36 deletions test/data/validation/destinations/deltalake.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,42 +16,6 @@
},
"result": true
},
{
"config": {
"host": "test-host",
"path": "test-path",
"token": "test-token",
"port": "0000",
"catalog": "",
"bucketProvider": "S3",
"syncFrequency": "30",
"enableSSE": false,
"useRudderStorage": false,
"useSTSTokens": false,
"bucketName": "test-bucket",
"accessKeyID": "test-access-key-id",
"accessKey": "test-access-key"
},
"result": true
},
{
"config": {
"host": "test-host",
"path": "test-path",
"token": "test-token",
"port": "0000",
"catalog": "test-catalog",
"bucketProvider": "S3",
"syncFrequency": "30",
"enableSSE": false,
"useRudderStorage": false,
"useSTSTokens": false,
"bucketName": "test-bucket",
"accessKeyID": "test-access-key-id",
"accessKey": "test-access-key"
},
"result": true
},
{
"config": {
"host": "test-host",
Expand Down
53 changes: 52 additions & 1 deletion test/data/validation/destinations/gtm.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,58 @@
},
"result": false,
"err": [
"serverUrl must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$\""
"serverUrl must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?:(?!.*\\.ngrok\\.io)http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+|^$\""
]
},
{
"config": {
"containerID": "GTM-ADDA",
"serverUrl": "",
"eventFilteringOption": "whitelistedEvents",
"whitelistedEvents": [
{
"eventName": "registration"
}
],
"blacklistedEvents": [
{
"eventName": ""
}
],
"useNativeSDK": {
"web": true
},
"oneTrustCookieCategories": {
"web": []
}
},
"result": true
},
{
"config": {
"containerID": "GTM-ADDA",
"serverUrl": "http://dfff.ngrok.io",
"eventFilteringOption": "whitelistedEvents",
"whitelistedEvents": [
{
"eventName": "registration"
}
],
"blacklistedEvents": [
{
"eventName": ""
}
],
"useNativeSDK": {
"web": true
},
"oneTrustCookieCategories": {
"web": []
}
},
"result": false,
"err": [
"serverUrl must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?:(?!.*\\.ngrok\\.io)http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+|^$\""
]
}
]

0 comments on commit b4e62a8

Please sign in to comment.