private String getClusterName(Request request ,String propertyName) {
    Map<String, String> requestInfoProps = request.getBody().getRequestInfoProperties();
    return requestInfoProps.containsKey(propertyName)?requestInfoProps.get(propertyName):getProperty(request, RequestResourceProvider.REQUEST_CLUSTER_NAME_PROPERTY_ID);
  }
Returns clusterName from the request based on the propertyName parameter
@param request
@param propertyName
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RequestEventCreator.java