public RepositoryResponse convertToResponse()
  {
    return new RepositoryResponse(getBaseUrl(), getOsType(), getRepoId(),
            getRepoName(), getDistribution(), getComponents(), getMirrorsList(), getDefaultBaseUrl(),
            getTags(), getApplicableServices());
  }
@param unique set is version of HDP that change with each release
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java