[midPoint-git] [Evolveum/midpoint] 23492d: Fix various issues in activity statistics
mederly
noreply at github.com
Tue Oct 5 11:31:28 CEST 2021
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 23492d6699ff5331c3bf845170ec56dd5e4a1175
https://github.com/Evolveum/midpoint/commit/23492d6699ff5331c3bf845170ec56dd5e4a1175
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/TaskInternalPerformancePanel.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/ActivityItemProcessingStatisticsPrinter.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/ActivityProgressAndStatisticsPrinter.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/ActivityProgressPrinter.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/ActivityStatisticsUtil.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/IterationInformation.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/IterationInformationPrinter.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/IterativeOperationCollector.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/Operation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/SynchronizationInformationPrinter.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/statistics/TaskWorkBucketManagementPerformanceInformationPrinter.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityItemProcessingStatisticsUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityProgressUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityTreeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityWorkersInformation.java
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCampaignCreationTaskHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AbstractObjectBasedActionExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/DiscoverConnectorsExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ReencryptExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ValidateExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/helpers/OperationsHelper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/async/AsyncUpdateActivityExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/sync/LiveSyncActivityExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/old/DeleteTaskHandler.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/WorkflowManagerImpl.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/ActivityItemProcessingStatistics.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/ActivityStatistics.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessingGatekeeper.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/IterativeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ProcessingCoordinator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/RequestsBuffer.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/SearchBasedActivityExecution.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockActivityExecution.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ActivityItemProcessingStatisticsAsserter.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/RunningTaskStatisticsCollector.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/test/NullTaskImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/nodes/NodeCleaner.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/statistics/Statistics.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/TaskCleaner.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/MockParallelTaskHandler.java
Log Message:
-----------
Fix various issues in activity statistics
1. Fixed broken collecting of thread-local statistics in multithreaded
tasks after task resume.
2. Added activity statistics to the task Internal performance tab.
3. Added current objects into iterative item processing table.
(And removed useless activity path column from it.)
4. Now updating task/activity statistics for coordinator task
even while waiting for items being processed. This ensures smoother
updates of the state for even for long item processing (MID-7280).
5. In "Executes at" column we no longer show nodes on which no workers
are currently executing.
6. Removed obsolete parts of tasks XSD.
Resolves MID-7175 and MID-7280.
Commit: 8716c1b454507c6751aedda23dd8817a35391052
https://github.com/Evolveum/midpoint/commit/8716c1b454507c6751aedda23dd8817a35391052
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
M config/sql/native-new/postgres-new.sql
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceDetailsTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceDetailsTabPanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ValueDisplayUtil.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryConfiguration.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/RefItemDeltaProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/connector/QConnector.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoModifyObjectTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/3f4ec78d997c...8716c1b45450
More information about the midPoint-svn
mailing list