[midPoint-git] [Evolveum/midpoint] fda61f: Add sync transitions for "remaining shadows" recon

mederly noreply at github.com
Sat Mar 12 17:39:45 CET 2022


  Branch: refs/heads/tmp/mid-7724
  Home:   https://github.com/Evolveum/midpoint
  Commit: fda61f09322ba8c2a23e68636ac3028c08b1cf4f
      https://github.com/Evolveum/midpoint/commit/fda61f09322ba8c2a23e68636ac3028c08b1cf4f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-12 (Sat, 12 Mar 2022)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/LinkUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/RemainingShadowsActivityRun.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java

  Log Message:
  -----------
  Add sync transitions for "remaining shadows" recon

The reporting on synchronization situation transitions during the
last reconciliation sub-activity (processing "remaining shadows") was
not implemented: It was somehow present before, but the implementation
changes in 4.3/4.4 made it non-functional, so it was disabled
altogether.

So, it is re-implemented in this commit. In particular:

1. Synchronization of a deleted shadow is represented as a transition
"x->DELETED->DELETED", where x is the original state, e.g. LINKED.

2. Shadows that are fetched but not synchronized - e.g. because they
exist - are recorded with either PROTECTED or with the new
SYNCHRONIZATION_NOT_NEEDED exclusion reason. They are also marked
as skipped, which is a change comparing to previous behavior (they
were marked as successfully processed). This is to bring consistency
between the 2nd and 3rd stage of reconciliation activity.

This resolves MID-7724.

Other changes:
- Fixed reporting of situations of deleted shadows in "clockwork
summary" log entry.
- Re-enabled auditing asserts in TestImportRecon.




More information about the midPoint-svn mailing list