Frontend EI Coordinator
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / ei-coordinator / ei-coordinator.component.html
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
new file mode 100644 (file)
index 0000000..aee65c8
--- /dev/null
@@ -0,0 +1,65 @@
+<!--
+========================LICENSE_START=================================
+O-RAN-SC
+%%
+Copyright (C) 2020 Nordix Foundation
+%%
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+========================LICENSE_END===================================
+-->
+
+<h3 class="rd-global-page-title">Enrichment Information Coordinator</h3>
+
+<br>
+<h4>Jobs</h4>
+<table mat-table EIJobTable [dataSource]="eiJobsDataSource" [ngClass]="{'table-dark': darkMode}" matSort
+    multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
+    <ng-container matColumnDef="id">
+        <th mat-header-cell *matHeaderCellDef> Job ID </th>
+        <td mat-cell *matCellDef="let eiJob"> {{this.getDisplayName(eiJob)}} </td>
+    </ng-container>
+    <!--ng-container matColumnDef="data">
+        <th mat-header-cell *matHeaderCellDef> Job data </th>
+        <td mat-cell *matCellDef="let eiJob"> {{this.getEIJobInfo(eiJob)}} </td>
+    </ng-container-->
+    <ng-container matColumnDef="typeId">
+        <th mat-header-cell *matHeaderCellDef> Type ID </th>
+        <td mat-cell *matCellDef="let eiJob"> {{this.getEITypeId(eiJob)}} </td>
+    </ng-container>
+    <ng-container matColumnDef="targetUri">
+        <th mat-header-cell *matHeaderCellDef> Target URI </th>
+        <td mat-cell *matCellDef="let eiJob"> {{this.getTargetUri(eiJob)}} </td>
+    </ng-container>
+    <tr mat-header-row *matHeaderRowDef="['id', 'typeId', 'targetUri']"></tr>
+    <tr mat-row *matRowDef="let row; columns: ['id', 'typeId', 'targetUri'];"></tr>
+</table>
+
+<br>
+<h4>Producers</h4>
+<table mat-table EIProducerTable [dataSource]="eiProducersDataSource" [ngClass]="{'table-dark': darkMode}" matSort
+    multiTemplateDataRows class="ei-coordinator-table mat-elevation-z8">
+    <ng-container matColumnDef="id">
+        <th mat-header-cell *matHeaderCellDef> Producer ID </th>
+        <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerId(eiProducer)}} </td>
+    </ng-container>
+    <ng-container matColumnDef="type">
+        <th mat-header-cell *matHeaderCellDef> Producer type </th>
+        <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerTypes(eiProducer)}} </td>
+    </ng-container>
+    <ng-container matColumnDef="status">
+        <th mat-header-cell *matHeaderCellDef> Producer status </th>
+        <td mat-cell *matCellDef="let eiProducer"> {{this.getEIProducerStatus(eiProducer)}} </td>
+    </ng-container>
+    <tr mat-header-row *matHeaderRowDef="['id', 'type', 'status']"></tr>
+    <tr mat-row *matRowDef="let row; columns: ['id', 'type', 'status'];"></tr>
+</table>
\ No newline at end of file