2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
8 Unless otherwise specified, all software contained herein is licensed
9 under the Apache License, Version 2.0 (the "License");
10 you may not use this software except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
21 Unless otherwise specified, all documentation contained herein is licensed
22 under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23 you may not use this documentation except in compliance with the License.
24 You may obtain a copy of the License at
26 https://creativecommons.org/licenses/by/4.0/
28 Unless required by applicable law or agreed to in writing, documentation
29 distributed under the License is distributed on an "AS IS" BASIS,
30 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31 See the License for the specific language governing permissions and
32 limitations under the License.
34 ============LICENSE_END============================================
38 <div class="container">
39 <div class="w-ecomp-main-container">
40 <div class="applications-page-main" id="page-content">
41 <div id="microservice-onboarding-title" class="w-ecomp-main-view-title">
42 <h1 class="heading-page"> Application Onboarding</h1>
46 <input matInput type="text" (keyup)="applyFilter($event.target.value)" placeholder="Search in entire table">
49 <button type="button" style="float: right;" class="btn btn-primary" (click)="openAddApplicationModal('', 'add')">
50 <i class="icon ion-md-person-add"></i> Add App
53 <div class="apps-table">
54 <span class="ecomp-spinner" *ngIf="showEcompSpinner"></span>
55 <!-- Applications Table goes here-->
56 <table mat-table [dataSource]="dataSource" matSort>
57 <!-- Thumbnail Column -->
58 <ng-container matColumnDef="thumbnail">
59 <th id="col1" mat-header-cell *matHeaderCellDef> Thumbnail </th>
60 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-thumbnail"
61 mat-cell *matCellDef="let element; let i = index;">
62 <div><img class="small-thumbnail" src={{element.imageLink}}></div>
66 <!-- Application Name Column -->
67 <ng-container matColumnDef="applicationName">
68 <th id="col2" mat-header-cell *matHeaderCellDef> Application Name </th>
69 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-applicationName"
70 mat-cell *matCellDef="let element; let i=index;"> {{element.appName}} </td>
73 <!-- Active Column -->
74 <ng-container matColumnDef="active">
75 <th id="col2" mat-header-cell *matHeaderCellDef> Active </th>
76 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-active"
77 mat-cell *matCellDef="let element; let i=index;"> {{(element.isEnabled) ? 'yes' : 'no'}} </td>
80 <!-- Integration Type Column -->
81 <ng-container matColumnDef="integrationType">
82 <th id="col2" mat-header-cell *matHeaderCellDef> Integration Type </th>
83 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-integrationType"
84 mat-cell *matCellDef="let element; let i=index;"> {{(element.applicationType == 2) ? 'link' : 'standard'}} </td>
87 <!-- Mode Of Integration Type Column -->
88 <ng-container matColumnDef="modeOfIntegration">
89 <th id="col2" mat-header-cell *matHeaderCellDef> Mode Of Integration </th>
90 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-modeOfIntegration"
91 mat-cell *matCellDef="let element; let i=index;"> {{element.modeOfIntegration}} </td>
94 <!-- Guest Access Column-->
95 <ng-container matColumnDef="guestAccess">
96 <th id="col2" mat-header-cell *matHeaderCellDef> Guest Access </th>
97 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-guestAccess"
98 mat-cell *matCellDef="let element; let i=index;">{{(element.isOpen) ? 'yes' : 'no'}} </td>
102 <ng-container matColumnDef="landingPage">
103 <th id="col2" mat-header-cell *matHeaderCellDef> Landing Page </th>
104 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-url"
105 mat-cell *matCellDef="let element; let i=index;">{{element.landingPage}} </td>
108 <!-- rest url column -->
109 <ng-container matColumnDef="restURL">
110 <th id="col2" mat-header-cell *matHeaderCellDef> REST Url </th>
111 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-restURL"
112 mat-cell *matCellDef="let element; let i=index;">{{element.restUrl}} </td>
115 <!-- communicationKey column -->
116 <ng-container matColumnDef="communicationKey">
117 <th id="col2" mat-header-cell *matHeaderCellDef> Communication Key </th>
118 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-communicationKey"
119 mat-cell *matCellDef="let element; let i=index;">{{element.uebKey}} </td>
122 <!-- applicationNamespace column -->
123 <ng-container matColumnDef="applicationNamespace">
124 <th id="col2" mat-header-cell *matHeaderCellDef> Application Namespace </th>
125 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-applicationNamespace"
126 mat-cell *matCellDef="let element; let i=index;">{{element.nameSpace}} </td>
129 <!-- centralAuthAccess column -->
130 <ng-container matColumnDef="centralAuthAccess">
131 <th id="col2" mat-header-cell *matHeaderCellDef> Central Auth Access </th>
132 <td (click)="openAddApplicationModal(element, 'edit')" id="rowheader_t1_{{i}}-centralAuthAccess"
133 mat-cell *matCellDef="let element; let i=index;">{{(element.rolesInAAF) ? 'yes' : 'no'}} </td>
136 <!-- Delete Column -->
137 <ng-container matColumnDef="delete">
138 <th id="col4" mat-header-cell *matHeaderCellDef> Delete </th>
139 <td id="rowheader_t1_{{i}}" mat-cell *matCellDef="let element; let i=index;">
140 <span class="icon-trash" id="{{i}}-button-portal-admin-remove" (click)="deleteApplication(element)">
141 <i class="icon ion-md-trash"></i>
145 <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
146 <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
148 <mat-paginator [pageSizeOptions]="[10, 20]" showFirstLastButtons></mat-paginator>