aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/main/java/org/onap/usecaseui/server/controller/lcm/PackageDistributionController.java6
1 files 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);
}