Uploaded image for project: 'Artificer'
  1. Artificer
  2. ARTIF-462 S-RAMP 1.0 spec compliance and TCK
  3. ARTIF-598

Improve error condition handling and map to applicable HTTP response codes

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.7.0.Final
    • Component/s: None
    • Labels:
      None

      Description

      Publishing an artifact to the wrong collection will result in HTTP error "403" Forbidden.

      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.

      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.

      Requests to retrieve an Artifact Entry document from the incorrect Artifact Type Model will result an HTTP "404" Not Found.

      The server currently throws back 500 responses

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                brmeyer Brett Meyer
                Reporter:
                brmeyer Brett Meyer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: