Change 'policy-core' to support app persistence
[policy/drools-pdp.git] / policy-persistence / src / test / server / config / droolsPersistence.properties
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/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 # Needed?
32 hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource
33
34 # For testing purposes, it may be convenient to disable persistence
35 persistenceDisabled=false