Revision 61444
Added by Antonis Lempesis almost 3 years ago
RepositoryServiceImpl.java | ||
---|---|---|
548 | 548 |
repository.setNamespacePrefix("issn" + repository.getIssn()); |
549 | 549 |
this.storeRepository(repository, SecurityContextHolder.getContext().getAuthentication()); |
550 | 550 |
} else if (datatype.equals("aggregator")) { |
551 |
repository.setId("openaire____::" + com.unboundid.util.Base64.encode(repository.getOfficialName()));
|
|
551 |
repository.setId("openaire____::" + DigestUtils.md5Hex(repository.getOfficialName()));
|
|
552 | 552 |
repository.setNamespacePrefix(DigestUtils.md5Hex(repository.getOfficialName()).substring(0, 12)); |
553 | 553 |
this.storeRepository(repository, SecurityContextHolder.getContext().getAuthentication()); |
554 | 554 |
} else { |
Also available in: Unified diff
using md5 instead of base64 encoding for new aggregator ids