summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-11-27 17:51:28 +0800
committerxu ran <xuranyjy@chinamobile.com>2019-11-27 10:27:16 +0000
commitf2d200b6043e1b478347439c8d57e216685ed318 (patch)
tree6f36da53983c630a213a4e03cd0f9f94e471ce58 /usecaseui-portal/src/app/core
parentbfe8df3f9b7409842ddf0c9fbf41ff8b9c17c1fa (diff)
feat: Local simulation data and display on the Slicing task management page
Change-Id: I56fb1fbbb63e490980a4d1f4d9d148d825f311f6 Issue-ID: USECASEUI-352 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/serviceList.service.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/core/services/serviceList.service.ts b/usecaseui-portal/src/app/core/services/serviceList.service.ts
index bde2c253..2280aa9e 100644
--- a/usecaseui-portal/src/app/core/services/serviceList.service.ts
+++ b/usecaseui-portal/src/app/core/services/serviceList.service.ts
@@ -23,6 +23,7 @@ export class ServiceListService {
constructor(private http: HttpClient) { }
baseUrl = baseUrl.baseUrl;
+ nsmfBaseUrl = '/api/uui-slicing/nsmf'
url = {
customers: this.baseUrl + "/uui-lcm/customers",
serviceType: this.baseUrl + "/uui-lcm/customers/" + "*_*" + "/service-subscriptions",
@@ -51,6 +52,7 @@ export class ServiceListService {
pnfDetail: this.baseUrl + "/uui-sotn/getPnfInfo/",
connectivity: this.baseUrl + "/uui-sotn/getConnectivityInfo/",
vpnBinding: this.baseUrl + "/uui-sotn/getPinterfaceByVpnId/",
+ slicingTaskList: this.nsmfBaseUrl + "/task/business/pageNo/{pageNo}/pageSize/{pageSize}"
};
@@ -207,4 +209,11 @@ export class ServiceListService {
let url = this.url.vpnBinding + id;
return this.http.get<any>(url);
}
+
+ // Get slicing order task list
+ getSlicingTaskList (pageNo, pageSize) {
+ const url = this.url.slicingTaskList.replace("{pageNo}", pageNo).replace("{pageSize}", pageSize)
+ return this.http.get<any>(url);
+ }
+
}