[midPoint-git] [Evolveum/midpoint] bb2d27: Remove many uses of task extension items

mederly noreply at github.com
Wed Jun 30 16:26:19 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: bb2d274a2417a75c94defc213241cf6998cfd23d
      https://github.com/Evolveum/midpoint/commit/bb2d274a2417a75c94defc213241cf6998cfd23d
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskBasicTabPanel.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/ActivityDefinitionUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/BasicExpressionFunctions.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/recon/RemainingShadowsActivityExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/sync/LiveSyncActivityExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/sync/LiveSyncWorkDefinition.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/util/mock/MockFactory.java
    M model/model-impl/src/test/resources/common/task-reconcile-dummy.xml
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractEmptyModelIntegrationTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/DummyInterruptedSyncResource.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestLiveSyncTask.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestLiveSyncTaskLegacy.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestLiveSyncTaskLegacyMultithreaded.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestReconTask.java
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-errors-precise-ignore-partial-stop-on-fatal.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-errors-precise-ignore.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-errors-precise-retry-later-max-4.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-errors-precise-retry-later-on-any.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-errors-precise-stop-on-any.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-batched-imprecise.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-batched.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-dry-run-with-update.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-dry-run.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-error-imprecise.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-error.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-slow-model-imprecise.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-slow-model.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-slow-resource-imprecise.xml
    A model/model-intest/src/test/resources/tasks/livesync/legacy-task-intsync-slow-resource.xml
    M model/model-intest/src/test/resources/tasks/livesync/resource-dummy-interrupted-sync.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-errors-precise-ignore-partial-stop-on-fatal.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-errors-precise-ignore.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-errors-precise-retry-later-max-4.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-errors-precise-retry-later-on-any.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-errors-precise-stop-on-any.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-batched-imprecise.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-batched.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-dry-run-with-update.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-dry-run.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-error-imprecise.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-error.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-slow-model-imprecise.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-slow-model.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-slow-resource-imprecise.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-intsync-slow-resource.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-multi-changes.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-no-policy.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-xfer1.xml
    M model/model-intest/src/test/resources/tasks/livesync/task-xfer2.xml
    M model/model-intest/src/test/resources/tasks/recon/task-reconciliation.xml
    M model/model-intest/testng-integration-full.xml
    A provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/LiveSyncOptions.java
    M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.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/ResourceObjectConverter.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/sync/LiveSynchronizer.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/MockLiveSyncTaskHandler.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/mock/SynchronizationServiceMock.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/AbstractWorkDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDistributionDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractIterativeActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/FailedObjectsFilterCreator.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/task/ProcessingCoordinator.java
    M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketManagement.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/RunningTask.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskUtil.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java

  Log Message:
  -----------
  Remove many uses of task extension items

1) Updated LiveSyncWorkDefinition[Type] to cover all the parameters.
2) Extended TestLiveSyncTask to cover both legacy and new activity spec.
3) Updated provisioning.synchronize(..) method to correctly get all
necessary parameters without accessing task extension.
4) Worker threads are now correctly set either by distribution
definition or by the legacy task extension.

Unrelated changes:
- Removed unused items from SchemaConstants.


  Commit: 80d3d5c7d3f7baf1f0119064348acd72d50c6cc0
      https://github.com/Evolveum/midpoint/commit/80d3d5c7d3f7baf1f0119064348acd72d50c6cc0
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-06-30 (Wed, 30 Jun 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfileCompiler.java
    M model/model-test/pom.xml
    M pom.xml
    M repo/repo-sqale/sql/pgnew-repo.sql
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleQueryContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/OrgFilterProcessor.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/TypeFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/MAccessCertificationWorkItem.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/MAccessCertificationWorkItemReference.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItem.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItemMapping.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItemReference.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationWorkItemReferenceMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/MObjectType.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/MReferenceType.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchObjectTest.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/AuditSqlQueryContext.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/AuditRefItemFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryContext.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryExecutor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/FilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/NaryLogicalFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/NotFilterProcessor.java
    R repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/ObjectFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/ValueFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/querydsl/QuerydslUtils.java
    M repo/repo-test-util/pom.xml

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


Compare: https://github.com/Evolveum/midpoint/compare/c434c436dd56...80d3d5c7d3f7


More information about the midPoint-svn mailing list