diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java | 1 | ||||
-rw-r--r-- | main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java b/main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java index 77607197..cb88d6aa 100644 --- a/main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java +++ b/main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java @@ -63,7 +63,6 @@ public class XacmlState { this.status.setName(NetworkUtil.getHostname()); this.status.setPdpType("xacml"); this.status.setState(PdpState.PASSIVE); - this.status.setSupportedPolicyTypes(appManager.getToscaPolicyTypeIdents()); this.status.setPolicies(Collections.emptyList()); this.status.setPdpGroup(pdpGroupName); } diff --git a/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java b/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java index b09fe1a1..185f538e 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java @@ -107,9 +107,6 @@ public class XacmlStateTest { assertEquals(GROUP, status.getPdpGroup()); assertEquals(PDP_TYPE, status.getPdpType()); assertEquals(PdpState.PASSIVE, status.getState()); - assertEquals("[ToscaPolicyTypeIdentifier(name=nameA, version=typeA), " - + "ToscaPolicyTypeIdentifier(name=nameB, version=typeB)]", - status.getSupportedPolicyTypes().toString()); assertTrue(status.getPolicies().isEmpty()); // healthy |