diff options
author | ramverma <ram.krishna.verma@ericsson.com> | 2018-08-27 17:31:03 +0100 |
---|---|---|
committer | ramverma <ram.krishna.verma@ericsson.com> | 2018-08-28 11:06:26 +0100 |
commit | d7a69ea29e4ea46231cec1d16788d9451793a2a7 (patch) | |
tree | 72b5584457fe2a4738044cf866d59fb1f89a5e67 /main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json | |
parent | ef2ff6bae65870a4fccc25373c0cfae881e14a81 (diff) |
Removing plugin dependency from distribution main
* Removing plugin dependency from main. Ideally main should not be
dependent on plugins.
* Creating dummy handler, decoder, forwarder classes for test cases in
main.
* Combined few json test files.
* Added more test cases.
Change-Id: Id75e21d5d403febd9ac2b059661e17663d638dc2
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Diffstat (limited to 'main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json')
-rw-r--r-- | main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json b/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json index f31a396b..377c70ec 100644 --- a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json +++ b/main/src/test/resources/parameters/DistributionConfigParameters_InvalidName.json @@ -7,9 +7,9 @@ "password":"zb!XztG34" }, "receptionHandlerParameters":{ - "SDCReceptionHandler":{ - "receptionHandlerType":"SDC", - "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", + "DummyReceptionHandler":{ + "receptionHandlerType":"DummyReceptionHandler", + "receptionHandlerClassName":"org.onap.policy.distribution.main.testclasses.DummyReceptionHandler", "pssdConfiguration":{ "asdcAddress": "localhost", "messageBusAddress": [ @@ -36,15 +36,15 @@ }, "pluginHandlerParameters":{ "policyDecoders":{ - "TOSCADecoder":{ - "decoderType":"TOSCA", - "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderToscaPdpx" + "DummyDecoder":{ + "decoderType":"DummyDecoder", + "decoderClassName":"org.onap.policy.distribution.main.testclasses.DummyDecoder" } }, "policyForwarders":{ - "PAPEngineForwarder":{ - "forwarderType":"PAPEngine", - "forwarderClassName":"org.onap.policy.distribution.forwarding.pap.engine.XacmlPapServletPolicyForwarder" + "DummyForwarder":{ + "forwarderType":"DummyForwarder", + "forwarderClassName":"org.onap.policy.distribution.main.testclasses.DummyPolicyForwarder" } } } |