[midPoint-git] [Evolveum/midpoint] 01eaf7: Add new item related event marks to initial objects
Andrej
noreply at github.com
Mon Feb 23 09:45:10 CET 2026
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 01eaf78076584879be3a12b85ed359e42ba9986d
https://github.com/Evolveum/midpoint/commit/01eaf78076584879be3a12b85ed359e42ba9986d
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/CommonInitialObjects.java
A repo/system-init/src/main/resources/initial-objects/mark/742-mark-item-value-added.xml
A repo/system-init/src/main/resources/initial-objects/mark/743-mark-item-value-removed.xml
A repo/system-init/src/main/resources/initial-objects/mark/744-mark-item-value-modified.xml
A repo/system-init/src/main/resources/initial-objects/mark/745-mark-item-value-not-changed.xml
A repo/system-init/src/main/resources/initial-objects/mark/746-mark-item-value-change-not-applied.xml
Log Message:
-----------
Add new item related event marks to initial objects
**What**
Add new event marks for item changes.
**Why**
These marks will be used by mappings simulation to express how the
existing value of an item would be most likely changed if the mapping is
executed during normal processing.
**Task**: 10992
Commit: cb8eb8bd2a51834e5d76a22af7aba99849527ea0
https://github.com/Evolveum/midpoint/commit/cb8eb8bd2a51834e5d76a22af7aba99849527ea0
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)
Changed paths:
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/simulation/ProcessedObjectImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMappingSimulationTask.java
M model/model-intest/src/test/resources/tasks/mapping-simulation/accounts.csv
M model/model-intest/src/test/resources/tasks/mapping-simulation/dummy-resource.xml
M model/model-intest/src/test/resources/tasks/mapping-simulation/users.xml
Log Message:
-----------
Add new event marks to mappings simulation result.
**What**
Add new event marks, which express that the item value(s) has been
added, modified or removed.
**Why**
This marks will be used on GUI to clearly show what would most likely
happen if certain mapping(s) were applied.
**Task**:10992
Commit: 17d09fc1d725f61c9eb428909bbe670a23deb89b
https://github.com/Evolveum/midpoint/commit/17d09fc1d725f61c9eb428909bbe670a23deb89b
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMappingSimulationTask.java
M model/model-intest/src/test/resources/tasks/mapping-simulation/accounts.csv
M model/model-intest/src/test/resources/tasks/mapping-simulation/users.xml
Log Message:
-----------
Add "not changed" event mark to mappings sim. result
**What**
Add the "not changed" event mark to processed objects, which were not
changed.
**Why**
As the previous marks in these commit series, it will be used in the
GUI.
**Task**: 10992
Commit: b0ac2456a62ff0ba13d840a6194609eec565fe72
https://github.com/Evolveum/midpoint/commit/b0ac2456a62ff0ba13d840a6194609eec565fe72
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2026-02-23 (Mon, 23 Feb 2026)
Changed paths:
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-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMappingSimulationTask.java
M model/model-intest/src/test/resources/tasks/mapping-simulation/accounts.csv
M model/model-intest/src/test/resources/tasks/mapping-simulation/dummy-resource.xml
Log Message:
-----------
Simulate mapping on empty focus if no owner is found
**What**
When the mapping simulation does not find an owner (linked, nor
correlated) of the processed shadow, then use empty focus as a mapping
target.
**Why**
One of the main objective of the mapping simulation is to provide a
visibility of how particular mapping with its expression behaves.
However, if the processed shadow does not have any owner, we don't have
any obvious target to which we could apply the resulting delta from the
mapping. Thus we would lost the visibility on what the expression is
doing, because there is nothing against what it could compute the
difference.
Using an empty focus in above case is a simple way, how to preserve the
benefit of seeing what the mapping produces, even though we don't have
direct target against which we could apply it. The result will looks
like if all the changed attributes were just added.
**Task**: 10992
Compare: https://github.com/Evolveum/midpoint/compare/1d84dd8d5135...b0ac2456a62f
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