summaryrefslogtreecommitdiffstats
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 20:05:06 -0400
commit5eaecb6bb0c0cfca4cf48f23b3b6b32dc8213d0b (patch)
tree6f2c77d1878b0b1380c4bb17cd356a2a6a234440
parent2df80471178d4737113022c7413455e3afb797a9 (diff)
Fix fieldname for guard
Should be clname Issue-ID: POLICY-1855 Change-Id: I17d59f33e761386bad9a30a07ec505ac66c6215a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r--controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuardXacmlHelper.java2
-rw-r--r--pom.xml2
2 files changed, 2 insertions, 2 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()));
diff --git a/pom.xml b/pom.xml
index 82478c676..9d3cb1a48 100644
--- 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>