public static List<String> getPropertyList(Request request, String propertyName) {
    List<String> list = new LinkedList<>();
    for (Map<String, Object> propertyMap : request.getBody().getPropertySets()) {
      if (propertyMap.containsKey(propertyName)) {
        list.add(String.valueOf(propertyMap.get(propertyName)));
      }
    }
    return list;
  }
Returns a list of properties from a request
@param request
@param propertyName
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RequestAuditEventCreatorHelper.java