[midPoint-git] [Evolveum/midpoint] 362c77: Add more complex async tests in provisioning

mederly noreply at github.com
Tue Mar 12 18:45:48 CET 2019


  Branch: refs/heads/feature/messaging-as-source
  Home:   https://github.com/Evolveum/midpoint
  Commit: 362c778e918897666e23c79f966abbc0b52eda5e
      https://github.com/Evolveum/midpoint/commit/362c778e918897666e23c79f966abbc0b52eda5e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-03-11 (Mon, 11 Mar 2019)

  Changed paths:
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/ItemInfo.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/EntitlementConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowManager.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdate.java
    A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdateCaching.java
    A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdateNoCaching.java
    M provisioning/provisioning-impl/src/test/resources/async/change-100-banderson-first-occurrence.xml
    A provisioning/provisioning-impl/src/test/resources/async/change-110-banderson-delta.xml
    A provisioning/provisioning-impl/src/test/resources/async/change-120-banderson-new-state.xml
    A provisioning/provisioning-impl/src/test/resources/async/change-130-banderson-delete.xml
    M provisioning/provisioning-impl/src/test/resources/async/resource-async.xml
    M provisioning/provisioning-impl/testng-integration.xml
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/TransformationalAsyncUpdateListener.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Add more complex async tests in provisioning

Plus a small fix in prism parsing.


  Commit: 483dbe57f1e3e90382ae97120f8d72a82bcf7363
      https://github.com/Evolveum/midpoint/commit/483dbe57f1e3e90382ae97120f8d72a82bcf7363
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-03-12 (Tue, 12 Mar 2019)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/SynchronizationUtils.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/CorrelationConfirmationEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ReconciliationTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizeAccountResultHandler.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/MockAsyncUpdateSource.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestAsyncUpdateUcf.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestNotifyChange.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/messaging/TestMessagingFromMessages.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/messaging/TestNotifyChange.java
    A model/model-intest/src/test/resources/async/notify-change/resource-grouper.xml
    A model/model-intest/src/test/resources/async/notify-change/shadow-alumni.xml
    A model/model-intest/src/test/resources/async/notify-change/shadow-banderson-with-groups.xml
    A model/model-intest/src/test/resources/async/notify-change/shadow-banderson.xml
    A model/model-intest/src/test/resources/async/notify-change/shadow-jlewis685.xml
    A model/model-intest/src/test/resources/async/notify-change/shadow-staff.xml
    A model/model-intest/src/test/resources/async/ucf/100_banderson_super_add.json
    A model/model-intest/src/test/resources/async/ucf/105_jlewis685_super_add.json
    A model/model-intest/src/test/resources/async/ucf/110_alumni_add.json
    A model/model-intest/src/test/resources/async/ucf/120_staff_add.json
    A model/model-intest/src/test/resources/async/ucf/200_banderson_alumni_add.json
    A model/model-intest/src/test/resources/async/ucf/210_jlewis685_staff_add.json
    A model/model-intest/src/test/resources/async/ucf/change-100-banderson-first-occurrence.xml
    A model/model-intest/src/test/resources/async/ucf/change-105-jlewis685-first-occurrence.xml
    A model/model-intest/src/test/resources/async/ucf/change-110-alumni-first-occurrence.xml
    A model/model-intest/src/test/resources/async/ucf/change-110a-staff-first-occurrence.xml
    A model/model-intest/src/test/resources/async/ucf/change-130-banderson-delete.xml
    A model/model-intest/src/test/resources/async/ucf/change-200-banderson-add-groups-full-shadow.xml
    A model/model-intest/src/test/resources/async/ucf/change-210-jlewis685-add-alumni.xml
    A model/model-intest/src/test/resources/async/ucf/change-300-banderson-delete.xml
    A model/model-intest/src/test/resources/async/ucf/change-310-staff-delete.xml
    A model/model-intest/src/test/resources/async/ucf/message-processing.xml
    A model/model-intest/src/test/resources/async/ucf/resource-grouper-ucf-internal.xml
    R model/model-intest/src/test/resources/messaging/100_banderson_super_add.json
    R model/model-intest/src/test/resources/messaging/105_jlewis685_super_add.json
    R model/model-intest/src/test/resources/messaging/110_alumni_add.json
    R model/model-intest/src/test/resources/messaging/120_staff_add.json
    R model/model-intest/src/test/resources/messaging/200_banderson_alumni_add.json
    R model/model-intest/src/test/resources/messaging/210_jlewis685_staff_add.json
    R model/model-intest/src/test/resources/messaging/change-100-banderson-first-occurrence.xml
    R model/model-intest/src/test/resources/messaging/message-processing.xml
    R model/model-intest/src/test/resources/messaging/resource-grouper.xml
    R model/model-intest/src/test/resources/messaging/shadow-alumni.xml
    R model/model-intest/src/test/resources/messaging/shadow-banderson-with-groups.xml
    R model/model-intest/src/test/resources/messaging/shadow-banderson.xml
    R model/model-intest/src/test/resources/messaging/shadow-jlewis685.xml
    R model/model-intest/src/test/resources/messaging/shadow-staff.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceObjectChangeListener.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceObjectShadowChangeDescription.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceEventListenerImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/errorhandling/ObjectAlreadyExistHandler.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/errorhandling/ObjectNotFoundHandler.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorDiscovery.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/MockAsyncUpdateSource.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdate.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdateCaching.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/async/TestAsyncUpdateNoCaching.java
    A provisioning/provisioning-impl/src/test/resources/async/resource-async-caching.xml
    A provisioning/provisioning-impl/src/test/resources/async/resource-async-no-caching.xml
    R provisioning/provisioning-impl/src/test/resources/async/resource-async.xml
    R provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfAsyncUpdate.java.OLD
    R provisioning/ucf-impl-connid/src/test/resources/resource-async.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyResourceContoller.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/Task.java

  Log Message:
  -----------
  Add model-level async update test

Also cleaned up the LiveSync/AsyncUpdate code at various places,
mainly in ShadowCache (ResourceObjectConverter still waits for
its time).

The change.currentShadow is now filled-in in provisioning even if
change.objectDelta is used (by using cached or fresh resource object).


Compare: https://github.com/Evolveum/midpoint/compare/9a091d7c9bb7...483dbe57f1e3


More information about the midPoint-svn mailing list