diff options
author | MichaelMorris <michael.morris@est.tech> | 2022-10-14 08:44:34 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-10-17 15:51:39 +0000 |
commit | ccab3629426bdc6a87ca6102db3fdb23d4419b3e (patch) | |
tree | fd104e14df5a64e1a9184d36bb86db6f820eede3 /catalog-model/src/main/java | |
parent | c39e7d3aa7bc26b1378fc6d29660c8be466dad45 (diff) |
Fix serialization issue with constraints
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4217
Change-Id: If5068ca891df934f600a7c37dc3cffa2aa372a3c
Diffstat (limited to 'catalog-model/src/main/java')
2 files changed, 4 insertions, 0 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/LessThanConstraint.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/LessThanConstraint.java index c721c5cd63..1f6cb63693 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/LessThanConstraint.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/LessThanConstraint.java @@ -21,6 +21,7 @@ package org.openecomp.sdc.be.model.tosca.constraints; import javax.validation.constraints.NotNull; import lombok.AllArgsConstructor; +import lombok.Getter; import org.openecomp.sdc.be.datatypes.enums.ConstraintType; import org.openecomp.sdc.be.model.PropertyConstraint; import org.openecomp.sdc.be.model.tosca.ToscaType; @@ -33,6 +34,7 @@ import org.openecomp.sdc.be.model.tosca.constraints.exception.PropertyConstraint public class LessThanConstraint extends AbstractComparablePropertyConstraint { @NotNull + @Getter private String lessThan; @Override diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraint.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraint.java index e519f1b7e4..be4805bc87 100644 --- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraint.java +++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/tosca/constraints/PatternConstraint.java @@ -27,10 +27,12 @@ import org.openecomp.sdc.be.model.tosca.ToscaType; import org.openecomp.sdc.be.model.tosca.constraints.exception.ConstraintFunctionalException; import org.openecomp.sdc.be.model.tosca.constraints.exception.ConstraintViolationException; import org.openecomp.sdc.be.model.tosca.constraints.exception.PropertyConstraintException; +import lombok.Getter; public class PatternConstraint extends AbstractStringPropertyConstraint { @NotNull + @Getter private String pattern; private Pattern compiledPattern; |