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

Nodes with invalid NodeTypes can be created via the Nodes Rest-API

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 17.0.0
    • Fix Version/s: 19.0.0
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Dec 14th

      Description

      Nodes have a nodeType based on an enum:

      ACTIVE
      The character returned if the node is active
      DELETED
      The character returned if the node is deleted
      UNKNOWN
      The character returned if the node type is unset/unknown.

      A post request against /rest/nodes with a node definition that is not defining any nodetype is handled as a valid post. The node is created in the DB with nodeType = null. Nodes with nodeType = null are not visible or accessible in OpenNMS.

        Attachments

          Activity

            People

            Assignee:
            cpape Christian Pape
            Reporter:
            tak Markus Neumann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: