diff options
author | jrh3 <jrh3@att.com> | 2019-07-29 12:11:34 -0400 |
---|---|---|
committer | jrh3 <jrh3@att.com> | 2019-07-30 09:27:12 -0400 |
commit | 18df9bdaa77abfb89a909841912f9c8376b5d2f9 (patch) | |
tree | dfd54844b8a9511cdb0ae3073395652e3b23bf2a /main/src/main/java/org/onap/policy/pap/main/startstop/Main.java | |
parent | be052dbac443bd6e2b277f880e5fba26d0353c1b (diff) |
Use new addTopic(TopicParameterGroup) method in PAP
Issue-ID: POLICY-1953
Signed-off-by: jrh3 <jrh3@att.com>
Change-Id: I225dc5f03d867efe6167fd20781c9959af34e0e9
Signed-off-by: jrh3 <jrh3@att.com>
Diffstat (limited to 'main/src/main/java/org/onap/policy/pap/main/startstop/Main.java')
-rw-r--r-- | main/src/main/java/org/onap/policy/pap/main/startstop/Main.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/main/src/main/java/org/onap/policy/pap/main/startstop/Main.java b/main/src/main/java/org/onap/policy/pap/main/startstop/Main.java index ba73d354..fc3ebbce 100644 --- a/main/src/main/java/org/onap/policy/pap/main/startstop/Main.java +++ b/main/src/main/java/org/onap/policy/pap/main/startstop/Main.java @@ -22,8 +22,6 @@ package org.onap.policy.pap.main.startstop; import java.util.Arrays; -import java.util.Properties; -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; @@ -79,9 +77,6 @@ public class Main { return; } - // Read the properties - Properties props = ParameterUtils.getTopicProperties(parameterGroup.getTopicParameterGroup()); - // Initialize database try { new PapDatabaseInitializer().initializePapDatabase(parameterGroup.getDatabaseProviderParameters()); @@ -91,7 +86,7 @@ public class Main { } // Now, create the activator for the policy pap service - activator = new PapActivator(parameterGroup, props); + activator = new PapActivator(parameterGroup); Registry.register(PapConstants.REG_PAP_ACTIVATOR, activator); // Start the activator |