support for connect with connection string (#19355)

* wip

* WIP

* radio button

* handle connection string

* fix test

* fix test

* fix test cases

* remember password

* pr comments

* pr comments
This commit is contained in:
Alan Ren
2022-05-13 14:48:12 -07:00
committed by GitHub
parent 128767c713
commit b8858f011d
12 changed files with 301 additions and 161 deletions

View File

@@ -34,6 +34,19 @@ const ConnectionProviderContrib: IJSONSchema = {
type: 'boolean',
description: localize('schema.isQueryProvider', "Whether the provider is also a query provider. The default value is true.")
},
connectionStringOptions: {
type: 'object',
properties: {
isEnabled: {
type: 'boolean',
description: localize('schema.enableConnectionStringOption', "Whether the provider supports connection string as an input option. The default value is false.")
},
isDefaultOption: {
type: 'boolean',
description: localize('schema.useConnectionStringAsDefaultOption', "Whether the connection provider uses connection string as the default option to connect. The default value is false.")
}
},
},
iconPath: {
description: localize('schema.iconPath', "Icon path for the server type"),
oneOf: [