Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-3051

Special-purpose services and ModelService

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: Model

      Description

      There is TaskService, ReportService and other services for workflow and access certifications and maybe also other components. Some of these have overlap with ModelService. E.g. task can be re-started by explicit call to TaskService or by using ModelService to change the state of the TaskType. Try to unify these concepts.

      Generally we would like to prefer ModelService because of unified authorizations, auditing, etc. It is also naturally exposed in WS and REST. But not all services are easy to expose like this. E.g. suspend task has "wait for stop" option, running a report is a pure RPC and so on. Think about it.

      Other issues:

      • WorkItemType is not ObjectType, which prohibits its use in authorizations

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              semancik Radovan Semancik
              Reporter:
              semancik Radovan Semancik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: