diff options
Diffstat (limited to 'controlloop')
2 files changed, 6 insertions, 0 deletions
diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopEvent.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopEvent.java index c512b6796..b5ce27112 100644 --- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopEvent.java +++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopEvent.java @@ -24,6 +24,8 @@ import java.time.Instant; import java.util.HashMap; import java.util.Map; +import com.google.gson.annotations.SerializedName; + public class VirtualControlLoopEvent extends ControlLoopEvent { /** @@ -32,6 +34,7 @@ public class VirtualControlLoopEvent extends ControlLoopEvent { private static final long serialVersionUID = -5752405682246066226L; private Instant closedLoopAlarmStart; private Instant closedLoopAlarmEnd; + @SerializedName("AAI") private Map<String, String> aai = new HashMap<>(); public VirtualControlLoopEvent() { diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopNotification.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopNotification.java index c99e3a1b0..72d88df92 100644 --- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopNotification.java +++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/VirtualControlLoopNotification.java @@ -24,6 +24,8 @@ import java.time.Instant; import java.util.HashMap; import java.util.Map; +import com.google.gson.annotations.SerializedName; + public class VirtualControlLoopNotification extends ControlLoopNotification { /** @@ -31,6 +33,7 @@ public class VirtualControlLoopNotification extends ControlLoopNotification { */ private static final long serialVersionUID = 5354756047932144017L; + @SerializedName("AAI") private Map<String, String> aai = new HashMap<>(); private Instant closedLoopAlarmStart; private Instant closedLoopAlarmEnd; |