Add module for error responses

Module will hold a common error message object used by
API's to clients for returning an overall error message
and list of detail messages and warnings.

Added an example and finished a JUnit test.

Changed to response code from HTTP

Added assertj and used StandardCoder

Issue-ID: POLICY-1195
Change-Id: Id0fcf4831b8d03223c590f8085f207dbbbe559b4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 files changed
tree: 5e5838d6e2a63b6c49e96db0ac9b30c907241577
  1. models-base/
  2. models-dao/
  3. models-decisions/
  4. models-errors/
  5. models-examples/
  6. models-pap/
  7. models-provider/
  8. models-tosca/
  9. .gitignore
  10. .gitreview
  11. INFO.yaml
  12. LICENSE.txt
  13. lombok.config
  14. pom.xml
  15. README.md
  16. 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 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