summaryrefslogtreecommitdiffstats
path: root/models-decisions
diff options
context:
space:
mode:
Diffstat (limited to 'models-decisions')
-rw-r--r--models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionRequest.java3
-rw-r--r--models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionResponse.java5
2 files changed, 6 insertions, 2 deletions
diff --git a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionRequest.java b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionRequest.java
index 94c9c9585..1ba7f4362 100644
--- a/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionRequest.java
+++ b/models-decisions/src/main/java/org/onap/policy/models/decisions/concepts/DecisionRequest.java
@@ -43,6 +43,9 @@ public class DecisionRequest {
@SerializedName("ONAPInstance")
private String onapInstance;
+ @SerializedName("requestId")
+ private String requestId;
+
@SerializedName("action")
private String action;
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 b265fe4fb..b4f288685 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,7 +33,8 @@ import lombok.Data;
*/
@Data
public class DecisionResponse {
-
- private String errorMessage;
+ private String status;
+ private Map<String, Object> advice;
+ private Map<String, Object> obligations;
private List<Map<String, Object>> policies;
}