From a3188c948acf949984414ca7baf0c32685922d4d Mon Sep 17 00:00:00 2001 From: jhh Date: Wed, 10 Apr 2019 10:25:05 -0500 Subject: Send policies in status Change-Id: Ia1f02857922a81c5d94ffc33cee72ce9a822c876 Issue-ID: POLICY-1624 Signed-off-by: jhh --- .../src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'feature-lifecycle/src/main/java/org/onap') diff --git a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java index 97f3574e..8e1e9937 100644 --- a/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java +++ b/feature-lifecycle/src/main/java/org/onap/policy/drools/lifecycle/LifecycleFsm.java @@ -335,8 +335,9 @@ public class LifecycleFsm implements Startable { status.setPdpSubgroup(subgroup); status.setState(state); status.setHealthy(isAlive() ? PdpHealthStatus.HEALTHY : PdpHealthStatus.NOT_HEALTHY); - status.setPdpType("drools"); // TODO: enum ? + status.setPdpType("drools"); status.setSupportedPolicyTypes(getCapabilities()); + status.setPolicies(new ArrayList<>(policiesMap.keySet())); return status; } -- cgit 1.2.3-korg