[midPoint-git] [Evolveum/midpoint] 590fc0: Smart Integration: Separate value pair analysis logic

Michal Zelenčík noreply at github.com
Thu Dec 11 13:19:55 CET 2025


  Branch: refs/heads/feature/utilize-mapping-statistics-review-2
  Home:   https://github.com/Evolveum/midpoint
  Commit: 590fc066653df158283ac584670e610f5e84a8dd
      https://github.com/Evolveum/midpoint/commit/590fc066653df158283ac584670e610f5e84a8dd
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2025-12-11 (Thu, 11 Dec 2025)

  Changed paths:
    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/mappings/MappingDirection.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/ValuesPair.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/ValuesPairSample.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/MappingsQualityAssessor.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Separate value pair analysis logic

Move direction-aware data analysis methods from MappingsSuggestionOperation
into ValuesPair and ValuesPairSample classes where they semantically belong.

- Introduce MappingDirection enum (INBOUND/OUTBOUND) to replace direction booleans
- Move isSourceDataMissing() and isTargetDataMissing() to ValuesPairSample
- Move asIs mapping detection to ValuesPairSample.allSourceValuesMatchTarget()
- Add direction-aware getSourceValues/getTargetValues methods to ValuesPair
- Update MappingsQualityAssessor to use direction from sample object
- Simplify all call sites to use new encapsulated methods
- Refactor naming

**Implements:** MID-10804

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