mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 13:33:08 +00:00
CST-12126 log and cleaning
This commit is contained in:
@@ -55,9 +55,7 @@ public class LDNInboxController {
|
|||||||
public ResponseEntity<Object> inbox(@RequestBody Notification notification) throws Exception {
|
public ResponseEntity<Object> inbox(@RequestBody Notification notification) throws Exception {
|
||||||
Context context = ContextUtil.obtainCurrentRequestContext();
|
Context context = ContextUtil.obtainCurrentRequestContext();
|
||||||
validate(notification);
|
validate(notification);
|
||||||
|
|
||||||
log.info("stored notification {} {}", notification.getId(), notification.getType());
|
log.info("stored notification {} {}", notification.getId(), notification.getType());
|
||||||
context.commit();
|
|
||||||
|
|
||||||
LDNMessageEntity ldnMsgEntity = ldnMessageService.create(context, notification);
|
LDNMessageEntity ldnMsgEntity = ldnMessageService.create(context, notification);
|
||||||
log.info("stored ldn message {}", ldnMsgEntity);
|
log.info("stored ldn message {}", ldnMsgEntity);
|
||||||
|
Reference in New Issue
Block a user