[midPoint-git] [Evolveum/midpoint] 04e947: Smart Integration: Refactor focus statistics compu...
Michal Zelenčík
noreply at github.com
Thu Feb 26 14:17:12 CET 2026
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 04e947d5570be2bc4f58fff6a76965c1596a0594
https://github.com/Evolveum/midpoint/commit/04e947d5570be2bc4f58fff6a76965c1596a0594
Author: Michal Zelencik <michal.zelencik at evolveum.com>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/attribute/mapping/SmartMappingTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/stats/FocusStatisticsActions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/stats/FocusStatisticsButton.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/smart/stats/SmartStatisticsPanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/FocusObjectStatisticsTypeUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-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/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/midpointStatisticsComputation/FocusObjectStatisticsComputationActivityRun.java
M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/activities/midpointStatisticsComputation/FocusObjectStatisticsComputationWorkDefinition.java
Log Message:
-----------
Smart Integration: Refactor focus statistics computation to filter by resource/kind/intent
Add mandatory resource, kind, and intent filtering to focus object statistics
computation. This ensures statistics are computed only for focuses that have
shadows matching specific resource/kind/intent criteria.
Changes:
* Schema: Add required resourceRef, kind, and intent to
FocusObjectStatisticsComputationWorkDefinitionType in common-tasks-3.xsd
* Activity run: Filter focuses using linkRef dereferencing query through
PrismConstants.T_OBJECT_REFERENCE to match shadows by resource/kind/intent
* Statistics persistence: Store resource/kind/intent in GenericObjectType
extension for proper filtering and identification
* Service layer: Update StatisticsService methods (regenerate, getLatest,
delete) to require and filter by resource/kind/intent parameters
* API: Update SmartIntegrationService interface and implementation to
accept resource/kind/intent for all statistics operations
* GUI: Update SmartStatisticsPanel, FocusStatisticsButton, and
FocusStatisticsActions to handle and propagate new filtering parameters
* GUI: Update SmartMappingTable to pass resource/kind/intent when triggering
focus statistics computation
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