[midPoint-git] [Evolveum/midpoint] a3161a: Unify approvals and manual case management APIs

mederly noreply at github.com
Wed Jul 3 21:59:58 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a3161ae9c1483e6edcd7f6f7609dc0c1920aac23
      https://github.com/Evolveum/midpoint/commit/a3161ae9c1483e6edcd7f6f7609dc0c1920aac23
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    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/web/page/admin/cases/CaseWorkItemActionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageWorkItem.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageWorkItems.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainerValue.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/SerializationContext.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/SerializationOptions.java
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/CloneUtil.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismReferenceValueImpl.java
    M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismMarshaller.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CaseTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/complex/TestPolicyDrivenRoleLifecycle.java
    R model/model-api/src/main/java/com/evolveum/midpoint/model/api/CaseManagementService.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/WorkflowService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/manual/AbstractManualResourceTest.java
    R model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/CaseManagementEvent.java
    R model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/CaseWorkItemEvent.java
    M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkItemAllocationEvent.java
    M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkItemCustomEvent.java
    M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkItemEvent.java
    M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkItemLifecycleEvent.java
    M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/events/WorkflowEvent.java
    R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/CaseManagementListener.java
    R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/SimpleCaseManagementNotifier.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/WorkflowManager.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/api/request/CompleteWorkItemsRequest.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/util/ApprovalUtils.java
    M model/workflow-impl/pom.xml
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/WorkflowManagerImpl.java
    R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/_to_be_removed/garbage.txt
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/access/WorkItemManager.java
    A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/CaseManagementListener.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/EngineInvocationContext.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/WorkflowEngine.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/CompleteWorkItemsAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/OpenCaseAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/actions/OpenStageAction.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/helpers/AuditHelper.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/helpers/WorkItemHelper.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/WfTimedActionTriggerHandler.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PcpGeneralHelper.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PrimaryChangeProcessor.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/util/MiscHelper.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTest.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/WfTestUtil.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/AbstractWfTestLegacy.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestAddAssociationLegacy.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateModifyUserLegacy.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestCreateOrgLegacy.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/legacy/TestUserChangeApprovalLegacy.java
    A model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/manual/ManualResourceTest.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/AbstractWfTestPolicy.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/assignments/AbstractTestAssignmentApproval.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestMiscellaneous.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/policy/other/TestParallelApprovals.java
    A model/workflow-impl/src/test/resources/common/023-archetype-manual-provisioning-case.xml
    M model/workflow-impl/src/test/resources/ctx-workflow-test-main.xml
    A model/workflow-impl/src/test/resources/legacy/user-elisabeth-modify-add-assignment-role1.xml
    R model/workflow-impl/src/test/resources/legacy/user-elisabeth-modify-add-assignment-role3.xml
    A model/workflow-impl/src/test/resources/manual/resource-manual.xml
    A model/workflow-impl/src/test/resources/manual/role-one-manual.xml
    A model/workflow-impl/src/test/resources/manual/system-configuration.xml
    M model/workflow-impl/testng-integration.xml
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ConnectorFactoryBuiltinImpl.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ManualConnectorInstance.java
    M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseEventDispatcher.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseEventDispatcherAware.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseEventListener.java
    R repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseManager.java
    R repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseManagerAware.java
    R repo/task-api/src/main/java/com/evolveum/midpoint/casemgmt/api/CaseWorkItemListener.java
    A repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/casemgmt/impl/CaseEventDispatcherImpl.java
    R repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/casemgmt/impl/CaseManagerImpl.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestDelivery.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java

  Log Message:
  -----------
  Unify approvals and manual case management APIs

Manual case management is now delegated to WorkflowEngine along with
traditional approval case management. This simplifies the code
and gives manual case management a potential for application of
existing functionality present for approvals (e.g. delegation,
escalation and so on).

Minor fixes related to wf auditing (regarding deltas) are here as well.

Support for manual connector defaultAssignee configuration property
was implemented.

This commit also resolves MID-5489 by allowing references
with null OID but non-null targetName. Target name in such
cases is even stored in the repository (see
SerializationOptions.serializeReferenceNamesForNullOids).


  Commit: 4a6ca35f74864d28ec1d6ff6dbdd8bb28e041858
      https://github.com/Evolveum/midpoint/commit/4a6ca35f74864d28ec1d6ff6dbdd8bb28e041858
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ContainerableListPanel.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/impl/prism/PrismValueWrapperImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/component/PolyStringEditorPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemActionsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCaseWorkItem.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/workflow/PageAttorneySelection.java
    M gui/admin-gui/src/main/resources/localization/Midpoint_cs.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_de.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_en.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_es.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_et.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_fi.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_fr.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_hu.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_it.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_ja.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_lt.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_pl.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_pt_BR.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_ru.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_sk.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_tr.properties
    M gui/admin-gui/src/main/resources/localization/Midpoint_zh_CN.properties
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CaseWorkItemUtil.java

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


Compare: https://github.com/Evolveum/midpoint/compare/0d3504a660a1...4a6ca35f7486


More information about the midPoint-svn mailing list