Kusto extension for ADS (#11752)

* Kusto extension

* Add kusto to extensions.ts

* Remove objectExplorerNodeProvider

* Removed some BDC items + CR cleanup

* Cleanup unused strings in package.nls.json

* Remove unused svgs, and some cleanup

* Bringing objectExplorerNode back and hygiene changes

* rename to KustoObjectExplorerNodeProvider

* rename to KustoIconProvider

* Cleanup SQL code

* Fix compilation error

* Clean up in objectExplorerNodeProvider folder

* Some more clean up based on comments

* apiWrapper add

* changed to camelCase

* Remove unused functions/files

* Removed AgentServicesFeature

* dacfx, cms, schemacompare clean up

* Clean up and addressed few comments

* Remove apWrapper from kusto extension

* Addressed few comments

* credentialstore and escapeexception changes

* Added strict check for Kusto extension

* Fix error and addressed comment

* Saving Kusto files shoulf default to .kql

* package.json changes

* Fix objectExplorerNodeProvider

* Amir/kusto fix (#11972)

* Add the compiled extensions.js

* Fix strict compile rules

Co-authored-by: Monica Gupta <mogupt@microsoft.com>
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
This commit is contained in:
Shafiq Ur Rahman
2020-08-26 14:13:31 -07:00
committed by GitHub
parent f7279cb1f5
commit 2f94307635
60 changed files with 4660 additions and 26 deletions

14
src/sql/azdata.d.ts vendored
View File

@@ -284,9 +284,9 @@ declare module 'azdata' {
// Object Explorer interfaces -----------------------------------------------------------------------
export interface ObjectExplorerSession {
success: boolean;
sessionId: string;
sessionId?: string;
rootNode: NodeInfo;
errorMessage: string;
errorMessage?: string;
}
/**
@@ -296,12 +296,12 @@ declare module 'azdata' {
export interface NodeInfo {
nodePath: string;
nodeType: string;
nodeSubType: string;
nodeSubType?: string;
nodeStatus?: string;
label: string;
isLeaf: boolean;
metadata?: ObjectMetadata;
errorMessage: string;
errorMessage?: string;
/**
* Optional iconType for the object in the tree. Currently this only supports
* an icon name or SqlThemeIcon name, rather than a path to an icon.
@@ -1228,7 +1228,7 @@ declare module 'azdata' {
}
export interface ObjectExplorerExpandInfo {
sessionId: string;
sessionId?: string;
nodePath: string;
nodes: NodeInfo[];
errorMessage?: string;
@@ -1236,7 +1236,7 @@ declare module 'azdata' {
export interface ExpandNodeInfo {
sessionId: string;
nodePath: string;
nodePath: string | undefined;
}
export interface FindNodesInfo {
@@ -1299,7 +1299,7 @@ declare module 'azdata' {
}
export interface IconProvider extends DataProvider {
getConnectionIconId(connection: IConnectionProfile, serverInfo: ServerInfo): Thenable<string>;
getConnectionIconId(connection: IConnectionProfile, serverInfo: ServerInfo): Thenable<string | undefined>;
}
// Admin Services interfaces -----------------------------------------------------------------------