summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/onboard.service.ts
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2018-11-17 07:01:43 +0000
committerGerrit Code Review <gerrit@onap.org>2018-11-17 07:01:43 +0000
commit5da16db869c36c1344aaa31c3a7c05425133811d (patch)
treec2cdc2082c3ad4d27c6a75388315e29f1230ff32 /usecaseui-portal/src/app/onboard.service.ts
parentd000a94ca0bc18d235b5ae8598b04a586e628be2 (diff)
parent6af0964cc46a27615b8760fd48ba7596b64dd33e (diff)
Merge "Support NS Package Upload for VF-C"
Diffstat (limited to 'usecaseui-portal/src/app/onboard.service.ts')
-rw-r--r--usecaseui-portal/src/app/onboard.service.ts15
1 files changed, 12 insertions, 3 deletions
diff --git a/usecaseui-portal/src/app/onboard.service.ts b/usecaseui-portal/src/app/onboard.service.ts
index 83ae6394..3334bfc3 100644
--- a/usecaseui-portal/src/app/onboard.service.ts
+++ b/usecaseui-portal/src/app/onboard.service.ts
@@ -74,7 +74,11 @@ export class onboardService {
deleteVnfPack: this.baseUrl + "deleteVnfPackage?vnfPkgId=",
// Delete Pnf package
deletePnfPack: this.baseUrl + "deletePnfPackage?pnfPkgId=",
-
+
+ //进度接口
+ progress: this.baseUrl + "jobs/" + "_jobId" + "?responseId="
+
+
// // download ns package
// downloadNsData: this.baseUrl + "downLoadNsPackage?nsdInfoId=XXXXX",
// //download vnf package
@@ -122,13 +126,18 @@ export class onboardService {
//------------------------------------------------------------------------------
//onboard sdc ns
getNsonboard(requestBody) {
- return this.http.get<any>(this.url["onboardNs"], requestBody);
+ return this.http.post<any>(this.url["onboardNs"], requestBody);
}
//onboard sdc vnf
getVnfonboard(requestBody) {
- return this.http.get<any>(this.url["onboardVNF"], requestBody);
+ return this.http.post<any>(this.url["onboardVNF"], requestBody);
}
+ //onboard progress
+ getProgress(jobid, responseId) {
+ let url = this.url.progress.replace("_jobId", jobid) + responseId;
+ return this.http.get<any>(url);
+ }
//--------------------------------------------------------------------------
// Delete ns vfc package
deleteNsIdData(paramsObj) {