blob: 2fc6dc8b86ad18afe43035f57e345fac9fd6ff85 [file] [log] [blame]
Pamela Dragosh0e16acf2017-02-14 19:45:48 -05001###
2# ============LICENSE_START=======================================================
3# policy-management
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#javax.persistence.jdbc.driver = org.h2.Driver
22#javax.persistence.jdbc.url = jdbc:h2:file:./sql/drools
23#javax.persistence.jdbc.user = sa
24#javax.persistence.jdbc.password =
25
26#javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
27#javax.persistence.jdbc.url=jdbc:mariadb://localhost:3306/drools
28#javax.persistence.jdbc.user=root
29#javax.persistence.jdbc.password=policy
30
31javax.persistence.jdbc.driver = ${{JDBC_DRIVER}}
32javax.persistence.jdbc.url = ${{JDBC_DROOLS_URL}}
33javax.persistence.jdbc.user = ${{JDBC_USER}}
34javax.persistence.jdbc.password = ${{JDBC_PASSWORD}}
35
36# Needed?
37#javax.persistence.jdbc.driver = org.h2.Driver
38#javax.persistence.jdbc.url = jdbc:h2:file:./sql/ncomp
39#javax.persistence.jdbc.user = sa
40#javax.persistence.jdbc.password =
41#persistenceDisabled=false
42#javax.persistence.jdbc.driver=org.mariadb.jdbc.Driver
43#javax.persistence.jdbc.url=jdbc:mariadb://192.168.56.30:3306/drools
44#javax.persistence.jdbc.user=patb
45#javax.persistence.jdbc.password=policy
46
47hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource
48
Ralph Straubs99dbede2017-05-09 03:43:22 -050049# The number of seconds that persistence data remains valid after a
50# DroolsPDP shutdown or side switch -- older data is removed
51# (if this field is not specified or <= 0, the time is indefinite)
52persistence.sessioninfo.timeout=900
53
Pamela Dragosh0e16acf2017-02-14 19:45:48 -050054# For testing purposes, it may be convenient to disable persistence
55persistenceDisabled=false