modify VesAlarm 37/16337/1
authorShiwei Tian <tian.shiwei@zte.com.cn>
Thu, 28 Sep 2017 11:12:48 +0000 (19:12 +0800)
committerShiwei Tian <tian.shiwei@zte.com.cn>
Thu, 28 Sep 2017 11:12:48 +0000 (19:12 +0800)
Issue-ID: HOLMES-44

Change-Id: I96c65a720291efde7bda3a13134f6bcb80c5126a
Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
holmes-actions/src/main/java/org/onap/holmes/common/api/stat/VesAlarm.java

index 56a7a11..f43d3bd 100644 (file)
@@ -52,8 +52,8 @@ public class VesAlarm implements Cloneable, Serializable{
     private String specificProblem;
     private String vfStatus;
     private String parentId;
-    private int alarmIsCleared;  //mark as 1 when alarm type is cleared, else mark as 2
-    private int rootFlag;        // mark as 1 when alarm is a root alarm , else mark as 2
+    private int alarmIsCleared = 0;  //mark as 1 when alarm type is cleared, else mark as 0
+    private int rootFlag = 0;        // mark as 1 when alarm is a root alarm , else mark as 0
 
     @Override
     public int hashCode() {