commit | 3b755ec2e3d9776980236db6ba754ae6b7cc2402 | [log] [tgz] |
---|---|---|
author | Pamela Dragosh <pdragosh@research.att.com> | Wed Mar 18 07:50:22 2020 -0400 |
committer | Pamela Dragosh <pdragosh@research.att.com> | Thu Mar 19 08:03:24 2020 -0400 |
tree | d9503508e748d9b6f516a2665461b32c66ee2ac0 | |
parent | 6b4f9b69bc4acec28da8ef50b8f234d0182f0d78 [diff] |
Re-factor matchable to reduce complexity This solution is much cleaner than what is in StdMatchableTranslator. Over 90% code coverage on it - utilizes a callback to retrieve DataType and PolicyTypes. Support for missing timestamp TOSCA type. Also can do a better job differentiating between a property contained in the policy vs a schema. Changed StdMatchableTranslator to utilize these classes. And removed the old spaghetti. Added some JUnit coverage for ToscaPolicyTranslatorUtils. Removed duplicate code in the XACML Native Exception classes. Issue-ID: POLICY-2242 Change-Id: I18f898d9e65f6da28e3b27517d40f8d389de18a0 Signed-off-by: Pamela Dragosh <pdragosh@research.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