class FederationSchedulerSpringResource {

    @GetMapping(path = "/results/{id}")
    @ApiOperation("Find scheduling result for a task")
    public SchedulingResultEvent findLastSchedulingResult(@PathVariable("id") String taskId) {
        return Responses.fromMono(schedulerService.findLastSchedulingResult(taskId));
    }

    @Inject public  FederationSchedulerSpringResource(AggregatingSchedulerService schedulerService);

}