aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2020-02-10 13:38:41 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-10 13:38:41 +0000
commit24645b6c53420b7d12a23158e39366ed37b10d86 (patch)
treeca440f56253f3a544d281d018301a8aa130dbcce /bpmn/so-bpmn-tasks/src/main
parent980aa7b6d011d4760a82033189a0b116fedb9613 (diff)
parenta326cd36aca7f219777ce15539e7f02664249b27 (diff)
Merge "change variables to public"
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main')
-rw-r--r--bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/HomingV2.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/HomingV2.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/HomingV2.java
index c223d3ff11..de6b75bd03 100644
--- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/HomingV2.java
+++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/bpmn/buildingblock/HomingV2.java
@@ -28,9 +28,9 @@ import org.springframework.stereotype.Component;
@Component
public class HomingV2 {
- static final String HOMING_SNIRO = "sniro";
- static final String HOMING_OOF = "oof";
- static final String HOMING_SOLUTION = "Homing_Solution";
+ public static final String HOMING_SNIRO = "sniro";
+ public static final String HOMING_OOF = "oof";
+ public static final String HOMING_SOLUTION = "Homing_Solution";
private SniroHomingV2 sniroHomingV2;
private OofHomingV2 oofHomingV2;
@@ -59,6 +59,6 @@ public class HomingV2 {
private boolean isSniro(BuildingBlockExecution execution) {
return execution.getGeneralBuildingBlock().getRequestContext().getRequestParameters().getUserParams().stream()
- .anyMatch(params -> HOMING_SNIRO.equals(params.get(HOMING_SOLUTION)));
+ .anyMatch(params -> HomingV2.HOMING_SNIRO.equals(params.get(HomingV2.HOMING_SOLUTION)));
}
}