[midPoint-git] [Evolveum/midpoint] a7a0e2: Return Optional OID for latest object-type statistics

Michal Zelenčík noreply at github.com
Mon Oct 27 11:54:40 CET 2025


  Branch: refs/heads/10915
  Home:   https://github.com/Evolveum/midpoint
  Commit: a7a0e2f61012eab61c3e12bf9ad30ee5b508d245
      https://github.com/Evolveum/midpoint/commit/a7a0e2f61012eab61c3e12bf9ad30ee5b508d245
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-10-27 (Mon, 27 Oct 2025)

  Changed paths:
    M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationStatisticsComputationActivityRun.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsStatisticsComputationActivityRun.java

  Log Message:
  -----------
  Return Optional OID for latest object-type statistics

The callers only need the statistics object OID to determine whether
to skip recomputation, not the whole GenericObjectType. Returning
Optional<String> makes the “may not exist” contract explicit and
avoids null handling and avoids unnecessary data fetching/deserialization.

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>



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