public List<RepositoryInfo> getRepositories() {
    return getRepositories(null);
  }
@return the list of repositories consumable by the web service.
ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepositoryXml.java