[midPoint-git] [Evolveum/midpoint] 831a3e: Smart Integration: Rename util classes for generic...
Michal Zelenčík
noreply at github.com
Thu Apr 2 09:44:40 CEST 2026
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 831a3e946ca5e88d5186a65b47e03be56a89bb8a
https://github.com/Evolveum/midpoint/commit/831a3e946ca5e88d5186a65b47e03be56a89bb8a
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/SmartIntegrationUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/stats/ObjectClassStatisticsButton.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/stats/ObjectTypeStatisticsActions.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectClassStatisticsTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectClassUtil.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectTypeStatisticsTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowObjectTypeUtil.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchService.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/StatisticsService.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/AbstractObjectClassStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionRemoteServiceCallActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeStatisticsComputation/ObjectTypeStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/objectTypeSuggestion/ObjectTypesSuggestionRemoteServiceCallActivityRun.java
M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestObjectTypesSuggestionOperation.java
Log Message:
-----------
Smart Integration: Rename util classes for generic objects
- Rename ShadowObjectClassStatisticsTypeUtil and ShadowObjectTypeStatisticsTypeUtil
to ShadowObjectClassUtil and ShadowObjectTypeUtil, because they
have generic purpose
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Commit: fb19e43c043782a0ccdd488774e45275551596fa
https://github.com/Evolveum/midpoint/commit/fb19e43c043782a0ccdd488774e45275551596fa
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-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/SchemaMatchService.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SmartIntegrationBeans.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/StatisticsService.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/correlationSuggestion/CorrelationSuggestionRemoteServiceCallActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/correlationSuggestion/CorrelationSuggestionSchemaMatchingActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionRemoteServiceCallActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionSchemaMatchingActivityRun.java
Log Message:
-----------
Smart Integration: Persist schema match results as generic objects with TTL-based expiry
Schema match results are now saved as GenericObject repository entries
instead of being stored inline in task work state. This allows reuse
across activity runs without recomputing.
Changes:
- Add saveSchemaMatch() to SmartIntegrationService / SchemaMatchService
which persists the result and deletes any prior objects for the same
resource/kind/intent before saving
- Add TTL-based expiry in getLatestObjectTypeSchemaMatch(): expired
objects are deleted and null is returned so computation is re-run
- Schema matching activity runs now check for an existing (non-expired)
schema match object and skip computation if found
- Work state now stores an ObjectReferenceType (schemaMatchRef) instead
of an inline SchemaMatchResultType; remote-service-call activity runs
resolve the reference from the repository
- Add SystemObjectCache dependency to SchemaMatchService for TTL config
lookup; default TTL is P1D
# Conflicts:
# infra/schema/src/main/resources/xml/ns/public/common/common-smart-integration-3.xsd
# model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/SchemaMatchService.java
Commit: 99f79b74f4a4612ae9ca4e1b45b747e5a635a1fe
https://github.com/Evolveum/midpoint/commit/99f79b74f4a4612ae9ca4e1b45b747e5a635a1fe
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-04-02 (Thu, 02 Apr 2026)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/AssociationTypesPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/SchemaHandlingObjectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/attribute/mapping/AttributeMappingsTableWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/CorrelationItemsTableWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/SmartCorrelationTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/component/SmartAlertGeneratingPanel.java
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/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/SmartIntegrationRestController.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/SmartIntegrationServiceImpl.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/ObjectTypeRelatedSuggestionWorkDefinition.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/correlationSuggestion/CorrelationSuggestionSchemaMatchingActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/mappingSuggestion/MappingsSuggestionSchemaMatchingActivityRun.java
Log Message:
-----------
Smart Integration: Force schema match recomputation on explicit regenerate action
Add `forceRecomputeSchemaMatch` flag to the smart suggestion flow so that
clicking the regenerate (refresh) button in the GUI bypasses the existing
schema match cache and recomputes from scratch.
- Add `forceRecomputeSchemaMatch` element to ObjectTypeRelatedSuggestionWorkDefinitionType (XSD)
- Read the flag in ObjectTypeRelatedSuggestionWorkDefinition
- Skip the early-exit schema match lookup in CorrelationSuggestionSchemaMatchingActivityRun
and MappingsSuggestionSchemaMatchingActivityRun when the flag is true
Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>
Compare: https://github.com/Evolveum/midpoint/compare/df949d061b3e...99f79b74f4a4
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