aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHOCKLA <ah999m@att.com>2019-10-23 12:24:12 -0500
committerHOCKLA <ah999m@att.com>2019-10-23 12:24:27 -0500
commit380a8889d10e0e678d391b50dceb4f22a15bf47b (patch)
tree70a491e9790409b9798ddfa02b5fd501858b014c
parentfc07c32a4c01a2541c8061a37c3c6589c720e2b3 (diff)
Removed type_version from abbreviated Monitor decision results
Issue-ID: POLICY-2126 Change-Id: I2a4907bb61651d9cfe2793e69404d9ccbe41ccd8 Signed-off-by: HOCKLA <ah999m@att.com>
-rw-r--r--applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java b/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
index 3c9a4fba..318c9411 100644
--- a/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
+++ b/applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java
@@ -129,6 +129,7 @@ public class MonitoringPdpApplication extends StdXacmlApplicationServiceProvider
if (entry.getValue() instanceof Map) {
@SuppressWarnings("unchecked")
Map<String, Object> policy = (Map<String, Object>) entry.getValue();
+ policy.remove("type_version");
policy.remove("properties");
policy.remove("name");
policy.remove("version");