Maddy/properties widget for endpoints (#5654)

* changes to resue properties widget for endpoints

* comments added

* added loader

* changes to address the review comments: code clean up and constants

* dark theme style fox and misc

* added varibale for display aligment

* renamed hyperlink to isHyperlink

* added endpoints as a modelview to be used on dashboard

* added padding to fix the overlap issues.

* removed the propertieswidget changes

* formatting fixes for hygiene errors

* renamed endpoints to bdc-endpoints

* chnages to address the comments

* added null check
This commit is contained in:
Maddy
2019-05-29 17:30:11 -07:00
committed by GitHub
parent 6d56701b5b
commit 75ce8d6c20
7 changed files with 111 additions and 8 deletions

View File

@@ -213,7 +213,9 @@ export async function getClusterEndpoint(profileId: string, serviceName: string)
let clusterEndpoint: IEndpoint = {
serviceName: endpoints[index].serviceName,
ipAddress: endpoints[index].ipAddress,
port: endpoints[index].port
port: endpoints[index].port,
isHyperlink: false,
hyperlink: null
};
return clusterEndpoint;
}
@@ -222,6 +224,8 @@ export interface IEndpoint {
serviceName: string;
ipAddress: string;
port: number;
isHyperlink: boolean;
hyperlink: string;
}
export function isValidNumber(maybeNumber: any) {