deployment extension not working on Linux (#6476)

* add webpack for built in extensions

* fix the casing issue

* Rename azCLITool.ts to azCliTool.ts

* Rename kubectlTool.ts to kubeCtlTool.ts

* fix the error

* fix the packaging issue
This commit is contained in:
Alan Ren
2019-07-23 18:34:17 -07:00
committed by GitHub
parent 53ab31766c
commit a92b2e0691
12 changed files with 51 additions and 14 deletions

View File

@@ -23,4 +23,4 @@ export class AzCliTool implements ITool {
get displayName(): string {
return localize('resourceDeployment.AzCLIDisplayName', 'Azure CLI');
}
}
}

View File

@@ -17,7 +17,7 @@ export class AzdataTool implements ITool {
}
get type(): ToolType {
return ToolType.MSSQLCtl;
return ToolType.Azdata;
}
get displayName(): string {

View File

@@ -23,4 +23,4 @@ export class KubeCtlTool implements ITool {
get displayName(): string {
return localize('resourceDeployment.KubeCtlDisplayName', 'kubectl');
}
}
}

View File

@@ -14,12 +14,12 @@ export interface IToolsService {
}
export class ToolsService implements IToolsService {
private supportedTools: ITool[];
constructor() {
this.supportedTools = [new DockerTool(), new AzCliTool(), new AzdataTool(), new KubeCtlTool()];
}
private supportedTools: ITool[];
getToolByName(toolName: string): ITool | undefined {
return this.supportedTools.find(t => t.name === toolName);
}