From 9e3abb4d0cddf201c244eff86802d0bd88dd4173 Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Wed, 15 May 2019 19:31:57 +0800 Subject: CCVPN Template parsing interface changes Change-Id: I3ea95928854c18943fbafb5c1dd515ec2e3ca57e Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri --- usecaseui-portal/src/app/myhttp.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usecaseui-portal') 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(this.url.templateParameters, body); + let url = this.url.templateParameters.replace("*_*", template.uuid); + return this.http.post(url, body); } } -- cgit 1.2.3-korg