commit | ae9007f3554ba021d76d001ca555a13d49babc8d | [log] [tgz] |
---|---|---|
author | Jim Hahn <jrh3@att.com> | Thu May 27 15:10:18 2021 -0400 |
committer | Jim Hahn <jrh3@att.com> | Thu May 27 17:09:00 2021 -0400 |
tree | ddf359c36bfd60f49e55e25f91788c04ec99726d | |
parent | d1fa4ea52b243f60047a0bad5e63e947572b036b [diff] |
Replace validation code with annotations Instead of having code to validate various values, created POJOs to represent the decoded data so that bean validation annotations could be used instead. Didn't see any obvious ways to use annotations in the Optimization code, but did notice a bug (passed role instead of provisions). Extracted a common method which fixed the bug as a side-effect. Issue-ID: POLICY-2418 Change-Id: I9ef589086fc8f7f66810b66405fbf302d7570e5a 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 XACML PDP engine code.
To build it using Maven 3, run: mvn clean install