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

Set the required fields when not specified while adding events through ReST

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 17.1.1
    • Fix Version/s: 18.0.0, Meridian-2016.1.0
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      Certain event attributes like the event time are required when creating events.

      It would be useful if the ReST end-point for create events can check if the required fields are populated or not, and in case they are not populated, set reasonable defaults.

      The event time has to be specified in GMT and the format is not conventional. If someone wants to add an event through ReST, it is obvious (at least to me) that the time should be the time when the request is executed.

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: