[midPoint-git] [Evolveum/midpoint] 7f663a: Add renaming Grouper groups from async updates

mederly noreply at github.com
Fri Nov 29 14:10:47 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 7f663a94fccc3ef2a21291854261bdfe1342144e
      https://github.com/Evolveum/midpoint/commit/7f663a94fccc3ef2a21291854261bdfe1342144e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/AbstractBaseDummyConnector.java
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/AbstractModernObjectDummyConnector.java
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/AbstractObjectDummyConnector.java
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/DummyConfiguration.java
    M icf-connectors/dummy-connector/src/main/java/com/evolveum/icf/dummy/connector/DummyConnectorLegacyUpdate.java
    M icf-connectors/dummy-resource/src/main/java/com/evolveum/icf/dummy/resource/DummyResource.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/ShadowCache.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/sync/ChangeProcessor.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/AbstractGrouperTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperLargeGroupImport.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperLargeGroupReconciliation.java
    M testing/story/src/test/resources/grouper/change-110-alumni-add.json
    M testing/story/src/test/resources/grouper/change-115-staff-add.json
    M testing/story/src/test/resources/grouper/change-200-banderson-add-alumni.json
    M testing/story/src/test/resources/grouper/change-210-banderson-add-staff.json
    M testing/story/src/test/resources/grouper/change-220-jlewis685-add-alumni.json
    M testing/story/src/test/resources/grouper/change-221-jlewis685-add-staff.json
    M testing/story/src/test/resources/grouper/change-230-nobody-add-alumni.json
    M testing/story/src/test/resources/grouper/change-250-banderson-delete-alumni.json
    A testing/story/src/test/resources/grouper/change-305-staff-rename.json
    M testing/story/src/test/resources/grouper/change-310-staff-delete.json
    M testing/story/src/test/resources/grouper/function-library-grouper.xml
    M testing/story/src/test/resources/grouper/resource-grouper.xml

  Log Message:
  -----------
  Add renaming Grouper groups from async updates

This commit modifies ChangeProcessor to be able to fetch current
resource object when notification-only change is encountered
(if supported by the resource).

We also enhanced Dummy connector/resource to support externally-supplied
UID values (UID_MODE_EXTERNAL) and migrated Grouper story tests to use
UID_MODE_EXTERNAL.

