diff options
author | liamfallon <liam.fallon@est.tech> | 2020-01-27 19:33:25 -0500 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-01-28 09:58:17 -0500 |
commit | 252dc4ea8da89739ed18d6509ea72d2321676034 (patch) | |
tree | dc10e683f267261bacf02dd4179bb13d529c2c62 /models-tosca/src/test/resources | |
parent | f77d0a91298e4e4ec14991366b5e439824919d5d (diff) |
Add service template persistence provider
Persistence needs to be carried out at service template level in order
to guarantee consistency of the service template in the database as much
as possible. Therefire, service template lelve reading, writing, and
delting is required.
Issue-ID: POLICY-1402
Change-Id: I5be57c29381bf6ddc87afdbb64ddae66a5ea5e5f
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-tosca/src/test/resources')
-rw-r--r-- | models-tosca/src/test/resources/META-INF/persistence.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/models-tosca/src/test/resources/META-INF/persistence.xml b/models-tosca/src/test/resources/META-INF/persistence.xml index 1cca1ee62..62e0b6046 100644 --- a/models-tosca/src/test/resources/META-INF/persistence.xml +++ b/models-tosca/src/test/resources/META-INF/persistence.xml @@ -26,9 +26,12 @@ <class>org.onap.policy.models.dao.converters.CDataConditioner</class> <class>org.onap.policy.models.dao.converters.Uuid2String</class> <class>org.onap.policy.models.base.PfConceptKey</class> + <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataType</class> + <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataTypes</class> <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicy</class> <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyType</class> - <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaDataType</class> + <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaPolicyTypes</class> + <class>org.onap.policy.models.tosca.simple.concepts.JpaToscaServiceTemplate</class> <properties> <property name="eclipselink.ddl-generation" value="drop-and-create-tables" /> |