Files
azuredatastudio/extensions/sql-migration/package.json
AkshayMata 9f5f49e956 Fix connecting to MI login bug (#21821)
This PR fixes a regression for migration login for MI instances that was introduced in https://github.com/microsoft/azuredatastudio/pull/21776/files#diff-93c1a62583fa32d99f775b71ad27922cf31f660d10717ecc6966784306de1b6f.

After that change, support for MI would fail as MI server types were going into the Sql VM path in sqlutils because the underlying logic for isSqlServerVM() was returning wrong results.

The new approach uses the targetType set in StateMachine to extract the correct serverName for connection string based on the targetType.

Testing:
- Tested SQL VM login migration end to end
- Tested SQL MI login migration end to end


This change also bumps the sql-migration version to 1.3.0
2023-02-03 06:43:39 -08:00

169 lines
4.6 KiB
JSON

{
"name": "sql-migration",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.3.0",
"publisher": "Microsoft",
"preview": false,
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
"icon": "images/extension.png",
"aiKey": "29a207bb14f84905966a8f22524cb730-25407f35-11b6-4d4e-8114-ab9e843cb52f-7380",
"engines": {
"vscode": "*",
"azdata": ">=1.41.0"
},
"activationEvents": [
"onDashboardOpen",
"onCommand:sqlmigration.start",
"onCommand:sqlmigration.newsupportrequest",
"onCommand:sqlmigration.sendfeedback",
"onCommand:sqlmigration.openNotebooks"
],
"capabilities": {
"virtualWorkspaces": false,
"untrustedWorkspaces": {
"supported": true
}
},
"main": "./out/main",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/azuredatastudio.git"
},
"extensionDependencies": [
"Microsoft.mssql"
],
"contributes": {
"commands": [
{
"command": "sqlmigration.start",
"title": "%start-migration-command%",
"category": "%migration-command-category%",
"icon": "./images/migration.svg"
},
{
"command": "sqlmigration.newsupportrequest",
"title": "%new-support-request-command%",
"category": "%migration-command-category%",
"icon": "./images/newSupportRequest.svg"
},
{
"command": "sqlmigration.sendfeedback",
"title": "%send-feedback-command%",
"category": "%migration-command-category%",
"icon": "./images/sendFeedback.svg"
},
{
"command": "sqlmigration.openNotebooks",
"title": "%migration-notebook-command-title%",
"category": "%migration-command-category%"
},
{
"command": "sqlmigration.cutover",
"title": "%complete-cutover-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.view.database",
"title": "%database-details-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.view.target",
"title": "%view-target-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.view.service",
"title": "%view-service-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.copy.migration",
"title": "%copy-migration-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.cancel.migration",
"title": "%cancel-migration-menu%",
"category": "%migration-context-menu-category%"
},
{
"command": "sqlmigration.retry.migration",
"title": "%retry-migration-menu%",
"category": "%migration-context-menu-category%"
}
],
"menu": {
"commandPalette": [
{
"command": "sqlmigration.newsupportrequest",
"when": "false"
},
{
"command": "sqlmigration.sendfeedback",
"when": "false"
},
{
"command": "sqlmigration.cutover",
"when": "false"
},
{
"command": "sqlmigration.view.database",
"when": "false"
},
{
"command": "sqlmigration.view.target",
"when": "false"
},
{
"command": "sqlmigration.view.service",
"when": "false"
},
{
"command": "sqlmigration.copy.migration",
"when": "false"
},
{
"command": "sqlmigration.cancel.migration",
"when": "false"
},
{
"command": "sqlmigration.retry.migration",
"when": "false"
}
]
},
"dashboard.tabs": [
{
"id": "migration-dashboard",
"description": "%migration-dashboard-title%",
"provider": "MSSQL",
"title": "%migration-dashboard-title%",
"icon": {
"light": "./images/migration.svg",
"dark": "./images/migration.svg"
},
"when": "connectionProvider == 'MSSQL' && !mssql:iscloud && mssql:engineedition != 8",
"hideRefreshTask": true,
"container": {
"modelview-container": null
}
}
]
},
"dependencies": {
"@microsoft/ads-extension-telemetry": "^1.3.4",
"uuid": "^8.3.2",
"vscode-nls": "^4.1.2"
},
"__metadata": {
"publisherDisplayName": "Microsoft",
"publisherId": "Microsoft",
"id": "81"
},
"devDependencies": {
"@types/uuid": "^8.3.1"
}
}