keycloak-scim/model
Thomas Darimont 277af021d7 Improve ScheduledTask task-name handling
This PR introduces a String getTaskName() default method to
the ScheduledTask interface and adjusts call sites to use the
implementation derived task name where possible.

Previously, ScheduledTask names were passed around separately, which
lead to unhelpful debug messages.
We now give ScheduledTask implementations control over their task-name
which allows for more flexible naming.

Enlist call StoreSyncEvent.fire(...) to after transaction to ensure realm is present in database.
Ensure that Realm is already committed before updating sync via UserStorageSyncManager
Align Sync task name generation for cancellation to support SyncFederationTest
Only log a message if sync task was actually canceled.

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-02-02 09:57:03 -03:00
..
infinispan Improve ScheduledTask task-name handling 2024-02-02 09:57:03 -03:00
jpa Improve ScheduledTask task-name handling 2024-02-02 09:57:03 -03:00
legacy Map Store Removal: deprecate model legacy module 2024-01-31 17:40:45 +01:00
storage Skip grant role if exists for federated storage (#26508) 2024-01-26 17:08:47 +00:00
storage-private Improve ScheduledTask task-name handling 2024-02-02 09:57:03 -03:00
storage-services Map Store Removal: Rename legacy modules 2024-01-25 16:29:16 +01:00
pom.xml Map Store Removal: deprecate model legacy module 2024-01-31 17:40:45 +01:00