diff options
author | Jim Hahn <jrh3@att.com> | 2020-12-18 15:53:20 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-12-18 21:17:12 -0500 |
commit | 5f1b1162d047d2a743f1ce57cc17494a6150c75c (patch) | |
tree | 2098ecd2bc94ec6d0d2325568651d2418b659084 /common-parameters/pom.xml | |
parent | e2756fa0a8054854dfaaac1c7fa064d207a0a4ae (diff) |
Make validators extensible
Modified the validator to make it extensible. Also added annotations
to:
- cascade a validation to a sub-object
- perform regex
- examine items in a list
- examine entries in a map
Still need more junit tests.
Issue-ID: POLICY-2648
Change-Id: I94f1b9e8fbf7a6b9b002d0b05cc9119bdfcf8bf2
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'common-parameters/pom.xml')
-rw-r--r-- | common-parameters/pom.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common-parameters/pom.xml b/common-parameters/pom.xml index c7136bd3..c0efcf70 100644 --- a/common-parameters/pom.xml +++ b/common-parameters/pom.xml @@ -31,6 +31,10 @@ <description>[${project.parent.artifactId}] module provides common property and parameter handling the ONAP Policy Framework</description> <dependencies> + <dependency> + <groupId>com.google.re2j</groupId> + <artifactId>re2j</artifactId> + </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> |