@Override
  public int hashCode() {
    return Objects.hashCode(baseUrl, osType, repoId, repoName, distribution, components, mirrorsList, defaultBaseUrl,
           ambariManagedRepositories);
  }
@param unique set is version of HDP that change with each release
ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java