[midPoint-git] [Evolveum/midpoint] b4fa7b: Performance: Use flyweight clones

mederly noreply at github.com
Fri Mar 21 22:11:16 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b4fa7be912fb32cc5c1f51baa560ff4f71643812
      https://github.com/Evolveum/midpoint/commit/b4fa7be912fb32cc5c1f51baa560ff4f71643812
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M pom.xml

  Log Message:
  -----------
  Performance: Use flyweight clones


  Commit: fedab162e05ed7b8adba0964374d44ee6c848628
      https://github.com/Evolveum/midpoint/commit/fedab162e05ed7b8adba0964374d44ee6c848628
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java

  Log Message:
  -----------
  Performance: Use FlyweightClonedItem


  Commit: 74c98d050acc723d69d3a260445c43512264f2a4
      https://github.com/Evolveum/midpoint/commit/74c98d050acc723d69d3a260445c43512264f2a4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M pom.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/feature/flyweight-clones' into feature/less-cloning


  Commit: 98a3c8d6831dc137be7aa7f98c58577bc6864809
      https://github.com/Evolveum/midpoint/commit/98a3c8d6831dc137be7aa7f98c58577bc6864809
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java

  Log Message:
  -----------
  Fix compilation error


  Commit: 238dd624db9133f48a4b88e2b2be5364b8d62696
      https://github.com/Evolveum/midpoint/commit/238dd624db9133f48a4b88e2b2be5364b8d62696
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpHandler.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/values/CachedObjectValue.java

  Log Message:
  -----------
  Improve performance of computing "complete" flag

This flag is used to know whether we can return an object (obtained
using standard options), when asking for a complete object.

The computation of this flag was not efficient enough. It is now fixed:
Materialization of value metadata is no longer done, and the double
computation (for local and global cache) is avoided.


  Commit: fe0e3c4e1a95edbb427fa008f11df73fd8c257a0
      https://github.com/Evolveum/midpoint/commit/fe0e3c4e1a95edbb427fa008f11df73fd8c257a0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/values/CachedObjectValue.java

  Log Message:
  -----------
  Improve the fix related to the "complete" flag

Previously, we forgot to skip the value metadata processing for PCVs.


  Commit: 9567c7b5135769efbf08d84009e61b0b95539a27
      https://github.com/Evolveum/midpoint/commit/9567c7b5135769efbf08d84009e61b0b95539a27
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpExecution.java

  Log Message:
  -----------
  Remove some needless ObjectQuery.toString() calls

SearchOpExecution#getDescription can use lazy stringification, as it's
used mainly for detailed logging.


  Commit: 7bb4818e79b38318716c2dc3e1209bf87495b7fb
      https://github.com/Evolveum/midpoint/commit/7bb4818e79b38318716c2dc3e1209bf87495b7fb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResultBuilder.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/processing/ProcessingCoordinator.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java

  Log Message:
  -----------
  Turn off recording of op. result details for tasks

Normally, we don't need parameters, context info, and return values
being recorded into OperationResult. This commit turns off this feature
for background tasks.

Temporary! We need a way how to enable this recording when really
needed.


  Commit: 8c47f88e9ca1fdd27037319a97761f382cbd311d
      https://github.com/Evolveum/midpoint/commit/8c47f88e9ca1fdd27037319a97761f382cbd311d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/TaskCycleExecutor.java

  Log Message:
  -----------
  Turn off recording at more places

Some tasks were not covered by the recording turned off.


  Commit: 9038d7822a9ccd9d8523a5c68c5972f5d1d76cdf
      https://github.com/Evolveum/midpoint/commit/9038d7822a9ccd9d8523a5c68c5972f5d1d76cdf
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/internals/InternalMonitor.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationFromLinkExpressionEvaluator.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowFinder.java

  Log Message:
  -----------
  Do minor performance improvements

Mainly InternalMonitor.recordCountInternal.


  Commit: 98857415e1b3179c7b5f8a7cf039f406eeea26d9
      https://github.com/Evolveum/midpoint/commit/98857415e1b3179c7b5f8a7cf039f406eeea26d9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ElementState.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/LinkUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/Resolver.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java

  Log Message:
  -----------
  Reduce cloning for estimated old values in deltas

Now we store immutable values there "as is" (even with a parent). To
utilize this feature, even more aggressive freezing in the projector was
introduced.

