Removed type_version from abbreviated Monitor decision results 93/97493/1
authorHOCKLA <ah999m@att.com>
Wed, 23 Oct 2019 17:24:12 +0000 (12:24 -0500)
committerHOCKLA <ah999m@att.com>
Wed, 23 Oct 2019 17:24:27 +0000 (12:24 -0500)
Issue-ID: POLICY-2126
Change-Id: I2a4907bb61651d9cfe2793e69404d9ccbe41ccd8
Signed-off-by: HOCKLA <ah999m@att.com>
applications/monitoring/src/main/java/org/onap/policy/xacml/pdp/application/monitoring/MonitoringPdpApplication.java

index 3c9a4fb..318c941 100644 (file)
@@ -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");