[midPoint-git] [Evolveum/midpoint] 1b2ad9: Merge branch '10915' into 10921
Michal Zelenčík
noreply at github.com
Thu Oct 23 20:37:01 CEST 2025
Branch: refs/heads/10921
Home: https://github.com/Evolveum/midpoint
Commit: 1b2ad9929ad3a4db85f3fec1f588da036dc827ea
https://github.com/Evolveum/midpoint/commit/1b2ad9929ad3a4db85f3fec1f588da036dc827ea
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationDefiningType.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectTypeStatisticsTypeUtil.java
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 infra/schema/src/main/resources/xml/ns/public/model/extension-3.xsd
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/CorrelationSuggestionOperation.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/CorrelatorEvaluator.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
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationSchemaMatchingActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationSuggestionActivityHandler.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationSuggestionRemoteServiceCallActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/CorrelationSuggestionWorkDefinition.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSchemaMatchingActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionActivityHandler.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionRemoteServiceCallActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionWorkDefinition.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectClassStatisticsComputer.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeRelatedStatisticsComputer.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeRelatedSuggestionWorkDefinition.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeStatisticsComputer.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypesStatisticsComputationActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypesSuggestFocusTypesActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypesSuggestionActivityHandler.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypesSuggestionRemoteServiceCallActivityRun.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/RemoteServiceCallActivityRun.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/RemoteServiceCallFocusTypeActivityRun.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputationActivityRun.java
R model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/StatisticsComputer.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/Util.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/correlation/CorrelatedSuggestionWithScore.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/correlation/CorrelatorSuggestion.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/correlation/ExistingMapping.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/ValuesPair.java
M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestCorrelatorSuggestions.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
Log Message:
-----------
Merge branch '10915' into 10921
Commit: 14a4c36a9f5d81f3e91e666adb63c1e62b186372
https://github.com/Evolveum/midpoint/commit/14a4c36a9f5d81f3e91e666adb63c1e62b186372
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/smart/PageSmartIntegrationDefiningType.java
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
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/MappingsSuggestionOperation.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationServiceImpl.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsFetchOwnedShadowsActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionActivityHandler.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/MappingsSuggestionRemoteServiceCallActivityRun.java
A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/OwnedShadow.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/mappings/ValuesPair.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
Log Message:
-----------
Introduce owned shadow sampling activity
Sampling on the fly inside the suggestion operation was not in place
and hard to report in task progress. Persisting the sampled data
in the task work state makes the process reproducible, observable,
and enables reuse across attributes and retries.
- New schema types model owned shadow samples as a container. This allows
storing a list of shadow and owner references directly in work state.
- The service API now accepts the owned shadow samples when suggesting
mappings and provides a method to obtain a bounded sample for a given
resource type.
- The activity pipeline now includes a step that samples owned shadows
and saves them into work state before calling the remote suggestion step.
This decouples sampling from mapping generation and improves progress
tracking.
- The mapping suggestion operation preloads referenced shadows and owners
once and builds value pairs per attribute. This avoids repeated fetches
and improves performance and consistency.
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Compare: https://github.com/Evolveum/midpoint/compare/1b2ad9929ad3%5E...14a4c36a9f5d
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