From fd96af9ed800232811067e164e51554eea08a167 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Mon, 25 Sep 2017 14:42:02 -0500 Subject: add guard simulator to pdp-d feature for labs Change-Id: Id1852e55c3b03cf2c9e3800e40067806c6b9be5e Issue-ID: POLICY-256 Signed-off-by: Jorge Hernandez --- .../drools/apps/controlloop/feature/utils/ControlLoopUtilsFeature.java | 1 + .../apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java | 1 + 2 files changed, 2 insertions(+) (limited to 'controlloop/common/feature-controlloop-utils') diff --git a/controlloop/common/feature-controlloop-utils/src/main/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeature.java b/controlloop/common/feature-controlloop-utils/src/main/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeature.java index 50876311c..3cee70eda 100644 --- a/controlloop/common/feature-controlloop-utils/src/main/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeature.java +++ b/controlloop/common/feature-controlloop-utils/src/main/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeature.java @@ -46,6 +46,7 @@ public class ControlLoopUtilsFeature implements PolicyEngineFeatureAPI { Util.buildAaiSim(); Util.buildSoSim(); Util.buildVfcSim(); + Util.buildGuardSim(); } catch (final InterruptedException e) { logger.error("{}: initialization aborted", ControlLoopUtilsFeature.class.getName(), e); Thread.currentThread().interrupt(); diff --git a/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java b/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java index 5ba375847..2a8bc35ea 100644 --- a/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java +++ b/controlloop/common/feature-controlloop-utils/src/test/java/org/onap/policy/drools/apps/controlloop/feature/utils/ControlLoopUtilsFeatureTest.java @@ -41,6 +41,7 @@ public class ControlLoopUtilsFeatureTest { assertNotNull(HttpServletServer.factory.get(Util.AAISIM_SERVER_PORT)); assertNotNull(HttpServletServer.factory.get(Util.SOSIM_SERVER_PORT)); assertNotNull(HttpServletServer.factory.get(Util.SOSIM_SERVER_PORT)); + assertNotNull(HttpServletServer.factory.get(Util.GUARDSIM_SERVER_PORT)); } } -- cgit 1.2.3-korg