Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 1 | ### |
| 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 | |
| 31 | javax.persistence.jdbc.driver = ${{JDBC_DRIVER}} |
| 32 | javax.persistence.jdbc.url = ${{JDBC_DROOLS_URL}} |
| 33 | javax.persistence.jdbc.user = ${{JDBC_USER}} |
| 34 | javax.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 | |
| 47 | hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource |
| 48 | |
Ralph Straubs | 99dbede | 2017-05-09 03:43:22 -0500 | [diff] [blame] | 49 | # 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) |
| 52 | persistence.sessioninfo.timeout=900 |
| 53 | |
Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame] | 54 | # For testing purposes, it may be convenient to disable persistence |
| 55 | persistenceDisabled=false |