diff options
author | 2019-05-22 10:17:10 +0800 | |
---|---|---|
committer | 2019-05-22 10:17:19 +0800 | |
commit | 8c1ae160f8f495c4ce0679203972112735faeccf (patch) | |
tree | ccd2584c56f296ca27cdbf79fe52a3675af7b922 /usecaseui-portal/src/app/myhttp.service.ts | |
parent | 8170823270d477f5edf9ce6363781c042f8e9b08 (diff) |
Fix instance detail for CCVPN
Change-Id: I8f1bbbfa80d48ec91d3929069771638c9f5dbb8a
Issue-ID: USECASEUI-222
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/myhttp.service.ts b/usecaseui-portal/src/app/myhttp.service.ts index 7426f441..aff92d12 100644 --- a/usecaseui-portal/src/app/myhttp.service.ts +++ b/usecaseui-portal/src/app/myhttp.service.ts @@ -48,6 +48,7 @@ export class MyhttpService { nsProgress: this.baseUrl + "/uui-lcm/jobs/getNsLcmJobStatus/" + "*_*" + "?responseId=0&serviceInstanceId=", e2eScale: this.baseUrl + "/services/scaleServices/", e2e_nsdata: this.baseUrl + "/getServiceInstanceById/customerId/", + updateccvpn:this.baseUrl + "/uui-lcm/services/updateService/", allottedResource: this.baseUrl + "/uui-sotn/getAllottedResources", pnfDetail: this.baseUrl + "/uui-sotn/getPnfInfo/", @@ -135,6 +136,12 @@ export class MyhttpService { return this.http.post<any>(this.url.ns_createService2 + params, requestBody); } + updateccvpn(id,requestBody){ + console.log(id); + console.log(requestBody); + //return this.http.get<any>(this.url.updateccvpn + id); //local + return this.http.put<any>(this.url.updateccvpn + id,requestBody);// online + } // Delete interface deleteInstance(obj) { let httpOptions = { |