From cbeabb6787f364ae0fa366b6044d8e601b9a9ecc Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Tue, 4 Dec 2018 10:54:12 +0530 Subject: Sonar Fix: ServiceTemplateRest.java Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-784 Change-Id: Iedd7c18960ae0db2b19ac7defaecea973891502c Signed-off-by: Arundathi Patil --- .../apps/controllerblueprints/service/rs/ServiceTemplateRest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRest.java b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRest.java index 3798ee6d..4c34881a 100644 --- a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRest.java +++ b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRest.java @@ -75,8 +75,7 @@ public class ServiceTemplateRest { @PostMapping(path = "/resource-assignment/generate", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE) public @ResponseBody - List generateResourceAssignments(@RequestBody ConfigModelContent templateContent) - throws BluePrintException { + List generateResourceAssignments(@RequestBody ConfigModelContent templateContent) { return serviceTemplateService.generateResourceAssignments(templateContent); } -- cgit 1.2.3-korg