Merge "Fix the bad request issue for operational policy"
authorSébastien Determe <sd378r@intl.att.com>
Mon, 30 Oct 2017 10:29:31 +0000 (10:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 30 Oct 2017 10:29:31 +0000 (10:29 +0000)
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");