]
Work on SRAMP-598 started by Brett Meyer.
-----------------------------------------
Improve error condition handling and map to applicable HTTP response
codes
--------------------------------------------------------------------------
Key: SRAMP-598
URL:
https://issues.jboss.org/browse/SRAMP-598
Project: S-RAMP
Issue Type: Sub-task
Reporter: Brett Meyer
Assignee: Brett Meyer
{quote}Publishing an artifact to the wrong collection will result in HTTP error
"403" Forbidden.{quote}
{quote}If the supplied uuid property value duplicates one already in the repository, the
server SHALL return an HTTP error code of "409" indicating a Conflict.{quote}
{quote}If the artifact being edited is not in the repository at the time of the PUT, then
the server SHALL return an HTTP error code of "404" indicating a Not
Found.{quote}
{quote}Requests to retrieve an Artifact Entry document from the incorrect Artifact Type
Model will result an HTTP "404" Not Found.{quote}
The server currently throws back 500 responses