[midPoint-git] [Evolveum/midpoint] c2f231: Smart Integration: Rename util classes for generic...
Michal Zelenčík
noreply at github.com
Tue Mar 31 16:27:46 CEST 2026
Branch: refs/heads/improvement/schema-match-cacheing
Home: https://github.com/Evolveum/midpoint
Commit: c2f231d8abf014ac0d52105b33127b60a554e5e9
https://github.com/Evolveum/midpoint/commit/c2f231d8abf014ac0d52105b33127b60a554e5e9
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-30 (Mon, 30 Mar 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: 785c0b40209292486d595b3f220e7e9923dde941
https://github.com/Evolveum/midpoint/commit/785c0b40209292486d595b3f220e7e9923dde941
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-31 (Tue, 31 Mar 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/SmartIntegrationServiceImpl.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
Commit: d156de37bc9a797f050a9f5e1fe1a3a0a0ec5982
https://github.com/Evolveum/midpoint/commit/d156de37bc9a797f050a9f5e1fe1a3a0a0ec5982
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-03-31 (Tue, 31 Mar 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/c2f231d8abf0%5E...d156de37bc9a
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