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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 17.0.0
    • 19.0.0
    • REST
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: