diff options
author | guochuyicmri <guochuyi@chinamobile.com> | 2018-11-13 10:14:59 +0800 |
---|---|---|
committer | guochuyicmri <guochuyi@chinamobile.com> | 2018-11-13 10:18:45 +0800 |
commit | a2b53d7c96a4d84e9aa3ae57d951f8be75f0ce76 (patch) | |
tree | 5d12dcc8322e1c3d3d79a37be9d7536fe56dbfd1 | |
parent | 7f291ba8f746b6ff36d88f48687381e17d6a2300 (diff) |
Support NS Instance Instantiation for VF-C
Change-Id: I1906dd68a4f72868151929a220301197891d1586
Issue-ID: USECASEUI-160
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java b/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java index 64d5f591..d60e38d6 100644 --- a/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java +++ b/server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java @@ -123,7 +123,7 @@ public class PackageDistributionController { return packageDistributionService.deleteVfPackage(casrId); } - @RequestMapping(value = {"/uui-lcm/fetchNsTemplateData}"}, method = RequestMethod.GET , produces = "application/json") + @RequestMapping(value = {"/uui-lcm/fetchNsTemplateData}"}, method = RequestMethod.POST , produces = "application/json") public String fetchNsTemplateData(HttpServletRequest request){ return packageDistributionService.fetchNsTemplateData(request); } diff --git a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java index fdc11b57..04bc3cf9 100644 --- a/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java +++ b/server/src/main/java/org/onap/usecaseui/server/service/lcm/domain/vfc/VfcService.java @@ -49,7 +49,7 @@ public interface VfcService { @GET("/api/catalog/v1/nspackages") Call<ResponseBody> listNsTemplates(); - @GET("/api/catalog/v1/parsernsd") + @POST("/api/catalog/v1/parsernsd") Call<ResponseBody> fetchNsTemplateData(@Body RequestBody body); @GET("/api/nslcm/v1/ns") |