response = apiResourceRootV1.getRootServicesResource().readRootServiceComponents();
} catch (Exception e) {
throw AmbariApiException.CANNOT_CONNECT_AMBARI_SERVER(e);
}
String requestJson = handleAmbariResponse(response);
ApiRootServicesComponents apiRequest =
ApiUtils.jsonToObject(ApiRootServicesComponents.class, requestJson);
return apiRequest.getApiRootServicesComponent().getComponentVersion();
}