Revision 61445
Added by Konstantinos Spyrou almost 3 years ago
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/service/RepositoryServiceImpl.java | ||
---|---|---|
276 | 276 |
return resultSet; |
277 | 277 |
} catch (Exception e) { |
278 | 278 |
LOGGER.debug("Exception on getRepositoriesByCountry", e); |
279 |
// emailUtils.reportException(e);
|
|
279 |
emailUtils.reportException(e); |
|
280 | 280 |
throw e; |
281 | 281 |
} |
282 | 282 |
} |
... | ... | |
607 | 607 |
ResponseEntity responseEntity = restTemplate.exchange(uriComponents.toUri(), HttpMethod.POST, httpEntity, ResponseEntity.class); |
608 | 608 |
|
609 | 609 |
if (responseEntity.getStatusCode().equals(HttpStatus.OK)) { |
610 |
// emailUtils.sendUserRegistrationEmail(repository, authentication);
|
|
611 |
// emailUtils.sendAdminRegistrationEmail(repository, authentication);
|
|
610 |
emailUtils.sendUserRegistrationEmail(repository, authentication); |
|
611 |
emailUtils.sendAdminRegistrationEmail(repository, authentication); |
|
612 | 612 |
} else |
613 | 613 |
LOGGER.debug(responseEntity.getBody().toString()); |
614 | 614 |
|
Also available in: Unified diff
enabled emails