blob: 25f5e8f32cbc995a3e7a74b0bcc6bdbee28fffc7 [file] [log] [blame]
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 feature-state-management
5 ================================================================================
Pamela Dragoshad833192018-09-13 20:37:15 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -05007 ================================================================================
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ============LICENSE_END=========================================================
20 -->
21
22<persistence version="2.1"
Pamela Dragoshad833192018-09-13 20:37:15 -040023 xmlns="http://xmlns.jcp.org/xml/ns/persistence"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050026
Pamela Dragoshad833192018-09-13 20:37:15 -040027 <persistence-unit name="junitPU"
28 transaction-type="RESOURCE_LOCAL">
29 <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
30 <class>org.onap.policy.common.im.jpa.StateManagementEntity</class>
31 <class>org.onap.policy.common.im.jpa.ForwardProgressEntity</class>
32 <class>org.onap.policy.common.im.jpa.ResourceRegistrationEntity</class>
33 <class>org.onap.policy.drools.statemanagement.test.Audit</class>
34 <properties>
35 <property
36 name="javax.persistence.schema-generation.database.action"
37 value="drop-and-create" />
38 <property
39 name="javax.persistence.schema-generation.scripts.action"
40 value="drop-and-create" />
41 <property
42 name="javax.persistence.schema-generation.scripts.create-target"
Pamela Dragosh4de095c2020-02-25 06:15:10 -050043 value="target/classes/META-INF/generatedCreateStateManagement.ddl" />
Pamela Dragoshad833192018-09-13 20:37:15 -040044 <property
45 name="javax.persistence.schema-generation.scripts.drop-target"
Pamela Dragosh4de095c2020-02-25 06:15:10 -050046 value="target/classes/META-INF/generatedDropStateManagement.ddl" />
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050047 </properties>
Pamela Dragoshad833192018-09-13 20:37:15 -040048 </persistence-unit>
Magnusen, Drew (dm741q)18253e52017-09-07 08:55:17 -050049
50</persistence>