mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
connection contribution point (#880)
* init * finished compile erros * fixed all merge conflicts * fix dialog problems * formatting * fix opening dialog on first open * fix various problems with connectiondialog * formatting * fix tests * added connection contrib * formatting * formatting and adding capabilities to shutdown * fix connection buffering * formatting * fix tests
This commit is contained in:
@@ -189,6 +189,473 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"connectionProvider": {
|
||||
"providerId": "MSSQL",
|
||||
"displayName": "Microsoft SQL Server",
|
||||
"connectionOptions": [
|
||||
{
|
||||
"specialValueType": "serverName",
|
||||
"isIdentity": true,
|
||||
"name": "server",
|
||||
"displayName": "Server",
|
||||
"description": "Name of the SQL Server instance",
|
||||
"groupName": "Source",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": true,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": "databaseName",
|
||||
"isIdentity": true,
|
||||
"name": "database",
|
||||
"displayName": "Database",
|
||||
"description": "The name of the initial catalog or database int the data source",
|
||||
"groupName": "Source",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": "authType",
|
||||
"isIdentity": true,
|
||||
"name": "authenticationType",
|
||||
"displayName": "Authentication type",
|
||||
"description": "Specifies the method of authenticating with SQL Server",
|
||||
"groupName": "Security",
|
||||
"valueType": "category",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": [
|
||||
{
|
||||
"displayName": "SQL Login",
|
||||
"name": "SqlLogin"
|
||||
},
|
||||
{
|
||||
"displayName": "Windows Authentication",
|
||||
"name": "Integrated"
|
||||
}
|
||||
],
|
||||
"isRequired": true,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": "userName",
|
||||
"isIdentity": true,
|
||||
"name": "user",
|
||||
"displayName": "User name",
|
||||
"description": "Indicates the user ID to be used when connecting to the data source",
|
||||
"groupName": "Security",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": true,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": "password",
|
||||
"isIdentity": true,
|
||||
"name": "password",
|
||||
"displayName": "Password",
|
||||
"description": "Indicates the password to be used when connecting to the data source",
|
||||
"groupName": "Security",
|
||||
"valueType": "password",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": true,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "applicationIntent",
|
||||
"displayName": "Application intent",
|
||||
"description": "Declares the application workload type when connecting to a server",
|
||||
"groupName": "Initialization",
|
||||
"valueType": "category",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": [
|
||||
{
|
||||
"displayName": "ReadWrite",
|
||||
"name": "ReadWrite"
|
||||
},
|
||||
{
|
||||
"displayName": "ReadOnly",
|
||||
"name": "ReadOnly"
|
||||
}
|
||||
],
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "asynchronousProcessing",
|
||||
"displayName": "Asynchronous processing enabled",
|
||||
"description": "When true, enables usage of the Asynchronous functionality in the .Net Framework Data Provider",
|
||||
"groupName": "Initialization",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "connectTimeout",
|
||||
"displayName": "Connect timeout",
|
||||
"description": "The length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error",
|
||||
"groupName": "Initialization",
|
||||
"valueType": "number",
|
||||
"defaultValue": "15",
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "currentLanguage",
|
||||
"displayName": "Current language",
|
||||
"description": "The SQL Server language record name",
|
||||
"groupName": "Initialization",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "columnEncryptionSetting",
|
||||
"displayName": "Column encryption setting",
|
||||
"description": "Default column encryption setting for all the commands on the connection",
|
||||
"groupName": "Security",
|
||||
"valueType": "category",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": [
|
||||
{
|
||||
"displayName": null,
|
||||
"name": "Disabled"
|
||||
},
|
||||
{
|
||||
"displayName": null,
|
||||
"name": "Enabled"
|
||||
}
|
||||
],
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "encrypt",
|
||||
"displayName": "Encrypt",
|
||||
"description": "When true, SQL Server uses SSL encryption for all data sent between the client and server if the servers has a certificate installed",
|
||||
"groupName": "Security",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "persistSecurityInfo",
|
||||
"displayName": "Persist security info",
|
||||
"description": "When false, security-sensitive information, such as the password, is not returned as part of the connection",
|
||||
"groupName": "Security",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "trustServerCertificate",
|
||||
"displayName": "Trust server certificate",
|
||||
"description": "When true (and encrypt=true), SQL Server uses SSL encryption for all data sent between the client and server without validating the server certificate",
|
||||
"groupName": "Security",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "attachedDBFileName",
|
||||
"displayName": "Attached DB file name",
|
||||
"description": "The name of the primary file, including the full path name, of an attachable database",
|
||||
"groupName": "Source",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "contextConnection",
|
||||
"displayName": "Context connection",
|
||||
"description": "When true, indicates the connection should be from the SQL server context. Available only when running in the SQL Server process",
|
||||
"groupName": "Source",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "port",
|
||||
"displayName": "Port",
|
||||
"description": null,
|
||||
"groupName": null,
|
||||
"valueType": "number",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "connectRetryCount",
|
||||
"displayName": "Connect retry count",
|
||||
"description": "Number of attempts to restore connection",
|
||||
"groupName": "Connection Resiliency",
|
||||
"valueType": "number",
|
||||
"defaultValue": "1",
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "connectRetryInterval",
|
||||
"displayName": "Connect retry interval",
|
||||
"description": "Delay between attempts to restore connection",
|
||||
"groupName": "Connection Resiliency",
|
||||
"valueType": "number",
|
||||
"defaultValue": "10",
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": "appName",
|
||||
"isIdentity": false,
|
||||
"name": "applicationName",
|
||||
"displayName": "Application name",
|
||||
"description": "The name of the application",
|
||||
"groupName": "Context",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "workstationId",
|
||||
"displayName": "Workstation Id",
|
||||
"description": "The name of the workstation connecting to SQL Server",
|
||||
"groupName": "Context",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "pooling",
|
||||
"displayName": "Pooling",
|
||||
"description": "When true, the connection object is drawn from the appropriate pool, or if necessary, is created and added to the appropriate pool",
|
||||
"groupName": "Pooling",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "maxPoolSize",
|
||||
"displayName": "Max pool size",
|
||||
"description": "The maximum number of connections allowed in the pool",
|
||||
"groupName": "Pooling",
|
||||
"valueType": "number",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "minPoolSize",
|
||||
"displayName": "Min pool size",
|
||||
"description": "The minimum number of connections allowed in the pool",
|
||||
"groupName": "Pooling",
|
||||
"valueType": "number",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "loadBalanceTimeout",
|
||||
"displayName": "Load balance timeout",
|
||||
"description": "The minimum amount of time (in seconds) for this connection to live in the pool before being destroyed",
|
||||
"groupName": "Pooling",
|
||||
"valueType": "number",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "replication",
|
||||
"displayName": "Replication",
|
||||
"description": "Used by SQL Server in Replication",
|
||||
"groupName": "Replication",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "attachDbFilename",
|
||||
"displayName": "Attach DB filename",
|
||||
"description": null,
|
||||
"groupName": null,
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "failoverPartner",
|
||||
"displayName": "Failover partner",
|
||||
"description": "The name or network address of the instance of SQL Server that acts as a failover partner",
|
||||
"groupName": " Source",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "multiSubnetFailover",
|
||||
"displayName": "Multi subnet failover",
|
||||
"description": null,
|
||||
"groupName": null,
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "multipleActiveResultSets",
|
||||
"displayName": "Multiple active result sets",
|
||||
"description": "When true, multiple result sets can be returned and read from one connection",
|
||||
"groupName": "Advanced",
|
||||
"valueType": "boolean",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "packetSize",
|
||||
"displayName": "Packet size",
|
||||
"description": "Size in bytes of the network packets used to communicate with an instance of SQL Server",
|
||||
"groupName": "Advanced",
|
||||
"valueType": "number",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
},
|
||||
{
|
||||
"specialValueType": null,
|
||||
"isIdentity": false,
|
||||
"name": "typeSystemVersion",
|
||||
"displayName": "Type system version",
|
||||
"description": "Indicates which server type system then provider will expose through the DataReader",
|
||||
"groupName": "Advanced",
|
||||
"valueType": "string",
|
||||
"defaultValue": null,
|
||||
"objectType": null,
|
||||
"categoryValues": null,
|
||||
"isRequired": false,
|
||||
"isArray": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user