[midPoint-git] [Evolveum/midpoint] ee30c3: Add a test for MID-10289

Viliam Repan noreply at github.com
Thu Dec 12 12:58:58 CET 2024


  Branch: refs/heads/feature/mid-10276-dependencies-upgrade
  Home:   https://github.com/Evolveum/midpoint
  Commit: ee30c311f161bcbb831e6524a8130eda8981c5eb
      https://github.com/Evolveum/midpoint/commit/ee30c311f161bcbb831e6524a8130eda8981c5eb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java
    A model/model-intest/src/test/resources/tolerance/resource-dummy-tolerance.xml
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/AbstractModificationConverter.java

  Log Message:
  -----------
  Add a test for MID-10289

This commit also (partly) works around the situation when the projector
computes an attribute delta that is empty (no add, no delete,
no replace). Such deltas were produced during the test that demonstrates
this bug.


  Commit: 4da3d2184cce9dfa7d066dd750d5e7725ac65865
      https://github.com/Evolveum/midpoint/commit/4da3d2184cce9dfa7d066dd750d5e7725ac65865
  Author: Andrej <84732799+and-za at users.noreply.github.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/CompletedTaskCleanupTriggerHandler.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
    A model/model-intest/src/test/resources/tasks/misc/task-cleanup-subtasks-after-completion.xml

  Log Message:
  -----------
  Fix cleanup after finish to remove also subtasks (#238)

**What**

Remove not just the root task, but also all its subtasks when it is
cleaned up.

**Why**

When cleanup after finish is set on task, it should be auto-removed
after specified duration from its completion.

However there was a bug, which caused, that only the root task was
removed. If task run spawned any persistent subtasks (e.g. when
number of workers per node is specified), those were not cleaned up.
This change fixes it.

---------

Co-authored-by: Andrej Zan <mail at mail.mail>


  Commit: 98ea268157eb765904b1288ab757d7da43709543
      https://github.com/Evolveum/midpoint/commit/98ea268157eb765904b1288ab757d7da43709543
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/AttributeEqualsCheckerFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ConsolidationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ReconciliationProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyAdTrivialScenario.java
    A model/model-intest/src/test/resources/associations/raw-references/archetype-raw-group.xml
    A model/model-intest/src/test/resources/associations/raw-references/resource-dummy-raw-references.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-all-users.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-hackers.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-wheel.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-ad-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-admin-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-app-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/resource-dummy-removing-unclassified-memberships.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/SynchronizationRequest.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/TestAsyncUpdate.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAttributesAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowReferenceAttributeAsserter.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/multidomain/AbstractAdLdapMultidomainTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelivery.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapComplex.java

  Log Message:
  -----------
  Support reconciliation of reference attributes

Reference attributes were computed in the Projector, but not reconciled
in ReconciliationProcessor. This is now fixed: the missing functionality
was added there.

Related to MID-10285.

Other changes:

- Fixed type parameters for squeezedAttributes. (Actually it's strange
that everything worked even with wrong type parameter values.)
- Clarified that the default value of "searchStrategy" is
"inRepository".


  Commit: 78756091e483c5f83b0d6d17a3caf21d8cedf996
      https://github.com/Evolveum/midpoint/commit/78756091e483c5f83b0d6d17a3caf21d8cedf996
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/AbstractInputGuiComponentFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/validator/NotNullValidator.java

  Log Message:
  -----------
  fix for 10210 Task 'Reporting method is required' when searchOptions are used


  Commit: 88610b3c6fe586fd3033e6a7f507d4ff0a66b2e1
      https://github.com/Evolveum/midpoint/commit/88610b3c6fe586fd3033e6a7f507d4ff0a66b2e1
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/CompletedTaskCleanupTriggerHandler.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
    A model/model-intest/src/test/resources/tasks/misc/task-cleanup-subtasks-after-completion.xml
    A model/model-intest/src/test/resources/tolerance/resource-dummy-tolerance.xml
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/AbstractModificationConverter.java

  Log Message:
  -----------
  Merge branch 'master' of https://github.com/Evolveum/midpoint


  Commit: 0ca8471c0df00e5f95522e9d47ae7d0f27e7664b
      https://github.com/Evolveum/midpoint/commit/0ca8471c0df00e5f95522e9d47ae7d0f27e7664b
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

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

  Log Message:
  -----------
  fix for 10210 if condition update


  Commit: 5a44f652082f4f5a9cf1d3939f6801ff12532ebb
      https://github.com/Evolveum/midpoint/commit/5a44f652082f4f5a9cf1d3939f6801ff12532ebb
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/validator/ObjectValidator.java

  Log Message:
  -----------
  MID-10275 cleanup/validation notifications come also for empty natural keys


  Commit: 1c6add932c12b427f483cc9d7f095f024a2d9e2e
      https://github.com/Evolveum/midpoint/commit/1c6add932c12b427f483cc9d7f095f024a2d9e2e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/AttributeEqualsCheckerFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ConsolidationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ReconciliationProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyAdTrivialScenario.java
    A model/model-intest/src/test/resources/associations/raw-references/archetype-raw-group.xml
    A model/model-intest/src/test/resources/associations/raw-references/resource-dummy-raw-references.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-all-users.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-hackers.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-wheel.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-ad-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-admin-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-app-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/resource-dummy-removing-unclassified-memberships.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/SynchronizationRequest.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/TestAsyncUpdate.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAttributesAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowReferenceAttributeAsserter.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/multidomain/AbstractAdLdapMultidomainTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelivery.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapComplex.java

  Log Message:
  -----------
  Merge branch 'tmp/ref-attr-reconciliation'


  Commit: fdc130433c02cc70cb0c8a4c72d0bd78a1c73121
      https://github.com/Evolveum/midpoint/commit/fdc130433c02cc70cb0c8a4c72d0bd78a1c73121
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/AbstractInputGuiComponentFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/validator/NotNullValidator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/validator/ObjectValidator.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/AttributeEqualsCheckerFactory.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ConsolidationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ReconciliationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/CompletedTaskCleanupTriggerHandler.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTolerantAttributes.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyAdTrivialScenario.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
    A model/model-intest/src/test/resources/associations/raw-references/archetype-raw-group.xml
    A model/model-intest/src/test/resources/associations/raw-references/resource-dummy-raw-references.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-all-users.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-hackers.xml
    A model/model-intest/src/test/resources/associations/raw-references/shadow-wheel.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-ad-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-admin-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/archetype-rum-app-role.xml
    A model/model-intest/src/test/resources/associations/removing-unclassified-memberships/resource-dummy-removing-unclassified-memberships.xml
    A model/model-intest/src/test/resources/tasks/misc/task-cleanup-subtasks-after-completion.xml
    A model/model-intest/src/test/resources/tolerance/resource-dummy-tolerance.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/SynchronizationRequest.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/update/TestAsyncUpdate.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/AbstractModificationConverter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowAttributesAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ShadowReferenceAttributeAsserter.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/multidomain/AbstractAdLdapMultidomainTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelivery.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/ldap/TestLdapComplex.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master' into feature/mid-10276-dependencies-upgrade


Compare: https://github.com/Evolveum/midpoint/compare/412b9dcc8a81...fdc130433c02

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