/** * Get the version information * * @return the response * @throws Exception the scheduler exception */ @GET @Path("") @Produces({ "application/json" }) public Response version() throws Exception { String user = UserFacade.getName(); if (user == null) { sendErrorForbidden(response, NO_LOGGED_IN_USER); return Response.status(Status.FORBIDDEN).build(); } return Response.ok().entity(processor.version()).build(); }