[midPoint-git] [Evolveum/midpoint] 589bc0: Add basic logic of the mappings simulation activity

Andrej noreply at github.com
Wed Feb 18 11:31:41 CET 2026


  Branch: refs/heads/feature/t-4184
  Home:   https://github.com/Evolveum/midpoint
  Commit: 589bc03cf84efa571e6690d56897f0a6d9c09042
      https://github.com/Evolveum/midpoint/commit/589bc03cf84efa571e6690d56897f0a6d9c09042
  Author: Andrej Zan <andrej.zan at evolveum.com>
  Date:   2026-02-18 (Wed, 18 Feb 2026)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/WorkDefinitionUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mappings/tasks/MappingActivityHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mappings/tasks/MappingActivityRun.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mappings/tasks/MappingWorkDefinition.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/MappingSimulationData.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectsWriter.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMappingSimulationTask.java
    A model/model-intest/src/test/resources/tasks/mapping-simulation/accounts.csv
    A model/model-intest/src/test/resources/tasks/mapping-simulation/dummy-resource.xml
    A model/model-intest/src/test/resources/tasks/mapping-simulation/task-mapping-simulation.xml
    A model/model-intest/src/test/resources/tasks/mapping-simulation/users.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/SimulationResultAsserter.java

  Log Message:
  -----------
  Add basic logic of the mappings simulation activity

**What**

Implement basic logic of the inbound mappings simulation, which
evaluates specified mappings on provided shadows, applies the resulting
deltas to the shadows owners (if any) and writes it all to simulation
result.

**Why**

This simulation will be used to test basic correctness of suggested (or
manually defined) inbound mappings. Results of this simulation will be
shown on dedicated UI page where user can check what changes (if any)
the mapping causes.

**Notes**

Current implementation does not yet:

- Contain all the event marks which we want to show.
- Evaluate the mapping, if the processed shadow does not have any owner
  (linked or correlated).
- Try to correlate shadow without owner.

Those will be added in next changes.



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list