Initial OpenECOMP policy/engine commit
[policy/engine.git] / ECOMP-PDP-REST / xacml.pdp.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ECOMP-PDP-REST
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=org.openecomp.policy.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=org.openecomp.policy.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 xacml.rest.pap.url=http://localhost:8070/pap/
53
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 #
58 # Give the running PDP an ID for the PAP. The url that its running as is a good choice.
59 # The PAP identifies PDP's using the URL of the PDP.
60 #
61 xacml.rest.pdp.id=http://localhost:9091/pdp/
62
63 # Give the port number used for the PDP
64
65 xacml.jmx.port=0
66
67 # Notifcation type: websocket or ueb
68
69 xacml.notification.type=websocket
70 xacml.ueb.cluster=localhost.com,localhost1.com
71 #
72 # Set the directory where the PDP holds its Policy Cache and PIP Configuration
73 #
74 xacml.rest.pdp.config=config
75
76 xacml.rest.pdp.webapps=/webapps
77 #
78 # Initialize register with PAP servlet
79 #
80 xacml.rest.pdp.register=true
81 #
82 # Sleep period in seconds between register attempts
83 #
84 xacml.rest.pdp.register.sleep=15
85 #
86 # number of attempts to register. -1 means keep trying forever.
87 #
88 xacml.rest.pdp.register.retries=-1
89 #
90 # max number of bytes in a POST of a XML/JSON request
91 # old value #32767
92 xacml.rest.pdp.maxcontent=99999999 
93 #
94 # Set UserID here
95 xacml.rest.pdp.userid=testpdp
96 # Set Password here
97 xacml.rest.pdp.password=alpha456
98
99 # id PAP
100 xacml.rest.pap.userid=testpap
101 #if multiple paps have different logins, they can be defined like this:
102 #http\://localhost\:9090/pap/.xacml.rest.pap.userid=testpap
103
104 # pass PAP
105 xacml.rest.pap.password=alpha123
106 #http\://localhost\:9090/pap/.xacml.rest.pap.password=alpha123
107
108 # Delay for Notifications Don't change this. Value in milliSec.  
109 xacml.rest.notification.delay=30
110 # Buffer Size. 
111 REQUEST_BUFFER_SIZE=15
112
113 #properties for MySql xacml database:  PLEASE DO NOT REMOVE... NEEDED FOR APIs
114 javax.persistence.jdbc.driver=com.mysql.jdbc.Driver
115 javax.persistence.jdbc.url=jdbc:mysql://localhost:3306/xacml
116 javax.persistence.jdbc.user=policy_user
117 javax.persistence.jdbc.password=password
118
119
120 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
121
122 #The name of the PDP.  Must be unique across the system
123 xacml.rest.pdp.resource.name=site_1.pdp_1
124
125 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
126
127 #Interval between forward progress counter updates in seconds
128 fp_monitor_interval=30
129
130 #Number of forward progress counter failures before failover
131 failed_counter_threshold=3
132
133 #Interval in seconds between test transactions if there is no other traffic
134 test_trans_interval=10
135
136 #Interval in seconds between updates of the forward progress counter in the DB
137 write_fpc_interval=5
138
139 #Name of the site
140 site_name=site_1
141
142 #Node type
143 node_type=pdp_xacml
144
145 #Dependency groups are groups of resources upon which a node operational state is dependent upon). 
146 #Each group is a comma-separated list of resource names and groups are separated by a semicolon.
147 #A group may contain one or more members. Resource names must match the resource names defined
148 #in the respective servers' properties files
149 dependency_groups=site_1.pdplp_1;site_1.pypdp_1;site_1.astragw_1;site_1.brmsgw_1
150
151 # this can be DEVL, TEST, PROD 
152 ENVIRONMENT=DEVL