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

Node ReST service not handling assets and deleting properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 22.0.0
    • Fix Version/s: 21.1.0, Meridian-2017.1.7
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Feb 1st 2018, Horizon - Feb 7th 2018, Horizon - Feb 14th 2018, Horizon - Feb 21st 2018, Horizon - March 14th 2018

      Description

      Haven't confirmed this in older OpenNMS releases yet, but I've found an issue with the node ReST service in the assets smoke test that appears to be a systemic issue.

      When a POST is made on the node ReST service containing a node with an asset record, the asset record is created but without the node ID.

      opennms=> select id, nodeid, description from assets where description like '%Right%';
      id | nodeid | description
      ------+--------+-----------------------
      1512 | | Right here, right now
      (1 row)

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: