From e844150490b7d437da1693c52294720f59121d64 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Tue, 6 Nov 2018 19:21:32 +0800 Subject: e2eService Scale finsh Change-Id: Ib7e5e792c6434a832bc120295888f78af555f4b6 Issue-ID: USECASEUI-163 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/myhttp.service.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'usecaseui-portal/src/app/myhttp.service.ts') 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(this.url.ns_healService + id,requestBody); } + // scale + scaleE2eService(id,requestBody){ + // return this.http.get(this.url.e2eScale + id); + return this.http.post(this.url.e2eScale + id,requestBody); + } + getE2e_nsData(paramsObj){ + let params = new HttpParams({fromObject:paramsObj}); + return this.http.get(this.url.e2e_nsdata,{params}); + } + // Query progress interface getProgress(obj){ let url = this.url.progress.replace("*_*",obj.serviceId) + obj.operationId; -- cgit 1.2.3-korg