diff options
author | Jim Hahn <jrh3@att.com> | 2019-04-01 12:23:51 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-04-01 12:23:51 -0400 |
commit | 65b465c2791d17589719fda2e1341ec75aac8af7 (patch) | |
tree | 9378cf9f5c6947ef17775a5c7a762dfe4ccb3b56 /models-tosca | |
parent | 5eacd4c059625788887dd49672f739485aa32cf2 (diff) |
Fix breakage from ToscaPolicy refactoring
A few tests in models-pdp broken when ToscaPolicy was moved
and refactored.
Change-Id: If8e17a140ebc4f8f83b1f5c7cb32a542dd6e5390
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-tosca')
2 files changed, 2 insertions, 1 deletions
diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaEntity.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaEntity.java index 87d0d9a75..a61f2a781 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaEntity.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaEntity.java @@ -62,6 +62,7 @@ public class ToscaEntity implements PfNameVersion { this.name = copyObject.name; this.version = copyObject.version; this.derivedFrom = copyObject.derivedFrom; + this.description = copyObject.description; if (copyObject.metadata != null) { metadata = new LinkedHashMap<>(); diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicy.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicy.java index 9bd84e8eb..38c68599d 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicy.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicy.java @@ -41,7 +41,7 @@ import lombok.ToString; @Data @EqualsAndHashCode(callSuper = true) @NoArgsConstructor -@ToString +@ToString(callSuper = true) public class ToscaPolicy extends ToscaEntity { private String type; |