diff options
author | 2021-07-15 15:27:05 -0400 | |
---|---|---|
committer | 2021-07-16 09:42:38 -0400 | |
commit | 7711185bb36b387e3596653ca170262f919ff474 (patch) | |
tree | 3928d1eeb6508ebb8ebb72f332656efae9aa5074 /main/src/test/resources | |
parent | 85bf9c859768611cf1cc9ab38cf8f75ec33fc0ee (diff) |
Add exclusions parameter
Adds the exclusions parameter to exclude applications
that are in the java classpath. This allows overriding
default packaged applications with another that can
support new policy types and/or modify existing
functionality.
Issue-ID: POLICY-3326
Change-Id: Iaad8d26fc4122ad17226ad1e83b72c9f284e6ebd
Signed-off-by: Pamela Dragosh <pd1248@att.com>
Diffstat (limited to 'main/src/test/resources')
2 files changed, 37 insertions, 0 deletions
diff --git a/main/src/test/resources/META-INF/services/org.onap.policy.pdp.xacml.application.common.XacmlApplicationServiceProvider b/main/src/test/resources/META-INF/services/org.onap.policy.pdp.xacml.application.common.XacmlApplicationServiceProvider new file mode 100644 index 00000000..fe9e8788 --- /dev/null +++ b/main/src/test/resources/META-INF/services/org.onap.policy.pdp.xacml.application.common.XacmlApplicationServiceProvider @@ -0,0 +1 @@ +org.onap.policy.pdpx.main.rest.TestGuardOverrideApplication diff --git a/main/src/test/resources/parameters/XacmlPdpConfigParameters_Exclusions.json b/main/src/test/resources/parameters/XacmlPdpConfigParameters_Exclusions.json new file mode 100644 index 00000000..1c3d8e88 --- /dev/null +++ b/main/src/test/resources/parameters/XacmlPdpConfigParameters_Exclusions.json @@ -0,0 +1,36 @@ +{ + "name": "XacmlPdpParameters", + "pdpGroup": "XacmlPdpGroup", + "pdpType": "xacml", + "restServerParameters": { + "host": "0.0.0.0", + "port": 6969, + "userName": "healthcheck", + "password": "zb!XztG34" + }, + "policyApiParameters": { + "hostname": "0.0.0.0", + "port": 6970, + "userName": "healthcheck", + "password": "zb!XztG34" + }, + "applicationParameters": { + "applicationPath": "src/test/resources/apps", + "exclusions": [ + "org.onap.policy.xacml.pdp.application.guard.GuardPdpApplication", + "org.onap.policy.xacml.pdp.application.monitoring.MonitoringPdpApplication" + ] + }, + "topicParameterGroup": { + "topicSources" : [{ + "topic" : "POLICY-PDP-PAP", + "servers" : [ "anyserver" ], + "topicCommInfrastructure" : "noop" + }], + "topicSinks" : [{ + "topic" : "POLICY-PDP-PAP", + "servers" : [ "anyserver" ], + "topicCommInfrastructure" : "noop" + }] + } +} |