Store and return data types for policies 64/100064/2
authorliamfallon <liam.fallon@est.tech>
Tue, 7 Jan 2020 18:26:53 +0000 (18:26 +0000)
committerliamfallon <liam.fallon@est.tech>
Wed, 8 Jan 2020 09:23:18 +0000 (09:23 +0000)
commit2ed313e69cfd0a587f072079e23ab8f6499518db
tree9e461ea953297a02d07337a46a021dcd86f03f07
parentf69b6681486e4d1c5859f649a3293488c1859712
Store and return data types for policies

In this change, the data types of policy types are persisted to the
database. All policy types currently in the database are returned on all
policy type get requests. This will be made more intelligent in the next
review.

Issue-ID: POLICY-2315
Change-Id: I10065ab9b90e72114a453494fc706d8aabc50c0a
Signed-off-by: liamfallon <liam.fallon@est.tech>
models-provider/src/test/resources/META-INF/persistence.xml
models-tosca/pom.xml
models-tosca/src/main/java/org/onap/policy/models/tosca/simple/provider/SimpleToscaProvider.java
models-tosca/src/main/java/org/onap/policy/models/tosca/utils/ToscaUtils.java
models-tosca/src/test/java/org/onap/policy/models/tosca/simple/provider/SimpleToscaProviderTest.java
models-tosca/src/test/java/org/onap/policy/models/tosca/utils/ToscaUtilsTest.java