Policy 1707 commit to LF
[policy/engine.git] / ECOMP-PAP-REST / xacml.pap.test.properties
1 ###
2 # ============LICENSE_START=======================================================
3 # ECOMP-PAP-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 #================The Below Properties are default, shouldn't change them==============#
22 #=====================================================================================#
23 #
24 # This is our factory that will create our engine
25 #
26 xacml.PAP.papEngineFactory=org.openecomp.policy.xacml.std.pap.StdEngineFactory
27 # Dictionary and Policy Implementation Classes Properties
28 dictionary.impl.className=org.openecomp.policy.pap.xacml.rest.handler.DictionaryHandlerImpl
29 savePolicy.impl.className=org.openecomp.policy.pap.xacml.rest.handler.SavePolicyHandler
30 #AutoPush Policy 
31 xacml.rest.pap.autopush.file=autopush.properties
32 #=====================================================================================#
33 #===============The Below Properties will be changed based on Environment=============#
34 #=====================================================================================#
35 #
36 # Where we store our PAP PDP Group/Node information
37 #
38 xacml.pap.pdps=pdps
39 #
40 # Need the PAP's url (how PDPs will reach it) configured here
41 # because we need it to generate the URLs of the Policy Files
42 # sent to the PDPs in the configuration when the PAP is first brought up.
43 # (In other cases, such as the PDP calling the PAP, we could generate this URL, 
44 # but for startup there is no other way to get it.)
45 #
46 #
47 xacml.rest.pap.url=http://localhost:8070/pap/
48 #
49 # Upon startup, have the PAP servlet send latest configuration information to all
50 # the PDP nodes it knows about.
51 #
52 xacml.rest.pap.initiate.pdp=true
53 #
54 # Heartbeat from PAP to PDPs
55 #
56 # How much time (in milliseconds) between heartbeats
57 # (i.e. the time between completing the heartbeat with all PDPs and starting the next cycle)
58 #
59 xacml.rest.pap.heartbeat.interval=10000
60 #
61 # Heartbeat connection timeout (in milliseconds)
62 #
63 xacml.rest.pap.heartbeat.timeout=10000
64
65 # new Property Please mention your PAP-REST webapps Location here. 
66 xacml.rest.config.webapps=/home/users/PolicyEngine/webapps/ConfigPAP/
67
68 #Turn the audit on to synchronize the DB/file system
69 #xacml.rest.pap.run.audit.flag=true
70 #Turn the audit off to not synchronize the DB/file system
71 #xacml.rest.pap.run.audit.flag=false
72 xacml.rest.pap.run.audit.flag=false
73
74 #Audit will synchronize the file system to match the contents of the DB
75 #xacml.rest.pap.filesystem.audit=true
76 #Audit will synchronize the DB to match the contents of the file system 
77 #xacml.rest.pap.filesystem.audit=false
78 xacml.rest.pap.filesystem.audit=false
79
80 # id
81 xacml.rest.pap.userid=testpap
82 # pass
83 xacml.rest.pap.password=alpha123
84 # pdps file
85 xacml.rest.pdp.idfile=test.properties
86
87 #Properties for db access
88 javax.persistence.jdbc.driver=org.h2.Driver
89 javax.persistence.jdbc.url=jdbc:h2:file:./sql/xacmlTest
90 javax.persistence.jdbc.user=sa
91 javax.persistence.jdbc.password=
92
93 #Time in ms which a Policy DB transaction will wait to get the transaction lock object
94 xacml.rest.pap.transaction.waitms=1000
95         
96 #Policy DB transaction timeout in ms after it has obtained the transaction lock object
97 xacml.rest.pap.transaction.timeoutms=500
98         
99 #Policy Audit timeout in ms after it has obtained the transaction lock object
100 xacml.rest.pap.audit.timeoutms=5000
101
102 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
103
104 #JMX URL for the PAP-REST.  Need to update to real IP and port
105 xacml.rest.pap.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:9990/jmxrmi
106
107 #The name of the PAP.  Must be unique across the system
108 xacml.rest.pap.resource.name=site_1.pap_1
109
110 #***Properties for IntegrityMonitor integration defined in IntegrityMonitorProperties.java***
111
112 #Interval between forward progress counter updates in seconds
113 fp_monitor_interval=30
114
115 #Number of forward progress counter failures before failover
116 failed_counter_threshold=3
117
118 #Interval in seconds between test transactions if there is no other traffic
119 test_trans_interval=10
120
121 #Interval in seconds between updates of the forward progress counter in the DB
122 write_fpc_interval=5
123
124 #Name of the site
125 site_name=site_1
126
127 #Node type. Can take values of: pdp-xacml, pdp-drools, pap, pap-admin, logparser, brms-gateway, 
128 #astra-gateway, elk-server and pypdp
129 node_type=pap
130  
131 #Dependency groups are groups of resources upon which a node operational state is dependent upon (dependency_groups). 
132 #Each group is a comma-separated list of resource names and groups are separated by a semicolon. A group may contain
133 #one or more members.
134 dependency_groups=site_1.logparser_1;site_1.adminconsole_1;site_1.elk_1
135
136 # The (optional) period of time in seconds between executions of the integrity audit.
137 # Value < 0 : Audit does not run (default value if property is not present = -1)
138 # Value = 0 : Audit runs continuously
139 # Value > 0 : The period of time in seconds between execution of the audit on a particular node
140 #integrity_audit_period_seconds=-1
141 integrity_audit_period_seconds=0
142
143 ENVIRONMENT=DEVL