[midPoint-git] [Evolveum/midpoint] d15a3c: Handle focus deletion via discovery correctly

Dominik Horvath noreply at github.com
Wed Dec 11 10:21:43 CET 2024


  Branch: refs/heads/contentAssist
  Home:   https://github.com/Evolveum/midpoint
  Commit: d15a3ce22fa83be886ede7944ba4d73258edc81d
      https://github.com/Evolveum/midpoint/commit/d15a3ce22fa83be886ede7944ba4d73258edc81d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAbortedException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkConflictResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/FocusGoneException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedResourceObjectConstructionImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/Projector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SingleShadowInboundsProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/MissingShadowContextRefresher.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/lens/projector/loader/ProjectionUpdateOperation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java

  Log Message:
  -----------
  Handle focus deletion via discovery correctly

The focus deletion occurring via discovery (in inner clockwork run)
is now correctly handled by outer clockwork run: the run is immediately
aborted, as there's basically nothing to do when the focus is gone.

This resolves MID-10195.


  Commit: 7added5c8f0cde1dc6ceb6743c9d66840cdb6617
      https://github.com/Evolveum/midpoint/commit/7added5c8f0cde1dc6ceb6743c9d66840cdb6617
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/_admin-lte-overrides.scss
    M gui/admin-gui/src/frontend/scss/midpoint-utils.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/Badge.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BadgePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/DropdownButtonPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaign.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignStateHelper.java

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


  Commit: e94a3d319451243d6904f610beed1e72cd5a09e4
      https://github.com/Evolveum/midpoint/commit/e94a3d319451243d6904f610beed1e72cd5a09e4
  Author: Patrik <patkomalinak at gmail.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/_admin-lte-overrides.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ActiveCampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.java

  Log Message:
  -----------
  Certifications: Upgrading styles of campaign tiles


  Commit: b03ecee89ed78d64f0dc2a62111b6e68fddca380
      https://github.com/Evolveum/midpoint/commit/b03ecee89ed78d64f0dc2a62111b6e68fddca380
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java

  Log Message:
  -----------
  fix for 10206 Unable to display ServiceType correctly in the role catalog of request access


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

  Changed paths:
    M gui/admin-gui/src/frontend/scss/_admin-lte-overrides.scss
    M gui/admin-gui/src/frontend/scss/midpoint-utils.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/Badge.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BadgePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/DropdownButtonPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaign.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ActiveCampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignActionButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignStateHelper.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowReferenceAttributesCollection.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationTargetSearchExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAbortedException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkConflictResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/FocusGoneException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedResourceObjectConstructionImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/Projector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SingleShadowInboundsProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/MissingShadowContextRefresher.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/lens/projector/loader/ProjectionUpdateOperation.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/sync/TestImportRecon.java
    A model/model-intest/src/test/resources/associations/archetype-ad3-role-A.xml
    A model/model-intest/src/test/resources/associations/archetype-ad3-role-B.xml
    A model/model-intest/src/test/resources/associations/resource-dummy-ad3-mixed-groups.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectModifyOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resourceobjects/ResourceObjectUcfModifyOperation.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/AssociationsHelper.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowModifyOperation.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyVolatility.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/AbstractModificationConverter.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnIdObjectConvertor.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnectorInstanceConnIdImpl.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/DeltaModificationConverter.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/ShadowPartitioningTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusAsserter.java

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


  Commit: 535be379f85483f094b07963c11964ba6e13d119
      https://github.com/Evolveum/midpoint/commit/535be379f85483f094b07963c11964ba6e13d119
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
    M repo/repo-sqale/testng-unit.xml

  Log Message:
  -----------
  MID-10231: Fixed deadlock in Sqale repository by processing URIs before opening transaction

In case of auto-partitioning URI caching transactions and retries did not worked
corretly which resulted in deadlock on PostgreSQL side.

URI caching is done for some URIs before real add transaction is opened.
This ensures URIs will be available to transaction and less retries.

The solution does not account for all possible cached URIs since some
are cached via Item Mappings and some are hardcoded in the code.


  Commit: d4064dd527653477025b2cfe2e6e2094a8fff168
      https://github.com/Evolveum/midpoint/commit/d4064dd527653477025b2cfe2e6e2094a8fff168
  Author: Tony Tkáčik <tonydamage at gmail.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java

  Log Message:
  -----------
  MID-10231: Fixed NPE in AddObjectContext


  Commit: cfda60dfd67f58ae9e54f2c0bc32d66ab26f4dbd
      https://github.com/Evolveum/midpoint/commit/cfda60dfd67f58ae9e54f2c0bc32d66ab26f4dbd
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/password/ProtectedStringPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/ProtectedStringPanelFactory.java

  Log Message:
  -----------
  fix for 10129 Password policy checks are being applied to an extension attribute of the ProtectedStringType


  Commit: 5d466a684b424dda5d8f64a40fdbb9f5b67ddea8
      https://github.com/Evolveum/midpoint/commit/5d466a684b424dda5d8f64a40fdbb9f5b67ddea8
  Author: KaterynaHonchar <honchar at evolveum.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
    M repo/repo-sqale/testng-unit.xml

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


  Commit: 893705511ff44321ed91d53e7ea467397b9f566e
      https://github.com/Evolveum/midpoint/commit/893705511ff44321ed91d53e7ea467397b9f566e
  Author: dominikhorvath <dominikhorvath138 at gmail.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/_admin-lte-overrides.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/password/ProtectedStringPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/ProtectedStringPanelFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/ActiveCampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DeadlinePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAbortedException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkConflictResolver.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/FocusGoneException.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ConstructionEvaluation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedResourceObjectConstructionImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/Projector.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SingleShadowInboundsProcessing.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoader.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/MissingShadowContextRefresher.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/lens/projector/loader/ProjectionUpdateOperation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/AddObjectContext.java
    M repo/repo-sqale/testng-unit.xml

  Log Message:
  -----------
  Merge branch 'refs/heads/master' into contentAssist


Compare: https://github.com/Evolveum/midpoint/compare/8f7007870220...893705511ff4

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