Merge "Add and Modify JUnits for Code Coverage (components, controller)"
[policy/engine.git] / ONAP-PDP / xacml.pdp.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ONAP-PDP
4 # ================================================================================
5 # Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10
11 #      http://www.apache.org/licenses/LICENSE-2.0
12
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 # ============LICENSE_END=========================================================
19 ###
20
21 # Default XACML Properties File for PDP RESTful servlet
22 #
23 # Standard API Factories
24 #
25 xacml.dataTypeFactory=com.att.research.xacml.std.StdDataTypeFactory
26 xacml.pdpEngineFactory=com.att.research.xacmlatt.pdp.ATTPDPEngineFactory
27 xacml.pepEngineFactory=com.att.research.xacml.std.pep.StdEngineFactory
28 # NOT USED SEE BELOW xacml.pipFinderFactory=com.att.research.xacml.std.pip.StdPIPFinderFactory
29 xacml.traceEngineFactory=com.att.research.xacml.std.trace.LoggingTraceEngineFactory
30 #
31 # AT&T PDP Implementation Factories
32 #
33 xacml.att.evaluationContextFactory=com.att.research.xacmlatt.pdp.std.StdEvaluationContextFactory
34 xacml.att.combiningAlgorithmFactory=com.att.research.xacmlatt.pdp.std.StdCombiningAlgorithmFactory
35 xacml.att.functionDefinitionFactory=org.onap.policy.xacml.custom.OnapFunctionDefinitionFactory
36 # NOT USED SEE BELOW xacml.att.policyFinderFactory=org.onap.policy.pdp.std.StdPolicyFinderFactory
37
38 #
39 # AT&T RESTful PDP Implementation Factories
40 #
41 xacml.pipFinderFactory=org.onap.policy.rest.impl.XACMLPdpPIPFinderFactory
42 xacml.att.policyFinderFactory=org.onap.policy.rest.XACMLPdpPolicyFinderFactory
43 #
44 # When set to true, this flag tells the StdPolicyFinderFactory to combined all the root policy files into
45 # into one PolicySet and use the given Policy Algorithm.
46 #
47 xacml.att.policyFinderFactory.combineRootPolicies=urn:com:att:xacml:3.0:policy-combining-algorithm:combined-deny-overrides
48 #
49 # PDP RESTful API properties
50
51 # Set this to the address where the XACML-PAP-REST servlet is running
52 # http://localhost:9090/pap/
53 xacml.rest.pap.url=http://localhost:8070/pap/
54 #
55 # Give the running PDP an ID for the PAP. The url that its running as is a good choice.
56 # The PAP identifies PDP's using the URL of the PDP.
57 #
58 xacml.rest.pdp.id=http://localhost:8082/pdp/
59 #
60 # Set the directory where the PDP holds its Policy Cache and PIP Configuration
61 #
62 xacml.rest.pdp.config=config_testing
63
64 xacml.rest.pdp.webapps=/webapps
65
66 xacml.rest.pdp.configparams=../webapps/configparams
67 #
68 # Initialize register with PAP servlet
69 #
70 xacml.rest.pdp.register=true
71 #
72 # Sleep period in seconds between register attempts
73 #
74 xacml.rest.pdp.register.sleep=15
75 #
76 # number of attempts to register. -1 means keep trying forever.
77 #
78 xacml.rest.pdp.register.retries=-1
79 #
80 # max number of bytes in a POST of a XML/JSON request
81 #
82 xacml.rest.pdp.maxcontent=32767
83
84 # testClient file
85
86 xacml.rest.pep.idfile = testclient.properties