[midPoint-git] [Evolveum/midpoint] 183977: Make AU tests in model-intest work

mederly noreply at github.com
Fri Jan 29 20:40:48 CET 2021


  Branch: refs/heads/feature/live-sync-unification
  Home:   https://github.com/Evolveum/midpoint
  Commit: 183977e66e314195ffccc868d59872a1a2da568b
      https://github.com/Evolveum/midpoint/commit/183977e66e314195ffccc868d59872a1a2da568b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/AsyncUpdateTaskHandler.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestAsyncUpdateGrouperJson.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestAsyncUpdateUcf.java
    A model/model-intest/src/test/resources/async/grouper-amqp091/task-async-update.xml
    A model/model-intest/src/test/resources/async/ucf/task-async-update.xml

  Log Message:
  -----------
  Make AU tests in model-intest work


  Commit: ce32fa50fbafef34688bb038211a4830b80f7087
      https://github.com/Evolveum/midpoint/commit/ce32fa50fbafef34688bb038211a4830b80f7087
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestNotifyChange.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/adoption/AdoptedExternalChange.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ExternalResourceObjectChange.java

  Log Message:
  -----------
  Fix external changes

The model.notifyChange() now works. However, the API (mainly
ResourceObjectShadowChangeDescriptionType) should be defined
more precisely.


  Commit: 15d116c64b960841e2fb5089e65117778f2f0ece
      https://github.com/Evolveum/midpoint/commit/15d116c64b960841e2fb5089e65117778f2f0ece
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-01-29 (Fri, 29 Jan 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/AsyncUpdateTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/LiveSyncTaskHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/Synchronizer.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/recon/ReconciliationTaskThirdPartExecution.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestLiveSyncTaskMechanics.java
    M model/model-intest/src/test/resources/sync/resource-dummy-multi-changes.xml
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/SynchronizationEvent.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/adoption/AdoptedChange.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessingBeans.java
    R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ErrorHandlingStrategyExecutor.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/SynchronizationEventImpl.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeTaskPartExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeItemProcessor.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractTaskExecution.java
    A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ErrorHandlingStrategyExecutor.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/ItemProcessingGatekeeper.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/util/RepoCommonUtils.java

  Log Message:
  -----------
  Revive old LiveSync error handling code

The ErrorHandlingStrategyExecutor was moved into repo-common
and hacked into new LiveSyncTaskHandler.

(Now it should be generalized for the use of other iterative tasks.
Also, task suspension should be implemented seriously.)

Plus some other minor improvements were done.


Compare: https://github.com/Evolveum/midpoint/compare/403e600f5bb3...15d116c64b96


More information about the midPoint-svn mailing list