summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/myhttp.service.ts
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2018-11-02 19:31:11 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2018-11-02 19:32:32 +0800
commit52fb178dc3cd639a3efa89803b226ccdc53b287d (patch)
tree5c3af59aae52f87f92ecf891df932cf7c3cf6c34 /usecaseui-portal/src/app/myhttp.service.ts
parent4d526a0771ad93b1ab9807b413ad33f5b28fc8f6 (diff)
heal nsService and vnfService
Change-Id: I0d1124221d1b04f4a314c2b93dcf9e0cdce2b3c7 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.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/myhttp.service.ts b/usecaseui-portal/src/app/myhttp.service.ts
index 14d81aef..5cdc67f6 100644
--- a/usecaseui-portal/src/app/myhttp.service.ts
+++ b/usecaseui-portal/src/app/myhttp.service.ts
@@ -35,6 +35,7 @@ export class MyhttpService {
// ns_deleteService: this.baseUrl + "/deleteNsService.json?",
// ns_stopService: this.baseUrl + "/stopNsService.json?",
// ns_healService: this.baseUrl + "/healNsService.json?",
+ // vnfInfo: this.baseUrl + "/vnfInfo.json?",
// progress:this.baseUrl + "/progress.json?",
// nsProgress:this.baseUrl + "nsProgress.json?",
@@ -75,6 +76,7 @@ export class MyhttpService {
ns_deleteService: this.baseUrl + "/uui-lcm/deleteNetworkServiceInstance?ns_instance_id=",
ns_stopService: this.baseUrl + "/uui-lcm/terminateNetworkServiceInstance?ns_instance_id=",
ns_healService: this.baseUrl + "/uui-lcm/healNetworkServiceInstance?ns_instance_id=",
+ vnfInfo: this.baseUrl + "/uui-lcm/VnfInfo/",
progress:this.baseUrl + "/uui-lcm/services/" + "*_*" + "/operations/",
nsProgress:this.baseUrl + "/uui-lcm/jobs/getNsLcmJobStatus/"+ "*_*" + "?responseId=",
@@ -221,6 +223,10 @@ export class MyhttpService {
// return this.http.get<any>(this.url.ns_stopService); //Local simulation
return this.http.post<any>(this.url.ns_stopService + id,requestBody);
}
+
+ getVnfInfo(id){
+ return this.http.get<any>(this.url.vnfInfo + id)
+ }
healNsService(id,requestBody){
// return this.http.get<any>(this.url.ns_healService); //Local simulation
return this.http.post<any>(this.url.ns_healService + id,requestBody);