f5fe1c7000b69911ab7c4f27485c3f316b4a64e5
[policy/drools-pdp.git] /
1 ###
2 # ============LICENSE_START=======================================================
3 # feature-active-standby-management
4 # ================================================================================
5 # Copyright (C) 2017, 2019, 2021 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 # DB properties
22 eclipselink.target-database=MySQL
23 javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
24 javax.persistence.jdbc.url=jdbc:mariadb://${envd:SQL_HOST}:${envd:SQL_PORT:3306}/activestandbymanagement
25 javax.persistence.jdbc.user=${envd:SQL_USER}
26 javax.persistence.jdbc.password=${envd:SQL_PASSWORD}
27
28 # Must be unique across the system
29 resource.name=pdp1
30 # Name of the site in which this node is hosted
31 site_name=site1
32
33 # Needed by DroolsPdpsElectionHandler
34 pdp.checkInterval=2500
35 pdp.updateInterval=2500
36 #pdp.timeout=3000
37 # Need long timeout, because testTransaction is only run every 10 seconds.
38 pdp.timeout=15000
39 #how long do we wait for the pdp table to populate on initial startup
40 pdp.initialWait=20000