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

Problems using "offset" parameter on events REST Service

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.3
    • Fix Version/s: 1.11.2
    • 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. http://172.17.160.200:8980/opennms/rest/events?limit=10&offset=0
      Returns <events totalCount="17" count="10">....
      6. http://172.17.160.200:8980/opennms/rest/events?limit=10&offset=10
      Returns an exception

      Could you give me some information about this issue?

      Best Regards,

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              giuseppeevangelista Giuseppe Evangelista
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: