Add copy constructor to ToscaNodeTemplate 89/116889/1
authorliamfallon <liam.fallon@est.tech>
Wed, 13 Jan 2021 10:04:43 +0000 (10:04 +0000)
committerliamfallon <liam.fallon@est.tech>
Thu, 14 Jan 2021 20:48:19 +0000 (20:48 +0000)
commit1f0a46a681a28af0725b68299dbd3f9ec7f60b69
tree4cdc5230ba51a8804603de5af25ecfc7ab058afd
parente6bea18abd1a1b4ddf7203508832e6a3f9380598
Add copy constructor to ToscaNodeTemplate

In order to support serialization and deserialization of
ToscaNodeTemplate objects onto DMaaP, we need a copy constructor on the
ToscaNodeTemplate object.

Issue-ID: POLICY-2971
Change-Id: If6dc6c54d5673cef46734a88d0a91ae868c11dcb
Signed-off-by: liamfallon <liam.fallon@est.tech>
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaNodeTemplate.java
models-tosca/src/test/java/org/onap/policy/models/tosca/authorative/concepts/ToscaNodeTemplateTest.java [new file with mode: 0644]