commit | 12fce55a66848bcc7f71430324b3a9051b8ce0d4 | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Fri Dec 18 19:01:52 2020 -0500 |
committer | Jim Hahn <jrh3@att.com> | Mon Dec 21 10:38:00 2020 -0500 |
tree | f8fdcb848f5b3bcfc07cc44f728bc51da620c6b3 | |
parent | 6345dce40405740dc09176c45dae03baeb939b8e [diff] |
Use annotations to do validation Modified models to use annotations instead of function calls for most field validations. Created a few new validation annotations for use within models. Per review comments: - renamed Key to VerifyKey - enhanced VerifyKey to imply "@Valid", unless disabled Issue-ID: POLICY-2648 Change-Id: I2b53f218b0a2ab1ed1f5e278816a3509f1408972 Signed-off-by: Jim Hahn <jrh3@att.com>
Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy Model code that is agnostic to any PDP. It is common amongst all the repositories.
To build it using Maven 3, run: mvn clean install