Github user haoch commented on a diff in the pull request: https://github.com/apache/incubator-eagle/pull/146#discussion_r59812139 --- Diff: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/alert/entity/AlertAPIEntity.java --- @@ -78,19 +81,22 @@ public void setRemediationCallback(String remediationCallback) { _pcs.firePropertyChange("remediationCallback", null, null); } + @JsonIgnore public String getAlertContext() { return alertContext; } + @JsonProperty("alertContext") --- End diff -- Avoid to use JsonProperty annotation like this which makes the code too complex to read.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---