class EmrRestController extends HerdBaseController {

    @RequestMapping(value = "/emrPigSteps", method = RequestMethod.POST, consumes = {"application/xml", "application/json"})
    @Secured(SecurityFunctions.FN_EMR_PIG_STEPS_POST)
    public EmrPigStep addPigStepToEmrCluster(@RequestBody EmrPigStepAddRequest request) throws Exception
    {
        return (EmrPigStep) emrService.addStepToCluster(request);
    }

}