1 <div class="modal fade" bsModal #auditInfoModal="bs-modal" [config]="{backdrop: 'static'}"
2 tabindex="-1" role="dialog" aria-labelledby="dialog-static-name">
3 <div style="width: 100%; height: 100%" id="audit-info-modal" class=""
4 [ngStyle]="style" mwlResizable [enableGhostResize]="true"
5 [resizeEdges]="{ bottom: true, right: true, top: true, left: true, bottomRight : true, bottomLeft : true, topLeft : true, topRight : true }" (resizeEnd)="onResizeEnd($event)"
6 [validateResize]="validate">
7 <div class="modal-content">
8 <div class="modal-header">
9 <button type="button" class="close" (click)="onCancelClick()">×</button>
10 <span [attr.data-tests-id]="'audit-info-title'" class="modal-title">{{title}}</span>
13 <span style="font-size: 16px;">
14 <!-- ServiceInstanceName(ServiceModelName/ServiceModelId) -->
15 <span title="Service Instance name">{{serviceInstanceName }} </span><span *ngIf= "serviceInstanceId" title="Service Instance ID"> | {{serviceInstanceId}}</span>
16 <span title="Service Model name"> ({{serviceModelName}}/</span>
17 <span title="Service Model version">{{serviceModelVersion}})</span>
20 <div class="modal-body row" style="height: 515px">
22 <div class="col-md-8 right-panel">
25 <div class="col-md-6 leftColumn"><span class="table-title">MSO status</span></div>
26 <div class="col-md-6 rightColumn">
28 <a id="glossary_link" target="_blank" href="#" (click)="onNavigate()">Building Block (BB) glossary</a>
31 <span *ngIf="showMoreAuditInfoLink">
32 <a id="full_screen_link" target="_parent" title="Go to drawing board" [href]="readOnlyRetryUrl()">
33 <i class="fa fa-external-link"></i>
38 <div style="max-height: 90%;overflow-y: scroll; max-width: 100%;overflow-x: scroll;">
39 <table id="service-instantiation-audit-info-mso" class="table table-bordered" style="min-width: 950px;overflow-x: auto;">
40 <thead class="thead-dark row">
42 <th scope="col" class="request-id">Request ID</th>
43 <th *ngIf="isAlaCarte&&isALaCarteFlagOn" id="instanceName" class="col-md-2" scope="col" >Instance Name | <br>Instance ID</th>
48 <th scope="col">Request Status</th>
49 <th class="col-md-2" scope="col">Additional info</th>
53 <tr class="row" *ngFor="let data of msoInfoData">
54 <td id="msoRequestId" style="width: 12%">
55 <custom-ellipsis [id]="data?.requestId" [value]="data?.requestId" [attr.data-tests-id]="'requestId'"></custom-ellipsis>
57 <td id="msoInstanceName" *ngIf="isAlaCarte && isALaCarteFlagOn" class="msoInstanceName" style="width: 10%">
58 <custom-ellipsis [id]="data?.instanceId" [value]="data?.instanceColumn"></custom-ellipsis>
60 <td id="msoModelType" style="width: 7%">
61 <custom-ellipsis [value]="data?.modelType"></custom-ellipsis>
63 <td id="msoInstanceType" style="width: 10%">
64 <custom-ellipsis [value]="data?.instanceType"></custom-ellipsis>
66 <td id="msostartTime" style="width: 10%">
67 <custom-ellipsis [value]="data?.startTime"></custom-ellipsis>
69 <td id="msoFinishTime" style="width: 10%">
70 <custom-ellipsis [value]="data?.finishTime"></custom-ellipsis>
72 <td id="msoJobStatus" style="width: 8%">
73 <custom-ellipsis [id]="data?.jobStatus" [value]="data?.jobStatus | capitalizeAndFormat" [attr.data-tests-id]="'jobStatus'"></custom-ellipsis>
75 <td id="msoAdditionalInfo" style="width: 33%">
76 <span [innerHtml]="data?.additionalInfo"></span>
81 <div class="no-result" *ngIf="!isLoading && msoInfoData?.length == 0">There is no data.</div>
85 <div class="modal-footer row">
86 <button *ngIf="exportMSOStatusFeatureEnabled" style= "font-size: 12px" id="exportButton" type="button" class="btn btn-default cancel"
87 (click)="exportMsoStatusTable()" [attr.data-tests-id]="'export-button'">
90 <button style= "font-size: 12px" id="refreshButton" type="button" class="btn btn-default cancel"
91 [attr.data-tests-id]="'refresh-button'"
92 [ngClass]="{'spin' : !dataIsReady}" (click)="refreshData();">
95 <button style= "font-size: 12px" id="cancelButton" type="button" class="btn btn-default cancel" (click)="onCancelClick()" [attr.data-tests-id]="'close-button'">