Initial work for BDC Dashboard (#6646)

This commit is contained in:
Charles Gagnon
2019-08-14 10:17:01 -07:00
committed by GitHub
parent 82c1c57c76
commit 5528a90eaf
11 changed files with 407 additions and 64 deletions

View File

@@ -11,8 +11,9 @@ import * as nls from 'vscode-nls';
import { IControllerTreeChangeHandler } from './controllerTreeChangeHandler';
import { TreeNode } from './treeNode';
import { IconPath, BdcItemType } from '../constants';
import { IEndPoint, IControllerError, getEndPoints } from '../controller/clusterControllerApi';
import { getEndPoints } from '../controller/clusterControllerApi';
import { showErrorMessage } from '../utils';
import { EndpointModel } from '../controller/apiGenerated';
const localize = nls.loadMessageBundle();
@@ -118,7 +119,7 @@ export class ControllerRootNode extends ControllerTreeNode {
username: string,
password: string,
rememberPassword: boolean,
masterInstance?: IEndPoint
masterInstance?: EndpointModel
): void {
let controllerNode = this.getExistingControllerNode(url, username);
if (controllerNode) {
@@ -203,7 +204,7 @@ export class ControllerNode extends ControllerTreeNode {
}
}
private static toIpAndPort(url: string): string {
public static toIpAndPort(url: string): string {
if (!url) {
return;
}