summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/parameters/MinimumParameters.json
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@ericsson.com>2018-08-08 23:17:37 +0100
committerramverma <ram.krishna.verma@ericsson.com>2018-08-09 21:51:51 +0100
commit550d0d986713f4da7b37b8f2b16264884c05b9ab (patch)
tree20efa2af8b1d11f13fca43fdd6d67834b4a03816 /main/src/test/resources/parameters/MinimumParameters.json
parentf85f63f52d38ca962fc0e68eae184dd7018dc47b (diff)
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 <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'main/src/test/resources/parameters/MinimumParameters.json')
-rw-r--r--main/src/test/resources/parameters/MinimumParameters.json24
1 files changed, 22 insertions, 2 deletions
diff --git a/main/src/test/resources/parameters/MinimumParameters.json b/main/src/test/resources/parameters/MinimumParameters.json
index 02b2afad..1b42cc4d 100644
--- a/main/src/test/resources/parameters/MinimumParameters.json
+++ b/main/src/test/resources/parameters/MinimumParameters.json
@@ -1,3 +1,23 @@
-{
- "name": "nameFromFile"
+{
+ "name":"SDCDistributionGroup",
+ "receptionHandlerParameters":{
+ "SDCReceptionHandler":{
+ "receptionHandlerType":"SDC",
+ "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler",
+ "pluginHandlerParameters":{
+ "policyDecoders":{
+ "TOSCADecoder":{
+ "decoderType":"TOSCA",
+ "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderToscaPdpx"
+ }
+ },
+ "policyForwarders":{
+ "PAPEngineForwarder":{
+ "forwarderType":"PAPEngine",
+ "forwarderClassName":"org.onap.policy.distribution.forwarding.pap.engine.XacmlPapServletPolicyForwarder"
+ }
+ }
+ }
+ }
+ }
} \ No newline at end of file