Fix the bad request issue for operational policy 55/21255/1
authorxg353y <xg353y@intl.att.com>
Mon, 30 Oct 2017 09:09:26 +0000 (10:09 +0100)
committerxg353y <xg353y@intl.att.com>
Mon, 30 Oct 2017 09:10:14 +0000 (10:10 +0100)
Change-Id: Ie3275adf6ed549fe4a8488f84ca3ff5bd429069b
Signed-off-by: xg353y <xg353y@intl.att.com>
ISSUE-Id:CLAMP-62

src/main/java/org/onap/clamp/clds/client/PolicyClient.java

index 54b3fbb..e1ef0d9 100644 (file)
@@ -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");