Modify property files in active-standby-management
[policy/drools-pdp.git] / feature-active-standby-management / src / main / feature / config / feature-active-standby-management.properties
1 ###\r
2 # ============LICENSE_START=======================================================\r
3 # feature-active-standby-management\r
4 # ================================================================================\r
5 # Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved.\r
6 # ================================================================================\r
7 # Licensed under the Apache License, Version 2.0 (the "License");\r
8 # you may not use this file except in compliance with the License.\r
9 # You may obtain a copy of the License at\r
10 #\r
11 #      http://www.apache.org/licenses/LICENSE-2.0\r
12 #\r
13 # Unless required by applicable law or agreed to in writing, software\r
14 # distributed under the License is distributed on an "AS IS" BASIS,\r
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16 # See the License for the specific language governing permissions and\r
17 # limitations under the License.\r
18 # ============LICENSE_END=========================================================\r
19 ###\r
20 \r
21 # DB properties\r
22 javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver\r
23 javax.persistence.jdbc.url=jdbc:mariadb://${env:SQL_HOST}:3306/activestandbymanagement\r
24 javax.persistence.jdbc.user=${env:SQL_USER}\r
25 javax.persistence.jdbc.password=${env:SQL_PASSWORD}\r
26 \r
27 # Must be unique across the system\r
28 resource.name=pdp1\r
29 # Name of the site in which this node is hosted\r
30 site_name=site1\r
31 \r
32 # Needed by DroolsPdpsElectionHandler\r
33 pdp.checkInterval=2500\r
34 pdp.updateInterval=2500\r
35 #pdp.timeout=3000\r
36 # Need long timeout, because testTransaction is only run every 10 seconds.\r
37 pdp.timeout=15000\r
38 #how long do we wait for the pdp table to populate on initial startup\r
39 pdp.initialWait=20000