* 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>
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);