[midPoint-git] [Evolveum/midpoint] c4d9d5: Fix task result handling

Pavol Mederly mederly at evolveum.com
Wed May 23 07:06:05 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: c4d9d5c305ff917004bacaf20ad4b946be2fd85a
      https://github.com/Evolveum/midpoint/commit/c4d9d5c305ff917004bacaf20ad4b946be2fd85a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-23 (Wed, 23 May 2018)

  Changed paths:
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/activiti/ActivitiInterface.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AddGetObjectTest.java
    M repo/repo-sql-impl-test/src/test/resources/basic/task.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectRetriever.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/execution/JobExecutor.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java
    M testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java

  Log Message:
  -----------
  Fix task result handling

The result was created on demand (as UNKNOWN) too eagerly: even
if it was not present just because it was not fetched. Now we create
it only on specific occasions - when transient task is created or
(with warning) when result-less task handler is to be executed.

Fixed some places that were expecting non-null result.
Also removed the coupling of result/resultStatus in repo.


  Commit: fcf2a29652beea5aba3e4882f6a7facd6185f21a
      https://github.com/Evolveum/midpoint/commit/fcf2a29652beea5aba3e4882f6a7facd6185f21a
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-23 (Wed, 23 May 2018)

  Changed paths:
    M config/sql/_all/oracle-upgrade-3.7-3.8.sql
    M config/sql/_all/postgresql-upgrade-3.7-3.8.sql
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ObjectListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/ObjectPolicyConfigurationEditor.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/configuration/component/AdminGuiConfigPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/component/ObjectPolicyPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/component/ObjectPolicyPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/dto/ObjectPolicyDialogDto.java
    M gui/admin-gui/src/main/resources/localization/Midpoint.properties
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractValueTransformationExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusProcessor.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ImportProducerWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/util/NinjaUtils.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/FocusSetAssignmentsModal.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/FocusTableWithChoosableElements.java
    R tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/Resource/ResourcesTable.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/FeedbackBox.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/Popover.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/PrismForm.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/PrismFormWithActionButtons.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/Search.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/table/AbstractTableWithPrismView.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/table/TableWithComponentRedirect.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/table/TableWithPageRedirect.java
    R tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/table/TableWithRedirectElements.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/resource/ResourcesTablePage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/user/UserAssignmentsTab.java
    R tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/user/UsersTable.java
    A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/user/UsersTablePage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/resource/ListResourcesPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/user/ListUsersPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/user/ProgressPage.java
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/util/Schrodinger.java
    M tools/schrodinger/src/test/java/schrodinger/TestBase.java
    R tools/schrodinger/src/test/java/schrodinger/core/AccountTests.java
    R tools/schrodinger/src/test/java/schrodinger/core/UserAccountTests.java
    A tools/schrodinger/src/test/java/schrodinger/scenarios/AccountTests.java
    A tools/schrodinger/src/test/java/schrodinger/scenarios/OrganizationStructureTests.java
    A tools/schrodinger/src/test/java/schrodinger/scenarios/PolyStringTests.java
    A tools/schrodinger/src/test/java/schrodinger/scenarios/UserAccountTests.java
    A tools/schrodinger/src/test/java/schrodinger/scenarios/UserPhotoTests.java
    A tools/schrodinger/src/test/resources/org-account-inducement.xml
    A tools/schrodinger/src/test/resources/user-raphael.xml

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


Compare: https://github.com/Evolveum/midpoint/compare/ebf0a0259270...fcf2a29652be
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the midPoint-svn mailing list