aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-06-13 20:05:00 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-06-13 22:52:48 -0400
commitdee583c9660357558d11a81387c84a357971708d (patch)
tree68cd392a24a82c73bfdc85889c3823ec7f817472
parentcc40e38a3a51322fa3ad60c7bb7045180ad39842 (diff)
Fix fieldname for guard
Should be clname Issue-ID: POLICY-1855 Change-Id: I17d59f33e761386bad9a30a07ec505ac66c6215a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> (cherry picked from commit 5eaecb6bb0c0cfca4cf48f23b3b6b32dc8213d0b) Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java
index fc9a2438f..53f1cea4b 100644
--- a/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java
+++ b/controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java
@@ -76,7 +76,7 @@ public class PolicyGuardXacmlHelper {
guard.put("recipe", xacmlReq.getOperationId());
guard.put("target", xacmlReq.getTargetId());
if (xacmlReq.getClnameId() != null) {
- guard.put("clName", xacmlReq.getClnameId());
+ guard.put("clname", xacmlReq.getClnameId());
}
if (xacmlReq.getVfCount() != null) {
guard.put("vfCount", Integer.toString(xacmlReq.getVfCount()));