response.put("status", "ok");
response.put("msg", "job submitted");
response.put("jobId", jobMetadata.getId().toString());
tx.commit();
if (!algorithm.equals("centrality")) {
response.put("status", "error");
response.put("msg", algorithm + " not implemented");
return new ResponseEntity<>(response, HttpStatus.NOT_FOUND);