From 8039c0bae81eb34b397e389573aa83168aa350b5 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 3 May 2019 13:57:11 -0400 Subject: Decision should return dictionary Should not be an array of policies, should be a dictionary. Issue-ID: POLICY-1735 Change-Id: Ia88ef65dd332933aafbe6b57693344d5d43c53b8 Signed-off-by: Pamela Dragosh --- .../org/onap/policy/models/decisions/concepts/DecisionResponse.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'models-decisions/src/main/java/org/onap') 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 b4f288685..b0b21d2c2 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 @@ -20,7 +20,6 @@ package org.onap.policy.models.decisions.concepts; -import java.util.List; import java.util.Map; import lombok.Data; @@ -36,5 +35,5 @@ public class DecisionResponse { private String status; private Map advice; private Map obligations; - private List> policies; + private Map policies; } -- cgit 1.2.3-korg