aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorHOCKLA <ah999m@att.com>2020-01-02 11:45:22 -0600
committerHOCKLA <ah999m@att.com>2020-01-06 09:20:48 -0600
commitf889f2f37fe9c00eff5f06b91dabeaefcbf08827 (patch)
tree696503d83458cbfb4e6c1d9ec9ea0de6d49060cc /main/src
parent85744c81b27a833db4a8089c90a4faeb98d8f349 (diff)
Removed supported policy types from Pdp-Status message
Issue-ID: POLICY-2230 Change-Id: I363dc450b6d7aaf13696c50792cbea5a8d643413 Signed-off-by: HOCKLA <ah999m@att.com>
Diffstat (limited to 'main/src')
-rw-r--r--main/src/main/java/org/onap/policy/pdpx/main/XacmlState.java1
-rw-r--r--main/src/test/java/org/onap/policy/pdpx/main/XacmlStateTest.java3
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