Return appropriate HTTP status code

Return 404 instead of 500 when items are not found.  Bubble up other
HTTP error codes instead of changing them all to 500.

Change-Id: Ib614bb83f28cfb1ce2384679398f0a45058fc455
Issue-ID: POLICY-1686
Signed-off-by: Jim Hahn <jrh3@att.com>
15 files changed
tree: 2b88ea1e8b876f935fc28aae340ca7ea33686607
  1. main/
  2. packages/
  3. testsuites/
  4. .gitignore
  5. .gitreview
  6. INFO.yaml
  7. LICENSE.txt
  8. pom.xml
  9. README.md
  10. version.properties
README.md

Copyright 2017-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 Administration Point Backend code.

To build it using Maven 3, run: mvn clean install