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

ReST v1 does not return errors for unparseable events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Meridian-2016.1.4
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      RedHat Enterprise Linux Server 6.7
      Oracle JDK 1.8.0_92-b14
    • Sprint:
      Horizon - November 1st, Horizon - November 8th

      Description

      When an event is submitted to the opennms/rest/events endpoint, the API returns a 200 response before parsing the event.

      If that event fails to parse, the failure is invisible to the client, and only shows up in web.log.

      Events that cannot be parsed should return an error to the client, instead of failing silently.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              wkeaney Will Keaney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: