From 5af5cf4e6abeeec0c5ec0ad5108765a150499567 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(-) (limited to 'ms/controllerblueprints/modules/service/src') 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 3798ee6d4..4c34881a9 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