diff options
author | jrh3 <jrh3@att.com> | 2019-07-31 11:46:43 -0400 |
---|---|---|
committer | jrh3 <jrh3@att.com> | 2019-07-31 11:46:43 -0400 |
commit | bccd3a9b4d86c582f2065907a51ac2cade366691 (patch) | |
tree | bc358206da209b822226bc03fc8632c8ab88bab1 /main/src/test | |
parent | 18df9bdaa77abfb89a909841912f9c8376b5d2f9 (diff) |
Remove remaining ParameterUtils from PAP
Issue-ID: POLICY-1953
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I2bc56dfe2d5982d7dadb54311a94d6c6f95fa595
Diffstat (limited to 'main/src/test')
-rw-r--r-- | main/src/test/java/org/onap/policy/pap/main/comm/PublisherTest.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/comm/PublisherTest.java b/main/src/test/java/org/onap/policy/pap/main/comm/PublisherTest.java index d399f635..4b9bef71 100644 --- a/main/src/test/java/org/onap/policy/pap/main/comm/PublisherTest.java +++ b/main/src/test/java/org/onap/policy/pap/main/comm/PublisherTest.java @@ -26,7 +26,6 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; -import java.util.Properties; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.Semaphore; import java.util.concurrent.TimeUnit; @@ -38,7 +37,6 @@ import org.junit.Test; import org.onap.policy.common.endpoints.event.comm.Topic.CommInfrastructure; import org.onap.policy.common.endpoints.event.comm.TopicEndpointManager; import org.onap.policy.common.endpoints.event.comm.TopicListener; -import org.onap.policy.common.endpoints.utils.ParameterUtils; import org.onap.policy.common.utils.coder.Coder; import org.onap.policy.common.utils.coder.CoderException; import org.onap.policy.common.utils.coder.StandardCoder; @@ -90,10 +88,9 @@ public class PublisherTest extends Threaded { final String[] papConfigParameters = {"-c", "parameters/PapConfigParameters.json"}; final PapCommandLineArguments arguments = new PapCommandLineArguments(papConfigParameters); final PapParameterGroup parameterGroup = new PapParameterHandler().getParameters(arguments); - Properties props = ParameterUtils.getTopicProperties(parameterGroup.getTopicParameterGroup()); TopicEndpointManager.getManager().shutdown(); - TopicEndpointManager.getManager().addTopics(props); + TopicEndpointManager.getManager().addTopics(parameterGroup.getTopicParameterGroup()); TopicEndpointManager.getManager().start(); } |