[midPoint-git] [Evolveum/midpoint] 872465: Refactor mapping shadow fetching

Michal Zelenčík noreply at github.com
Tue Nov 4 13:12:32 CET 2025


  Branch: refs/heads/midpilot
  Home:   https://github.com/Evolveum/midpoint
  Commit: 872465ed1fe1d1eaaca4ec65b1e10ccc825bd827
      https://github.com/Evolveum/midpoint/commit/872465ed1fe1d1eaaca4ec65b1e10ccc825bd827
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingSuggestionOperationFactory.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProviderImpl.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/OwnedShadow.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Refactor mapping shadow fetching

- Add OwnedShadowsProvider interface and OwnedShadowsProviderImpl
- Refactor MappingsSuggestionOperation to use the provider
- Update MappingSuggestionOperationFactory wiring
- Adapt tests in TestMappingsSuggestionOperation


  Commit: 2cbce08a87415f26c168ed9841269b5152a63c5d
      https://github.com/Evolveum/midpoint/commit/2cbce08a87415f26c168ed9841269b5152a63c5d
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProviderImpl.java

  Log Message:
  -----------
  Mapping suggestion: Split owned shadows into train/test with overlap

- Collect owned shadows once; partition into train (first 20)
and test (last 40), allowing overlap for small samples.
- Use partitioned sets for suggestion/testing pairs
and add trace log of sizes.


  Commit: 72d393b07bdf8bec9eedecc4a731d145212d6fe5
      https://github.com/Evolveum/midpoint/commit/72d393b07bdf8bec9eedecc4a731d145212d6fe5
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-11-04 (Tue, 04 Nov 2025)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProvider.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProviderFromResource.java
    R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/OwnedShadowsProviderImpl.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Small fixes: Mapping error loop review


Compare: https://github.com/Evolveum/midpoint/compare/da9c10144c91...72d393b07bdf

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