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>
24 files changed
tree: d9503508e748d9b6f516a2665461b32c66ee2ac0
  1. applications/
  2. main/
  3. packages/
  4. releases/
  5. testsuites/
  6. xacml-test/
  7. .gitignore
  8. .gitreview
  9. checkstyle-suppressions.xml
  10. INFO.yaml
  11. LICENSE.txt
  12. lombok.config
  13. pom.xml
  14. README.md
  15. version.properties
README.md

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