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_InvalidPolicyDecoderClass.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_InvalidPolicyDecoderClass.json')
-rw-r--r-- | main/src/test/resources/parameters/DistributionConfigParameters_InvalidPolicyDecoderClass.json | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidPolicyDecoderClass.json b/main/src/test/resources/parameters/DistributionConfigParameters_InvalidPolicyDecoderClass.json deleted file mode 100644 index cc43e378..00000000 --- a/main/src/test/resources/parameters/DistributionConfigParameters_InvalidPolicyDecoderClass.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name":"SDCDistributionGroup", - "restServerParameters":{ - "host":"0.0.0.0", - "port":6969, - "userName":"healthcheck", - "password":"zb!XztG34" - }, - "receptionHandlerParameters":{ - "SDCReceptionHandler":{ - "receptionHandlerType":"SDC", - "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.sdc.SdcReceptionHandler", - "pssdConfiguration":{ - "asdcAddress": "localhost", - "messageBusAddress": [ - "a.com", - "b.com", - "c.com" - ], - "user": "tbdsdc-1480", - "password": "tbdsdc-1480", - "pollingInterval":20, - "pollingTimeout":30, - "consumerId": "policy-id", - "artifactTypes": [ - "TOSCA_CSAR", - "HEAT" - ], - "consumerGroup": "policy-group", - "environmentName": "environmentName", - "keystorePath": "null", - "keystorePassword": "null", - "activeserverTlsAuth": false, - "isFilterinEmptyResources": true, - "isUseHttpsWithDmaap": false - }, - "pluginHandlerParameters":{ - "policyDecoders":{ - "TOSCADecoder":{ - "decoderType":"TOSCA", - "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderToscaPdpx" - }, - "APEXDecoder":{ - "decoderType":"APEX", - "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderApexPdpa" - }, - "DROOLSDecoder":{ - "decoderType":"DROOLS", - "decoderClassName":"org.onap.policy.distribution.reception.decoding.pdpx.PolicyDecoderDroolsPdpd" - } - }, - "policyForwarders":{ - "PAPEngineForwarder":{ - "forwarderType":"PAPEngine", - "forwarderClassName":"org.onap.policy.distribution.forwarding.pap.engine.XacmlPapServletPolicyForwarder" - } - } - } - } - } -} |