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

AgentsRepo search is suboptimal

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.0, 11.0.0, 12.0.0
    • Fix Version/s: None
    • Component/s: performance
    • Labels:
    • Sprint:
      AM Sustaining Sprint 63, AM Sustaining Sprint 64, AM Sustaining Sprint 65, AM Sustaining Sprint 66, AM Sustaining Sprint 67, AM Sustaining Sprint 68, AM Sustaining Sprint 69, AM Sustaining Sprint 70, AM Sustaining Sprint 71, AM Sustaining Sprint 72, AM Sustaining Sprint 73, AM Sustaining Sprint 74, AM Sustaining Sprint 75, AM Sustaining Sprint 76, AM Sustaining Sprint 77, AM Sustaining Sprint 78
    • Story Points:
      5
    • Support Ticket IDs:

      Description

      AgentsRepo#search isn't quite optimized:
      When searching for certain avPairs, the AgentsRepo first attempts to query for agents defined with the provided pattern (in case of CDCServlet this would be "*"), and then it retrieves the agent profile for each of those agent configurations and then manually filters the results using Java.

      A little bit more optimal solution would be to use SMSEntry#search method with a more sophisticated search filter to remove the need of AM side filtering.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonthomas Jonathan Thomas
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated: