From 9c8d55e99ad3f20bdf6ea6a5cdc023436ba16a2d Mon Sep 17 00:00:00 2001 From: guochuyicmri Date: Thu, 15 Nov 2018 10:48:58 +0800 Subject: Support NS Instance Termination for VF-C Change-Id: I1b9eeeb4f3f1e3bc40267ac8196af4ac164f00e1 Issue-ID: USECASEUI-161 Signed-off-by: guochuyicmri --- .../server/controller/lcm/PackageDistributionController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 8a6f1983..4308e9f5 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 @@ -193,17 +193,17 @@ public class PackageDistributionController { return packageDistributionService.downLoadVnfPackage(vnfPkgId); } - @RequestMapping(value = {"/uui-lcm/deleteNsdPackage"}, method = RequestMethod.GET , produces = "application/json") + @RequestMapping(value = {"/uui-lcm/deleteNsdPackage"}, method = RequestMethod.DELETE , produces = "application/json") public String deleteNsdPackage(@RequestParam String nsdInfoId){ return packageDistributionService.deleteNsdPackage(nsdInfoId); } - @RequestMapping(value = {"/uui-lcm/deleteVnfPackage"}, method = RequestMethod.GET , produces = "application/json") + @RequestMapping(value = {"/uui-lcm/deleteVnfPackage"}, method = RequestMethod.DELETE , produces = "application/json") public String deleteVnfPackage(@RequestParam String vnfPkgId){ return packageDistributionService.deleteVnfPackage(vnfPkgId); } - @RequestMapping(value = {"/uui-lcm/deletePnfPackage"}, method = RequestMethod.GET , produces = "application/json") + @RequestMapping(value = {"/uui-lcm/deletePnfPackage"}, method = RequestMethod.DELETE , produces = "application/json") public String deletePnfPackage(@RequestParam String pnfdInfoId){ return packageDistributionService.deletePnfPackage(pnfdInfoId); } -- cgit 1.2.3-korg