Fix Bug 1889: Operational View Dashboard not visible when NS is running with K8s... 52/11752/2
authorSANDHYA.JS <sandhya.j@tataelxsi.co.in>
Tue, 8 Mar 2022 11:47:23 +0000 (17:17 +0530)
committerramanathan <ramerama@tataelxsi.co.in>
Thu, 7 Apr 2022 05:34:46 +0000 (07:34 +0200)
* 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..d14d48b 100644 (file)
@@ -227,8 +227,8 @@ 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 assignNSInstancesID: string = key;
             const vcaApplication: VCAAPPLICATIONS[] = this.appData(list.vcaStatus[key].applications);
             const vcaUnits: VCAUNITS[] = this.unitsData(vcaApplication);
             const vcaMachines: MACHINES[] = this.machinesData(list.vcaStatus[key].machines);