[midPoint-git] [Evolveum/midpoint] 0bb36d: Make iterative tasks write op. execution records

mederly noreply at github.com
Tue Jan 19 20:13:02 CET 2021


  Branch: refs/heads/feature/task-reporting
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0bb36defb29448ba326713a8642439a64ba93160
      https://github.com/Evolveum/midpoint/commit/0bb36defb29448ba326713a8642439a64ba93160
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointApplication.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ObjectDeltaOperation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensObjectDeltaOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/OperationExecutionRecorder.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/OperationExecutionRecorderForClockwork.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/controller/DummySystemConfigurationChangeDispatcherImpl.java
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestReportJasper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/SystemConfigurationChangeDispatcher.java
    M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/SystemConfigurationChangeListener.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeResultHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskHandler.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/util/OperationExecutionRecorderForTasks.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/util/OperationExecutionWriter.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SystemConfigurationChangeDispatcherImpl.java
    M repo/task-api/pom.xml
    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/TaskManager.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/TaskManagerQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobExecutor.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/CleanupTest.java

  Log Message:
  -----------
  Make iterative tasks write op. execution records

A preliminary implementation of the recording of execution for complex
operations, i.e. operations covering the processing of the whole object
by a search-iterative task.

The functionality is provided by a triad of:
- OperationExecutionRecorderForClockwork (simple operations)
- OperationExecutionRecorderForTasks (complex operations within tasks)
- OperationExecutionWriter (the actual execution)

A work in progress.

!BEHAVIOR CHANGE! If we are not going to record anything, we won't do
ad-hoc cleanup as we did before. The cleanup should be done using
regular cleanup task.

Minor changes:
1. Introduced obligatory root task OID for RunnableTask objects,
so it is available for recording purposes at no cost.
2. Fixed isDelete method on projection context.
3. Fixed SystemConfigurationChangeDispatcherImpl: a thread-safety bug,
plus stopped listener update method returning (useless) boolean value.




More information about the midPoint-svn mailing list