Initial OpenECOMP policy/engine commit
[policy/engine.git] / packages / base / src / files / install / servers / pdp / bin / xacml.pdp.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ECOMP Policy Engine
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.openecomp.policy.xacml.custom.EcompFunctionDefinitionFactory
36 # NOT USED SEE BELOW xacml.att.policyFinderFactory=com.att.research.xacmlatt.pdp.std.StdPolicyFinderFactory
37
38 #
39 # AT&T RESTful PDP Implementation Factories
40 #
41 xacml.pipFinderFactory=org.openecomp.policy.pdp.rest.impl.XACMLPdpPIPFinderFactory
42 xacml.att.policyFinderFactory=org.openecomp.policy.pdp.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=${{REST_PAP_URL}}
54 #if multiple paps exist, the xacml.rest.pap.url can be removed and they can be defined like this:
55 #xacml.rest.pap.urls=http://localhost:9090/pap/,http://localhost:9091/pap/
56 #
57 # Give the running PDP an ID for the PAP. The url that its running as is a good choice.
58 # The PAP identifies PDP's using the URL of the PDP.
59 #
60 xacml.rest.pdp.id=${{REST_PDP_ID}}
61 #
62 # Give the JMX port number used for the PDP
63 xacml.jmx.port=${{TOMCAT_JMX_PORT}}
64 #
65 # Notifcation type: websocket or ueb
66 #
67 xacml.notification.type=websocket,UEB
68 xacml.ueb.cluster=${{UEB_CLUSTER}}
69 #
70 # Set the directory where the PDP holds its Policy Cache and PIP Configuration
71 #
72 xacml.rest.pdp.config=${{REST_PDP_CONFIG}}
73
74 xacml.rest.pdp.webapps=${{REST_PDP_WEBAPPS}}
75 #
76 # Initialize register with PAP servlet
77 #
78 xacml.rest.pdp.register=${{REST_PDP_REGISTER}}
79 #
80 # Sleep period in seconds between register attempts
81 #
82 xacml.rest.pdp.register.sleep=${{REST_PDP_REGISTER_SLEEP}}
83 #
84 # number of attempts to register. -1 means keep trying forever.
85 #
86 xacml.rest.pdp.register.retries=${{REST_PDP_REGISTER_RETRIES}}
87 #
88 # max number of bytes in a POST of a XML/JSON request
89 #
90 xacml.rest.pdp.maxcontent=${{REST_PDP_MAXCONTENT}}
91 #
92 # Set UserID here
93 xacml.rest.pdp.userid=${{PDP_HTTP_USER_ID}}
94 # Set Password here
95 xacml.rest.pdp.password=${{PDP_HTTP_PASSWORD}}
96 # id PAP
97 xacml.rest.pap.userid=${{PDP_PAP_PDP_HTTP_USER_ID}}
98 # pass PAP
99 xacml.rest.pap.password=${{PDP_PAP_PDP_HTTP_PASSWORD}}
100 # Delay for Notifications Don't change this. Value in milliSec.  
101 xacml.rest.notification.delay=30  
102 # Request Buffer Size. 
103 REQUEST_BUFFER_SIZE=5
104 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
105 #The name of the PDP.  Must be unique across the system
106 xacml.rest.pdp.resource.name=${{resource_name}}
107
108 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
109 site_name=${{site_name}}
110 node_type=${{node_type}}
111 dependency_groups=${{dependency_groups}}
112 fp_monitor_interval=${{fp_monitor_interval}}
113 failed_counter_threshold=${{failed_counter_threshold}}
114 test_trans_interval=${{test_trans_interval}}
115 write_fpc_interval=${{write_fpc_interval}}
116 max_fpc_update_interval=${{max_fpc_update_interval}}
117 test_via_jmx=${{test_via_jmx}}
118
119 #database properties needed by IntegrityMonitor
120 javax.persistence.jdbc.driver=${{JDBC_DRIVER}}
121 javax.persistence.jdbc.url=${{JDBC_URL}}
122 javax.persistence.jdbc.user=${{JDBC_USER}}
123 javax.persistence.jdbc.password=${{JDBC_PASSWORD}}
124 # Environment should be Set either DEV, TEST or PROD
125 ENVIRONMENT=${{ENVIRONMENT}}