commit | 6345dce40405740dc09176c45dae03baeb939b8e | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Thu Dec 17 12:07:14 2020 -0500 |
committer | Jim Hahn <jrh3@att.com> | Thu Dec 17 18:52:46 2020 -0500 |
tree | 07804a2f9e2dfd1083975c79059346a9cf778b1d | |
parent | 4c4946e339942863e73e20726dd95aaacfcfb5a6 [diff] |
Use ValidationResult for models v2.0 Policy models uses PfValidationXxx classes which are totally unrelated to ValidationResult in policy common. This precludes the use of various utility methods and annotations for doing validation. Modified policy models to use ValidationResult instead. This approach uses function calls, though a future approach could make use of annotations instead. Issue-ID: POLICY-2648 Change-Id: I9760f1dc46902ab6bef7f440f3caf5e951660a5d 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