Merge pull request 'feature_24985' (#16) from feature_24985 into master

Reviewed-on: #16
This commit is contained in:
Francesco Mangiacrapa 2023-05-11 14:24:59 +02:00
commit f4c6690bc4
2 changed files with 2 additions and 1 deletions

View File

@ -212,6 +212,7 @@ public abstract class AbstractLifeCycleManager extends AbstractPlugin implements
public EventExecutionReport onEvent(EventExecutionRequest request) throws EventException, InvalidPluginRequestException { public EventExecutionReport onEvent(EventExecutionRequest request) throws EventException, InvalidPluginRequestException {
log.info("Executing Event {}, Parameters: {}, Context: {}",request.getEvent(), request.getCallParameters(), request.getContext()); log.info("Executing Event {}, Parameters: {}, Context: {}",request.getEvent(), request.getCallParameters(), request.getContext());
log.info("Event fired on ProjectID {} with ProfileID: {}",request.getDocument().getId(), request.getDocument().getProfileID()); log.info("Event fired on ProjectID {} with ProfileID: {}",request.getDocument().getId(), request.getDocument().getProfileID());
log.debug("Executing Event request: {}", request);
EventExecutionReport report=new EventExecutionReport(request); EventExecutionReport report=new EventExecutionReport(request);
report.getToSetLifecycleInformation().addEventReport(new TriggeredEvents()); report.getToSetLifecycleInformation().addEventReport(new TriggeredEvents());
TriggeredEvents info = report.getToSetLifecycleInformation().getLastEvent(); TriggeredEvents info = report.getToSetLifecycleInformation().getLastEvent();

View File

@ -2,7 +2,7 @@
## [v1.1.0-SNAPSHOT] ## [v1.1.0-SNAPSHOT]
- Implemented the PATCH method, see [#24985] - Prepared the PATCH method [#24985]
## [v1.0.14] ## [v1.0.14]