Skip to content

Commit

Permalink
chore: change role based auth default true
Browse files Browse the repository at this point in the history
  • Loading branch information
cisse21 committed Mar 4, 2024
1 parent 4647768 commit d002429
Show file tree
Hide file tree
Showing 14 changed files with 86 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
1 change: 1 addition & 0 deletions src/configurations/destinations/bq/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"defaultConfig": [
"project",
"location",
"useLocation",
"bucketName",
"credentials",
"prefix",
Expand Down
16 changes: 15 additions & 1 deletion src/configurations/destinations/bq/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,28 @@
"placeholder": "my-sample-project-19XX23",
"secret": false
},
{
"type": "checkbox",
"label": "Use Location for BigQuery",
"configKey": "useLocation",
"default": false
},
{
"type": "textInput",
"label": "Location",
"configKey": "location",
"regex": "^(.{0,100})$",
"regexErrorMessage": "Invalid Location",
"placeholder": "US, EU, asia-southeast1",
"secret": false
"secret": false,
"preRequisites": {
"fields": [
{
"configKey": "useLocation",
"value": true
}
]
}
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/clickhouse/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
1 change: 1 addition & 0 deletions src/configurations/destinations/deltalake/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"path",
"token",
"catalog",
"useCatalog",
"namespace",
"bucketProvider",
"bucketName",
Expand Down
18 changes: 16 additions & 2 deletions src/configurations/destinations/deltalake/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
]
}
},
{
"type": "checkbox",
"label": "Use location for Databricks",
"configKey": "useCatalog",
"default": false
},
{
"type": "textInput",
"label": "Catalog",
Expand All @@ -88,7 +94,15 @@
"regexErrorMessage": "Invalid Catalog",
"placeholder": "e.g: iosCatalog",
"secret": false,
"note": ["Catalog name where you organize your data assets"]
"note": ["Catalog name where you organize your data assets"],
"preRequisites": {
"fields": [
{
"configKey": "useCatalog",
"value": true
}
]
}
}
]
},
Expand Down Expand Up @@ -237,7 +251,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"bucketName",
"prefix",
"namespace",
"useTableSuffix",
"tableSuffix",
"timeWindowLayout",
"credentials",
Expand Down
4 changes: 4 additions & 0 deletions src/configurations/destinations/gcs_datalake/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$"
},
"useTableSuffix": {
"type": "boolean",
"default": false
},
"tableSuffix": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*"
Expand Down
16 changes: 15 additions & 1 deletion src/configurations/destinations/gcs_datalake/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
"regexErrorMessage": "Invalid Prefix",
"secret": false
},
{
"type": "checkbox",
"label": "Use Table Suffix for GCS Datalake",
"configKey": "useTableSuffix",
"default": false
},
{
"type": "textInput",
"label": "Table suffix (optional)",
Expand All @@ -45,7 +51,15 @@
"configKey": "tableSuffix",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*",
"regexErrorMessage": "Invalid Table suffix path",
"secret": false
"secret": false,
"preRequisites": {
"fields": [
{
"configKey": "useTableSuffix",
"value": true
}
]
}
},
{
"type": "textInput",
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/mssql/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/postgres/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/configurations/destinations/rs/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand Down
2 changes: 2 additions & 0 deletions src/configurations/destinations/snowflake/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
"database",
"warehouse",
"user",
"userole",
"role",
"password",
"cloudProvider",
"bucketName",
"containerName",
"useStorageIntegration",
"storageIntegration",
"iamRoleARN",
"roleBasedAuth",
Expand Down
28 changes: 26 additions & 2 deletions src/configurations/destinations/snowflake/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,28 @@
"placeholder": "e.g: RUDDER_USER",
"secret": false
},
{
"type": "checkbox",
"label": "Use Role for Snowflake",
"configKey": "useRole",
"default": false
},
{
"type": "textInput",
"label": "Role",
"configKey": "role",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Role",
"placeholder": "e.g: RUDDER_ROLE",
"secret": false
"secret": false,
"preRequisites": {
"fields": [
{
"configKey": "useRole",
"value": true
}
]
}
},
{
"type": "textInput",
Expand Down Expand Up @@ -195,7 +209,7 @@
"type": "checkbox",
"label": "Role Based Authentication",
"configKey": "roleBasedAuth",
"default": false,
"default": true,
"preRequisites": {
"fields": [
{
Expand All @@ -209,6 +223,12 @@
]
}
},
{
"type": "checkbox",
"label": "Use Storage Integration for AWS",
"configKey": "useStorageIntegration",
"default": false
},
{
"type": "textInput",
"label": "Storage Integration",
Expand All @@ -232,6 +252,10 @@
{
"configKey": "cloudProvider",
"value": "AWS"
},
{
"configKey": "useStorageIntegration",
"value": true
}
]
}
Expand Down

0 comments on commit d002429

Please sign in to comment.