[KULRICE-11714] KIM Performance: check whether role members need to be sorted Created: 23/Jan/14  Updated: 16/Jan/15

Status: Open
Project: Kuali Rice Development
Component/s: Performance
Affects Version/s: None
Fix Version/s: Backlog
Security Level: Public (Public: Anyone can view)

Type: Improvement Priority: Major
Reporter: Jonathan Keller Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Old
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Rice Module:
KAI Review Status: Not Required
KTI Review Status: Not Required
Code Review Status: Not Required
Include in Release Notes?:


The KIM role type service has a sortRoleMembers() method. The default implementation simply returns the original list.

This can cause inefficiencies if the list of role members passed in is large.

It would probably be good if the RoleTypeService API were expanded to include a "doesSortRoleMembers()" method (or something like that) to pre-check whether the entire list needs to be passed to and from. Since only 1 service in all of KFS implements that method, this would be a net improvement for most role member retrievals.

Generated at Mon Jan 18 07:47:52 CST 2021 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.