This is a part of MID-5932 resolution. (Not complete, though. Now we
run the clockwork for each async update, which has to be selectively
stopped.)


  Commit: f71458c46837b005576350d99c68c155423a296c
      https://github.com/Evolveum/midpoint/commit/f71458c46837b005576350d99c68c155423a296c
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-11-28 (Thu, 28 Nov 2019)

  Changed paths:
    M build-system/pom.xml
    M gui/admin-gui/pom.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/AbstractAssignmentPopupTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/TypedAssignablePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/FocusTabVisibleBehavior.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/boot/MidPointSpringApplication.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/WebSecurityConfig.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/actuator/ActuatorWebSecurityConfig.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/form/Form.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/MainMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/SideBarMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/UserMenuPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/UserMenuPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/objectdetails/FocusTasksTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCaseWorkItems.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCaseWorkItemsAllocatedToMe.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageWorkItemsClaimable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/PageMyPasswordQuestions.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/PersonalInfoPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/RunReportPopupPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTaskAdd.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageWorkItemsAttorney.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/dto/WorkItemDtoProvider.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/error/PageError.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/forgetpassword/PageSecurityQuestions.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageLogin.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageLogin.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageSamlSelect.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageSamlSelect.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageAbstractSelfCredentials.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PagePostAuthentication.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfConsents.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageSelfDashboard.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/AuditedLogoutHandler.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/BasicWebSecurityConfig.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointApplication.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointAuthWebSession.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointAuthenticationProvider.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointAuthenticationSuccessHandler.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointGuiAuthorizationEvaluator.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointAuthenticationFauileHandler.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointAuthenticationTrustResolverImpl.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointProviderManager.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointSaml2Provider.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointServiceProviderLogoutHandler.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointWebSecurityConfiguration.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/SecurityUtils.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/WicketLoginUrlAuthenticationEntryPoint.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointAnonymousAuthenticationFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointAuthFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointExceptionTranslationFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointFilterChainProxy.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointRequestAttributeAuthenticationFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointRequestHeaderAuthenticationFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointSamlAuthenticationRequestFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointSamlAuthenticationResponseFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/MidpointUsernamePasswordAuthenticationFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/PreLogoutFilter.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/configurers/AuthFilterConfigurer.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/configurers/MidpointExceptionHandlingConfigurer.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/filter/configurers/MidpointFormLoginConfigurer.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/AuthModule.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/HttpHeaderModuleWebConfig.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/LoginFormModuleWebSecurityConfig.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/ModuleWebSecurityConfig.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/SamlModuleWebSecurityConfig.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/authentication/HttpHeaderModuleAuthentication.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/authentication/LoginFormModuleAuthentication.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/authentication/MidpointAuthentication.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/authentication/ModuleAuthentication.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/authentication/Saml2ModuleAuthentication.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/configuration/HttpHeaderModuleWebSecurityConfiguration.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/configuration/ModuleWebSecurityConfiguration.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/configuration/SamlModuleWebSecurityConfiguration.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/factory/AuthModuleRegistryImpl.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/factory/HttpHeaderModuleFactory.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/factory/LoginFormModuleFactory.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/factory/ModuleFactory.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/module/factory/Saml2ModuleFactory.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/IdentityProvider.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/ModuleType.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/RequestState.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/SecurityUtils.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/util/StateOfModule.java
    M gui/admin-gui/src/main/resources/application.yml
    M gui/admin-gui/src/test/java/com/evolveum/midpoint/web/AbstractGuiIntegrationTest.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-security-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/AuthenticationEvaluator.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/AbstractAuthenticationContext.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/PasswordAuthenticationContext.java
    A model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/PreAuthenticationContext.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/SystemObjectCache.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/AuthenticationEvaluatorImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/DummyItsmIntegrationConnectorInstance.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/multi/TestMultiConnectorResources.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestBrokenResources.java
    M pom.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ConnectorInstance.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/ExecuteProvisioningScriptOperation.java
    M provisioning/ucf-api/src/main/java/com/evolveum/midpoint/provisioning/ucf/api/connectors/AbstractManualConnectorInstance.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ManualConnectorInstance.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/async/AsyncUpdateConnectorInstance.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/ConnectorInstanceConnIdImpl.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummy.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfDummyMulti.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/TestBase.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/UserTest.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/ImportResourceTest.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/page/AboutPageTest.java
    A testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/page/AbstractLoginPageTest.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/page/LoginPageTest.java
    A testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/page/LoginPageWithAuthenticationConfigTest.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/ObjectListArchetypeTests.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/PostAuthenticationTests.java
    A testing/schrodingertest/src/test/resources/configuration/objects/securitypolicies/flexible-authentication-policy.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/users/disabled-user.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/users/enabled-user-without-authorizations.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/users/enabled-user.xml
    A testing/schrodingertest/src/test/resources/configuration/objects/users/user-without-superuser.xml
    M testing/schrodingertest/src/test/resources/configuration/schrodinger.properties
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/MidPoint.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/LoggedUser.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/FeedbackBox.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/report/AuditRecordTable.java
    R tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/LoginPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/configuration/AboutPage.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/login/FormLoginPage.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/login/LoginPage.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/login/SamlSelectPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/report/AuditLogViewerPage.java

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


  Commit: bcbc5a6512e91e6ec5c840850c9a7f9db4703f95
      https://github.com/Evolveum/midpoint/commit/bcbc5a6512e91e6ec5c840850c9a7f9db4703f95
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-11-29 (Fri, 29 Nov 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/constants/ExpressionConstants.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    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/integrity/ShadowIntegrityCheckResultHandler.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ProjectionValuesProcessor.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/SynchronizationExpressionsEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationService.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/SynchronizationServiceUtils.java
    R model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfiramtionEvaluator.java
    A model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
    M model/model-impl/testng-unit.xml
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GcpExpressionHelper.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
    M testing/story/src/test/resources/grouper/resource-grouper.xml

  Log Message:
  -----------
  Add condition to reaction definition

Now we are able to specify a condition for synchronization reaction
application. This allows e.g. skip synchronization for some kinds
of asynchronous updates (MID-5853) while doing it for others (MID-5932).

Also, operation result was removed from SynchronizationContext. Storing
operation result in such structures is quite dangerous and can lead
to wrong tracing of performance and functionality issues.

Various minor code improvements are there as well.


Compare: https://github.com/Evolveum/midpoint/compare/c3370f577561...bcbc5a6512e9


More information about the midPoint-svn mailing list