Advanced Cluster Management Enhancements
- Chnaged cluster page design from switch to single page
- Added bootstrap option in creation and registration
- Added horizontal scaling, vertical scaling and upgrade in
cluster action
- In cluster page, for list combined two apis to show list done
temporary fix from UI
Change-Id: Ie4d30f5db28025ec92398cc60fc50ab7030f8f9b
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/models/CommonModel.ts b/src/models/CommonModel.ts
index 0b85878..cb69103 100644
--- a/src/models/CommonModel.ts
+++ b/src/models/CommonModel.ts
@@ -75,6 +75,9 @@
k8OperationalStateThirdStep = 'IN_DELETION',
k8OperationalStateFourthStep = 'FAILED_DELETION',
k8OperationalStateFifthStep = 'FAILED_CREATION',
+ k8OperationalStateSixthStep = 'N/A',
+ clusterModeFirstStep = 'MANAGED',
+ clusterModeSecondStep = 'REGISTERED',
done = 'done',
close = 'close',
userActive = 'active',
@@ -131,6 +134,9 @@
actions?: object;
executedActions?: EXECUTEDACTIONS[];
identifierList: [];
+ createdbyosm?: string;
+ bootstrap?: boolean;
+ key?: boolean;
}
/** Handle the Delete params */
export interface DELETEPARAMS {
@@ -142,6 +148,9 @@
page?: string;
id?: string;
productName?: string;
+ createdbyosm?: string;
+ bootstrap?: boolean;
+ key?: boolean;
}
/** Interface for the Delete Details */
diff --git a/src/models/K8sModel.ts b/src/models/K8sModel.ts
index 307cb34..58a96b1 100644
--- a/src/models/K8sModel.ts
+++ b/src/models/K8sModel.ts
@@ -32,6 +32,10 @@
_admin: Admin;
_id: string;
state?: string;
+ resourceState?: string;
+ created?: string;
+ bootstrap?: boolean;
+ key?: string;
}
/** Interface for K8SCLUSTERDATA */
export interface K8SREPODATA {
@@ -110,14 +114,18 @@
export interface K8SCLUSTERDATADISPLAY {
name: string;
identifier: string;
- operationalState: string;
+ operationalState?: string;
version: number;
- created: string;
- modified: string;
+ created?: string;
+ modified?: string;
pageType: string;
description?: string;
default?: boolean;
state?: string;
+ createdbyosm?: string;
+ bootstrap?: boolean;
+ key?: boolean;
+ clusterMode?: string;
}
/** Interface for the K8SCLUSTERDATA Return to Display */
export interface K8SREPODATADISPLAY {
@@ -131,6 +139,9 @@
description?: string;
default?: boolean;
state?: string;
+ createdbyosm?: boolean;
+ bootstrap?: boolean;
+ key?: boolean;
}
/** Interface for the Create cluster */
@@ -171,6 +182,9 @@
modified?: string;
ksus?: KSU[];
state?: string;
+ createdbyosm?: boolean;
+ bootstrap?: boolean;
+ key?: boolean;
}
/** Interface for the KSU */
@@ -208,6 +222,7 @@
region_name?: string;
resource_group?: string;
'node_size'?: string;
+ bootstrap?: boolean
}
/** Interface for Profile Mappings */