From 4f778f7fc30019725a62cf850265a21282d9ee98 Mon Sep 17 00:00:00 2001 From: xg353y Date: Mon, 30 Oct 2017 10:09:26 +0100 Subject: Fix the bad request issue for operational policy Change-Id: Ie3275adf6ed549fe4a8488f84ca3ff5bd429069b Signed-off-by: xg353y ISSUE-Id:CLAMP-62 --- src/main/java/org/onap/clamp/clds/client/PolicyClient.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/onap/clamp/clds/client/PolicyClient.java b/src/main/java/org/onap/clamp/clds/client/PolicyClient.java index 54b3fbb48..e1ef0d936 100644 --- a/src/main/java/org/onap/clamp/clds/client/PolicyClient.java +++ b/src/main/java/org/onap/clamp/clds/client/PolicyClient.java @@ -110,6 +110,8 @@ public class PolicyClient { // Data Issue: No policyDescription given. policyParameters.setPolicyDescription(refProp.getStringValue("op.policyDescription")); + policyParameters.setAttributes(attributes); + // Set a random UUID(Mandatory) policyParameters.setRequestID(UUID.fromString(policyRequestUuid)); String policyNamePrefix = refProp.getStringValue("policy.op.policyNamePrefix"); -- cgit 1.2.3-korg