diff options
author | Tao Shen <shentao@chinamobile.com> | 2019-11-27 14:57:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-27 14:57:22 +0000 |
commit | a7589978ffc6f942d74b7c45df61c6f090bfa991 (patch) | |
tree | 987f4e8cbd40abe3255bc4ba2e089458e833fa2a /usecaseui-portal/src/app/core | |
parent | 4e6ba2bf4bf47a5c1b3388b3af20e8238b80ccbd (diff) | |
parent | f2d200b6043e1b478347439c8d57e216685ed318 (diff) |
Merge "feat: Local simulation data and display on the Slicing task management page"
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r-- | usecaseui-portal/src/app/core/services/serviceList.service.ts | 9 |
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); + } + } |