Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ALS-6235] Investigate: BDC Auth login issue: Explore delays creating…
… the user roles (#173) [ALS-6235] Investigate: BDC Auth login issue: Explore delays creating the user roles FenceAuthorization service has been refactored to improve readability and modularity. Fence mapping utility now loads the fence mapping json data on application startup and initializes two maps used by the application. This reduced execution time from ~13.25 minutes to ~9 minutes. AccessRules now uses a cache when creating new AccessRules. This reduces the time spent querying the database as many access rules are reused by privileges. This change reduced execution time from ~9 minutes down to 2.25 - 2.5 minutes. Refactor Role creation to allow for parallelization. This reduced execution time from 2.25 - 2.5 minutes down to ~30seconds. Roles are no longer removed from the user on login. We now update the user roles in place.
- Loading branch information