aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java b/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java
index 744b2fe39..45fc070e9 100644
--- a/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java
+++ b/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java
@@ -45,6 +45,10 @@ public class CommandParentData {
private static final String RESOURCE_INSTANCE_IDS = "resourceInstancesIds";
private static final String RESOURCE_MODEL_INFOS = "resourceModelInfos";
+
+ private Map<CommandDataKey, String> resourceInstancesIds = new HashMap<>();
+ private Map<CommandDataKey, ModelInfo> resourceModelInfos = new HashMap<>();
+ private Action actionPhase = null;
private final TypeReference<Map<CommandDataKey, String>> mapCommandKeyToString =
new TypeReference<Map<CommandDataKey, String>> () {};
@@ -74,9 +78,6 @@ public class CommandParentData {
return data;
}
- private Map<CommandDataKey, String> resourceInstancesIds = new HashMap<>();
- private Map<CommandDataKey, ModelInfo> resourceModelInfos = new HashMap<>();
- private Action actionPhase = null;
public void addModelInfo(CommandDataKey modelInfoKey, ModelInfo modelInfo) {
resourceModelInfos.put(modelInfoKey, modelInfo);