Description
What is this really supposed to do?
There was some hacky code to set this URL
// TODO: This should be outsourced somewhere more suitable than here if(JobManager.getInstance().getNotificationBaseUrl() == null) { String url = ctx.getRequest().getRequestURL().toString(); JobManager.getInstance().setNotificationBaseUrl( url.split("v1")[0] + "/v1/submission/notification/"); }
But all it did was return status
private JsonBean handleNotification(RequestContext ctx, String sjid) { LOG.debug("Received notification request for job " + sjid); JobManager.getInstance().status(Long.parseLong(sjid)); return JsonBean.EMPTY_BEAN; }