Skip to content

Commit

Permalink
Changes to props (appsmithorg#6574)
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhi-nair authored Aug 13, 2021
1 parent 3129c83 commit dc8673c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public Mono<Connection> datasourceCreate(DatasourceConfiguration datasourceConfi
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(() -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
Expand Down

0 comments on commit dc8673c

Please sign in to comment.