]
Brett Meyer resolved SRAMP-598.
-------------------------------
Fix Version/s: 0.7.0.Final
Resolution: Done
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
Fix For: 0.7.0.Final
{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