[midPoint-git] [Evolveum/midpoint] e144db: Add an extra check for maintenance mode

mederly noreply at github.com
Wed Nov 3 19:33:28 CET 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: e144db5fba5508889dc08514e5666943a28bf609
      https://github.com/Evolveum/midpoint/commit/e144db5fba5508889dc08514e5666943a28bf609
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/traces/OpNode.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ProjectionFullLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContext.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/tasks/SyncTaskHelper.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMappingInbound.java
    M model/model-intest/src/test/resources/logback-test.xml
    M model/model-intest/src/test/resources/mapping/resource-dummy-tea-green.xml
    A model/model-intest/src/test/resources/mapping/role-wheel.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
    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/resourceobjects/EntitlementConverter.java

  Log Message:
  -----------
  Add an extra check for maintenance mode

In this commit we tried to reproduce values being deleted from a focus
when the source resource is in maintenance mode. We were not successful.

Nevertheless, we have implemented an extra check that prevents running
the synchronization of a resource object when the resource is in the
maintenance mode. In addition to that, a check for maintenance mode
was added at the start of ProvisioningServiceImpl#synchronize method.

Also:
- Fixed NPE when displaying specific traces.

Related to MID-7062.


  Commit: 5185c1a165a185bb25efe221f2a41139ee630ac3
      https://github.com/Evolveum/midpoint/commit/5185c1a165a185bb25efe221f2a41139ee630ac3
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-11-03 (Wed, 03 Nov 2021)

  Changed paths:
    M config/config-native.xml
    M dist/src/main/var/README.txt

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/1ba6b2970532...5185c1a165a1


More information about the midPoint-svn mailing list