[midPoint-git] [Evolveum/midpoint] 03e3fb: Smart Integration: Add categorical mapping suggest...
Michal Zelenčík
noreply at github.com
Tue Mar 24 11:07:15 CET 2026
Branch: refs/heads/improvement/categorical-mappings-endpoint
Home: https://github.com/Evolveum/midpoint
Commit: 03e3fbf877ed6206e2df98918ff61d99082c85e5
https://github.com/Evolveum/midpoint/commit/03e3fbf877ed6206e2df98918ff61d99082c85e5
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-24 (Tue, 24 Mar 2026)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/smart/TestSmartIntegrationService.java
A model/model-intest/src/test/resources/smart/resource-dummy-for-suggest-categorical-mappings.xml
M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/ServiceClient.java
M model/smart-api/src/main/java/com/evolveum/midpoint/smart/api/SmartIntegrationService.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/DefaultServiceClientImpl.java
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
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionActivityHandler.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionRemoteServiceCallActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionStatisticsComputationActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/CategoricalAttributeRegistry.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/TestSmartIntegrationServiceImpl.java
M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.java
Log Message:
-----------
Smart Integration: Add categorical mapping suggestion endpoint and statistics computation
- Add new endpoint for categorical attribute mapping suggestions
- Introduce CategoricalAttributeRegistry for managing categorical attributes
- Implement MappingsSuggestionStatisticsComputationActivityRun for processing
statistical data during mapping suggestion activities
- Extend SmartIntegrationService API with categorical mapping support
- Update schema definitions (common-smart-integration-3.xsd, common-tasks-3.xsd)
to support new activity types and categorical mapping configurations
- Add comprehensive tests for categorical mapping suggestion workflow
- Add test resource (resource-dummy-for-suggest-categorical-mappings.xml)
for categorical mapping scenarios
**Task** 11138
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Commit: 89307205f5a016eb820985b9b0f4ed55789db952
https://github.com/Evolveum/midpoint/commit/89307205f5a016eb820985b9b0f4ed55789db952
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-24 (Tue, 24 Mar 2026)
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/scoring/MappingScriptValidator.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ScriptValidationException.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: Add script validation to categorical mapping suggestions
Introduce MappingScriptValidator to validate generated mapping scripts
before they are suggested. This ensures that suggested categorical mappings
contain valid, executable scripts.
Changes:
- Add MappingScriptValidator class for script validation
- Add ScriptValidationException for validation errors
- Integrate validator into MappingsSuggestionOperation
- Update MappingSuggestionOperationFactory to instantiate validator
- Update all tests to include the new validator parameter
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Compare: https://github.com/Evolveum/midpoint/compare/03e3fbf877ed%5E...89307205f5a0
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