* WIP First commit * Generating different files from different templates * Adding file to edit for adding database changelogs * Tested the modify file step as well. * Completed the plugin generation for today's plugins * Tested with all the files getting generated property * Not tracking node_modules * Removes node_modules * Incorporated review comments
59 lines
1.6 KiB
Handlebars
59 lines
1.6 KiB
Handlebars
{
|
|
"form": [
|
|
{
|
|
"sectionName": "Connection",
|
|
"id": 1,
|
|
"children": [
|
|
{
|
|
"sectionName": null,
|
|
"children": [
|
|
{
|
|
"label": "Host Address",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Database Name",
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|