[midPoint-git] [Evolveum/midpoint] 2bebf8: Add on-demand fetching of items for mappings

mederly noreply at github.com
Fri Jan 17 14:35:24 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 2bebf83dad50a5bd91a2f582faa525f707551e2a
      https://github.com/Evolveum/midpoint/commit/2bebf83dad50a5bd91a2f582faa525f707551e2a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/ItemDeltaItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/SelectorOptions.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/PrettyPrinter.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingFactory.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/AbstractModelCommonTest.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpressionUtil.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/MappingTestEvaluator.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingComplex.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDomain.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSysVar.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingTime.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluator.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/PathExpressionResolver.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditCleanupPerformanceTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/CleanupTest.java
    R repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/util/SimpleTaskAdapter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/UserAsserter.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/test/NullTaskImpl.java
    M testing/story/src/test/resources/photo/archetype-id-card.xml

  Log Message:
  -----------
  Add on-demand fetching of items for mappings

This commit resolves MID-5772: When a mapping source is incomplete
(e.g. $immediateRole/jpegPhoto) we load it on demand.

Note that the solution provided here is not 100% finished, from both
functional (MID-6001) and performance (MID-6002) point of view.

This commit also fixes a fault in RepositoryCache where we considered
non-user focus types (e.g. ServiceType, RoleType, OrgType) as loaded
fully even with no RETRIEVE options specified. This is not true
because they can contain jpegPhoto! Fixing this bug can result in
some performance degradation because cache is avoided in more cases
than before. See also MID-6003.

Other minor changes:
- SimpleTaskAdapter was renamed to NullTaskImpl and moved to task-api.
- Minor refactorings were done.


  Commit: 5419c2f1071211f1e2e09a16cbf9876086bcc398
      https://github.com/Evolveum/midpoint/commit/5419c2f1071211f1e2e09a16cbf9876086bcc398
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/CaseTests.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/16c68257e06e...5419c2f10712


More information about the midPoint-svn mailing list