diff options
author | mmis <michael.morris@ericsson.com> | 2018-07-30 19:24:09 +0100 |
---|---|---|
committer | mmis <michael.morris@ericsson.com> | 2018-07-30 19:31:55 +0100 |
commit | 7e80f2ce69d5d16224ffcbfa424836a035a26878 (patch) | |
tree | be8212c72fd604e6765aca410a2cbd2807b54e72 /feature-state-management/src/main | |
parent | 64f53ef14f5a9ea98208fd2b835bfb01fda9a5f9 (diff) |
Copy policy-endpoints from drools-pdp to common
Issue-ID: POLICY-967
Change-Id: Ib19d3a89ffa328c39f7871bff59efb3dd1617f7a
Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'feature-state-management/src/main')
-rw-r--r-- | feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java index 8fdd3a4d..a7606eb2 100644 --- a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java +++ b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java @@ -26,7 +26,6 @@ import java.util.Properties; import org.onap.policy.common.capabilities.Startable; import org.onap.policy.common.endpoints.http.server.HttpServletServer; -import org.onap.policy.common.endpoints.http.server.impl.IndexedHttpServletServerFactory; import org.onap.policy.common.im.IntegrityMonitor; import org.onap.policy.common.im.IntegrityMonitorException; import org.onap.policy.drools.utils.PropertyUtil; @@ -372,8 +371,7 @@ public class DroolsPDPIntegrityMonitor extends IntegrityMonitor { @Override public boolean start() { try { - List<HttpServletServer> servers = - IndexedHttpServletServerFactory.getInstance().build(integrityMonitorRestServerProperties); + List<HttpServletServer> servers = HttpServletServer.factory.build(integrityMonitorRestServerProperties); if (!servers.isEmpty()) { server = servers.get(0); |