class JobRestController extends HerdBaseController {

    @RequestMapping(value = "/jobs", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_JOBS_GET)
    public JobSummaries getJobs(@RequestParam(value = "namespace", required = false) String namespace,
        @RequestParam(value = "jobName", required = false) String jobName, @RequestParam(value = "status", required = false) JobStatusEnum status,
        @RequestParam(value = "startTime", required = false) String startTime, @RequestParam(value = "endTime", required = false) String endTime)
        throws Exception
    {
        return jobService.getJobs(namespace, jobName, status, getDateTime(startTime), getDateTime(endTime));
    }

}