diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..629bf6cb7438d5758ca0837ef9bf6d42a6081317 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,32 @@ +include: + - project: osl/code/org.etsi.osl.main + ref: main + file: + - ci-templates/default.yml + - ci-templates/build.yml + rules: + - if: '$CI_COMMIT_REF_NAME == "main"' + + - project: osl/code/org.etsi.osl.main + ref: develop + file: + - ci-templates/default.yml + - ci-templates/build.yml + rules: + - if: '$CI_COMMIT_REF_NAME == "develop"' + + - project: osl/code/org.etsi.osl.main + ref: develop + file: + - ci-templates/default.yml + - ci-templates/build_unprotected.yml + rules: + - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' + +angular_build: + extends: .angular_build + +docker_build: + extends: .docker_build + needs: + - angular_build diff --git a/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.html b/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.html index 99d6e4d03da1a2dfc259c96dedeec92593b0634f..2581d426ea736e1da985b6f5c2fd2859d8769240 100644 --- a/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.html +++ b/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.html @@ -32,9 +32,8 @@ <ng-container matColumnDef="category"> <th mat-header-cell *matHeaderCellDef mat-sort-header> Category </th> - <td mat-cell *matCellDef="let element"> - <span *ngIf="element.category === 'ResourceFacingServiceSpecification' ">RFSS</span> - <span *ngIf="element.category === 'CustomerFacingServiceSpecification' ">CFSS</span> + <td mat-cell *matCellDef="let element"> + <span>{{element.category}}</span> </td> </ng-container> diff --git a/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.ts b/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.ts index c2eaf4d733888da07aeb25e1903669d03fc57e09..0e8d3728be04fbced77a8bd07447cc75a45ed0b9 100644 --- a/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.ts +++ b/src/app/p_services/admin/inventoryManagement/list-service-inventory/list-service-inventory.component.ts @@ -48,7 +48,7 @@ export class ListServiceInventoryComponent implements OnInit { this.dataSource.sortingDataAccessor = (item, property): string | number => { switch (property) { case 'serviceDate': return new Date(item.serviceDate).getTime(); - case 'category': return item[property] === 'CustomerFacingServiceSpecification' ? 'CFSS': 'RFSS'; + // case 'category': return item[property] === 'CustomerFacingServiceSpecification' ? 'CFSS': 'RFSS'; default: return item[property]; } } diff --git a/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html b/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html index 9f1680a7d0f4cf150724481c877e3d4bb66b82d8..54473ed51a175171fd33174b1a3910e94804f31d 100644 --- a/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html +++ b/src/app/p_services/admin/serviceActivationAndConfiguration/preview-service/preview-service.component.html @@ -357,7 +357,7 @@ There are not any Supporting Resources allocated. </div> <p *ngFor="let resource of service?.supportingResource" class="mb-2"> - <a *ngIf="resource.id" routerLink='/resources/resource_inventory/{{resource.id}}'>{{resource.name}}</a> + <a *ngIf="resource.id" routerLink='/resources/resource/{{resource.id}}'>{{resource.name}}</a> <span *ngIf="!resource.id">{{resource.name}}</span> </p> </div>