diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad803984fe9c6c9ef22c697848a5bfa32caba925..06cd4a6695f1db48385771b6d2405be5d02cee24 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ include: - ci-templates/default.yml - ci-templates/build.yml rules: - - if: '$CI_COMMIT_REF_PROTECTED && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' + - if: '$CI_COMMIT_REF_PROTECTED == "true" && $CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop"' - project: osl/code/org.etsi.osl.main ref: develop @@ -29,7 +29,7 @@ include: - ci-templates/default.yml - ci-templates/build_unprotected.yml rules: - - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && !$CI_COMMIT_REF_PROTECTED' + - if: '$CI_COMMIT_REF_NAME != "main" && $CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_REF_PROTECTED == "false"' angular_build: extends: .angular_build diff --git a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html index bdf2699a96bdb0a2024b74b4f84e7110f34e2913..5dab83e7501c57fab5cb5ad5e525291a82d43afd 100644 --- a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html +++ b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.html @@ -146,7 +146,7 @@ {{ note.text }}
written by {{ note.author }} @ - {{ note.date | date: "d MMM y, h:mm a" }} + {{ note.date | date: "d MMM y, h:mm:ss a" }}
diff --git a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss index 3cf02338086e3803ce0b669bceda6a875346c3b5..bc0591a14a97a34a1ada73b154a7a0eef771a184 100644 --- a/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss +++ b/src/app/p_resources/admin/inventoryManagement/preview-resource/preview-resource.component.scss @@ -14,3 +14,8 @@ .tab-pane > .card:nth-child(1) { min-height: max(350px, 20vh); } + +.notes-container { + max-height: 265px; + overflow-y: auto; +} \ No newline at end of file diff --git a/src/app/p_resources/admin/resourcePoolManagement/resource-reservation-calendar/resource-reservation-calendar.component.ts b/src/app/p_resources/admin/resourcePoolManagement/resource-reservation-calendar/resource-reservation-calendar.component.ts index 1727f5c9c254102f719f10f920d9f24395f64382..4ea9e877f58d375811533e0b556e88c6bf7e4c0d 100644 --- a/src/app/p_resources/admin/resourcePoolManagement/resource-reservation-calendar/resource-reservation-calendar.component.ts +++ b/src/app/p_resources/admin/resourcePoolManagement/resource-reservation-calendar/resource-reservation-calendar.component.ts @@ -84,7 +84,7 @@ export class ResourceReservationCalendarComponent implements OnInit { this.reservations ).map(function(eventEl: Reservation) { - console.info("this is event: " + eventEl.id +" " + eventEl.requestedPeriodStartDateTime ) + // console.info("this is event: " + eventEl.id +" " + eventEl.requestedPeriodStartDateTime ) // var result = new Date(eventEl.startDate); // var evd = result.toISOString().replace(/T.*$/, ''); // YYYY-MM-DD of today diff --git a/src/app/p_services/admin/orderManagement/list-service-orders/list-service-orders.component.ts b/src/app/p_services/admin/orderManagement/list-service-orders/list-service-orders.component.ts index 95b988e08e4f6e31643be2fa5f1043c025d78f39..fd2594f39f3eed330f695050ed4079396b86a418 100644 --- a/src/app/p_services/admin/orderManagement/list-service-orders/list-service-orders.component.ts +++ b/src/app/p_services/admin/orderManagement/list-service-orders/list-service-orders.component.ts @@ -109,7 +109,7 @@ export class ListServiceOrdersComponent implements OnInit { this.serviceOrders ).map(function(eventEl: ServiceOrder) { - console.info("this is event: " + eventEl.id +" " + eventEl.requestedStartDate ) + // console.info("this is event: " + eventEl.id +" " + eventEl.requestedStartDate ) // var result = new Date(eventEl.startDate); // var evd = result.toISOString().replace(/T.*$/, ''); // YYYY-MM-DD of today diff --git a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html index 92974ea81aeb756bf96c871ddcf5faad53e1673b..950134db23348996a1344bf7092a091fe6e3e606 100644 --- a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html +++ b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.html @@ -155,12 +155,12 @@ -->
- +
State

{{serviceOrder?.state}}

- + State @@ -181,7 +181,7 @@
- +
Starting Date

{{serviceOrder?.startDate | date:'d MMM y, h:mm a'}} - Local Time

@@ -189,7 +189,7 @@
- + Starting Date @@ -200,7 +200,7 @@
- +
Expected Completion Date

{{serviceOrder?.expectedCompletionDate | date:'d MMM y, h:mm a'}} - Local Time

@@ -209,7 +209,7 @@ - + Expected Completion Date diff --git a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.ts b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.ts index 69c43d678ea6f93ee88347b741bd36c09ae098bb..37851f03498204f0f25f09b81d45c69f6894bc77 100644 --- a/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.ts +++ b/src/app/p_services/admin/orderManagement/preview-service-order/preview-service-order.component.ts @@ -58,8 +58,8 @@ export class PreviewServiceOrderComponent implements OnInit { serviceOrderNotFound: boolean = false finishedLoading: boolean = false - supportingServices: Service[][] = [[]] - + supportingServices: Service[][] = [] + // supportingServices' first array is Order Item Index and second array is SupportingService index of the respective Order Item editMode: boolean = false editModeNotes: boolean = false isAdminUser: boolean = false @@ -122,18 +122,26 @@ export class PreviewServiceOrderComponent implements OnInit { this.checkboxesOrderItemList = [] this.currentItemRelationshipsUrl = [] - this.serviceOrder.orderItem.forEach((orderItem, index) => { + + this.supportingServices = [] + this.serviceOrder.orderItem.forEach((orderItem) => { + + //Expands the length of the array for each Service Order Item + this.supportingServices.push([]) this.checkboxesOrderItemList.push({orderItem: orderItem, isChecked: false}) orderItem.service.serviceCharacteristic.sort(this.sortingService.ascStringSortingFunctionByNameProperty()) - orderItem.service.supportingService.forEach( (supService, serviceIndex) => { - this.retrieveServiceInventory(supService.id).pipe(delay(Math.random()*1000)).subscribe( - data => this.supportingServices[index][serviceIndex] = data + orderItem.service.supportingService.forEach( (supService) => { + this.retrieveServiceInventory(supService.id).subscribe( + data => { + const orderItemIndex = this.serviceOrder.orderItem.findIndex(SOI => orderItem.id === SOI.id) + const supportingServiceIndex = this.serviceOrder.orderItem[orderItemIndex].service.supportingService.findIndex(SupS => supService.id === SupS.id) + this.supportingServices[orderItemIndex][supportingServiceIndex] = data + } ) }) - this.currentItemRelationshipsUrl.push( this.orderService.rootUrl + "/serviceOrdering/v4/serviceOrder/" + this.serviceOrder.id + "/item/" + orderItem.id + "/relationship_graph" ); }) diff --git a/src/app/p_services/admin/orderManagement/service-order-calendar/service-order-calendar.component.ts b/src/app/p_services/admin/orderManagement/service-order-calendar/service-order-calendar.component.ts index 8daf914b8e623cfb0a4f57742fd4a7e312d43420..39e0af63c41a3a8bdabc161cc5490182a2c4b1ea 100644 --- a/src/app/p_services/admin/orderManagement/service-order-calendar/service-order-calendar.component.ts +++ b/src/app/p_services/admin/orderManagement/service-order-calendar/service-order-calendar.component.ts @@ -69,7 +69,7 @@ export class ServiceOrdersCalendarComponent implements OnInit { this.serviceOrders ).map(function(eventEl: ServiceOrder) { - console.info("this is event: " + eventEl.id +" " + eventEl.requestedStartDate ) + // console.info("this is event: " + eventEl.id +" " + eventEl.requestedStartDate ) // var result = new Date(eventEl.startDate); // var evd = result.toISOString().replace(/T.*$/, ''); // YYYY-MM-DD of today 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 7296ad1752769f069bfd7f1f5c53f76ea3df3b46..fc1630d5f3ea978d767bdec37f5fb1aa179be7a2 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 @@ -61,13 +61,13 @@
- +
State

{{service?.state}}

- + State
- +
Starting Date

@@ -127,7 +127,7 @@ UTC

- Starting Date
- +
Ending Date

{{service?.endDate | date:'d MMM y, h:mm a'}} - Local @@ -152,7 +152,7 @@ UTC

- Ending Date Who we are
ETSI SDG OpenSlice | https://osl.etsi.org
The ETSI Software Development Group for OpenSlice (SDG OSL) is developing an open source service based Operations Support System (OSS) to deliver Network Slice as a Service (NSaaS).
+ href='https://osl.etsi.org/' class='text-white'>https://osl.etsi.org
The ETSI Software Development Group for OpenSlice (SDG OSL) is developing an open source service based Operations Support System (OSS) to deliver Network as a Service (NaaS).
{{config.TITLE}} | {{config.WEBURL}}
A portal that allows 5G experimenters to design and deploy network services towards the infrastructure.
diff --git a/src/assets/config/config.prod.default.json b/src/assets/config/config.prod.default.json index 0465cdc3d5adb47e1f414ceac3095c1a551d8b85..8acbcb4b5cf3aeeeffc80418a04e44706e044605 100644 --- a/src/assets/config/config.prod.default.json +++ b/src/assets/config/config.prod.default.json @@ -1,6 +1,6 @@ { "TITLE": "OpenSlice by ETSI", - "PORTALVERSION":"2024Q2", + "PORTALVERSION":"2024Q4", "WIKI": "https://osl.etsi.org/documentation", "BUGZILLA": "{BASEURL}/bugzilla/", "STATUS": "{BASEURL}/healthstatus/", diff --git a/src/assets/config/config.theming.default.json b/src/assets/config/config.theming.default.json index bcb6a64f806d5533abc6249e4e5dc37276361100..312428f1d39ebc64a790dd4dc95b4850403e903f 100644 --- a/src/assets/config/config.theming.default.json +++ b/src/assets/config/config.theming.default.json @@ -3,7 +3,7 @@ "DEPLOYMENT_LOGO_PATH":"assets/images/logo_clear.png", "DEFAULT_SERVICE_LOGO_PATH":"assets/images/logo_icon_original.png", "FAVICON_PATH":"favicon.ico", - "WHO_WE_ARE_HTML":"
ETSI SDG OpenSlice|https://osl.etsi.org
The ETSI Software Development Group for OpenSlice (SDG OSL) is developing an open source service based Operations Support System (OSS) to deliver Network Slice as a Service (NSaaS).
OpenSlice by ETSI|http://portal.openslice.io
A portal that allows 5G experimenters to design and deploy network services towards the infrastructure.
OpenSlice by ETSI wiki|https://osl.etsi.org/documentation
A wiki containing OpenSlice software documentation.
", + "WHO_WE_ARE_HTML":"
ETSI SDG OpenSlice|https://osl.etsi.org
The ETSI Software Development Group for OpenSlice (SDG OSL) is developing an open source service based Operations Support System (OSS) to deliver Network as a Service (NaaS).
OpenSlice by ETSI|http://portal.openslice.eu
A portal that allows 5G experimenters to design and deploy network services towards the infrastructure.
OpenSlice by ETSI wiki|https://osl.etsi.org/documentation
A wiki containing OpenSlice software documentation.
", "CONNECT_WITH_US_HTML":"", - "FOOTER_HTML":"
OpenSlice has received funding from various projects under European Programmes for research, technological development and demonstration. You may refer to our extensive ecosystem for further details.
Openslice by ETSI running OSL version 2024Q2 | Terms and Conditions | © 2024 on behalf of osl.etsi.org
" + "FOOTER_HTML":"
OpenSlice has received funding from various projects under European Programmes for research, technological development and demonstration. You may refer to our extensive ecosystem for further details.
Openslice by ETSI running OSL version 2024Q4 | Terms and Conditions | © 2025 on behalf of osl.etsi.org
" } \ No newline at end of file