2 # ============LICENSE_START=======================================================
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 # Default XACML Properties File for PDP RESTful servlet
23 # Standard API Factories
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.onap.policy.xacml.std.pip.StdPIPFinderFactory
29 xacml.traceEngineFactory=com.att.research.xacml.std.trace.LoggingTraceEngineFactory
31 # AT&T PDP Implementation Factories
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 # creteUpdate Policy Implementation Class details.
38 createUpdatePolicy.impl.className=org.onap.policy.pdp.rest.api.services.CreateUpdatePolicyServiceImpl
39 # AAF Implementation class details
40 aafClient.impl.className=org.onap.policy.utils.AAFPolicyClientImpl
42 # AT&T RESTful PDP Implementation Factories
44 xacml.pipFinderFactory=org.onap.policy.pdp.rest.impl.XACMLPdpPIPFinderFactory
45 xacml.att.policyFinderFactory=org.onap.policy.pdp.rest.XACMLPdpPolicyFinderFactory
47 # When set to true, this flag tells the StdPolicyFinderFactory to combined all the root policy files into
48 # into one PolicySet and use the given Policy Algorithm.
50 xacml.att.policyFinderFactory.combineRootPolicies=urn:com:att:xacml:3.0:policy-combining-algorithm:combined-permit-overrides
52 # PDP RESTful API properties
54 # Set this to the address where the XACML-PAP-REST servlet is running
55 xacml.rest.pap.url=http://localhost:8070/pap/
57 #if multiple paps exist, the xacml.rest.pap.url can be removed and they can be defined like this:
58 #xacml.rest.pap.urls=http://localhost:9090/pap/,http://localhost:9091/pap/
61 # Give the running PDP an ID for the PAP. The url that its running as is a good choice.
62 # The PAP identifies PDP's using the URL of the PDP.
64 xacml.rest.pdp.id=http://localhost:8082/pdp/
66 # Give the port number used for the PDP
71 # Notification Properties
72 # Notifcation type: websocket, ueb or dmaap... if left blank websocket is the default
73 NOTIFICATION_TYPE=websocket
76 NOTIFICATION_DELAY=500
80 DMAAP_AAF_PASSWORD=test
83 # Set the directory where the PDP holds its Policy Cache and PIP Configuration
85 xacml.rest.pdp.config=config
87 xacml.rest.pdp.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/
89 # Initialize register with PAP servlet
91 xacml.rest.pdp.register=true
93 # Sleep period in seconds between register attempts
95 xacml.rest.pdp.register.sleep=15
97 # number of attempts to register. -1 means keep trying forever.
99 xacml.rest.pdp.register.retries=-1
101 # max number of bytes in a POST of a XML/JSON request
103 xacml.rest.pdp.maxcontent=99999999
106 xacml.rest.pdp.userid=testpdp
108 xacml.rest.pdp.password=alpha456
111 xacml.rest.pap.userid=testpap
112 #if multiple paps have different logins, they can be defined like this:
113 #http\://localhost\:9090/pap/.xacml.rest.pap.userid=testpap
116 xacml.rest.pap.password=alpha123
117 #http\://localhost\:9090/pap/.xacml.rest.pap.password=alpha123
119 # Delay for Notifications Don't change this. Value in milliSec.
120 xacml.rest.notification.delay=30
122 REQUEST_BUFFER_SIZE=15
124 #properties for MySql xacml database: PLEASE DO NOT REMOVE... NEEDED FOR APIs
125 javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
126 javax.persistence.jdbc.url=jdbc:mariadb://localhost:3306/onap_sdk
127 javax.persistence.jdbc.user=policy_user
128 javax.persistence.jdbc.password=policy_user
131 #***Properties for IntegrityMonitor integration defined in XACMLRestProperties.java***
133 #The name of the PDP. Must be unique across the system
134 xacml.rest.pdp.resource.name=site_1.pdp_1
136 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
138 #Interval between forward progress counter updates in seconds
139 fp_monitor_interval=30
141 #Number of forward progress counter failures before failover
142 failed_counter_threshold=3
144 #Interval in seconds between test transactions if there is no other traffic
145 test_trans_interval=10
147 #Interval in seconds between updates of the forward progress counter in the DB
156 #Dependency groups are groups of resources upon which a node operational state is dependent upon).
157 #Each group is a comma-separated list of resource names and groups are separated by a semicolon.
158 #A group may contain one or more members. Resource names must match the resource names defined
159 #in the respective servers' properties files
160 dependency_groups=site_1.pdplp_1;site_1.astragw_1;site_1.brmsgw_1
162 # this can be DEVL, TEST, PROD
164 xacml.rest.pep.idfile = src/test/resources/client.properties
166 #AAF Policy Name space
167 #Not Mandatory for Open Onap
168 policy.aaf.namespace =
169 policy.aaf.resource =