NIFI-2007:

- Restoring bulletin functionality.
- Ensuring appropriate merging of bulletins in clustered responses.

- Updated the phrasing for cluster-related bulletins

This closes #531.
This commit is contained in:
Matt Gilman 2016-06-15 21:42:05 -04:00 committed by Mark Payne
parent 0b437e09a7
commit 2c69c25323
1 changed files with 2 additions and 2 deletions

View File

@ -278,12 +278,12 @@ public class NodeClusterCoordinator implements ClusterCoordinator, ProtocolHandl
@Override
public void reportEvent(final NodeIdentifier nodeId, final Severity severity, final String event) {
eventReporter.reportEvent(severity, nodeId == null ? EVENT_CATEGORY : nodeId.toString(), event);
eventReporter.reportEvent(severity, EVENT_CATEGORY, "Event Reported for " + nodeId.toString() + " -- " + event);
if (nodeId != null) {
addNodeEvent(nodeId, severity, event);
}
final String message = nodeId == null ? event : "Event Reported for " + nodeId + ": " + event;
final String message = nodeId == null ? event : "Event Reported for " + nodeId + " -- " + event;
switch (severity) {
case ERROR:
logger.error(message);