Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-6366

Crowd: excessive requests to crowd server when listing crowd users

    Details

    • Story Points:
      3
    • Notability:
      2

      Description

      Configure Crowd Server. Open Users tab of Nexus. Select Realm list drop down on Users tab toolbar. Click Magnifying glass icon without any search criteria.

      Nexus then sends one request to Crowd server to list all crowd users ( max results is http://localhost:8095/crowd/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=2147483647&expand=user. Once this response comes back, for each user in the response a request is sent to get that user's roles.

      This could have a large performance impact where the remote crowd server maps lots of users.

      We should improve performance impact here. Examples:

      • limit the max number of users returned to the initial query - maybe 500?
      • do not request each user's roles ( to display in role column ) until the user is selected in the list.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dbradicich Damian Bradicich
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Michael Prescott Michael Prescott
              Team:
              NXRM - Neo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title