From 550d0d986713f4da7b37b8f2b16264884c05b9ab Mon Sep 17 00:00:00 2001 From: ramverma Date: Wed, 8 Aug 2018 23:17:37 +0100 Subject: Adding configuration parameters for distribution * Adding main configuration parameters to distribution component. The intention is to define a top level parameter group that should be capable of handling all the parameters needed for the framework. * Added validation to check the actuall class by loading it from classpath. * Added Test Cases for configuration parameter. The coverage of the package is 95.3 %. Change-Id: I87c4c34d9df2c9b5a0ab75bef2bbe0d25e38747b Issue-ID: POLICY-1035 Signed-off-by: ramverma --- .../DistributionConfigParameters_NoPolicyDecoder.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyDecoder.json (limited to 'main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyDecoder.json') diff --git a/main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyDecoder.json b/main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyDecoder.json new file mode 100644 index 00000000..3ba35753 --- /dev/null +++ b/main/src/test/resources/parameters/DistributionConfigParameters_NoPolicyDecoder.json @@ -0,0 +1,17 @@ +{ + "name":"SDCDistributionGroup", + "receptionHandlerParameters":{ + "SDCReceptionHandler":{ + "receptionHandlerType":"SDC", + "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", + "pluginHandlerParameters":{ + "policyForwarders":{ + "PAPEngineForwarder":{ + "forwarderType":"PAPEngine", + "forwarderClassName":"org.onap.policy.distribution.forwarding.pap.engine.XacmlPapServletPolicyForwarder" + } + } + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg