Fix Bug 1889: Operational View Dashboard not visible when NS is running with K8s... 34/11734/1
authorSANDHYA.JS <sandhya.j@tataelxsi.co.in>
Tue, 8 Mar 2022 11:47:23 +0000 (17:17 +0530)
committerSANDHYA.JS <sandhya.j@tataelxsi.co.in>
Tue, 8 Mar 2022 11:47:23 +0000 (17:17 +0530)
* Modified id attribute to point towards vcastatus vca_id instead
  of ns_id.

Change-Id: Id79b632e51413207a32385b6a9bee71f9a226126
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
src/app/operational-view/OperationalViewComponent.ts

index 9d6c1fe..ae2a13c 100644 (file)
@@ -227,11 +227,11 @@ export class OperationalViewComponent implements OnInit {
     public vcaDetailsData(list: VCASTATUS, liveData: boolean, timeOutSeconds: number): VCADETAILS {
         const assignVCADetails: VCADETAILS[] = [];
         const setModels: SETMODELS[] = [];
-        const assignNSInstancesID: string = list.id;
         Object.keys(list.vcaStatus).forEach((key: string): void => {
             const vcaApplication: VCAAPPLICATIONS[] = this.appData(list.vcaStatus[key].applications);
             const vcaUnits: VCAUNITS[] = this.unitsData(vcaApplication);
             const vcaMachines: MACHINES[] = this.machinesData(list.vcaStatus[key].machines);
+            const assignNSInstancesID: string = key;
             list.vcaStatus[key].units = vcaUnits;
             list.vcaStatus[key].applications = vcaApplication;
             list.vcaStatus[key].machines = vcaMachines;