summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-03-11 14:05:05 -0400
committerPamela Dragosh <pdragosh@research.att.com>2020-03-11 14:05:10 -0400
commitc2e24def7c1de97838af00560bdb0bf84f3abc4b (patch)
tree2489e71860bed9c8bd9140f551849e398329c384
parentb498abeab3c840ce9cfd09025892c8e93fa9a75e (diff)
Add message to DecisionResponse
For better error message information to be returned. Issue-ID: POLICY-2242 Change-Id: I704249c9f4c85b0893b3e004aa1022bd70c87f2e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java
index b0b21d2c2..8bd4a0f6a 100644
--- a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java
+++ b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java
@@ -33,6 +33,7 @@ import lombok.Data;
@Data
public class DecisionResponse {
private String status;
+ private String message;
private Map<String, Object> advice;
private Map<String, Object> obligations;
private Map<String, Object> policies;