private JsonElement readFromUrlJSON(String url) throws IOException, AmbariHttpException {
    InputStream inputStream = streamProvider.readFrom(url, "GET", (String) null, null);
    String response = IOUtils.toString(inputStream);
    return new JsonParser().parse(response);
  }
Read the content of the url from remote cluster

@param url
@return
@throws IOException
@throws AmbariHttpException
ambari-server/src/main/java/org/apache/ambari/server/view/RemoteAmbariCluster.java