-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group scalability upgrades #22700
Group scalability upgrades #22700
Commits on Oct 24, 2023
-
Expand group storage and REST endpoints to allow for more flexibility…
… in use as well as scalability Modify Provider layer to allow for pagination on subgroups Modify Provider layer to allow for searching for subgroups by ID and Name Modify GroupModel to pass handling of subgroup lookups to the storage provider rather than performing the search on the model object Modify GroupsResource to take advantage of new storage functions, preventing loading of excess entities into memory from DB Modify GroupResource to allow for retrieval of all of the subgroups on an object, paginated, and sorted Modify construction of group hierarchy to load a vertical slice of the relevant information, i.e. only loading groups from leaf -> root without inclusion of siblings Changes to specific implementations of all of the above interfaces for the main storage providers Update all tests to show that there are no regressions in the changed behavior Add a count field to GroupRepresentation that lets a client know how many subgroups are on the group without having to retrieve them Modify relevant external resources to use new functionality on the storage layer (UserResource, RealmAdminResource, AccountRestService...) resolves keycloak#22374
Configuration menu - View commit details
-
Copy full SHA for 2dfa4ca - Browse repository at this point
Copy the full SHA 2dfa4caView commit details -
update cache implementation for groups to allow for handling of searc…
…hes in an efficient manner before attempting to load a full resource and calculating a cache-miss
Configuration menu - View commit details
-
Copy full SHA for 3646815 - Browse repository at this point
Copy the full SHA 3646815View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9931174 - Browse repository at this point
Copy the full SHA 9931174View commit details -
add fine grained permission to non hierarchial returns on GroupsResou…
…rce in new admin ui
Configuration menu - View commit details
-
Copy full SHA for 324bd1f - Browse repository at this point
Copy the full SHA 324bd1fView commit details -
Revert "update cache implementation for groups to allow for handling …
…of searches in an efficient manner before attempting to load a full resource and calculating a cache-miss" This reverts commit e8116ad.
Configuration menu - View commit details
-
Copy full SHA for 17134ed - Browse repository at this point
Copy the full SHA 17134edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f1a2e - Browse repository at this point
Copy the full SHA 61f1a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa53c64 - Browse repository at this point
Copy the full SHA fa53c64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d5fea - Browse repository at this point
Copy the full SHA 35d5feaView commit details -
Update model/infinispan/src/main/java/org/keycloak/models/cache/infin…
…ispan/RealmCacheSession.java Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0efcc8b - Browse repository at this point
Copy the full SHA 0efcc8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa46456 - Browse repository at this point
Copy the full SHA aa46456View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d9f21d - Browse repository at this point
Copy the full SHA 8d9f21dView commit details -
Bypass cache on infinispan when searching or paginating subgroups. Re…
…move eager init of subgroup list on representation object and replace with on demand init
Configuration menu - View commit details
-
Copy full SHA for 0306e50 - Browse repository at this point
Copy the full SHA 0306e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for d427f3d - Browse repository at this point
Copy the full SHA d427f3dView commit details -
Address issues with group search, including improper paging on deleti…
…on, improper JPA named queries, tests out of date for new subgroup model, and efficient caching of global boolean state
Configuration menu - View commit details
-
Copy full SHA for a8d69d2 - Browse repository at this point
Copy the full SHA a8d69d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac15515 - Browse repository at this point
Copy the full SHA ac15515View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5ca5e - Browse repository at this point
Copy the full SHA 7f5ca5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for baf5f81 - Browse repository at this point
Copy the full SHA baf5f81View commit details -
Attempt to get data up to three times if missing from group list to t…
…ry and deal with result caching in tests
Configuration menu - View commit details
-
Copy full SHA for cd6475c - Browse repository at this point
Copy the full SHA cd6475cView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc8b1c2 - Browse repository at this point
Copy the full SHA cc8b1c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db7a70 - Browse repository at this point
Copy the full SHA 6db7a70View commit details -
Update the front end groups to use the new admin client additions rat…
…her than custom hooks into the API
Configuration menu - View commit details
-
Copy full SHA for 3cc41d8 - Browse repository at this point
Copy the full SHA 3cc41d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for af0b4a7 - Browse repository at this point
Copy the full SHA af0b4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfa5bef - Browse repository at this point
Copy the full SHA dfa5befView commit details -
Deprecate methods that are no longer used on the RealmModel, update d…
…ocs to reflect changes in next version of keycloak, move deprecated usages of RealmModel methods to the corresponding KeycloakSession method
Configuration menu - View commit details
-
Copy full SHA for 16385fd - Browse repository at this point
Copy the full SHA 16385fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb97b64 - Browse repository at this point
Copy the full SHA fb97b64View commit details -
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for ba1d7c2 - Browse repository at this point
Copy the full SHA ba1d7c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16e1ae9 - Browse repository at this point
Copy the full SHA 16e1ae9View commit details