[
https://issues.jboss.org/browse/SRAMP-598?page=com.atlassian.jira.plugin....
]
Brett Meyer updated SRAMP-598:
------------------------------
Description:
{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
was:
{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}
The server currently throws back 500 responses
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
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)