Changes to props (#6574)

This commit is contained in:
Nidhi 2021-08-13 19:32:00 +05:30 committed by GitHub
parent 3129c83d8d
commit dc8673c22c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -127,6 +127,7 @@ public class SnowflakePlugin extends BasePlugin {
properties.setProperty("password", authentication.getPassword());
properties.setProperty("warehouse", String.valueOf(datasourceConfiguration.getProperties().get(0).getValue()));
properties.setProperty("db", String.valueOf(datasourceConfiguration.getProperties().get(1).getValue()));
properties.setProperty("role", String.valueOf(datasourceConfiguration.getProperties().get(3).getValue()));
return Mono
.fromCallable(() -> {

View File

@ -33,6 +33,12 @@
"configProperty": "datasourceConfiguration.properties[2].value",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": "PUBLIC"
},
{
"label": "Role",
"configProperty": "datasourceConfiguration.properties[3].value",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": "PUBLIC"
}
]
}