aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-03 17:33:08 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-05-03 17:33:08 +0200
commitc8e71ba3d736bfa4b05a3bc843b39328a596892c (patch)
tree5a2ef9288a0b76228cb3bf0d5233e8d86dd0b0d6 /src/main
parent410fe9c12878951bea0748c3dc31c43bdb50cbd3 (diff)
Fix Sonar bugs
Fix Sonar bugs reported Issue-ID: CLAMP-147 Change-Id: Ie7a7bb24ceaaf45b55861baeeb26011b93895705 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java b/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java
index 57fe7cd47..13af04399 100644
--- a/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java
+++ b/src/main/java/org/onap/clamp/clds/sdc/controller/installer/CsarInstallerImpl.java
@@ -39,7 +39,6 @@ import javax.xml.transform.TransformerException;
import org.json.simple.parser.ParseException;
import org.onap.clamp.clds.client.DcaeInventoryServices;
-import org.onap.clamp.clds.config.ClampProperties;
import org.onap.clamp.clds.config.sdc.BlueprintParserFilesConfiguration;
import org.onap.clamp.clds.config.sdc.BlueprintParserMappingConfiguration;
import org.onap.clamp.clds.dao.CldsDao;
@@ -88,8 +87,6 @@ public class CsarInstallerImpl implements CsarInstaller {
DcaeInventoryServices dcaeInventoryService;
@Autowired
private XslTransformer cldsBpmnTransformer;
- @Autowired
- private ClampProperties refProp;
@PostConstruct
public void loadConfiguration() throws IOException {
@@ -265,7 +262,8 @@ public class CsarInstallerImpl implements CsarInstaller {
private CldsModel setModelPropText(CldsModel cldsModel, BlueprintArtifact blueprintArtifact,
CldsTemplate cldsTemplate) throws TransformerException {
- ModelProperties modelProp = new ModelProperties(cldsModel.getName(), cldsModel.getControlName(), "PUT", false,
+ // Do a test to validate the BPMN
+ new ModelProperties(cldsModel.getName(), cldsModel.getControlName(), "PUT", false,
cldsBpmnTransformer.doXslTransformToString(cldsTemplate.getBpmnText()), "{}");
String inputParams = "{\"name\":\"deployParameters\",\"value\":{\n" + "\"policy_id\": \""
+ "AUTO_GENERATED_POLICY_ID_AT_SUBMIT" + "\"" + "}}";