[midPoint-git] [Evolveum/midpoint] 0f5ad9: Fix updating index-only attributes in provisioning

mederly noreply at github.com
Wed Aug 25 17:04:30 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 0f5ad9b8bad20ddffcdf063cc0bad432f2eaacdc
      https://github.com/Evolveum/midpoint/commit/0f5ad9b8bad20ddffcdf063cc0bad432f2eaacdc
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ObjectClassComplexTypeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainer.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/GetHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputer.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowManager.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowUpdater.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java
    A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCachingIndexOnly.java
    A provisioning/provisioning-impl/src/test/resources/dummy/dummy-caching/resource-dummy-index-only.xml
    M provisioning/provisioning-impl/testng-integration.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Fix updating index-only attributes in provisioning

Index-only cached attributes were not correctly maintained in repo.
This is now fixed:

1) ShadowUpdater#updateShadow now explicitly retrieves index-only
attributes from the repository before computing update deltas
(if needed).

2) ResourceAttributeContainer#convertFromContainer method now correctly
preserves "incomplete" flag on individual attributes.

This should fix MID-7162.


  Commit: dcd0a7af421f7a0e7e31633af0c3c352af3b4aef
      https://github.com/Evolveum/midpoint/commit/dcd0a7af421f7a0e7e31633af0c3c352af3b4aef
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/autocomplete/ReferenceConverter.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebModelServiceUtils.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/ReferenceAutocomplete.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/ReferenceValueSearchPopupPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/dto/AuditEventRecordProvider.java
    M infra/common/src/test/java/com/evolveum/midpoint/common/TestCryptoUtil.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelAuditService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/AuditController.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAudit.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M pom.xml
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/TestConnectorManager.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/ConfigurableProtectorFactory.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/ProtectorConfiguration.java

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


Compare: https://github.com/Evolveum/midpoint/compare/cad2541e5a87...dcd0a7af421f


More information about the midPoint-svn mailing list