[midPoint-git] [Evolveum/prism] bcd665: addRespectingMetadataAndCloning: Returns actual us...

Tony Tkáčik noreply at github.com
Thu Jun 6 15:30:52 CEST 2024


  Branch: refs/heads/feature/metadata
  Home:   https://github.com/Evolveum/prism
  Commit: bcd665af63472bfc3602206960577394cc01f60d
      https://github.com/Evolveum/prism/commit/bcd665af63472bfc3602206960577394cc01f60d
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/Item.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/ItemImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/item/DummyItem.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/metadata/ValueMetadataAdapter.java

  Log Message:
  -----------
  addRespectingMetadataAndCloning: Returns actual used value

Prism APIs if sillently skipped add, there was no way to determine
which value was used instead, return actually added (or reused) value
if called addRespectingMetadataAndClonning


  Commit: 89c9200bd4d142beee892661836af59116c2e2ab
      https://github.com/Evolveum/prism/commit/89c9200bd4d142beee892661836af59116c2e2ab
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/ItemDelta.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/delta/ItemDeltaImpl.java

  Log Message:
  -----------
  ItemDelta: After applying Add operation, capture real values used.

This is useful for repository, which needs to know real applied value
instead of submitted value for computing partial full objects.


Compare: https://github.com/Evolveum/prism/compare/2fb6776fbe44...89c9200bd4d1

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


More information about the midPoint-svn mailing list