summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2017-10-30 10:09:26 +0100
committerxg353y <xg353y@intl.att.com>2017-10-30 10:10:14 +0100
commit4f778f7fc30019725a62cf850265a21282d9ee98 (patch)
tree623199232d52a23ea92dc5a54f09a572162e66f2
parent1de3466a56a245223752c34423b7858117b56b73 (diff)
Fix the bad request issue for operational policy
Change-Id: Ie3275adf6ed549fe4a8488f84ca3ff5bd429069b Signed-off-by: xg353y <xg353y@intl.att.com> ISSUE-Id:CLAMP-62
-rw-r--r--src/main/java/org/onap/clamp/clds/client/PolicyClient.java2
1 files changed, 2 insertions, 0 deletions
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");