summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/myhttp.service.ts
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-11-07 00:11:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-07 00:11:08 +0000
commit70606dfe5caf3b460a10cbc1bde400e1e75e6535 (patch)
tree80d409821c09ceb50e0f8f7b0916957370240631 /usecaseui-portal/src/app/myhttp.service.ts
parent2ab49df337f320a6fca9a96ffb46c582f574f3c7 (diff)
parente844150490b7d437da1693c52294720f59121d64 (diff)
Merge "e2eService Scale finsh"
Diffstat (limited to 'usecaseui-portal/src/app/myhttp.service.ts')
-rw-r--r--usecaseui-portal/src/app/myhttp.service.ts14
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;