From 5ecb6d93b05f1cecb95604b057a1894293a6b687 Mon Sep 17 00:00:00 2001 From: Kruthi Bhat Date: Thu, 29 Oct 2020 22:15:04 +0530 Subject: VID-913 : Addition of Instance IDs in Audit Info screen Change-Id: I7a440c6797f63588c68d490715272992e626424f Issue-ID: VID-913 Signed-off-by: Kruthi Bhat --- .../components/auditInfoModal/auditInfoModal.component.html | 11 ++++++----- .../components/auditInfoModal/auditInfoModal.component.ts | 7 ++++++- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'vid-webpack-master/src/app/shared/components/auditInfoModal') diff --git a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html index 874f13a01..0de1b88ae 100644 --- a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html +++ b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.html @@ -11,7 +11,8 @@
- {{serviceInstanceName }} ({{serviceModelName}}/ + {{serviceInstanceName }} | {{serviceInstanceId}} + ({{serviceModelName}}/ {{serviceModelVersion}}) @@ -38,7 +39,7 @@ Request ID - Instance Name + Instance Name |
Instance ID Model Type Request Type Start Time @@ -49,11 +50,11 @@ - + - - + + diff --git a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts index 6afc8d92e..41e99aee9 100644 --- a/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts +++ b/vid-webpack-master/src/app/shared/components/auditInfoModal/auditInfoModal.component.ts @@ -32,7 +32,7 @@ export class AuditInfoModalComponent { serviceModelId: string; jobId: string; vidInfoData: AuditStatus[] = []; - msoInfoData: AuditStatus[] = []; + msoInfoData : any= []; isAlaCarte: boolean; parentElementClassName = 'content'; isLoading = true; @@ -45,6 +45,7 @@ export class AuditInfoModalComponent { auditInfoModalComponentService : AuditInfoModalComponentService; serviceInstanceName : string; serviceModelVersion : any; + serviceInstanceId : any; exportMSOStatusFeatureEnabled: boolean; dataIsReady : boolean = false; jobDataLocal : any; @@ -68,6 +69,7 @@ export class AuditInfoModalComponent { _iframeService.addClassOpenModal(this.parentElementClassName); this.serviceModelName = jobData.serviceModelName ? jobData.serviceModelName : ''; this.serviceModelId = jobData.serviceModelId; + this.serviceInstanceId = jobData.serviceInstanceId; this.jobId = jobData.jobId; this.auditInfoModal.show(); this.serviceInstanceName = jobData.serviceInstanceName; @@ -152,6 +154,9 @@ export class AuditInfoModalComponent { this.vidInfoData = res[0]; this.msoInfoData = res[1]; this.msoInfoData.sort(this.getSortOrder("startTime")); + this.msoInfoData.forEach((element ) => { + element.instanceColumn = element.instanceName + " | " +"
" + element.instanceId; + }); this.isLoading = false; }); } -- cgit 1.2.3-korg