X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fcommon%2Feliot-ui%2Ffrontend-src%2Fsrc%2Fapp%2Fdatainterface.ts;h=22c27697d337cc16e1c8a78aebb7d7613684279a;hb=5c2048d4d3e672783eea4f306aa9a03f33a1a9f2;hp=ddc4276b3bce74565fab5f2b999739377d9af9a4;hpb=59f512662c02a16c1d5c45b090b185d2e773310f;p=eliot.git diff --git a/blueprints/common/eliot-ui/frontend-src/src/app/datainterface.ts b/blueprints/common/eliot-ui/frontend-src/src/app/datainterface.ts index ddc4276..22c2769 100644 --- a/blueprints/common/eliot-ui/frontend-src/src/app/datainterface.ts +++ b/blueprints/common/eliot-ui/frontend-src/src/app/datainterface.ts @@ -43,6 +43,27 @@ export interface podinfo { readiness: string; } +export interface uninstallinfo { + id: string; + appName: string; + nodeIp: string; + date: string; + runningStatus: string; +} + +export interface currentDeployDetails { + currentDeployArray: currentDeployInfo[]; +} + +export interface currentDeployInfo { + deployId: string; + appName: string; + yamlName: string; + nodeIp: string; + runningStatus: string; +} + + export interface nodesDropDownDetails { nodesArray: nodesDropDown[]; } @@ -64,4 +85,76 @@ export interface serviceinfo { ports: string; age: string; selector: string; +} + +export interface deploymentData { + deployFile: any; +} + +export interface historyDetails { + eliotHistory: historyInformation[]; +} + +export interface historyinfo { + namespace: string; + name: string; +} + +export interface historyInformation { + id: string; + date: string; + csarPackage: string; + yamlFile: string; + month: string; + status: string; +} + +export interface historyPostInfo { + fileDownload: fileDownload[]; +} + +export interface fileDownload { + id: string; + fileName: string; +} + +export interface nodeDeploy { + deployNodeName: string; + deployNodeLabel: string; +} + + +export interface dashboardInfo { + appDeployStatus: appDeployStatus; + stabilityStatus: stabilityStatus; + historyStatus: historyStatus; +} + +export interface appDeployStatus { + deploySuccess: number; + deployFailed: number; + deployPending: number; +} + +export interface stabilityStatus { + nodesStable: number; + nodesUnstable: number; + podsStable: number; + podsUnstable: number; + servicesRunning: number; +} + +export interface historyStatus { + jan: number; + feb: number; + mar: number; + apr: number; + may: number; + jun: number; + jul: number; + aug: number; + sep: number; + oct: number; + nov: number; + dec: number; } \ No newline at end of file