Fix fieldname for guard 46/89846/1
authorPamela Dragosh <pdragosh@research.att.com>
Fri, 14 Jun 2019 00:05:00 +0000 (20:05 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Fri, 14 Jun 2019 00:05:06 +0000 (20:05 -0400)
Should be clname

Issue-ID: POLICY-1855
Change-Id: I17d59f33e761386bad9a30a07ec505ac66c6215a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java
pom.xml

index fc9a243..53f1cea 100644 (file)
@@ -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()));
diff --git a/pom.xml b/pom.xml
index 82478c6..9d3cb1a 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -60,7 +60,7 @@
 
         <!-- Project common dependency versions -->
         <version.policy.common>1.4.0</version.policy.common>
-        <policy.models.version>2.0.0</policy.models.version>
+        <policy.models.version>2.0.2-SNAPSHOT</policy.models.version>
         <version.policy.drools-pdp>1.4.0</version.policy.drools-pdp>
     </properties>