[midPoint-git] [Evolveum/midpoint] faa23b: Providing stateBefore/stateAfter to sim manager

mederly noreply at github.com
Thu Dec 8 00:27:40 CET 2022


  Branch: refs/heads/feature/simulations
  Home:   https://github.com/Evolveum/midpoint
  Commit: faa23b9aa3407a08afdab57903c3aec5a01aa0af
      https://github.com/Evolveum/midpoint/commit/faa23b9aa3407a08afdab57903c3aec5a01aa0af
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-12-08 (Thu, 08 Dec 2022)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/SimulationResultContext.java
    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/ClockworkAuditHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/LinkUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultContextImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultManagerImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/TestSimpleSimulations.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/ObjectDeltaFinder.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/AggregatedObjectProcessingListener.java
    R repo/task-api/src/main/java/com/evolveum/midpoint/task/api/ObjectProcessingListener.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:
  -----------
  Providing stateBefore/stateAfter to sim manager

Here we had to rework the mechanism of passing info to simulation
result manager: instead of passing each delta as soon as it's
produced, we use information from LensElementContext at the end
of the clockwork. This way we have the full "object old" information
that would not be available otherwise.

Work in progress. The full info is not stored into the repo now;
and the deltas are not retrieved either.




More information about the midPoint-svn mailing list