Class MonitorController


  • @RestController
    @EnableHypermediaSupport(type=HAL)
    public class MonitorController
    extends Object
    Controller for all monitoring endpoints.
    • Method Detail

      • getTasksStatusReport

        @GetMapping(path="/api/v1/monitor/tasks-status-report")
        @Transactional(readOnly=true,
                       rollbackFor=java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<ReportRepresentationModel> getTasksStatusReport​(@RequestParam(required=false)
                                                                                                       List<String> domains,
                                                                                                       @RequestParam(required=false)
                                                                                                       List<pro.taskana.task.api.TaskState> states)
                                                                                                throws pro.taskana.common.api.exceptions.NotAuthorizedException,
                                                                                                       pro.taskana.common.api.exceptions.InvalidArgumentException
        Throws:
        pro.taskana.common.api.exceptions.NotAuthorizedException
        pro.taskana.common.api.exceptions.InvalidArgumentException
      • getTasksWorkbasketReport

        @GetMapping(path="/api/v1/monitor/tasks-workbasket-report")
        @Transactional(readOnly=true,
                       rollbackFor=java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<ReportRepresentationModel> getTasksWorkbasketReport​(@RequestParam("states")
                                                                                                           List<pro.taskana.task.api.TaskState> states)
                                                                                                    throws pro.taskana.common.api.exceptions.NotAuthorizedException,
                                                                                                           pro.taskana.common.api.exceptions.InvalidArgumentException
        Throws:
        pro.taskana.common.api.exceptions.NotAuthorizedException
        pro.taskana.common.api.exceptions.InvalidArgumentException
      • getTasksWorkbasketPlannedDateReport

        @GetMapping(path="/api/v1/monitor/tasks-workbasket-planned-date-report")
        @Transactional(readOnly=true,
                       rollbackFor=java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<ReportRepresentationModel> getTasksWorkbasketPlannedDateReport​(@RequestParam("daysInPast")
                                                                                                                      int daysInPast,
                                                                                                                      @RequestParam("states")
                                                                                                                      List<pro.taskana.task.api.TaskState> states)
                                                                                                               throws pro.taskana.common.api.exceptions.NotAuthorizedException,
                                                                                                                      pro.taskana.common.api.exceptions.InvalidArgumentException
        Throws:
        pro.taskana.common.api.exceptions.NotAuthorizedException
        pro.taskana.common.api.exceptions.InvalidArgumentException
      • getTasksClassificationReport

        @GetMapping(path="/api/v1/monitor/tasks-classification-report")
        @Transactional(readOnly=true,
                       rollbackFor=java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<ReportRepresentationModel> getTasksClassificationReport()
                                                                                                        throws pro.taskana.common.api.exceptions.NotAuthorizedException,
                                                                                                               pro.taskana.common.api.exceptions.InvalidArgumentException
        Throws:
        pro.taskana.common.api.exceptions.NotAuthorizedException
        pro.taskana.common.api.exceptions.InvalidArgumentException
      • getDailyEntryExitReport

        @GetMapping(path="/api/v1/monitor/timestamp-report")
        @Transactional(readOnly=true,
                       rollbackFor=java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<ReportRepresentationModel> getDailyEntryExitReport()
                                                                                                   throws pro.taskana.common.api.exceptions.NotAuthorizedException,
                                                                                                          pro.taskana.common.api.exceptions.InvalidArgumentException
        Throws:
        pro.taskana.common.api.exceptions.NotAuthorizedException
        pro.taskana.common.api.exceptions.InvalidArgumentException