From cbb065aa43db6a1552aeb51bbb8b1020333a7aba Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 22 Jul 2021 14:51:20 +0000 Subject: Revert "Use new RestClientParameters class in distribution" This reverts commit b59b14d47b590ff94b7c98348c1617990d03c86f. Reason for revert: needs complete rework Issue-ID: POLICY-3456 Change-Id: I7b1f5bb1a9c8cb681808d52b4d6c18377f6a0250 Signed-off-by: Jim Hahn --- .../org/onap/policy/distribution/reception/handling/PluginHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'reception') diff --git a/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java b/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java index ecd40e92..c2ea8009 100644 --- a/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java +++ b/reception/src/main/java/org/onap/policy/distribution/reception/handling/PluginHandler.java @@ -26,7 +26,6 @@ import java.lang.reflect.InvocationTargetException; import java.util.ArrayList; import java.util.Collection; import java.util.Map; -import org.onap.policy.common.endpoints.http.client.HttpClientConfigException; import org.onap.policy.common.parameters.ParameterService; import org.onap.policy.distribution.forwarding.PolicyForwarder; import org.onap.policy.distribution.forwarding.parameters.PolicyForwarderParameters; @@ -121,7 +120,7 @@ public class PluginHandler { policyForwarders.add(policyForwarder); } catch (final ClassNotFoundException | InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException | NoSuchMethodException - | SecurityException | HttpClientConfigException exp) { + | SecurityException exp) { throw new PluginInitializationException(exp.getMessage(), exp.getCause()); } } -- cgit 1.2.3-korg