[midPoint-git] [Evolveum/midpoint] 58fa40: Do minor improvements in activity state mgmt
mederly
noreply at github.com
Tue Jun 8 16:01:00 CEST 2021
Branch: refs/heads/feature/task-part-restructuring
Home: https://github.com/Evolveum/midpoint
Commit: 58fa404a1c0ed8200c2d9d9634b5b88310278e74
https://github.com/Evolveum/midpoint/commit/58fa404a1c0ed8200c2d9d9634b5b88310278e74
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityExecutionException.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityState.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/execution/ActivityExecutionResult.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/GetBucketOperation.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActivities.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/CommonMockActivityHelper.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockActivityExecution.java
M repo/repo-common/src/test/resources/tasks/activities/task-190-suspending-composite.xml
A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/CanRunSupplier.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/RunningTask.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskRunResult.java
Log Message:
-----------
Do minor improvements in activity state mgmt
Commit: 13e43f6899088f5f687ed5c3f4269f1b212581e1
https://github.com/Evolveum/midpoint/commit/13e43f6899088f5f687ed5c3f4269f1b212581e1
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-06-08 (Tue, 08 Jun 2021)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/TaskOperationUtils.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityStateUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/BucketingUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/BucketsProgressInformation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ItemsProgressInformation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskOperationStatsUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskPartProgressInformation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskPerformanceInformation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskProgressInformation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskProgressUtil.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskWorkStateUtil.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityExecutionException.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityState.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/execution/AbstractCompositeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/ActivityExecutionResult.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/GenericTaskExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/TaskExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketOperation.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/BucketingManager.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/CompleteBucketOperation.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/GetBucketOperation.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/ReleaseBucketOperation.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/BucketAllocator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/work/segmentation/BucketContentFactoryCreator.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActivities.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketManagement.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/CommonMockActivityHelper.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockActivityExecution.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ActivityStateAsserter.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/TaskActivityStateAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/TaskAsserter.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
Log Message:
-----------
Improve activity state reporting
Now both realizationState and resultStatus should be reported
correctly. Some tests were added.
Compare: https://github.com/Evolveum/midpoint/compare/090b1cf161df...13e43f689908
More information about the midPoint-svn
mailing list