"JSON" + json.toString() + " did not contain: " + b.getName());
}
private JSONObject jsonFromListBucketEndpoint(String searchHeadHost,
int searchHeadShuttlPort, String index) {
JsonRestEndpointCaller endpointCaller = new JsonRestEndpointCaller(
new DefaultHttpClient());
HttpGet listBucketsRequest = new HttpGet(getListBucketRequestUri(
searchHeadHost, searchHeadShuttlPort, index));
return endpointCaller.getJson(listBucketsRequest);
}