Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management Plane API Switch #1121

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 166 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -909,22 +909,25 @@
"webpack-cli": "^3.1.2"
},
"dependencies": {
"@azure/arm-cosmosdb": "^3.0.0",
"@azure/ms-rest-azure-js": "^1.3.5",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the node modules that you're not using

"@azure/ms-rest-browserauth": "^0.1.4",
"@azure/ms-rest-js": "^1.8.7",
"@azure/ms-rest-nodeauth": "^2.0.0",
"antlr4ts": "^0.4.1-alpha.0",
"azure-arm-cosmosdb": "^1.1.2",
"azure-arm-resource": "^3.0.0-preview",
"d3": "^3.0.0",
"documentdb": "^1.14.2",
"event-stream": "3.3.4",
"fs-extra": "^4.0.2",
"gremlin": "^2.6.0",
"html-to-text": "^4.0.0",
"mongodb": "^2.2.25",
"mongodb-extended-json": "^1.10.0",
"ms-rest": "^2.2.1",
"node-uuid": "1.4.8",
"socket.io": "^1.7.3",
"socket.io-client": "^1.7.3",
"underscore": "^1.8.3",
"vscode-azureextensionui": "^0.25.0",
"vscode-azureextensionui": "file:../vscode-azuretools/ui/vscode-azureextensionui-0.26.0.tgz",
"vscode-json-languageservice": "^3.0.8",
"vscode-languageclient": "^4.4.0",
"vscode-languageserver": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/deleteCosmosDBAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import { CosmosDBManagementClient } from 'azure-arm-cosmosdb';
import { CosmosDBManagementClient } from '@azure/arm-cosmosdb';
import * as vscode from 'vscode';
import { AzureTreeItem, createAzureClient, DialogResponses } from 'vscode-azureextensionui';
import { UserCancelledError } from 'vscode-azureextensionui';
Expand Down
4 changes: 2 additions & 2 deletions src/docdb/tree/DocDBAccountTreeItemBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import { DatabaseAccount } from 'azure-arm-cosmosdb/lib/models';
import { CosmosDBManagementModels as CosmosModels } from '@azure/arm-cosmosdb';
import { DatabaseMeta, DocumentClient, FeedOptions, QueryIterator } from 'documentdb';
import * as path from 'path';
import * as vscode from 'vscode';
Expand All @@ -26,7 +26,7 @@ export abstract class DocDBAccountTreeItemBase extends DocDBTreeItemBase<Databas

private _root: IDocDBTreeRoot;

constructor(parent: AzureParentTreeItem, id: string, label: string, documentEndpoint: string, masterKey: string, isEmulator: boolean, readonly databaseAccount?: DatabaseAccount) {
constructor(parent: AzureParentTreeItem, id: string, label: string, documentEndpoint: string, masterKey: string, isEmulator: boolean, readonly databaseAccount?: CosmosModels.DatabaseAccount) {
super(parent);
this.id = id;
this.label = label;
Expand Down
Loading