summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-05-16 02:38:08 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-16 02:38:08 +0000
commit107bf78887f185d40078c75abd5f7dd72c70f86f (patch)
treecb812781efb53de01061a987e2687cccae03c21e /usecaseui-portal
parent5d9a85c43a3a77688961352a8b127506c4d23b89 (diff)
parent9e3abb4d0cddf201c244eff86802d0bd88dd4173 (diff)
Merge "CCVPN Template parsing interface changes"
Diffstat (limited to 'usecaseui-portal')
-rw-r--r--usecaseui-portal/src/app/myhttp.service.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/myhttp.service.ts b/usecaseui-portal/src/app/myhttp.service.ts
index d5df7b56..7426f441 100644
--- a/usecaseui-portal/src/app/myhttp.service.ts
+++ b/usecaseui-portal/src/app/myhttp.service.ts
@@ -30,7 +30,7 @@ export class MyhttpService {
serviceType: this.baseUrl + "/uui-lcm/customers/" + "*_*" + "/service-subscriptions",
servicesTableData: this.baseUrl + '/uui-lcm/service-instances',
serviceTemplates: this.baseUrl + "/uui-lcm/service-templates",
- templateParameters: this.baseUrl + "/uui-lcm/fetchTemplateInfo",
+ templateParameters: this.baseUrl + "/uui-lcm/fetchCCVPNTemplateData/*_*",
e2etemplateParameters: this.baseUrl + "/uui-lcm/service-templates/" + "*_*" + "?toscaModelPath=",
nstemplateParameters: this.baseUrl + "/uui-lcm/fetchNsTemplateData",
vimInfo: this.baseUrl + "/uui-lcm/locations/",
@@ -109,7 +109,8 @@ export class MyhttpService {
packageType: "Service",
inputs: ""
};
- return this.http.post<any>(this.url.templateParameters, body);
+ let url = this.url.templateParameters.replace("*_*", template.uuid);
+ return this.http.post<any>(url, body);
}
}