Implement validation and hierarchical get
[policy/models.git] / models-provider / src / test / resources / META-INF / persistence.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Copyright (C) 2019-2020 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>
29         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataType</class>
30         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataTypes</class>
31         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicies</class>
32         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicy</class>
33         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyType</class>
34         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyTypes</class>
35         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaTopologyTemplate</class>
36         <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaServiceTemplate</class>
37         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpGroup</class>
38         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpSubGroup</class>
39         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdp</class>
40         <class>org.onap.policy.models.pdp.persistence.concepts.JpaPdpStatistics</class>
41
42         <properties>
43             <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
44             <property name="eclipselink.ddl-generation.output-mode" value="database" />
45             <property name="eclipselink.logging.level" value="INFO" />
46
47             <!-- property name="eclipselink.logging.level" value="ALL" />
48             <property name="eclipselink.logging.level.jpa" value="ALL" />
49             <property name="eclipselink.logging.level.ddl" value="ALL" />
50             <property name="eclipselink.logging.level.connection" value="ALL" />
51             <property name="eclipselink.logging.level.sql" value="ALL" />
52             <property name="eclipselink.logging.level.transaction" value="ALL" />
53             <property name="eclipselink.logging.level.sequencing" value="ALL" />
54             <property name="eclipselink.logging.level.server" value="ALL" />
55             <property name="eclipselink.logging.level.query" value="ALL" />
56             <property name="eclipselink.logging.level.properties" value="ALL" /-->
57         </properties>
58     </persistence-unit>
59 </persistence>