From: guochuyicmri Date: Wed, 15 May 2019 11:31:57 +0000 (+0800) Subject: CCVPN Template parsing interface changes X-Git-Tag: 2.0.1~23^2~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=9e3abb4d0cddf201c244eff86802d0bd88dd4173;p=usecase-ui.git CCVPN Template parsing interface changes Change-Id: I3ea95928854c18943fbafb5c1dd515ec2e3ca57e Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri --- 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); } }