mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
controller dropdown field to SQL MIAA and Postgres deployment. (#12217)
* saving first draft * throw if no controllers * cleanup * bug fixes * bug fixes and caching controller access * pr comments and bug fixes. * fixes * fixes * comment fix * remove debug prints * comment fixes * remove debug logs * inputValueTransformer returns string|Promise * PR feedback * pr fixes * remove _ from protected fields * anonymous to full methods * small fixes
This commit is contained in:
@@ -91,6 +91,28 @@
|
||||
"optionsType": "radio"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "options",
|
||||
"label": "%wizard.data.controllers%",
|
||||
"required": true,
|
||||
"variableName": "AZDATA_NB_VAR_CONTROLLER",
|
||||
"editable": false,
|
||||
"options": {
|
||||
"source": {
|
||||
"type": "ArcControllersOptionsSource",
|
||||
"variableNames": {
|
||||
"endpoint": "AZDATA_NB_VAR_CONTROLLER_ENDPOINT",
|
||||
"username": "AZDATA_NB_VAR_CONTROLLER_USERNAME",
|
||||
"password": "AZDATA_NB_VAR_CONTROLLER_PASSWORD"
|
||||
}
|
||||
},
|
||||
"values":[
|
||||
"ignored1",
|
||||
"ignored2"
|
||||
],
|
||||
"optionsType": "dropdown"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "%wizard.dropdown.options.field%",
|
||||
"variableName": "AZDATA_NB_VAR_DROPDOWN_OPTIONS",
|
||||
@@ -245,7 +267,37 @@
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_PROFILE)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "%wizard.dropdown.options.field%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_DROPDOWN_OPTIONS)"
|
||||
},
|
||||
{
|
||||
"label": "%wizard.summary.controller%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_CONTROLLER)"
|
||||
},
|
||||
{
|
||||
"label": "%wizard.summary.controller.endpoint%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_CONTROLLER_ENDPOINT)"
|
||||
},
|
||||
{
|
||||
"label": "%wizard.summary.controller.username%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_CONTROLLER_USERNAME)"
|
||||
},
|
||||
{
|
||||
"label": "%wizard.summary.controller.password%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_CONTROLLER_PASSWORD)"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
"wizard.kube.cluster.context": "Cluster context",
|
||||
"wizard.cluster.config.profile.title": "Choose the config profile",
|
||||
"wizard.cluster.config.profile": "Config profile",
|
||||
"wizard.data.controllers": "Pick a data controller",
|
||||
"wizard.dropdown.options.field": "dropdown field",
|
||||
"wizard.project.details.title": "Project details",
|
||||
"wizard.project.details.description": "Project details for Contoso corporation",
|
||||
@@ -44,6 +45,10 @@
|
||||
"wizard.summary.kube.config.file.path": "Kube config file path",
|
||||
"wizard.summary.cluster.context": "Cluster context",
|
||||
"wizard.summary.profile": "Config profile",
|
||||
"wizard.summary.controller": "Controller",
|
||||
"wizard.summary.controller.endpoint": "Controller endpoint",
|
||||
"wizard.summary.controller.username": "Controller username",
|
||||
"wizard.summary.controller.password": "Controller password",
|
||||
"wizard.data.controller.agreement": "I accept {0} and {1}.",
|
||||
"contoso.agreement.privacy.statement":"contoso Privacy Statement",
|
||||
"wizard.agreement.contosoCmd.eula":"contoso cmd license terms",
|
||||
|
||||
Reference in New Issue
Block a user