blob: 7b5bc14b98a63a3d78401f0e2b1fc25ac1e27a0a [file] [log] [blame]
liamfallon8fc237c2019-03-20 16:08:21 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2019 Nordix Foundation.
5 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
21
22<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
23 <persistence-unit name="ToscaConceptTest" transaction-type="RESOURCE_LOCAL">
24 <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
25
26 <class>org.onap.policy.models.dao.converters.CDataConditioner</class>
27 <class>org.onap.policy.models.dao.converters.Uuid2String</class>
28 <class>org.onap.policy.models.base.PfConceptKey</class>
liamfalloncc5b96b2019-03-29 10:31:22 +000029 <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyType</class>
30 <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicy</class>
liamfallon8054d6d2019-04-02 23:32:32 +000031 <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpGroup</class>
32 <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpSubGroup</class>
33 <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdp</class>
liamfallon8fc237c2019-03-20 16:08:21 +000034
35 <properties>
liamfallon8fc237c2019-03-20 16:08:21 +000036 <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
37 <property name="eclipselink.ddl-generation.output-mode" value="database" />
38 <property name="eclipselink.logging.level" value="INFO" />
liamfallon8fc237c2019-03-20 16:08:21 +000039
40 <!-- property name="eclipselink.logging.level" value="ALL" />
41 <property name="eclipselink.logging.level.jpa" value="ALL" />
42 <property name="eclipselink.logging.level.ddl" value="ALL" />
43 <property name="eclipselink.logging.level.connection" value="ALL" />
44 <property name="eclipselink.logging.level.sql" value="ALL" />
45 <property name="eclipselink.logging.level.transaction" value="ALL" />
46 <property name="eclipselink.logging.level.sequencing" value="ALL" />
47 <property name="eclipselink.logging.level.server" value="ALL" />
48 <property name="eclipselink.logging.level.query" value="ALL" />
49 <property name="eclipselink.logging.level.properties" value="ALL" /-->
liamfallon8fc237c2019-03-20 16:08:21 +000050 </properties>
51 </persistence-unit>
52</persistence>