@Produces(MediaType.APPLICATION_JSON)
public Response getPool() {
log.info("GET /pool");
try {
MachinePool machinePool = this.cloudAdapter.getMachinePool();
return Response.ok(machinePool.toJson()).build();
} catch (Exception e) {
String message = "failure to process pool get request: "
+ e.getMessage();
log.error(message, e);
return Response.status(Status.INTERNAL_SERVER_ERROR)