From 9ac13899b368c83566c280157a51c49f99cad4f3 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 31 May 2018 17:46:32 +0800 Subject: Introduce resource sequence as per modelname Resource sequence can be defined in mso.apihandler-infra.properties file as per following: mso.workflow.custom..resource.sequence=<, separated values> Change-Id: I156cfcfea4936be541014726dc6063f7f4e2d2b4 Issue-ID: SO-422 Signed-off-by: subhash kumar singh --- .../openecomp/mso/bpmn/infrastructure/properties/BPMNProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp') diff --git a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/properties/BPMNProperties.java b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/properties/BPMNProperties.java index dbb552c818..64d8530df1 100644 --- a/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/properties/BPMNProperties.java +++ b/bpmn/MSOInfrastructureBPMN/src/main/java/org/openecomp/mso/bpmn/infrastructure/properties/BPMNProperties.java @@ -47,8 +47,8 @@ public class BPMNProperties { return value; } - public static List getResourceSequenceProp() { - String resourceSequence = getProperty("mso.workflow.custom.VolTE.resource.sequence", null); + public static List getResourceSequenceProp(String input) { + String resourceSequence = getProperty("mso.workflow.custom." + input + ".resource.sequence", null); if (resourceSequence != null) { return Arrays.asList(resourceSequence.split(",")); } -- cgit 1.2.3-korg