...
This processor is the most important processor in the entire Alerting Interface implementation. This processor receives an AlertMessage as its input, and generates a FlowFile containing 2 AlertMessages.
The incoming AlertMessage MUST have a MessageId that is known inside UCS. The original Alert Message is then retrieved and a diff is performed between the old and the new version of the message.Important: this
Note | ||
---|---|---|
| ||
This implementation will only diff the alertStatus and statusByReciever properties of the messages. |
The way the statuses of an Alert Message are processed is this:
1.- If the alertStatus property of the new message is different than the alertStatus property of the original message, the property in the original message is updated.
2.- (Only executed if the previous step was not)The statusByReciever entries of the new message are analyzed and updated in the original message. If, after the property is updated, the following scenarios must be evaluated:
...