[midPoint-git] [Evolveum/midpoint] 1c32bd: Smart Integration: Refactor mapping suggestion ded...
Michal Zelenčík
noreply at github.com
Wed Feb 11 13:05:25 CET 2026
Branch: refs/heads/improvement/enhance-deduplication
Home: https://github.com/Evolveum/midpoint
Commit: 1c32bd7af05e23df70fe13850fd0409dfa0a7c9c
https://github.com/Evolveum/midpoint/commit/1c32bd7af05e23df70fe13850fd0409dfa0a7c9c
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>
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