[midPoint-git] [Evolveum/midpoint] 7ccf85: Add preliminary activity state purging
mederly
noreply at github.com
Sat Jun 19 17:19:23 CEST 2021
Branch: refs/heads/feature/task-part-restructuring
Home: https://github.com/Evolveum/midpoint
Commit: 7ccf8522d7b12004269cf266a9262f0a05d95faa
https://github.com/Evolveum/midpoint/commit/7ccf8522d7b12004269cf266a9262f0a05d95faa
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-06-19 (Sat, 19 Jun 2021)
Changed paths:
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityStateOverviewUtil.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityTreeStateOverviewUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
M infra/schema/src/test/resources/statistics/task-aggregation-root.xml
M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestReconScript.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/Activity.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityTree.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityTreeStateOverview.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/TaskActivityManager.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/DelegatingActivityExecution.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/DistributingActivityExecution.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/TreeStatePurger.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/GenericTaskHandler.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/simple/SimpleMockActivityExecution.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/TaskActivityStateAsserter.java
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/Task.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/TaskQuartzImpl.java
Log Message:
-----------
Add preliminary activity state purging
The activity state is now intelligently purged (according to the
persistence level) at task restart. Tests up to model-impl seem to pass.
Work in progress: higher persistence levels are not yet used.
Other changes:
- Added realization state property for the whole task tree.
- Changed schema of TaskActivityStateType to make it more structured.
More information about the midPoint-svn
mailing list