[midPoint-git] [Evolveum/midpoint] f1c7ab: Consider correlated shadows when computing focus o...

Andrej noreply at github.com
Tue Apr 28 11:44:50 CEST 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: f1c7ab73540f8f53d3a1ee336d3d93418e9f6d24
      https://github.com/Evolveum/midpoint/commit/f1c7ab73540f8f53d3a1ee336d3d93418e9f6d24
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsComputationActivityHandler.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsComputationActivityRun.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsIterationFactory.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectsByAssociatedShadowsIteration.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSmartIntegrationServiceImpl.java
    A model/smart-impl/src/test/resources/smart/resource-dummy-for-stats-calculation.xml
    A model/smart-impl/src/test/resources/smart/user1.xml
    A model/smart-impl/src/test/resources/smart/user2.xml
    A model/smart-impl/src/test/resources/smart/user3.xml

  Log Message:
  -----------
  Consider correlated shadows when computing focus object statistics

**What**

When computing statistics for focus objects, consider not only focuses with
linked focuses but also focuses which are correlated with the shadows.

**Why**

Previously, the statistics computation only found focus objects that
were already linked to shadows matching the resource/kind/intent
criteria. This meant that correlated but not yet linked focuses were
not included in the statistics.

By also considering the correlation state of shadows, we can include
focuses that are identified as owner candidates but have not been
linked yet.

**Task**: 11190


  Commit: 90994534fc66c1de457a847bab5cf5a3c3a8fdb8
      https://github.com/Evolveum/midpoint/commit/90994534fc66c1de457a847bab5cf5a3c3a8fdb8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsComputationActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectsByAssociatedShadowsIteration.java

  Log Message:
  -----------
  Improve focus statistics computation

What

Improves OperationResult handling in the code that computes
statistics for focus objects associated with given shadows:
Makes sure that the tree of results matches the tree of
Java methods execution.

Why

The strict handling of OperationResult objects is necessary
for correct tracing.

Relates to MID-11190.


  Commit: c5f8fe71e7123ed2d5f1081acb95cc22c2c83997
      https://github.com/Evolveum/midpoint/commit/c5f8fe71e7123ed2d5f1081acb95cc22c2c83997
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-04-28 (Tue, 28 Apr 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsIterationFactory.java

  Log Message:
  -----------
  Add missing line at the end of file

**Task**: 11190


Compare: https://github.com/Evolveum/midpoint/compare/975d3d90cb03...c5f8fe71e712

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