/** * Resume coordinator job * * @param request servlet request * @param response servlet response * @throws XServletException * @throws CoordinatorEngineException */ private void resumeCoordinatorJob(HttpServletRequest request, HttpServletResponse response) throws XServletException { String jobId = getResourceName(request); CoordinatorEngine coordEngine = Services.get() .get(CoordinatorEngineService.class) .getCoordinatorEngine(getUser(request), getAuthToken(request)); try { coordEngine.resume(jobId); } catch (CoordinatorEngineException ex) { throw new XServletException(HttpServletResponse.SC_BAD_REQUEST, ex); } }