[midPoint-git] [Evolveum/midpoint] 400d78: MID-8888: DeltaConverter: Added option to convert ...

Tony Tkáčik noreply at github.com
Tue Oct 10 16:51:55 CEST 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 400d78c5372c9ec86b80d7d995af27f8a244a616
      https://github.com/Evolveum/midpoint/commit/400d78c5372c9ec86b80d7d995af27f8a244a616
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M config/initial-objects/object-collection/270-object-collection-audit.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/audit/AuditChangesPanel.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ItemDeltaBeanToNativeConversion.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/Resolver.java
    M repo/system-init/src/main/resources/initial-objects/object-collection/270-object-collection-audit.xml

  Log Message:
  -----------
  MID-8888: DeltaConverter: Added option to convert unknown types to raw types

Added option to delta converter, which allows for conversion of unknown types (legacy types).
The item delta containing such type, will have runtime property definition with raw type and definition will be annotated as LegacyDelta.
This is checked by Delta Visualiser, to not reapply definitions from schema (would result in  class casts).

Delta Visualizer is able to display such items as JSON.

This option of DeltaConverter is only used in specific audit reading modes, which may encounter legacy data:
  - GUI visualization
  - Audit Reporting




More information about the midPoint-svn mailing list