diff options
author | 2018-11-06 19:21:32 +0800 | |
---|---|---|
committer | 2018-11-06 19:22:06 +0800 | |
commit | e844150490b7d437da1693c52294720f59121d64 (patch) | |
tree | b17a4b2bf38a0859eaa6db955eb10d0d4cb7af11 /usecaseui-portal/src/app/myhttp.service.ts | |
parent | 3aa2334e116c1e7921ed46958ff5fed1c70fad7e (diff) |
e2eService Scale finsh
Change-Id: Ib7e5e792c6434a832bc120295888f78af555f4b6
Issue-ID: USECASEUI-163
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/myhttp.service.ts')
-rw-r--r-- | usecaseui-portal/src/app/myhttp.service.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/myhttp.service.ts b/usecaseui-portal/src/app/myhttp.service.ts index b2ab91be..45cb8955 100644 --- a/usecaseui-portal/src/app/myhttp.service.ts +++ b/usecaseui-portal/src/app/myhttp.service.ts @@ -52,6 +52,8 @@ export class MyhttpService { // vnfInfo: this.baseUrl + "/vnfInfo.json?", // progress:this.baseUrl + "/progress.json?", // nsProgress:this.baseUrl + "nsProgress.json?", + // e2eScale:this.baseUrl + "/e2eScale.json?", + // e2e_nsdata:this.baseUrl + "/e2e_nsdata.json?", // allottedResource:this.baseUrl + "/allotted-resources2.json?", // pnfDetail:this.baseUrl + "/pnfdetail-domain.json?", @@ -89,6 +91,8 @@ export class MyhttpService { vnfInfo: this.baseUrl + "/uui-lcm/VnfInfo/", progress:this.baseUrl + "/uui-lcm/services/" + "*_*" + "/operations/", nsProgress:this.baseUrl + "/uui-lcm/jobs/getNsLcmJobStatus/"+ "*_*" + "?responseId=", + e2eScale: this.baseUrl + "/services/scaleServices/", + e2e_nsdata: this.baseUrl + "/getServiceInstanceById/customerId/", allottedResource:this.baseUrl + "/uui-sotn/getAllottedResources", pnfDetail:this.baseUrl + "/uui-sotn/getPnfInfo/", @@ -219,6 +223,16 @@ export class MyhttpService { return this.http.post<any>(this.url.ns_healService + id,requestBody); } + // scale + scaleE2eService(id,requestBody){ + // return this.http.get<any>(this.url.e2eScale + id); + return this.http.post<any>(this.url.e2eScale + id,requestBody); + } + getE2e_nsData(paramsObj){ + let params = new HttpParams({fromObject:paramsObj}); + return this.http.get<any>(this.url.e2e_nsdata,{params}); + } + // Query progress interface getProgress(obj){ let url = this.url.progress.replace("*_*",obj.serviceId) + obj.operationId; |