Pamela Dragosh | 0e16acf | 2017-02-14 19:45:48 -0500 | [diff] [blame^] | 1 | ### |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # policy-persistence |
| 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/xacml |
| 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://127.0.0.1:3306/xacml |
| 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_URL}} |
| 33 | #javax.persistence.jdbc.user = ${{JDBC_USER}} |
| 34 | #javax.persistence.jdbc.password = ${{JDBC_PASSWORD}} |
| 35 | |
| 36 | # Needed? |
| 37 | hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource |
| 38 | |
| 39 | # For testing purposes, it may be convenient to disable persistence |
| 40 | persistenceDisabled=false |
| 41 | |
| 42 | |
| 43 | |