From 86b60d8d28e4891259094fa1e936c6e579620b29 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Mon, 9 Oct 2017 08:07:36 -0500 Subject: send messages directly through topic This work is needed for consolidating the amsterdam templates used both for junits and the official one from the archetype into one, so junits can run in the official one. This work revisits the functionality of when a drools controller cannot be found to check state before delivering a message from the drools application, it will use a standalone enconder (previously configured to do so). This was intended to work like this originally, but never tested nor used as all deliveries are send through the controllers so locked/alive state is checked (but there may ocassions where we want to take this default action). Change-Id: Ie23e4e13323f3ab9fd207f8a396c1af6564b7edf Issue-ID: POLICY-101 Signed-off-by: Jorge Hernandez --- .../test/java/org/onap/policy/drools/core/DroolsContainerTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'policy-core/src/test/java') diff --git a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java index e83f026c..a956075e 100644 --- a/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java +++ b/policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java @@ -25,13 +25,11 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertSame; import static org.junit.Assert.assertTrue; -import org.junit.AfterClass; -import org.junit.BeforeClass; -import org.junit.Test; - import java.util.ArrayList; import java.util.Collection; +import org.junit.Test; + /** * These tests focus on the following classes: * PolicyContainer -- cgit 1.2.3-korg