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

Problems using "offset" parameter on events REST Services after deleting a node

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.10.3
    • Fix Version/s: None
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:

      Description

      Hi,
      on a brand new installation of opennms 1.10.3, I'm trying to execute the following steps and I get the attached exception:

      1. Create a new group "Camera"
      (Admin>Manage Provisioning Requisitions>Add new group)
      2. Add a new node invoking a REST service
      INPUT: <node foreign-id="2" node-label="1_19_29_40_2" xmlns="http://xmlns.opennms.org/xsd/config/model-import"/>
      RetCOde: 200
      Output: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><model-import xmlns="http://xmlns.opennms.org/xsd/config/model-import" non-ip-snmp-primary="N" non-ip-interfaces="false" foreign-source="Camera" date-stamp="2012-05-28T16:27:43.587+02:00"><node node-label="1_19_29_40_2" foreign-id="2"/></model-import>
      3 Syncronize Group invoking this URL: /requisitions/Camera/import
      4. Visualize all events: http://172.17.160.200:8980/opennms/rest/events
      Returns <events totalCount="17" count="10">...
      5. Delete previous node (method DELETE on URL requisitions/Camera/nodes/22)
      OUTPUT: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><model-import xmlns="http://xmlns.opennms.org/xsd/config/model-import" non-ip-snmp-primary="N" non-ip-interfaces="false" last-import="2012-05-28T17:44:40.073+02:00" foreign-source="Camera" date-stamp="2012-05-28T17:48:17.278+02:00"/>
      6. Syncronize Group invoking this URL: /requisitions/Camera/import
      7. Visualize all events: http://172.17.160.200:8980/opennms/rest/events
      Returns <events totalCount="20" count="10">...
      8. http://172.17.160.200:8980/opennms/rest/events?limit=20
      Returns the attached exception

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ranger Benjamin Reed
                Reporter:
                giuseppeevangelista Giuseppe Evangelista
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: