[midPoint-git] [Evolveum/midpoint] 7d24bd: Connect GUI to the new activity framework

mederly noreply at github.com
Tue Sep 14 19:50:26 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 7d24bd95038373dd06d1e0faf73b8620bf542466
      https://github.com/Evolveum/midpoint/commit/7d24bd95038373dd06d1e0faf73b8620bf542466
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/model/NonEmptyLoadableModel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/TaskOperationalButtonsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/PageTask.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/RootTaskLoader.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/TaskSubtasksAndThreadsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/SelectableBean.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/SelectableBeanImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminObjectDetails.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTask.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskMainPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskSubtasksAndThreadsTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskSummaryPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskTablePanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/dto/AttachedTaskInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResultStatus.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityBasedTaskInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityPath.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityProgressInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityProgressUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityStateOverviewUtil.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ActivityWorkersInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/ItemsProgressInformation.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/LegacyTaskInformation.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskInformation.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/TaskTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/tasks/async/AsyncUpdateActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/ActivityTreeStateOverview.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/AbstractActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/DelegatingActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/DistributingActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/execution/LocalActivityExecution.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/state/CurrentActivityState.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/GenericTaskHandler.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/task/NodeDownCleaner.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/Task.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskHandler.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningLightweightTaskImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/RunningTaskQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/StalledTasksWatcher.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/NodeFoundDeadHelper.java

  Log Message:
  -----------
  Connect GUI to the new activity framework

Fields of progress, errors, result status, start/end timestamp,
LS token, and (newly created - experimental) nodes, are now connected
to the data maintained by the activity framework. The connection is
via TaskInformation and AttachedTaskInformation objects.

Work in progress. The part in admin-gui should be cleaned up,
see TODO/FIXME in the code.

Also:
- added realization and execution start/end timestamps
to activity state,
- added node and "stalled since" information to the activity
tree state overview,
- extended ItemsProgressInformation with # of errors.

Related to MID-7214. Should resolve also MID-7079, MID-7042, MID-7054,
MID-6982, MID-7012, and MID-7068.


  Commit: efbab6533cf35365a2485c86f5ed362fa8ba50b8
      https://github.com/Evolveum/midpoint/commit/efbab6533cf35365a2485c86f5ed362fa8ba50b8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/DefaultGuiConfigurationCompiler.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/impl/page/admin/abstractrole/component/AbstractRoleMemberPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/archetype/PageArchetype.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/archetype/component/ArchetypePolicyPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/archetype/component/ArchetypePolicyPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/component/AssignmentHolderAssignmentPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/PageObjectCollection.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/BaseCollectionPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/BaseCollectionPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionDefaultViewPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionDefaultViewPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionDomainPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionDomainPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionOptionPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/objectcollection/component/ObjectCollectionOptionPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/user/component/DelegatedToMePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/user/component/UserDelegationsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/ProvenanceMetadataPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/application/DescriptorLoader.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/DelegationEditorPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/objectdetails/UserDelegationsTabPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/ArchetypeManager.java
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/EmptyReportIntegrationTest.java
    M model/report-impl/src/test/resources/common/dashboard-empty.xml
    M model/report-impl/src/test/resources/common/object-collection-audit-empty.xml
    M model/report-impl/src/test/resources/reports/report-audit-collection-empty.xml
    M model/report-impl/src/test/resources/reports/report-audit-collection-with-condition.xml
    M model/report-impl/src/test/resources/reports/report-audit-collection-with-double-view.xml
    M model/report-impl/src/test/resources/reports/report-dashboard-empty.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-empty.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-filter-and-basic-collection-without-view.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-with-filter-and-basic-collection.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-with-filter.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-with-param.xml
    M model/report-impl/src/test/resources/reports/report-object-collection-with-subreport-param.xml
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTestPolicy.java
    M repo/repo-sqale/sql/pgnew-repo.sql
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtItemCache.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUtils.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/UriCache.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/ContainerTableRelationResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/EmbeddedReferenceResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleMappingMixin.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/QOwnedBy.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/QAccessCertificationCaseMapping.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
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/cases/workitem/QCaseWorkItemMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/common/QContainer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/QLookupTableRowMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QOperationExecutionMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QTriggerMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/UriCacheTest.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/mapping/DefaultItemSqlMapper.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/TableRelationResolver.java

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


Compare: https://github.com/Evolveum/midpoint/compare/6221cd77568e...efbab6533cf3


More information about the midPoint-svn mailing list