class JobDefinitionRestController extends HerdBaseController {

    @RequestMapping(value = "/jobDefinitions/namespaces/{namespace}/jobNames/{jobName}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_JOB_DEFINITIONS_GET)
    public JobDefinition getJobDefinition(@PathVariable("namespace") String namespace, @PathVariable("jobName") String jobName) throws Exception
    {
        return jobDefinitionService.getJobDefinition(namespace, jobName);
    }

}