2021-09-02 13:52:17 +00:00
|
|
|
{
|
|
|
|
|
"form": [
|
|
|
|
|
{
|
|
|
|
|
"sectionName": "Connection",
|
|
|
|
|
"id": 1,
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
|
|
|
|
"sectionName": null,
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
2023-05-19 18:37:06 +00:00
|
|
|
"label": "Host address",
|
2021-09-02 13:52:17 +00:00
|
|
|
"configProperty": "datasourceConfiguration.endpoints[*].host",
|
|
|
|
|
"controlType": "KEYVALUE_ARRAY",
|
|
|
|
|
"validationMessage": "Please enter a valid host",
|
|
|
|
|
"validationRegex": "^((?![/:]).)*$"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Port",
|
|
|
|
|
"configProperty": "datasourceConfiguration.endpoints[*].port",
|
|
|
|
|
"dataType": "NUMBER",
|
|
|
|
|
"controlType": "KEYVALUE_ARRAY"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
2023-05-19 18:37:06 +00:00
|
|
|
"label": "Database name",
|
2021-09-02 13:52:17 +00:00
|
|
|
"configProperty": "datasourceConfiguration.authentication.databaseName",
|
|
|
|
|
"controlType": "INPUT_TEXT"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"sectionName": "Authentication",
|
|
|
|
|
"id": 2,
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
|
|
|
|
"sectionName": null,
|
|
|
|
|
"children": [
|
|
|
|
|
{
|
|
|
|
|
"label": "Username",
|
|
|
|
|
"configProperty": "datasourceConfiguration.authentication.username",
|
|
|
|
|
"controlType": "INPUT_TEXT",
|
|
|
|
|
"placeholderText": "Username"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "Password",
|
|
|
|
|
"configProperty": "datasourceConfiguration.authentication.password",
|
|
|
|
|
"dataType": "PASSWORD",
|
|
|
|
|
"controlType": "INPUT_TEXT",
|
|
|
|
|
"placeholderText": "Password",
|
|
|
|
|
"encrypted": true
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|