[midPoint-git] [Evolveum/midpoint] 9a2838: Smart Integration: Refactor mapping suggestion ded...

Michal Zelenčík noreply at github.com
Tue Feb 10 13:52:46 CET 2026


  Branch: refs/heads/improvement/enhance-deduplication-logic
  Home:   https://github.com/Evolveum/midpoint
  Commit: 9a2838996e1bc2089337318e574d67459e7181fa
      https://github.com/Evolveum/midpoint/commit/9a2838996e1bc2089337318e574d67459e7181fa
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-10 (Tue, 10 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/AttributeMappingCandidateSet.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestMappingsSuggestionOperation.java

  Log Message:
  -----------
  Smart Integration: Refactor mapping suggestion deduplication and quality filtering

- Change deduplication logic to use (source, target, script) triple
  among suggestions instead of target-only approach
- Add quality threshold filtering (0.4) for existing data scenarios
- Keep all mappings when quality is null (new data scenarios)
- Allow multiple suggestions per target if they differ in source or script
- Consolidate extraction methods into MappingIdentity.extract()
- Add proper null handling for quality comparisons
- Prefer system-provided mappings over AI when quality is equal
- Sort suggestions by quality descending in best() method

This enables more flexible mapping suggestions while maintaining
proper deduplication against existing mappings (by target only).

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