summaryrefslogtreecommitdiffstats
path: root/policy-core/src
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-10-09 08:07:36 -0500
committerJorge Hernandez <jh1730@att.com>2017-10-09 08:07:36 -0500
commit86b60d8d28e4891259094fa1e936c6e579620b29 (patch)
tree7edb5f2a0cba0eab991db119589b24ee088d7a69 /policy-core/src
parent552048293a269ba961f526f45a89e433b7b073ea (diff)
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 <jh1730@att.com>
Diffstat (limited to 'policy-core/src')
-rw-r--r--policy-core/src/test/java/org/onap/policy/drools/core/DroolsContainerTest.java6
1 files changed, 2 insertions, 4 deletions
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