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

ReST v1 does not return errors for unparseable events

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • Meridian-2016.1.4
    • REST
    • Security Level: Default (Default Security Scheme)
    • None
    • RedHat Enterprise Linux Server 6.7
      Oracle JDK 1.8.0_92-b14
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: