From: Jorge Hernandez Date: Mon, 25 Sep 2017 19:42:02 +0000 (-0500) Subject: add guard simulator to pdp-d feature for labs X-Git-Tag: v1.1.0~60 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=fd96af9ed800232811067e164e51554eea08a167;p=policy%2Fdrools-applications.git add guard simulator to pdp-d feature for labs Change-Id: Id1852e55c3b03cf2c9e3800e40067806c6b9be5e Issue-ID: POLICY-256 Signed-off-by: Jorge Hernandez --- 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)); } }