class JobManagementSpringResource {

    @ApiOperation("Find the task with the specified ID")
    @GetMapping(path = "/tasks/{taskId}")
    public Task findTask(@PathVariable("taskId") String taskId, CallMetadataAuthentication authentication) {
        return Responses.fromSingleValueObservable(jobServiceGateway.findTask(taskId, authentication.getCallMetadata()));
    }

    @Inject public  JobManagementSpringResource(JobServiceGateway jobServiceGateway, SystemLogService systemLog);

}