From 18df9bdaa77abfb89a909841912f9c8376b5d2f9 Mon Sep 17 00:00:00 2001 From: jrh3 Date: Mon, 29 Jul 2019 12:11:34 -0400 Subject: Use new addTopic(TopicParameterGroup) method in PAP Issue-ID: POLICY-1953 Signed-off-by: jrh3 Change-Id: I225dc5f03d867efe6167fd20781c9959af34e0e9 Signed-off-by: jrh3 --- .../java/org/onap/policy/pap/main/startstop/TestPapActivator.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'main/src/test/java/org/onap') diff --git a/main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java b/main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java index 2ebd234c..13c06098 100644 --- a/main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java +++ b/main/src/test/java/org/onap/policy/pap/main/startstop/TestPapActivator.java @@ -28,12 +28,10 @@ import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; -import java.util.Properties; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.onap.policy.common.endpoints.http.server.HttpServletServerFactoryInstance; -import org.onap.policy.common.endpoints.utils.ParameterUtils; import org.onap.policy.common.utils.services.Registry; import org.onap.policy.pap.main.PapConstants; import org.onap.policy.pap.main.PolicyPapException; @@ -67,9 +65,7 @@ public class TestPapActivator { final PapCommandLineArguments arguments = new PapCommandLineArguments(papConfigParameters); final PapParameterGroup parGroup = new PapParameterHandler().getParameters(arguments); - Properties props = ParameterUtils.getTopicProperties(parGroup.getTopicParameterGroup()); - - activator = new PapActivator(parGroup, props); + activator = new PapActivator(parGroup); } /** -- cgit 1.2.3-korg