commit | 156bcc91b6ee96dd9fbb0223f70cd1b1ac1ebd86 | [log] [tgz] |
---|---|---|
author | subhash kumar singh <subhash.kumar.singh@huawei.com> | Tue Nov 13 19:07:45 2018 +0530 |
committer | subhash kumar singh <subhash.kumar.singh@huawei.com> | Tue Nov 13 19:07:45 2018 +0530 |
tree | d3a2463e32abae24766b9c12da744a27f6013357 | |
parent | 77a9a58512b54a9214b90dd1b00473c356036419 [diff] |
Fix the variable to retrieve resource sequence Fix the variable to retrieve resource sequence. Change-Id: I331c87f5dd3fe4de3bc220db281368bd4b6dae1a Issue-ID: SO-689 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/properties/BPMNProperties.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/properties/BPMNProperties.java index 60f109a..0d7c4ab 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/properties/BPMNProperties.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/properties/BPMNProperties.java
@@ -21,6 +21,7 @@ import java.util.Arrays; import java.util.List; +import org.onap.so.bpmn.core.UrnPropertiesReader; import org.onap.so.bpmn.core.UrnPropertiesReader; import org.onap.so.logger.MsoLogger; @@ -37,7 +38,7 @@ } public static List<String> getResourceSequenceProp(String input) { - String resourceSequence = getProperty("mso.workflow.custom." + input + ".resource.sequence", null); + String resourceSequence = UrnPropertiesReader.getVariable("mso.workflow.custom."+ input + ".resource.sequence"); if (resourceSequence != null) { return Arrays.asList(resourceSequence.split(",")); }