mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
* Added Azure Log Analytics resource for generating AAD Token. * Fixed AzureResource * Removed debug code from connectionManagementService * Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts. Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts * Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China * Initial Commit of Azure Monitor Extension * Added extension name to azuremonitor package strings * Removed azureMonitor resource from germanyCloud in providerSettings * Added logic to exclude menuItems in object explorer for LogAnalytics * Changed exe from AzureMonitor to Kusto * Added if clause for queryName for new queries * Changed queryWindow name from KustoQuery to KQLQuery for Kusto and LogAnalytics. * Added LogAnalytics for setTaskBarContent * Added serialization and telemetry feature classes to AzureMonitor. Added references for azdata and vscode. * Added azure monitor light and dark icons * Added config for Dashboard in package.json * Added workspace information to dashboard * Added language support for LogAnalytics * Added Notebook support * Added Hide flag to package.json for databaseName * Changed providerId from LogAnalytics to LOGANALYTICS * Changed Workspace to Workspace ID in package.nls.json * Added support for Azure Widget browser * Changed fullName to use workspaceId when connecting * Changed providerId from alertsManagement to azureMonitor * Added .gitignore and *.vsix to vscodeignore. * Removed unused devDependencies * Code Review Feedback * Changed tsconfig.json to match Kusto and Sql * Changed package.json to match kusto package. * Changed tsconfig to validate unused params and implictAny. Changed existing code to satisfy build. * Fixed tsconfig to use the correct base class. * Added objectExplorerNodeProvider and all related classes. * Removed unused tmLanguage file * Added logic to to download extension from toolservice * Fixed launchArgs. Removed commented code from extension.ts. Changed config.json to use net5.0 * Added displayName to package.nls.json. Removed hide flag from databaseName. Other code review feedback. * Added readme info to AzureMonitor * Removed unused client-error-handler and ui-references files. Combined outputChannel in azuremonitorServer. Removed TODO from contextProvider. Renamed function in extension.ts. Removed unneeded 'use strict' from cancelableStream.ts. Removed second outputChannel from objectExplorerNodeProvider. * Removed unused files
358 lines
10 KiB
JSON
358 lines
10 KiB
JSON
{
|
|
"name": "azurecore",
|
|
"displayName": "%azure.displayName%",
|
|
"description": "%azure.description%",
|
|
"version": "0.1.0",
|
|
"publisher": "Microsoft",
|
|
"preview": true,
|
|
"engines": {
|
|
"vscode": "^1.30.1",
|
|
"azdata": "*"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"enableProposedApi": true,
|
|
"main": "./out/extension",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/azuredatastudio.git"
|
|
},
|
|
"contributes": {
|
|
"resourceViewResources": [
|
|
{
|
|
"id": "azure-resources",
|
|
"name": "%azure.resource.view.title%",
|
|
"icon": "./resources/azure.svg"
|
|
}
|
|
],
|
|
"configuration": [
|
|
{
|
|
"type": "object",
|
|
"title": "%azure.resource.config.title%",
|
|
"properties": {
|
|
"azure.resource.config.filter": {
|
|
"type": "array",
|
|
"default": null,
|
|
"description": "%azure.resource.config.filter.description%"
|
|
},
|
|
"azure.tenant.config.filter": {
|
|
"type": "array",
|
|
"default": [],
|
|
"description": "%azure.tenant.config.filter.description%"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"title": "%config.azureAccountConfigurationSection%",
|
|
"properties": {
|
|
"accounts.azure.cloud.enablePublicCloud": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%config.enablePublicCloudDescription%"
|
|
},
|
|
"accounts.azure.cloud.enableUsGovCloud": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.enableUsGovCloudDescription%"
|
|
},
|
|
"accounts.azure.cloud.enableUsNatCloud": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.enableUsNatCloudDescription%"
|
|
},
|
|
"accounts.azure.cloud.enableGermanyCloud": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.enableGermanyCloudDescription%"
|
|
},
|
|
"accounts.azure.cloud.enableChinaCloud": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.enableChinaCloudDescription%"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"title": "%config.azureAuthMethodConfigurationSection%",
|
|
"properties": {
|
|
"accounts.azure.auth.codeGrant": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%config.azureCodeGrantMethod%"
|
|
},
|
|
"accounts.azure.auth.deviceCode": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.azureDeviceCodeMethod%"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "object",
|
|
"title": "Azure",
|
|
"properties": {
|
|
"azure.noSystemKeychain": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "%config.noSystemKeychain%",
|
|
"when": "isLinux || isWeb"
|
|
},
|
|
"azure.piiLogging": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "%config.piiLogging%"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"account-type": [
|
|
{
|
|
"id": "microsoft",
|
|
"icon": {
|
|
"light": "./resources/light/microsoft_account_light.svg",
|
|
"dark": "./resources/dark/microsoft_account_dark.svg"
|
|
}
|
|
},
|
|
{
|
|
"id": "work_school",
|
|
"icon": {
|
|
"light": "./resources/light/work_school_account_light.svg",
|
|
"dark": "./resources/dark/work_school_account_dark.svg"
|
|
}
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "accounts.clearTokenCache",
|
|
"title": "%accounts.clearTokenCache%",
|
|
"category": "Azure Accounts"
|
|
},
|
|
{
|
|
"command": "azure.resource.signin",
|
|
"title": "%azure.resource.signin.title%",
|
|
"icon": "$(add)"
|
|
},
|
|
{
|
|
"command": "azure.resource.refreshall",
|
|
"title": "%azure.resource.refreshall.title%",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "azure.resource.azureview.refresh",
|
|
"title": "%azure.resource.refresh.title%",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectiondialog.refresh",
|
|
"title": "%azure.resource.refresh.title%",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "azure.resource.selectsubscriptions",
|
|
"title": "%azure.resource.selectsubscriptions.title%",
|
|
"icon": "$(filter)"
|
|
},
|
|
{
|
|
"command": "azure.resource.startterminal",
|
|
"title": "%azure.resource.startterminal.title%",
|
|
"icon": "$(console)"
|
|
},
|
|
{
|
|
"command": "azure.resource.openInAzurePortal",
|
|
"title": "%azure.openInAzurePortal.title%"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"title": "%azure.resource.connectsqlserver.title%",
|
|
"icon": {
|
|
"dark": "resources/dark/connect_to_inverse.svg",
|
|
"light": "resources/light/connect_to.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqldb",
|
|
"title": "%azure.resource.connectsqldb.title%",
|
|
"icon": {
|
|
"dark": "resources/dark/add_to_server_list_inverse.svg",
|
|
"light": "resources/light/add_to_server_list.svg"
|
|
}
|
|
},
|
|
{
|
|
"command": "azure.dataGrid.openInAzurePortal",
|
|
"title": "%azure.openInAzurePortal.title%"
|
|
}
|
|
],
|
|
"connectionTreeProvider": [
|
|
{
|
|
"id": "connectionDialog/azureResourceExplorer",
|
|
"name": "%azure.resource.explorer.title%"
|
|
}
|
|
],
|
|
"dataExplorer": {
|
|
"dataExplorer": [
|
|
{
|
|
"id": "azureResourceExplorer",
|
|
"name": "%azure.resource.explorer.title%"
|
|
}
|
|
]
|
|
},
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "azure.resource.signin",
|
|
"when": "true"
|
|
},
|
|
{
|
|
"command": "azure.resource.refreshall",
|
|
"when": "true"
|
|
},
|
|
{
|
|
"command": "azure.resource.selectsubscriptions",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "azure.resource.azureview.refresh",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectiondialog.refresh",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"when": "false"
|
|
},
|
|
{
|
|
"command": "azure.dataGrid.openInAzurePortal",
|
|
"when": "false"
|
|
}
|
|
],
|
|
"view/title": [
|
|
{
|
|
"command": "azure.resource.signin",
|
|
"when": "view == azureResourceExplorer",
|
|
"group": "navigation@1"
|
|
},
|
|
{
|
|
"command": "azure.resource.refreshall",
|
|
"when": "view == azureResourceExplorer",
|
|
"group": "navigation@2"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "azure.resource.selectsubscriptions",
|
|
"when": "viewItem == azure.resource.itemType.account",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.selectsubscriptions",
|
|
"when": "viewItem == azure.resource.itemType.account",
|
|
"group": "azurecore"
|
|
},
|
|
{
|
|
"command": "azure.resource.azureview.refresh",
|
|
"when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:account|subscription|databaseContainer|databaseServerContainer)$/",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.azureview.refresh",
|
|
"when": "viewItem =~ /^azure\\.resource\\.itemType\\.(?:account|subscription|databaseContainer|databaseServerContainer)$/",
|
|
"group": "azurecore"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"when": "viewItem == azure.resource.itemType.databaseServer || viewItem == azure.resource.itemType.database || viewItem == azure.resource.itemType.sqlInstance",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"when": "viewItem == azure.resource.itemType.databaseServer || viewItem == azure.resource.itemType.database || viewItem == azure.resource.itemType.sqlInstance",
|
|
"group": "azurecore"
|
|
},
|
|
{
|
|
"command": "azure.resource.startterminal",
|
|
"when": "viewItem == azure.resource.itemType.account",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"when": "viewItem == azure.resource.itemType.azureDataExplorer",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectsqlserver",
|
|
"when": "viewItem == azure.resource.itemType.azureMonitor",
|
|
"group": "inline"
|
|
},
|
|
{
|
|
"command": "azure.resource.startterminal",
|
|
"when": "viewItem == azure.resource.itemType.account",
|
|
"group": "azurecore"
|
|
}
|
|
],
|
|
"connectionDialog/browseTree": [
|
|
{
|
|
"command": "azure.resource.selectsubscriptions",
|
|
"when": "contextValue == azure.resource.itemType.account",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "azure.resource.connectiondialog.refresh",
|
|
"when": "contextValue == azure.resource.itemType.account",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "azure.resource.signin",
|
|
"when": "treeId == connectionDialog/azureResourceExplorer",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "azure.resource.refreshall",
|
|
"when": "treeId == connectionDialog/azureResourceExplorer",
|
|
"group": "navigation"
|
|
}
|
|
],
|
|
"dataGrid/item/context": [
|
|
{
|
|
"command": "azure.dataGrid.openInAzurePortal"
|
|
}
|
|
]
|
|
},
|
|
"resourceDeploymentValueProviders": [
|
|
{
|
|
"id": "subscription-id-to-tenant-id"
|
|
}
|
|
],
|
|
"hasAzureResourceProviders": true
|
|
},
|
|
"dependencies": {
|
|
"@azure/arm-resourcegraph": "^4.0.0",
|
|
"@azure/arm-subscriptions": "^3.0.0",
|
|
"axios": "^0.21.1",
|
|
"node-fetch": "^2.6.1",
|
|
"qs": "^6.9.1",
|
|
"vscode-nls": "^4.0.0",
|
|
"ws": "^7.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/keytar": "^4.4.2",
|
|
"@types/mocha": "^5.2.5",
|
|
"@types/node": "^12.11.7",
|
|
"@types/qs": "^6.9.1",
|
|
"@types/request": "^2.48.1",
|
|
"@types/sinon": "^9.0.4",
|
|
"@types/ws": "^6.0.4",
|
|
"mocha": "^5.2.0",
|
|
"mocha-junit-reporter": "^1.17.0",
|
|
"mocha-multi-reporters": "^1.1.7",
|
|
"should": "^13.2.1",
|
|
"sinon": "^9.0.2",
|
|
"typemoq": "^2.1.0",
|
|
"vscodetestcover": "^1.1.0"
|
|
}
|
|
}
|