public static List<String> getNamedPropertyList(Request request, String propertyName) {
    NamedPropertySet first = Iterables.getFirst(request.getBody().getNamedPropertySets(), null);
    if (first != null && first.getProperties().get(propertyName) instanceof List) {
      List<String> list = (List<String>) first.getProperties().get(propertyName);
      if (list != null) {
        return list;
      }
    }
    return Collections.emptyList();
  }
Returns a list of named properties from a request
@param request
@param propertyName
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RequestAuditEventCreatorHelper.java