protected BatchRequestResponse performApiGetRequest(String relativeUri, boolean queryAllFields) {
    WebTarget target = extendApiResource(ambariWebResource, relativeUri);
    if (queryAllFields) {
      target = target.queryParam("fields", "*");
    }
    Response response;
    try {
      response = target.request().get();
    } catch (Exception e) {
      LOG.error("Exception occurred during API request to {}: {}", relativeUri, e.getMessage(), e);
      response = null;
    }
    return convertToBatchRequestResponse(response);
  }
Get status of a long running operation
@return
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java