Whilst attempting to load any of the views relating to groups, when you have a large number of groups in the system, the API calls to retrieve the groups will fail and the UI will not load.
Although the customer issue that triggered this support request has a significant amount of groups, I can see from reading through the code that the call we make to Keycloak to retrieve the groups is without pagination, this is different from other calls such as the user call.
To Reproduce
Configure a Keycloak instance with a connection to AD that contains a significant number of groups
Configure Identity and start the service
Navigate to the Tenants -> Assigned Groups page
Click Assign Group
Observe the failure
Observed behavior
The Groups API call times out.
Expected behavior
The Groups API call should be successful and largely without delay
Environment:
Identity Version: 8.5.0
Configuration:
Keycloak
Azure AD connection
A significant number of groups
Solution approach
implement search functionality for all get groups endpoints
Acceptance criteria
[ ] get groups view passes search parameter to backend to retrieve groups
[ ] assign group(s) to tenant modal passes search parameter to backend to retrieve groups
[ ] get groups endpoint accepts limit parameter and has a default limit of 100 (similar to get users)
[ ] get groups endpoint accepts search parameter and searches groups by name
:robot: This issue is automatically synced from: source
Related support issue
https://jira.camunda.com/browse/SUPPORT-21827
Describe the bug
Whilst attempting to load any of the views relating to groups, when you have a large number of groups in the system, the API calls to retrieve the groups will fail and the UI will not load.
Although the customer issue that triggered this support request has a significant amount of groups, I can see from reading through the code that the call we make to Keycloak to retrieve the groups is without pagination, this is different from other calls such as the user call.
To Reproduce
Tenants -> Assigned Groups
pageAssign Group
Observed behavior
The Groups API call times out.
Expected behavior
The Groups API call should be successful and largely without delay
Environment:
Solution approach
Acceptance criteria
:robot: This issue is automatically synced from: source