if (!rootJobKey.equals(rootJobHandle)) {
resp.addHeader(ROOT_PIPELINE_ID, rootJobKey);
resp.sendError(449, rootJobKey);
return;
}
PipelineObjects pipelineObjects = PipelineManager.queryFullPipeline(rootJobKey);
String asJson = JsonGenerator.pipelineObjectsToJson(pipelineObjects);
// TODO(user): Temporary until we support abort/delete in Python
resp.addHeader("Pipeline-Lang", "Java");
resp.getWriter().write(asJson);
} catch (IOException e) {