[midPoint-git] [Evolveum/midpoint] 00ca18: Improve delta-to-triple-set decomposition

mederly noreply at github.com
Sat Aug 22 13:03:50 CEST 2020


  Branch: refs/heads/feature/multi-metadata
  Home:   https://github.com/Evolveum/midpoint
  Commit: 00ca189956ad49c7eca50fe9fafbb204c4e7d17e
      https://github.com/Evolveum/midpoint/commit/00ca189956ad49c7eca50fe9fafbb204c4e7d17e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/ValueSelector.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/delta/ItemDeltaImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/metadata/MidpointProvenanceEquivalenceStrategy.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ProvenanceMetadataUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-metadata-3.axiom
    M infra/schema/src/main/resources/xml/ns/public/common/common-metadata-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/CombinatorialEvaluation.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/ValueTupleTransformation.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/IvwoConsolidator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundMappingsEvaluation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestValueMetadata.java
    A model/model-intest/src/test/resources/metadata/provenance-metadata-recording/origin-crm-feed.xml
    A model/model-intest/src/test/resources/metadata/provenance-metadata-recording/resource-crm.xml
    M model/model-intest/src/test/resources/metadata/provenance-metadata-recording/resource-hr.xml
    A model/model-intest/src/test/resources/metadata/provenance-metadata-recording/task-crm-import.xml

  Log Message:
  -----------
  Improve delta-to-triple-set decomposition

1. Marked parts of provenance metadata as non-operational.
This is to enable comparing them by real value. (We should consider
changing other parts of metadata as well.)

2. Mapping now removes existing yield only if equivalent is not provided
in plus or zero output set.

3. Fixed metadata-aware delta application (ADD used to delete all
metadata).

4. IvwoConsolidator replaces metadata only if real-value-different from
existing ones. (Eliminating phantom changes at the cost of potentially
stale values. To be reconsidered.)

5. Removed channel from the provenance/acquisition "composite key".
So only originRef and resourceRef are taken into account now.

6. No longer computing metadata for values heading to minus set
(in expression evaluation).

Relates to MID-6275.




More information about the midPoint-svn mailing list