[midPoint-git] [Evolveum/midpoint] 63bd9e: Fix error handling in task-related REST methods

Pavol Mederly mederly at evolveum.com
Tue Oct 23 16:49:57 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 63bd9ebe87f994b4cebf36cbca77c99ccb2deddb
      https://github.com/Evolveum/midpoint/commit/63bd9ebe87f994b4cebf36cbca77c99ccb2deddb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ObjectTypes.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/TaskService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelCrudService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelRestService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskManager.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/execution/JobExecutor.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/work/workers/WorkersManager.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestQuartzTaskManagerContract.java
    M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/TestWorkDistribution.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java

  Log Message:
  -----------
  Fix error handling in task-related REST methods

REST operates (suspends, resumes, schedules, deletes) single task
at a time and expects appropriate exception messages if something goes
wrong. Task module has methods that operate on tasks collections, hiding
any exceptions encountered.

The easiest solution is to introduce single-task exception-throwing
methods directly into the task module.


  Commit: 024ebaa9ee52f99232c473cee9b6e11a404533cd
      https://github.com/Evolveum/midpoint/commit/024ebaa9ee52f99232c473cee9b6e11a404533cd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-10-23 (Tue, 23 Oct 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ContainerWrapperFactory.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorManager.java
    M provisioning/ucf-impl-builtin/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/builtin/ConnectorFactoryBuiltinImpl.java
    M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/ImportResourceTest.java
    M testing/schrodingertest/src/test/resources/labs/resources/localhost-csvfile-1-document-access.xml
    M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/resource/ResourceWizardPage.java

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


Compare: https://github.com/Evolveum/midpoint/compare/e8a0f42c24d5...024ebaa9ee52
      **NOTE:** This service has 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