[midPoint-git] [Evolveum/midpoint] fdcae0: Fix returned shadow consistency checks

mederly noreply at github.com
Mon Dec 23 20:55:54 CET 2024


  Branch: refs/heads/tmp/mid-9932
  Home:   https://github.com/Evolveum/midpoint
  Commit: fdcae0e8446bebe7889c2a14a70ab6018b58234d
      https://github.com/Evolveum/midpoint/commit/fdcae0e8446bebe7889c2a14a70ab6018b58234d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-23 (Mon, 23 Dec 2024)

  Changed paths:
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/Shadow.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/operations/ProvisioningGetOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AssociationsHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ReturnedShadowValidityChecker.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.java

  Log Message:
  -----------
  Fix returned shadow consistency checks

1. We no longer require referenced shadows to have their own reference
attributes resolved. It is just too big and unnecessary overhead.

2. To ensure that the returned objects will have their reference
attributes resolved, we carry that out even if there are no associations
defined. So the returned objects will be consistent for both cases:
with associations definitions and without them.

3. The consistency checks are now skipped if there are some issues
regarding the reference attribute values resolution.

This fixes some failing tests (TestAssociations, TestMetaMeta).



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