diff options
author | Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> | 2021-01-19 16:11:54 +0100 |
---|---|---|
committer | Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> | 2021-01-20 10:29:06 +0000 |
commit | 6345bc31e13829b84115b3f1de9e384b1f91c2ab (patch) | |
tree | 2728f609d526c4a3ea8b70438d1d644961f89326 /mod/bpgenerator/onap/src/main/java | |
parent | 87e8c9cb8b1b335e213ad1e4adaabc3e622ebfb1 (diff) |
Add PropertiesServiceTest
- add test class
- remove unused vars in PropertiesService
Issue-ID: DCAEGEN2-1179
Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com>
Change-Id: Ic266f62097ed97cfd3aa5bac18609bb8730e27e0
Diffstat (limited to 'mod/bpgenerator/onap/src/main/java')
-rw-r--r-- | mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/PropertiesService.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/PropertiesService.java b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/PropertiesService.java index 3c36cca..be79b25 100644 --- a/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/PropertiesService.java +++ b/mod/bpgenerator/onap/src/main/java/org/onap/blueprintgenerator/service/common/PropertiesService.java @@ -88,7 +88,6 @@ public class PropertiesService { image.setBpInputName("image"); properties.setImage(image); - LinkedHashMap<String, Object> img = new LinkedHashMap<>(); inputs.put( "image", blueprintHelperService.createStringInput(onapComponentSpec.getArtifacts()[0].getUri())); @@ -97,7 +96,6 @@ public class PropertiesService { location.setBpInputName("location_id"); properties.setLocation_id(location); - LinkedHashMap<String, Object> locMap = new LinkedHashMap(); inputs.put("location_id", blueprintHelperService.createStringInput(Constants.EMPTY_VALUE)); properties.setLog_info(onapComponentSpec.getAuxilary().getLog_info()); |