Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-2200

json/sessions/?_queryID=all only returning 120 sessions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 11.0.0, 12.0.1, 12.0.2, 13.0.0
    • Fix Version/s: None
    • Component/s: rest
    • Labels:
    • Sprint:
      Sprint 22, Sprint 23, Sprint 24, Sprint 25, Sprint 26, Sprint 27
    • Support Ticket IDs:

      Description

      Bug:

      When calling json/sessions/?_queryID=all with lots of sessions already created, only the 120 of them are returned.

      Cause:

      This is because each Server responding to the Session Request uses its configured limit to determine how many SessionInfo's are returned.

      Fix:

      Importantly the solution must be able to scale to whatever size we plan to deploy OpenAM to. This could mean many thousands or millions of active users and thereforeSessions.

      The current proposal would be to improve the type of information that can be specifiedin the SessionRequest query. This would allow the caller to define how much informationto return in the query.

      This would allow us to make use of the ForgeRock REST functionality for paging to thenallow the SessionResource to control which page of SessionInfo should be returned from which server.

      This is a stories worth of work rather than a simple bug fix.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rwapshott Robert Wapshott
                Reporter:
                samdrew Sam Drew
                QA Assignee:
                Sam Drew
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: