aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java
diff options
context:
space:
mode:
Diffstat (limited to 'controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java')
-rw-r--r--controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java25
1 files changed, 24 insertions, 1 deletions
diff --git a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java
index d3f1786c7..eab04e22e 100644
--- a/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java
+++ b/controlloop/common/model-impl/events/src/main/java/org/onap/policy/controlloop/ControlLoopEvent.java
@@ -20,23 +20,46 @@
package org.onap.policy.controlloop;
+import com.google.gson.annotations.SerializedName;
+
import java.io.Serializable;
import java.util.UUID;
public abstract class ControlLoopEvent implements Serializable {
private static final long serialVersionUID = 2391252138583119195L;
-
+
+ @SerializedName("closedLoopControlName")
private String closedLoopControlName;
+
+ @SerializedName("version")
private String version = "1.0.2";
+
+ @SerializedName("requestID")
private UUID requestId;
+
+ @SerializedName("closedLoopEventClient")
private String closedLoopEventClient;
+
+ @SerializedName("target_type")
private ControlLoopTargetType targetType;
+
+ @SerializedName("target")
private String target;
+
+ @SerializedName("from")
private String from;
+
+ @SerializedName("policyScope")
private String policyScope;
+
+ @SerializedName("policyName")
private String policyName;
+
+ @SerializedName("policyVersion")
private String policyVersion;
+
+ @SerializedName("closedLoopEventStatus")
private ControlLoopEventStatus closedLoopEventStatus;
public ControlLoopEvent() {