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

Michal Zelenčík noreply at github.com
Wed Feb 11 13:30:23 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 1df531ca17fbbc980fd2f0e8aef210a0b4424793
      https://github.com/Evolveum/midpoint/commit/1df531ca17fbbc980fd2f0e8aef210a0b4424793
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-11 (Wed, 11 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
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.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>


  Commit: 5f22a765dc8ed7f708832f12c3f0ae36d78efebe
      https://github.com/Evolveum/midpoint/commit/5f22a765dc8ed7f708832f12c3f0ae36d78efebe
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-11 (Wed, 11 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
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.java

  Log Message:
  -----------
  Merge branch 'improvement/enhance-deduplication-2'


Compare: https://github.com/Evolveum/midpoint/compare/78b13d7d93c5...5f22a765dc8e

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