diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2018-12-04 10:54:12 +0530 |
---|---|---|
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | 2018-12-04 10:57:10 +0530 |
commit | cbeabb6787f364ae0fa366b6044d8e601b9a9ecc (patch) | |
tree | ea845ad2596d4f68efd0aaf85fed6f38ee1a38e2 /ms/controllerblueprints/modules/service/src/main/java | |
parent | ea5e814a399f6dd2d8b423c2a70bdc00b26baeb5 (diff) |
Sonar Fix: ServiceTemplateRest.java
Fixed sonar issues/code-smells across this file
Issue-ID: CCSDK-784
Change-Id: Iedd7c18960ae0db2b19ac7defaecea973891502c
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'ms/controllerblueprints/modules/service/src/main/java')
-rw-r--r-- | ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/rs/ServiceTemplateRest.java | 3 |
1 files changed, 1 insertions, 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<ResourceAssignment> generateResourceAssignments(@RequestBody ConfigModelContent templateContent)
- throws BluePrintException {
+ List<ResourceAssignment> generateResourceAssignments(@RequestBody ConfigModelContent templateContent) {
return serviceTemplateService.generateResourceAssignments(templateContent);
}
|