Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4715

Add an error response to the ReST interface if an improper request was submitted.

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      OpenNMS 1.8

      Description

      We need to add error checking to the ReST interface. For example, if I try to submit a requisition via the webUI that has a duplicate foreignID, the webUI will tell me that this is not allowed. However, if I do this via the ReST interface, it is accepted, although only the first entry with the duplicate foreignID is managed.

      It would be nice if that request is submitted, that the ReST interface return an error.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                tarus Tarus Balog
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: