private Map<String, String> buildResultRepo(Map<String, String> repo) {
    Map<String, String> m = repo;
    String repoId = m.get(RepositoryResourceProvider.REPOSITORY_REPO_ID_PROPERTY_ID);
    String repo_name = m.get(RepositoryResourceProvider.REPOSITORY_REPO_NAME_PROPERTY_ID);
    String baseUrl = m.get(RepositoryResourceProvider.REPOSITORY_BASE_URL_PROPERTY_ID);
    Map<String, String> resultMap = new HashMap<>();
    resultMap.put("repo_id", repoId);
    resultMap.put("repo_name", repo_name);
    resultMap.put("base_url", baseUrl);
    return resultMap;
  }
Returns a map with the repository properties (repo_id, repo_name, base_url)
@param repo
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/RepositoryVersionEventCreator.java