summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-02-05 19:57:54 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-02-05 19:58:01 +0800
commit67e32a3411851851185bdc22320687c317ea35bf (patch)
tree872757132e185add4fc8d59f4bc5bc23680e6c16 /usecaseui-portal/src/app/core
parent5a8962154a63fbc18a7849a0184d7f10ebd7f6f6 (diff)
feat: add CSMF slice task management interface page code
Change-Id: I88acbf7d23aed9910f4dfb3ee6e79aa4b51d9ba6 Issue-ID: USECASEUI-368 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/slicingTaskServices.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/core/services/slicingTaskServices.ts b/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
index 686673d6..7902f0d1 100644
--- a/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
+++ b/usecaseui-portal/src/app/core/services/slicingTaskServices.ts
@@ -47,6 +47,8 @@ export class SlicingTaskServices {
slicingNssiList: this.baseUrl + "/resource/nssi/instances/pageNo/{pageNo}/pageSize/{pageSize}",
slicingNssiQueryOfStatus: this.baseUrl + "/resource/nssi/instanceStatus/{instanceStatus}/instances/pageNo/{pageNo}/pageSize/{pageSize}",
slicingNssiDetail: this.baseUrl + "/resource/nssi/{nssiId}/details",
+ //csmf
+ csmfSlicingBusinessList:"/api/usecaseui/csmf/5gSlicing/services/status/{status}/pageNo/{pageNo}/pageSize/{pageSize}",
//monitor 5G
fetchTraffic: this.baseUrl + "/monitoring/queryTimestamp/{queryTimestamp}/trafficData",
fetchOnlineusers: this.baseUrl + "/monitoring/queryTimestamp/{queryTimestamp}/onlineUsers",
@@ -167,6 +169,13 @@ export class SlicingTaskServices {
let url = this.url.slicingNssiDetail.replace("{nssiId}", nssiId);
return this.http.get<any>(url);
}
+ // Get CSMF slicing business list
+ getCSMFSlicingBusinessList(paramsObj) {
+ let url = this.url.csmfSlicingBusinessList.replace("{status}", paramsObj.status).replace("{pageNo}", paramsObj.pageNo)
+ .replace("{pageSize}", paramsObj.pageSize);
+ return this.http.get<any>(url);
+ }
+
//monitor 5G
getFetchTraffic(service_list, time) {
let url = this.url.fetchTraffic.replace("{queryTimestamp}", time);