- Added optional message when performing lifecycle step [#27192]
This commit is contained in:
parent
cc78007607
commit
90e9bc797b
|
@ -1,8 +1,9 @@
|
||||||
# Changelog for org.gcube.application.geoportal-service
|
# Changelog for org.gcube.application.geoportal-service
|
||||||
|
|
||||||
## [v1.2.0-SNAPSHOT] - 2023-12-21
|
## [v1.2.0-SNAPSHOT] - 2024-04-08
|
||||||
|
|
||||||
- Integrated the EventManager of the cms-plugin-framework
|
- Integrated the EventManager of the cms-plugin-framework
|
||||||
|
- Added optional message when performing lifecycle step [#27192]
|
||||||
|
|
||||||
## [v1.1.1] - 2023-09-06
|
## [v1.1.1] - 2023-09-06
|
||||||
|
|
||||||
|
|
|
@ -321,6 +321,7 @@ public class ProfiledDocuments {
|
||||||
item.setUserCaller(user.getUser());
|
item.setUserCaller(user.getUser());
|
||||||
item.setContext(user.getContext());
|
item.setContext(user.getContext());
|
||||||
item.setEvent(event);
|
item.setEvent(event);
|
||||||
|
item.setOptionalMessage(request.getMessage());
|
||||||
item.setProject(theProject);
|
item.setProject(theProject);
|
||||||
log.info("By notifying event ({}, ID {})", event, item.getProjectId());
|
log.info("By notifying event ({}, ID {})", event, item.getProjectId());
|
||||||
eventManager.notify(event, item);
|
eventManager.notify(event, item);
|
||||||
|
|
Loading…
Reference in New Issue