Files
azuredatastudio/extensions/mssql/package.json
Alan Ren abe54a2b92 initial PR for table designer feature (#17200)
* wip

* wire up e2e

* hook up styler and add as dataprotocal feature

* designer child component rendering

* table component updates

* styler and selectbox column editor

* fix editor size and dupe component creation issue

* fix checkbox column and add more testing data

* properties pane

* only rerender when needed

* properties pane update

* update commands

* cleanup for PR

* revert unwanted changes

* Adding a few tests for Add SQL binding (#17079)

* initial changes

* add a couple more tests

* LEGO: check in for main to temporary branch. (#17089)

* LEGO: check in for main to temporary branch. (#17091)

Co-authored-by: kburtram <karlb@microsoft.com>

* Adds autorest-based SQL Project generation to SQL Database Projects extension (#17078)

* Initial changes

* checkpoint

* Constructing project with post deployment script

* Correcting to intentionally read from cached list of projects

* Adding activation event, fixing fresh workspace bug

* Convert netcoreTool and autorestHelper to share a helper class for streamed command

* Include npm package version to force update

* test checkpoint

* Unit tests

* Added contextual quickpicks for autorest dialogs

* Adding projectController test

* Added projectController test, some refactoring for testability

* Merge branch 'main' into benjin/autorest

* Fixing 'which' import

* PR feedback

* Fixing tests

* Adding additional information for when project provider tests fail

* Hopefully fixing failing tests (unable to repro locally)

* Adding Generate Project item to workspace menu

* PR feedback

* LEGO: check in for main to temporary branch. (#17097)

* added sql database projects strings (#17100)

* Set kernelAlias in startSession when isValidConnection is truthy (#17102)

* PR follow-up comments (#17113)

* Change recompare message after changing options to modal (#17103)

* Change recompare message to modal

* change options to yes and no

* Remove commented code block in git extension (#17116)

* Remove commented code block in git extension

* Add SQL CARBON EDIT tag

* [Loc] Small change to generatingProjectFailed (#17118)

* Add Null Shortcut and added NULL text for default NULL value. (#17085)

* added test key event

* added null function to tryHandleKeyEvent

* added null formatting

* added working null insert.

* added editDataGridPanel string null support

* Bump nth-check from 2.0.0 to 2.0.1 in /build (#17115)

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](https://github.com/fb55/nth-check/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add excludeFlags to extenson marketplace query (#17121)

* Add excludeFlags to extenson marketplace query

* Remove dead code

* Remove extraneous blank line

* Address code review feedback

* Adding Derived Columns to ADS Flatfile Import (#16795)

* Adding derived column boilerplate

* brandan preliminary frontend changes

* empty commit

* added new param

* updating contracts, dialogue changes

* utils changes, saving timeout attempt

* pushing for aasim

* Cleaning up code and fixing the issue in theory

* changing button, did not solve independent scroll

* Fixing the scroll bar issue

* updating flat file service

* adding override keyword to overrriden method

* improving UI

* pushing changes associated with resolved comments

* localizing strings, editing comments

* all comments resolved

* Fixing a test

* updating import package
Updating azure MFA bug

* Clearing navigation validator
Fixing broken table name change

* fixed prose test

* removing unused code from tests

* Fixed PR comments

* Fixing some PR comments

* WIP

* Fixing transformation code and create derived column dialog styling

* removing unused code

* Adding comment for console log

* fixed table styling

* Adding some aria labels

* Fixed some code cleanup issues

* update import service

Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: bnhoule <t-bhoule@microsoft.com>

* Change keybindings for copying query with Results (#17127)

Co-authored-by: Monica Gupta <mogupt@microsoft.com>

* sql proj - publish to docker improvements  (#17124)

* Add AAD token expiration handling for query runner (#17117)

* Add AAD token refresh for notebook

* move token refresh to query management and remove previous refresh calls

* Add guids to RunAll and RunCell events (#17123)

Add guids to RunAll and RunCell events

* add error banner for failed migration cutover and cancel migration (#17106)

* [Loc] update to sql migration, database projects and import extension strings (#17130)

* Apply optional storage class settings in sql mi create command (#17129)

* Make storage classes optional

* Fix notebook to use storage class options

Co-authored-by: Charmaine Chan <chachan@microsoft.com>

* Add support for adding new setting in local.settings.json in add SQL binding quickpick (#17093)

* be able to add new setting in local.settings.json

* cleanup

* addressing comments

* remove todo comment

* addressing comments

* update some strings to uris

* bump version of sqltoolsservice (#17133)

* mark schema compare tests as unstable (#17140)

* [Loc] Update for arc and sql-database-projects (#17148)

* ML extension vbump (#17143)

* Configure docker image and web smoke tests for ADSWeb. (#17136)

* Adjusts timeout period

* Revert "Adjusts timeout period"

This reverts commit 0f372eae2a4611554093b6c09f1ff6c451132e19.

* Adds firefox as browser option

* Corrects yaml smoke test script

* Resets args array to original values

* Corrects build path

* Resolves ignoring browser option error

* continue even after writing to stderr

* Adjusts smoke test (browser) script

* More adjustments to smoke test script

* Corrects server path

* Uses build variable directly in build path

* Specifies browser type since cannot be ignored error

* Adds browser option

* Updates web build image and corrects smoke test exe command

* Removes commented out task

* Updates dockerfile to support web smoketests

* Removes failOnStderr flag

* Use curl instead of wget in Dockerfile

* Fixed a bug with cancling publish (#17160)

* Save And Close Functionality (#17000)

* save and close

* wip

* working save and close

* cleanup

* pr changes

* pr changes

* fix capitalization

* fix build

* pr fix

* Added dynamic options for SQL MIAA Deployment Wizard and updated checkbox field (#17119)

* Dynamic enablement

* Added new package.json field for dynamic options and corresponding functions and classes.

* Enabled dynamic options non-generalized and changed formatting of checkbox to have label on the left.

* Added setOptions under InputComponentInfo for generalization, comments under checkbox component, and changed Replicas to High Availability to reflect parity in portal.

* fix unit test

Co-authored-by: Candice Ye <canye@microsoft.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>

* LEGO: check in for main to temporary branch. (#17168)

* [Loc] added new arc strings and fix for sql-database-projects lcl file for Japanese (#17171)

* [Loc] added new arc strings and fix for sql-database-projects xlf

* removed newline

* Port of Vscode fix for colors too close (#17146)

* default light colors list.focusHighlightForeground too close to list.activeSelectionBackground. Fixes #127597

* remove activeSelectionBackground from theme-carbon as it conflicts with vscode.

* remove dark carbon background

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>

* Markdown Horizontal Scrollbar Fix (#17083)

* dynamically change horizontal scrollbar

* working horizontal scrollbar

* created new event to handle both scrollbar and mouse wheel

* only show scrollbar when needed

* LEGO: check in for main to temporary branch. (#17181)

* Bump axios to 0.21.4 (#17161)

* Kusto version bump to 0.5.6 (#17114)

* Bumped Kusto toolsservice version to 125 and bumped version to 0.5.6

* Changed netcoreapp3.1 to net5.0 in Kusto config.json

* AzureMonitor bump ToolService version and extension version. (#17174)

* Bump concat-with-sourcemaps from 1.0.4 to 1.1.0 (#17158)

Bumps [concat-with-sourcemaps](https://github.com/floridoo/concat-with-sourcemaps) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/floridoo/concat-with-sourcemaps/releases)
- [Commits](https://github.com/floridoo/concat-with-sourcemaps/commits)

---
updated-dependencies:
- dependency-name: concat-with-sourcemaps
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update service downloader to 0.2.3 (#17186)

* Notebook Views grid fixes (#17170)

* update data workspace restart ADS to open workspace message (#17188)

* update message

* update string

* Add back "Remove Project" (#17178)

* remove project working with full paths

* use relative paths

* const

* addressing comments

* Bump github-auth axios to 0.21.4 (#17189)

* LEGO: check in for main to temporary branch. (#17192)

* LEGO: check in for main to temporary branch. (#17190)

Co-authored-by: kburtram <karlb@microsoft.com>

* [Loc] Add a small change to dataworkspace (#17194)

* added bump to sqltoolsservice version (#17195)

* Check if file is dirty before adding sql binding (#17175)

* check if file is dirty before adding sql binding

* Addressing comments

* Add vertical scroll bar to Preview in Split View (#17164)

* reset max height

* add editor height

* set md editor height

* Split up NotebookProvider into separate providers for handling file serialization and cell execution. (#17176)

* fix floating promises

* pr comments

* reuse component definition

* comments

* fix error

Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: csigs <csigs@users.noreply.github.com>
Co-authored-by: kburtram <karlb@microsoft.com>
Co-authored-by: Benjin Dubishar <benjin.dubishar@gmail.com>
Co-authored-by: Alex Ma <alma1@microsoft.com>
Co-authored-by: Justin M <63619224+JustinMDotNet@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: bnhoule <52506119+bnhoule@users.noreply.github.com>
Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: bnhoule <t-bhoule@microsoft.com>
Co-authored-by: Monica Gupta <scorpio90m@gmail.com>
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
Co-authored-by: Leila Lali <llali@microsoft.com>
Co-authored-by: Hai Cao <hacao@microsoft.com>
Co-authored-by: Daniel Grajeda <dagrajed@microsoft.com>
Co-authored-by: brian-harris <61598682+brian-harris@users.noreply.github.com>
Co-authored-by: Charmaine Chan <69230572+charmainewkchan@users.noreply.github.com>
Co-authored-by: Charmaine Chan <chachan@microsoft.com>
Co-authored-by: Lewis Sanchez <87730006+lewis-sanchez@users.noreply.github.com>
Co-authored-by: Christopher Suh <chsuh@microsoft.com>
Co-authored-by: Candice Ye <candiceye@berkeley.edu>
Co-authored-by: Candice Ye <canye@microsoft.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2021-10-08 19:24:31 -07:00

1309 lines
42 KiB
JSON

{
"name": "mssql",
"version": "0.1.0",
"publisher": "Microsoft",
"aiKey": "AIF-37eefaf0-8022-4671-a3fb-64752724682e",
"activationEvents": [
"*"
],
"engines": {
"vscode": "*"
},
"main": "./out/main",
"typings": "./src/mssql",
"extensionDependencies": [
"vscode.sql"
],
"scripts": {
"compile": "gulp compile-extension:mssql-client",
"update-grammar": "node ../../build/npm/update-grammar.js Microsoft/vscode-mssql syntaxes/SQL.plist ./syntaxes/sql.tmLanguage.json",
"postinstall": "node ./build/postinstall.js"
},
"contributes": {
"problemMatchers": [
{
"name": "tasks"
}
],
"commands": [
{
"command": "mssql.exportSqlAsNotebook",
"title": "%mssql.exportSqlAsNotebook%"
},
{
"command": "mssql.exportNotebookToSql",
"title": "%mssql.exportNotebookToSql%",
"icon": {
"dark": "resources/dark/export_blue_dark.svg",
"light": "resources/light/export_blue_light.svg"
}
},
{
"command": "mssqlCluster.uploadFiles",
"title": "%mssqlCluster.uploadFiles%"
},
{
"command": "mssqlCluster.mkdir",
"title": "%mssqlCluster.mkdir%"
},
{
"command": "mssqlCluster.deleteFiles",
"title": "%mssqlCluster.deleteFiles%"
},
{
"command": "mssqlCluster.previewFile",
"title": "%mssqlCluster.previewFile%"
},
{
"command": "mssqlCluster.saveFile",
"title": "%mssqlCluster.saveFile%"
},
{
"command": "mssqlCluster.copyPath",
"title": "%mssqlCluster.copyPath%"
},
{
"command": "mssqlCluster.manageAccess",
"title": "%mssqlCluster.manageAccess%"
},
{
"command": "mssqlCluster.task.newNotebook",
"title": "%notebook.command.new%",
"icon": {
"dark": "resources/dark/new_notebook.svg",
"light": "resources/light/new_notebook.svg"
}
},
{
"command": "mssqlCluster.task.openNotebook",
"title": "%notebook.command.open%",
"icon": {
"dark": "resources/dark/open_notebook_inverse.svg",
"light": "resources/light/open_notebook.svg"
}
},
{
"command": "mssqlCluster.livy.cmd.submitSparkJob",
"title": "%title.submitSparkJob%"
},
{
"command": "mssqlCluster.livy.task.submitSparkJob",
"title": "%title.newSparkJob%",
"icon": {
"dark": "resources/dark/new_spark_job_inverse.svg",
"light": "resources/light/new_spark_job.svg"
}
},
{
"command": "mssqlCluster.task.openClusterDashboard",
"title": "%title.openClusterDashboard%",
"icon": {
"dark": "resources/dark/cluster_status_inverse.svg",
"light": "resources/light/cluster_status.svg"
}
},
{
"command": "mssqlCluster.livy.task.openYarnHistory",
"title": "%title.openYarnHistory%",
"icon": {
"dark": "resources/light/hadoop.svg",
"light": "resources/light/hadoop.svg"
}
},
{
"command": "mssqlCluster.livy.cmd.submitFileToSparkJob",
"title": "%title.submitSparkJob%"
},
{
"command": "mssql.searchServers",
"title": "%title.searchServers%"
},
{
"command": "mssql.clearSearchServerResult",
"title": "%title.clearSearchServerResult%"
},
{
"command": "mssql.showLogFile",
"category": "MSSQL",
"title": "%title.showLogFile%"
},
{
"command": "mssql.newTable",
"category": "MSSQL",
"title": "%title.newTable%"
},
{
"command": "mssql.designTable",
"category": "MSSQL",
"title": "%title.designTable%"
}
],
"outputChannels": [
"MSSQL"
],
"snippets": [
{
"language": "sql",
"path": "./snippets/mssql.json"
}
],
"configuration": {
"type": "object",
"title": "%mssql.configuration.title%",
"properties": {
"mssql.query.displayBitAsNumber": {
"type": "boolean",
"default": true,
"description": "%mssql.query.displayBitAsNumber%"
},
"mssql.query.maxXmlCharsToStore": {
"type": "number",
"default": 2097152,
"description": "%mssql.query.maxXmlCharsToStore%"
},
"mssql.format.alignColumnDefinitionsInColumns": {
"type": "boolean",
"description": "%mssql.format.alignColumnDefinitionsInColumns%",
"default": false
},
"mssql.format.datatypeCasing": {
"type": "string",
"description": "%mssql.format.datatypeCasing%",
"default": "none",
"enum": [
"none",
"uppercase",
"lowercase"
]
},
"mssql.format.keywordCasing": {
"type": "string",
"description": "%mssql.format.keywordCasing%",
"default": "none",
"enum": [
"none",
"uppercase",
"lowercase"
]
},
"mssql.format.placeCommasBeforeNextStatement": {
"type": "boolean",
"description": "%mssql.format.placeCommasBeforeNextStatement%",
"default": false
},
"mssql.format.placeSelectStatementReferencesOnNewLine": {
"type": "boolean",
"description": "%mssql.format.placeSelectStatementReferencesOnNewLine%",
"default": false
},
"mssql.logDebugInfo": {
"type": "boolean",
"default": false,
"description": "%mssql.logDebugInfo%"
},
"mssql.tracingLevel": {
"type": "string",
"description": "%mssql.tracingLevel%",
"default": "Critical",
"enum": [
"All",
"Off",
"Critical",
"Error",
"Warning",
"Information",
"Verbose"
]
},
"mssql.logRetentionMinutes": {
"type": "number",
"default": 10080,
"description": "%mssql.logRetentionMinutes%"
},
"mssql.logFilesRemovalLimit": {
"type": "number",
"default": 100,
"description": "%mssql.logFilesRemovalLimit%"
},
"mssql.intelliSense.enableIntelliSense": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableIntelliSense%"
},
"mssql.intelliSense.enableErrorChecking": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableErrorChecking%"
},
"mssql.intelliSense.enableSuggestions": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableSuggestions%"
},
"mssql.intelliSense.enableQuickInfo": {
"type": "boolean",
"default": true,
"description": "%mssql.intelliSense.enableQuickInfo%"
},
"mssql.intelliSense.lowerCaseSuggestions": {
"type": "boolean",
"default": false,
"description": "%mssql.intelliSense.lowerCaseSuggestions%"
},
"mssql.query.rowCount": {
"type": "number",
"default": 0,
"description": "%mssql.query.setRowCount%"
},
"mssql.query.textSize": {
"type": "number",
"default": 2147483647,
"description": "%mssql.query.textSize%"
},
"mssql.query.executionTimeout": {
"type": "number",
"default": 0,
"description": "%mssql.query.executionTimeout%"
},
"mssql.query.noCount": {
"type": "boolean",
"default": false,
"description": "%mssql.query.noCount%"
},
"mssql.query.noExec": {
"type": "boolean",
"default": false,
"description": "%mssql.query.noExec%"
},
"mssql.query.parseOnly": {
"type": "boolean",
"default": false,
"description": "%mssql.query.parseOnly%"
},
"mssql.query.arithAbort": {
"type": "boolean",
"default": true,
"description": "%mssql.query.arithAbort%"
},
"mssql.query.statisticsTime": {
"type": "boolean",
"default": false,
"description": "%mssql.query.statisticsTime%"
},
"mssql.query.statisticsIO": {
"type": "boolean",
"default": false,
"description": "%mssql.query.statisticsIO%"
},
"mssql.query.xactAbortOn": {
"type": "boolean",
"default": false,
"description": "%mssql.query.xactAbortOn%"
},
"mssql.query.transactionIsolationLevel": {
"enum": [
"READ COMMITTED",
"READ UNCOMMITTED",
"REPEATABLE READ",
"SERIALIZABLE"
],
"default": "READ COMMITTED",
"description": "%mssql.query.transactionIsolationLevel%"
},
"mssql.query.deadlockPriority": {
"enum": [
"Normal",
"Low"
],
"default": "Normal",
"description": "%mssql.query.deadlockPriority%"
},
"mssql.query.lockTimeout": {
"type": "number",
"default": -1,
"description": "%mssql.query.lockTimeout%"
},
"mssql.query.queryGovernorCostLimit": {
"type": "number",
"default": -1,
"description": "%mssql.query.queryGovernorCostLimit%"
},
"mssql.query.ansiDefaults": {
"type": "boolean",
"default": false,
"description": "%mssql.query.ansiDefaults%"
},
"mssql.query.quotedIdentifier": {
"type": "boolean",
"default": true,
"description": "%mssql.query.quotedIdentifier%"
},
"mssql.query.ansiNullDefaultOn": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiNullDefaultOn%"
},
"mssql.query.implicitTransactions": {
"type": "boolean",
"default": false,
"description": "%mssql.query.implicitTransactions%"
},
"mssql.query.cursorCloseOnCommit": {
"type": "boolean",
"default": false,
"description": "%mssql.query.cursorCloseOnCommit%"
},
"mssql.query.ansiPadding": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiPadding%"
},
"mssql.query.ansiWarnings": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiWarnings%"
},
"mssql.query.ansiNulls": {
"type": "boolean",
"default": true,
"description": "%mssql.query.ansiNulls%"
},
"mssql.query.alwaysEncryptedParameterization": {
"type": "boolean",
"default": false,
"description": "%mssql.query.alwaysEncryptedParameterization%"
},
"mssql.ignorePlatformWarning": {
"type": "boolean",
"description": "%mssql.ignorePlatformWarning%",
"default": false
}
}
},
"menus": {
"commandPalette": [
{
"command": "mssql.exportSqlAsNotebook",
"when": "false"
},
{
"command": "mssql.exportNotebookToSql",
"when": "false"
},
{
"command": "mssqlCluster.uploadFiles",
"when": "false"
},
{
"command": "mssqlCluster.mkdir",
"when": "false"
},
{
"command": "mssqlCluster.deleteFiles",
"when": "false"
},
{
"command": "mssqlCluster.previewFile",
"when": "false"
},
{
"command": "mssqlCluster.saveFile",
"when": "false"
},
{
"command": "mssqlCluster.copyPath",
"when": "false"
},
{
"command": "mssqlCluster.manageAccess",
"when": "false"
},
{
"command": "mssqlCluster.task.newNotebook",
"when": "false"
},
{
"command": "mssqlCluster.task.openNotebook",
"when": "false"
},
{
"command": "mssqlCluster.livy.cmd.submitFileToSparkJob",
"when": "false"
},
{
"command": "mssqlCluster.livy.task.submitSparkJob",
"when": "false"
},
{
"command": "mssqlCluster.task.openClusterDashboard",
"when": "false"
},
{
"command": "mssql.newTable",
"when": "false"
},
{
"command": "mssql.designTable",
"when": "false"
}
],
"objectExplorer/item/context": [
{
"command": "mssqlCluster.uploadFiles",
"when": "nodeType=~/^mssqlCluster/ && nodeType != mssqlCluster:message && nodeType != mssqlCluster:file && nodeSubType=~/^(?!:mount).*$/",
"group": "1mssqlCluster@1"
},
{
"command": "mssqlCluster.mkdir",
"when": "nodeType=~/^mssqlCluster/ && nodeType != mssqlCluster:message && nodeType != mssqlCluster:file && nodeSubType=~/^(?!:mount).*$/",
"group": "1mssqlCluster@1"
},
{
"command": "mssqlCluster.saveFile",
"when": "nodeType == mssqlCluster:file",
"group": "1mssqlCluster@1"
},
{
"command": "mssqlCluster.previewFile",
"when": "nodeType == mssqlCluster:file",
"group": "1mssqlCluster@2"
},
{
"command": "mssqlCluster.copyPath",
"when": "nodeType=~/^mssqlCluster/ && nodeType != mssqlCluster:connection && nodeType != mssqlCluster:message && nodeType != mssqlCluster:hdfs",
"group": "1mssqlCluster@3"
},
{
"command": "mssqlCluster.manageAccess",
"when": "nodeType=~/^mssqlCluster/ && nodeType != mssqlCluster:connection && nodeType != mssqlCluster:message",
"group": "1mssqlCluster@3"
},
{
"command": "mssqlCluster.deleteFiles",
"when": "nodeType=~/^mssqlCluster/ && nodeType != mssqlCluster:hdfs && nodeType != mssqlCluster:connection && viewItem != mssqlCluster:connection && nodeType != mssqlCluster:message && nodeSubType=~/^(?!:mount).*$/",
"group": "1mssqlCluster@4"
},
{
"command": "mssqlCluster.livy.cmd.submitSparkJob",
"when": "nodeType == mssqlCluster:hdfs",
"group": "1mssqlCluster@7"
},
{
"command": "mssqlCluster.livy.cmd.submitFileToSparkJob",
"when": "nodeType == mssqlCluster:file && nodeSubType =~/:spark:/",
"group": "1mssqlCluster@6"
}
],
"notebook/toolbar": [
{
"command": "mssql.exportNotebookToSql",
"when": "config.workbench.enablePreviewFeatures && providerId == sql"
}
]
},
"dashboard": {
"provider": "MSSQL",
"flavors": [
{
"flavor": "on_prem",
"conditions": [
{
"field": "isCloud",
"operator": "!=",
"value": true
}
],
"databaseProperties": [
{
"displayName": "%onprem.databaseProperties.recoveryModel%",
"value": "recoveryModel"
},
{
"displayName": "%onprem.databaseProperties.lastBackupDate%",
"value": "lastBackupDate",
"ignore": [
"1/1/0001 12:00:00 AM"
]
},
{
"displayName": "%onprem.databaseProperties.lastLogBackupDate%",
"value": "lastLogBackupDate",
"ignore": [
"1/1/0001 12:00:00 AM"
]
},
{
"displayName": "%onprem.databaseProperties.compatibilityLevel%",
"value": "compatibilityLevel"
},
{
"displayName": "%onprem.databaseProperties.owner%",
"value": "owner"
}
],
"serverProperties": [
{
"displayName": "%onprem.serverProperties.serverVersion%",
"value": "serverVersion"
},
{
"displayName": "%onprem.serverProperties.serverEdition%",
"value": "serverEdition"
},
{
"displayName": "%onprem.serverProperties.machineName%",
"value": "machineName"
},
{
"displayName": "%onprem.serverProperties.osVersion%",
"value": "osVersion"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%databasesListProperties.status%",
"value": "state",
"widthWeight": 10
},
{
"displayName": "%databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 10
},
{
"displayName": "%databasesListProperties.lastBackup%",
"value": "lastBackup",
"widthWeight": 20
}
]
},
{
"flavor": "cloud",
"conditions": [
{
"field": "isCloud",
"operator": "==",
"value": true
},
{
"field": "engineEditionId",
"operator": "!=",
"value": "11"
}
],
"databaseProperties": [
{
"displayName": "%cloud.databaseProperties.azureEdition%",
"value": "azureEdition"
},
{
"displayName": "%cloud.databaseProperties.serviceLevelObjective%",
"value": "serviceLevelObjective"
},
{
"displayName": "%cloud.databaseProperties.compatibilityLevel%",
"value": "compatibilityLevel"
},
{
"displayName": "%cloud.databaseProperties.owner%",
"value": "owner"
}
],
"serverProperties": [
{
"displayName": "%cloud.serverProperties.serverVersion%",
"value": "serverVersion"
},
{
"displayName": "%cloud.serverProperties.serverEdition%",
"value": "serverEdition"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 60
},
{
"displayName": "%databasesListProperties.status%",
"value": "state",
"widthWeight": 20
},
{
"displayName": "%databasesListProperties.size%",
"value": "sizeInMB",
"widthWeight": 20
}
]
},
{
"flavor": "on_demand",
"conditions": [
{
"field": "engineEditionId",
"operator": "==",
"value": "11"
}
],
"databaseProperties": [
{
"displayName": "%cloud.databaseProperties.compatibilityLevel%",
"value": "compatibilityLevel"
}
],
"serverProperties": [
{
"displayName": "%cloud.serverProperties.serverVersion%",
"value": "serverVersion"
},
{
"displayName": "%cloud.serverProperties.serverEdition%",
"value": "serverEdition"
}
],
"databasesListProperties": [
{
"displayName": "%databasesListProperties.name%",
"value": "name",
"widthWeight": 100
}
]
}
]
},
"dashboard.tabs": [
{
"id": "mssql-big-data-cluster",
"description": "%tab.bigDataClusterDescription%",
"provider": "MSSQL",
"title": "%title.bigDataCluster%",
"group": "home",
"when": "connectionProvider == 'MSSQL' && mssql:iscluster && dashboardContext == 'server'",
"container": {
"grid-container": [
{
"name": "%title.tasks%",
"row": 0,
"col": 0,
"colspan": 1,
"widget": {
"tasks-widget": [
"mssqlCluster.task.newNotebook",
"mssqlCluster.task.openNotebook",
"mssqlCluster.livy.task.submitSparkJob",
"mssqlCluster.task.openClusterDashboard"
]
}
},
{
"name": "%title.endpoints%",
"row": 1,
"col": 0,
"rowspan": 2.5,
"colspan": 2,
"widget": {
"modelview": {
"id": "bdc-endpoints"
}
}
},
{
"name": "%title.books%",
"row": 0,
"col": 2,
"colspan": 1,
"widget": {
"modelview": {
"id": "books-widget"
}
}
}
]
}
}
],
"connectionProvider": {
"providerId": "MSSQL",
"displayName": "%mssql.provider.displayName%",
"iconPath": [
{
"id": "mssql:cloud",
"path": {
"light": "resources/light/azureDB.svg",
"dark": "resources/dark/azureDB_inverse.svg"
}
},
{
"id": "mssql:cluster",
"path": {
"light": "resources/light/sql_bigdata_cluster.svg",
"dark": "resources/dark/sql_bigdata_cluster_inverse.svg"
}
}
],
"connectionOptions": [
{
"specialValueType": "connectionName",
"isIdentity": true,
"name": "connectionName",
"displayName": "%mssql.connectionOptions.connectionName.displayName%",
"description": "%mssql.connectionOptions.connectionName.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": "serverName",
"isIdentity": true,
"name": "server",
"displayName": "%mssql.connectionOptions.serverName.displayName%",
"description": "%mssql.connectionOptions.serverName.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": true,
"isArray": false
},
{
"specialValueType": "databaseName",
"isIdentity": true,
"name": "database",
"displayName": "%mssql.connectionOptions.databaseName.displayName%",
"description": "%mssql.connectionOptions.databaseName.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": "authType",
"isIdentity": true,
"name": "authenticationType",
"displayName": "%mssql.connectionOptions.authType.displayName%",
"description": "%mssql.connectionOptions.authType.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "category",
"defaultValue": "SqlLogin",
"defaultValueOsOverrides": [
{
"os": "Windows",
"defaultValueOverride": "Integrated"
}
],
"objectType": null,
"categoryValues": [
{
"displayName": "%mssql.connectionOptions.authType.categoryValues.sqlLogin%",
"name": "SqlLogin"
},
{
"displayName": "%mssql.connectionOptions.authType.categoryValues.integrated%",
"name": "Integrated"
},
{
"displayName": "%mssql.connectionOptions.authType.categoryValues.azureMFA%",
"name": "AzureMFA"
}
],
"isRequired": true,
"isArray": false
},
{
"specialValueType": "userName",
"isIdentity": true,
"name": "user",
"displayName": "%mssql.connectionOptions.userName.displayName%",
"description": "%mssql.connectionOptions.userName.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": true,
"isArray": false
},
{
"specialValueType": "password",
"isIdentity": true,
"name": "password",
"displayName": "%mssql.connectionOptions.password.displayName%",
"description": "%mssql.connectionOptions.password.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "password",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": true,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "applicationIntent",
"displayName": "%mssql.connectionOptions.applicationIntent.displayName%",
"description": "%mssql.connectionOptions.applicationIntent.description%",
"groupName": "%mssql.connectionOptions.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": "%mssql.connectionOptions.asynchronousProcessing.displayName%",
"description": "%mssql.connectionOptions.asynchronousProcessing.description%",
"groupName": "%mssql.connectionOptions.groupName.initialization%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "connectTimeout",
"displayName": "%mssql.connectionOptions.connectTimeout.displayName%",
"description": "%mssql.connectionOptions.connectTimeout.description%",
"groupName": "%mssql.connectionOptions.groupName.initialization%",
"valueType": "number",
"defaultValue": "30",
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "currentLanguage",
"displayName": "%mssql.connectionOptions.currentLanguage.displayName%",
"description": "%mssql.connectionOptions.currentLanguage.description%",
"groupName": "%mssql.connectionOptions.groupName.initialization%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "columnEncryptionSetting",
"displayName": "%mssql.connectionOptions.columnEncryptionSetting.displayName%",
"description": "%mssql.connectionOptions.columnEncryptionSetting.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "category",
"defaultValue": null,
"objectType": null,
"categoryValues": [
{
"displayName": "%mssql.disabled%",
"name": "Disabled"
},
{
"displayName": "%mssql.enabled%",
"name": "Enabled"
}
],
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "attestationProtocol",
"displayName": "%mssql.connectionOptions.enclaveAttestationProtocol.displayName%",
"description": "%mssql.connectionOptions.enclaveAttestationProtocol.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "category",
"defaultValue": null,
"objectType": null,
"categoryValues": [
{
"displayName": "%mssql.connectionOptions.enclaveAttestationProtocol.categoryValues.HGS%",
"name": "HGS"
},
{
"displayName": "%mssql.connectionOptions.enclaveAttestationProtocol.categoryValues.AAS%",
"name": "AAS"
}
],
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "enclaveAttestationUrl",
"displayName": "%mssql.connectionOptions.enclaveAttestationUrl.displayName%",
"description": "%mssql.connectionOptions.enclaveAttestationUrl.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "encrypt",
"displayName": "%mssql.connectionOptions.encrypt.displayName%",
"description": "%mssql.connectionOptions.encrypt.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "persistSecurityInfo",
"displayName": "%mssql.connectionOptions.persistSecurityInfo.displayName%",
"description": "%mssql.connectionOptions.persistSecurityInfo.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "trustServerCertificate",
"displayName": "%mssql.connectionOptions.trustServerCertificate.displayName%",
"description": "%mssql.connectionOptions.trustServerCertificate.description%",
"groupName": "%mssql.connectionOptions.groupName.security%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "attachedDBFileName",
"displayName": "%mssql.connectionOptions.attachedDBFileName.displayName%",
"description": "%mssql.connectionOptions.attachedDBFileName.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "contextConnection",
"displayName": "%mssql.connectionOptions.contextConnection.displayName%",
"description": "%mssql.connectionOptions.contextConnection.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "port",
"displayName": "%mssql.connectionOptions.port.displayName%",
"description": null,
"groupName": null,
"valueType": "number",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "connectRetryCount",
"displayName": "%mssql.connectionOptions.connectRetryCount.displayName%",
"description": "%mssql.connectionOptions.connectRetryCount.description%",
"groupName": "%mssql.connectionOptions.groupName.connectionResiliency%",
"valueType": "number",
"defaultValue": "1",
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "connectRetryInterval",
"displayName": "%mssql.connectionOptions.connectRetryInterval.displayName%",
"description": "%mssql.connectionOptions.connectRetryInterval.description%",
"groupName": "%mssql.connectionOptions.groupName.connectionResiliency%",
"valueType": "number",
"defaultValue": "10",
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": "appName",
"isIdentity": false,
"name": "applicationName",
"displayName": "%mssql.connectionOptions.applicationName.displayName%",
"description": "%mssql.connectionOptions.applicationName.description%",
"groupName": "%mssql.connectionOptions.groupName.context%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "workstationId",
"displayName": "%mssql.connectionOptions.workstationId.displayName%",
"description": "%mssql.connectionOptions.workstationId.description%",
"groupName": "%mssql.connectionOptions.groupName.context%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "pooling",
"displayName": "%mssql.connectionOptions.pooling.displayName%",
"description": "%mssql.connectionOptions.pooling.description%",
"groupName": "%mssql.connectionOptions.groupName.pooling%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "maxPoolSize",
"displayName": "%mssql.connectionOptions.maxPoolSize.displayName%",
"description": "%mssql.connectionOptions.maxPoolSize.description%",
"groupName": "%mssql.connectionOptions.groupName.pooling%",
"valueType": "number",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "minPoolSize",
"displayName": "%mssql.connectionOptions.minPoolSize.displayName%",
"description": "%mssql.connectionOptions.minPoolSize.description%",
"groupName": "%mssql.connectionOptions.groupName.pooling%",
"valueType": "number",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "loadBalanceTimeout",
"displayName": "%mssql.connectionOptions.loadBalanceTimeout.displayName%",
"description": "%mssql.connectionOptions.loadBalanceTimeout.description%",
"groupName": "%mssql.connectionOptions.groupName.pooling%",
"valueType": "number",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "replication",
"displayName": "%mssql.connectionOptions.replication.displayName%",
"description": "%mssql.connectionOptions.replication.description%",
"groupName": "%mssql.connectionOptions.groupName.replication%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "attachDbFilename",
"displayName": "%mssql.connectionOptions.attachDbFilename.displayName%",
"description": null,
"groupName": null,
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "failoverPartner",
"displayName": "%mssql.connectionOptions.failoverPartner.displayName%",
"description": "%mssql.connectionOptions.failoverPartner.description%",
"groupName": "%mssql.connectionOptions.groupName.source%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "multiSubnetFailover",
"displayName": "%mssql.connectionOptions.multiSubnetFailover.displayName%",
"description": null,
"groupName": null,
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "multipleActiveResultSets",
"displayName": "%mssql.connectionOptions.multipleActiveResultSets.displayName%",
"description": "%mssql.connectionOptions.multipleActiveResultSets.description%",
"groupName": "%mssql.connectionOptions.groupName.advanced%",
"valueType": "boolean",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "packetSize",
"displayName": "%mssql.connectionOptions.packetSize.displayName%",
"description": "%mssql.connectionOptions.packetSize.description%",
"groupName": "%mssql.connectionOptions.groupName.advanced%",
"valueType": "number",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
},
{
"specialValueType": null,
"isIdentity": false,
"name": "typeSystemVersion",
"displayName": "%mssql.connectionOptions.typeSystemVersion.displayName%",
"description": "%mssql.connectionOptions.typeSystemVersion.description%",
"groupName": "%mssql.connectionOptions.groupName.advanced%",
"valueType": "string",
"defaultValue": null,
"objectType": null,
"categoryValues": null,
"isRequired": false,
"isArray": false
}
]
}
},
"dependencies": {
"@microsoft/ads-kerberos": "^1.1.3",
"buffer-stream-reader": "^0.1.1",
"bytes": "^3.1.0",
"dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#1.2.4",
"error-ex": "^1.3.2",
"figures": "^2.0.0",
"find-remove": "1.2.1",
"request": "^2.88.0",
"request-light": "^0.3.0",
"@microsoft/ads-service-downloader": "0.2.3",
"stream-meter": "^1.0.4",
"through2": "^3.0.1",
"tough-cookie": "^3.0.1",
"vscode-extension-telemetry": "0.1.0",
"vscode-languageclient": "5.2.1",
"vscode-nls": "^4.0.0"
},
"devDependencies": {
"@types/bytes": "^3.0.0",
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
"@types/request": "^2.48.2",
"@types/stream-meter": "^0.0.22",
"@types/through2": "^2.0.34",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.17.0",
"mocha-multi-reporters": "^1.1.7",
"should": "^13.2.3",
"typemoq": "^2.1.0",
"vscodetestcover": "^1.1.0"
}
}