throw AmbariApiException.CANNOT_CONNECT_AMBARI_SERVER(e);
}
String blueprintsJson = handleAmbariResponse(response);
logger.debug("Response of blueprint list from ambari server:");
logger.debug(blueprintsJson);
ApiBlueprintList apiBlueprintList =
ApiUtils.jsonToObject(ApiBlueprintList.class, blueprintsJson);
return apiBlueprintList;
}