Revision 54924
Added by Panagiotis Kanakakis about 5 years ago
RepositoryServiceImpl.java | ||
---|---|---|
412 | 412 |
HttpEntity<String> httpEntity = new HttpEntity<String>(json_repository, httpHeaders); |
413 | 413 |
ResponseEntity responseEntity = restTemplate.exchange(uriComponents.toUri(),HttpMethod.POST, httpEntity, ResponseEntity.class); |
414 | 414 |
|
415 |
if (responseEntity.getStatusCode().equals(HttpStatus.OK)) |
|
415 |
if (responseEntity.getStatusCode().equals(HttpStatus.OK)) {
|
|
416 | 416 |
emailUtils.sendUserRegistrationEmail(repository, authentication); |
417 |
else |
|
417 |
}else
|
|
418 | 418 |
LOGGER.debug(responseEntity.getBody().toString()); |
419 | 419 |
|
420 | 420 |
return repository; |
Also available in: Unified diff
Merge with dev branch