Add metadata to properties 96/95196/5
authorPamela Dragosh <pdragosh@research.att.com>
Sun, 8 Sep 2019 21:04:49 +0000 (17:04 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Mon, 9 Sep 2019 16:02:19 +0000 (16:02 +0000)
commit1a87ab847d70db032edc260096121c7016ee50d7
tree71f1814ccbb4c7adf8b4748a8b25780d7e875dc9
parent79cee88a95874d81ae92fbe34eef73c3eb9469b7
Add metadata to properties

Properties should support metadata - adding it in.
Added junit tests for the new metadata field.

Issue-ID: POLICY-2060
Change-Id: I2e1933ca4260fe5989f36a098108893a366f657a
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Signed-off-by: Jim Hahn <jrh3@att.com>
models-examples/src/main/resources/policytypes/onap.policies.Optimization.yaml
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java
models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaPropertyTest.java
models-tosca/src/test/java/org/onap/policy/models/tosca/simple/serialization/OptimizationPolicyTypeSerializationTest.java [new file with mode: 0644]