summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java
diff options
context:
space:
mode:
authorJvD_Ericsson <jeff.van.dam@est.tech>2022-11-14 11:33:20 +0000
committerMichael Morris <michael.morris@est.tech>2022-12-01 09:58:42 +0000
commit7eefea2dec674b66f07aaaf21901e183067868b3 (patch)
treeff5429d593e28e28bfd14d875830193435c15423 /common-be/src/main/java
parent4a754a8c898fb397e19876de2d19141d047a9e58 (diff)
Support addition of pattern constraint
Issue-ID: SDC-4260 Change-Id: I2eccf88472c144d8f595a9d8ec028705e924fd67 Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Diffstat (limited to 'common-be/src/main/java')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
index cef310ea01..80672b6d73 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/ConstraintType.java
@@ -39,6 +39,7 @@ public enum ConstraintType {
MAX_LENGTH("max_length", "maxLength"),
VALID_VALUES("valid_values", "validValues"),
LESS_THAN("less_than", "lessThan"),
+ PATTERN("pattern"),
SCHEMA("schema");
private static final Set<ConstraintType> comparableConstraints = Set.of(ConstraintType.GREATER_THAN, ConstraintType.LESS_THAN);