(May break some tests; we'll see.)


  Commit: 04cd8da36d7c787b296bc5ca1e52a1863ec4895b
      https://github.com/Evolveum/midpoint/commit/04cd8da36d7c787b296bc5ca1e52a1863ec4895b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAuditHelper.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java

  Log Message:
  -----------
  Re-add targetRef.oid into audit records

It went missing when objects in the LensElementContext were frozen
in the previous commit. Now the OIDs are put into audit records
in a special way.

This fixes some failing tests.


  Commit: 33b858b46e83316dc384d3f196bcb539427e454d
      https://github.com/Evolveum/midpoint/commit/33b858b46e83316dc384d3f196bcb539427e454d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M docs/admin-gui/collections-views/configuration/index.adoc
    M gui/admin-gui/src/frontend/scss/midpoint.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageActiveCampaigns.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaigns.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ActiveCampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CertificationItemsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CertMiscUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
    M model/cases-api/src/main/java/com/evolveum/midpoint/cases/api/util/QueryUtils.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/opendj/AbstractOpenDjNoiseTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/OtherParameters.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TestSystemPerformance.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into feature/less-cloning


  Commit: 00c7f030a56e9a4800e8778074dafbb0817fde77
      https://github.com/Evolveum/midpoint/commit/00c7f030a56e9a4800e8778074dafbb0817fde77
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ItemDeltaBeanToNativeConversion.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttributeImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.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/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceCache.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/OtherParameters.java

  Log Message:
  -----------
  Optimize assignment path vars creation, part 1

In LensUtil.computeAssignmentPathVariables, cloning is replaced by
copy() calls.

Other changes:

- createImmutableClone() calls are replaced by immutableCopy().
- Unused method in ModelInteractionService (that called it as well)
is removed.
- Support for default copy() was added to shadow items (attributes,
associations). However, it is not complete, and probably will not work
too much! These should be supported by flyweights as well, eventually.
- Eliminated unnecessary double delta cloning when adding a delta into
executed deltas (ODOs).

Work in progress.


  Commit: b30fab4bf0a4c10b443e5fce60a319114b992c07
      https://github.com/Evolveum/midpoint/commit/b30fab4bf0a4c10b443e5fce60a319114b992c07
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-14 (Fri, 14 Mar 2025)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Upgrade cache2k to 2.6.1.Final

This is to test the effect on performance of cache invalidations.


  Commit: f9610927a9a2d9dbb6e6d5111e0eac4a15013a6f
      https://github.com/Evolveum/midpoint/commit/f9610927a9a2d9dbb6e6d5111e0eac4a15013a6f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/AssignmentPathSegment.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/MagicAssignment.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathSegmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/Util.java

  Log Message:
  -----------
  Provide magic assignments lazily

The creation of magic assignment is still relatively costly operation.
This commit postpones it until it's really used by a mapping.

Work in progress.


  Commit: d4d19fbc026b87b17c3acd366d74f96c8e7bd059
      https://github.com/Evolveum/midpoint/commit/d4d19fbc026b87b17c3acd366d74f96c8e7bd059
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-16 (Sun, 16 Mar 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java

  Log Message:
  -----------
  Fix magic assignment computation


  Commit: 6f3e501f49dbe1c415971b635562203994b06eb3
      https://github.com/Evolveum/midpoint/commit/6f3e501f49dbe1c415971b635562203994b06eb3
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M testing/story/src/test/resources/system-perf/resource-target.vm.xml

  Log Message:
  -----------
  TestSystemPerformance: Add activation mapping

Activation is volatile in dummy connector, which triggers additional
writes on reconciliaiton / synchronization.

Added mapping to enforce value and proper caching of first shadow create
in order to cache it properly.


  Commit: 65289712197aa446102001440df0c99a1782cc04
      https://github.com/Evolveum/midpoint/commit/65289712197aa446102001440df0c99a1782cc04
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/NormalizationAwareResourceAttributeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskOperationStatsUtil.java

  Log Message:
  -----------
  Add equals() for normalization-aware definition

The omission of this method reduced the effectiveness of repo cache
of ShadowType objects, because the repeated query was not recognized
as equal.

Also, re-added cache statistics into test results (they went missing
by change when bucketing was introduced).


  Commit: 40b1ede6dc9fa25c429e06a528dd07779b5e2e75
      https://github.com/Evolveum/midpoint/commit/40b1ede6dc9fa25c429e06a528dd07779b5e2e75
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestMisc.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/reports/InternalOperationsReport.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java

  Log Message:
  -----------
  Improve op. result performance reporting

For optional data, we now use long instead of Long values.
PoC quality. To be reviewed.


  Commit: c9dc9869be4f5a2006584b1d61894c087d9b1378
      https://github.com/Evolveum/midpoint/commit/c9dc9869be4f5a2006584b1d61894c087d9b1378
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java

  Log Message:
  -----------
  Remove unnecessary shortDump() call


  Commit: 3701e3abfa522be7e59ae6b79fdb93f1d0d82a8d
      https://github.com/Evolveum/midpoint/commit/3701e3abfa522be7e59ae6b79fdb93f1d0d82a8d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AbstractSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AssociationSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/QueryResult.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibrary.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/AbstractValuePolicyOriginResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/RawChangesExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/FocusLoadOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceExpansionOperation.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
    M repo/repo-cache/src/test/java/com/evolveum/midpoint/repo/cache/TestRepositoryCache.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/SystemObjectCache.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/NodeRegistrar.java

  Log Message:
  -----------
  Relax freezing objects when R/O option is used

Recently, we've introduced a behavior that always froze objects being
returned from "get" and "search" repository operations if read-only
option is used.

This may be safer, but generally it is a waste of processing time.

This commit returns to the original semantics of the read-only option:
the repository cache may return either mutable or immutable version
of the object. (The latter case occurs if the object is being put or
is retrieved from the cache.)

Some extra "freeze" calls were added at places where the returned
objects are to be shared.


  Commit: d497719199a8acff8881ed9e4af74e831d577423
      https://github.com/Evolveum/midpoint/commit/d497719199a8acff8881ed9e4af74e831d577423
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationFromLinkExpressionEvaluator.java

  Log Message:
  -----------
  Eliminate cloning when creating SAVs

Plus, added object class as a search criterion while doing
<associationFromLink> evaluation. It should help with shadow
partitioning as well as (eventual) object class specific repo caching.


  Commit: a593a7a27421be06c84179bba19b196b09032ef3
      https://github.com/Evolveum/midpoint/commit/a593a7a27421be06c84179bba19b196b09032ef3
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/SummaryOutputFile.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TestSystemPerformance.java

  Log Message:
  -----------
  Log shadow caching mode in TestSystemPerformance


  Commit: 512186faf954b0c4f62e62f13fabb5c36cf126b8
      https://github.com/Evolveum/midpoint/commit/512186faf954b0c4f62e62f13fabb5c36cf126b8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/SingleShotEvaluation.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingBuilder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/ItemValueMetadataProcessingSpec.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/ConditionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationValuesTripleComputation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ResourceObjectConstruction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRulesCollector.java

  Log Message:
  -----------
  Disable value metadata for selected mappings

Currently, there's no need to compute value metadata when
computing values of various conditions as well as for outbound
mappings. So, this commit eliminates that.

This fixes failing TestVisualizer, and may improve performance
a bit.


  Commit: 80718a27e1f92e9101e9b6cd55117577dc449ea0
      https://github.com/Evolveum/midpoint/commit/80718a27e1f92e9101e9b6cd55117577dc449ea0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-20 (Thu, 20 Mar 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/MetadataWrapperFactoryImpl.java

  Log Message:
  -----------
  Fix a compilation error


  Commit: 21edecafee6c197b56f413af577ce6d84d2ee4fc
      https://github.com/Evolveum/midpoint/commit/21edecafee6c197b56f413af577ce6d84d2ee4fc
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestMisc.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/reports/InternalOperationsReport.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java

  Log Message:
  -----------
  Review long vs. Long in OperationResult

This is a refinement of 40b1ede6dc9fa25c429e06a528dd07779b5e2e75 that
replaced Long with long in OperationResult class (because of higher
efficiency).


  Commit: 73bbf215a6533eaa380a8ece64e63acd5d7c964d
      https://github.com/Evolveum/midpoint/commit/73bbf215a6533eaa380a8ece64e63acd5d7c964d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java

  Log Message:
  -----------
  Add a few annotations


  Commit: 900567ae9e8c1e2076c30a7011bd49a130238b38
      https://github.com/Evolveum/midpoint/commit/900567ae9e8c1e2076c30a7011bd49a130238b38
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/MetadataWrapperFactoryImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/ItemDeltaBeanToNativeConversion.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/internals/InternalMonitor.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/NormalizationAwareResourceAttributeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowReferenceAttributeValue.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttribute.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowSimpleAttributeImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResultBuilder.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskOperationStatsUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/AssignmentPathSegment.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationFromLinkExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AbstractSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/AssociationSearchExpressionEvaluatorCache.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/caching/QueryResult.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/SingleShotEvaluation.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibrary.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingBuilder.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/ItemValueMetadataProcessingSpec.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/AbstractValuePolicyOriginResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/RawChangesExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAuditHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ElementState.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/MagicAssignment.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathSegmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/ConditionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/Util.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationValuesTripleComputation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ResourceObjectConstruction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/LinkUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/FocusLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRulesCollector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/Resolver.java
    M pom.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceCache.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceExpansionOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowFinder.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpExecution.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpHandler.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/values/CachedObjectValue.java
    M repo/repo-cache/src/test/java/com/evolveum/midpoint/repo/cache/TestRepositoryCache.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/SystemObjectCache.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/processing/ProcessingCoordinator.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/cluster/NodeRegistrar.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/JobExecutor.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/run/TaskCycleExecutor.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/OtherParameters.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/SummaryOutputFile.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TestSystemPerformance.java
    M testing/story/src/test/resources/system-perf/resource-target.vm.xml

  Log Message:
  -----------
  Merge branch 'feature/less-cloning'


Compare: https://github.com/Evolveum/midpoint/compare/59d59f122b49...900567ae9e8c

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