[midPoint-git] [Evolveum/midpoint] bb5c93: Support "exclude" search options in repo cache
Tony Tkáčik
noreply at github.com
Mon Jan 27 17:40:19 CET 2025
Branch: refs/heads/feature/no-metadata-repo-cache
Home: https://github.com/Evolveum/midpoint
Commit: bb5c93a8e3a364775ba9631cc4e995d52a1615bb
https://github.com/Evolveum/midpoint/commit/bb5c93a8e3a364775ba9631cc4e995d52a1615bb
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-01-27 (Mon, 27 Jan 2025)
Changed paths:
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUseMode.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachingResultHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetVersionOpHandler.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpHandler.java
Log Message:
-----------
Support "exclude" search options in repo cache
Previous repo cache improvements did not completely support
the "retrieve=exclude" option when searching for objects:
they stored OIDs instead of full objects in the search result,
but did not discriminate between "cannot update objects cache"
and "cannot update query cache" situations, which is crucial
for supporting this scenario.
This commit fixes that, evaluating the ability to update object,
version, and query caches separately. The "don't retrieve" option
in AssignmentTargetSearchExpressionEvaluator now plays well with
the repo cache.
Commit: ccdd562ddca86e9042c42d92c00724190c1f36ca
https://github.com/Evolveum/midpoint/commit/ccdd562ddca86e9042c42d92c00724190c1f36ca
Author: Tony Tkáčik <tonydamage at gmail.com>
Date: 2025-01-27 (Mon, 27 Jan 2025)
Changed paths:
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssignmentTargetSearchExpressionEvaluator.java
Log Message:
-----------
AssignmentTargetSearch uses excludes
Compare: https://github.com/Evolveum/midpoint/compare/83169d49d42e...ccdd562ddca8
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list