aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguochuyicmri <guochuyi@chinamobile.com>2019-05-15 19:31:57 +0800
committerguochuyicmri <guochuyi@chinamobile.com>2019-05-15 20:29:36 +0800
commit9e3abb4d0cddf201c244eff86802d0bd88dd4173 (patch)
tree12244b358e6d5a8229201b2207e50f261580256f
parentc3e2270c9694e0cbd2835d0d1ae7d14405ba0e8e (diff)
CCVPN Template parsing interface changes
Change-Id: I3ea95928854c18943fbafb5c1dd515ec2e3ca57e Issue-ID: USECASEUI-220 Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
-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);
}
}