As Opie, when the failed message indicator is red, I want to see the alerts details so I can take corrective actions, and clear the alerts after I took corrective actions.
Visualization:
When clicking on the endpoint failed messages indicator (#46 and #47) the list of active failed messages alerts associated with that endpoint is displayed
For each alert, display:
Alert type ("Failed Message")
Creation timestamp
Endpoint instance id
Message id
Time of failure
A single failed message alert is active per message failed
(i.e. if a message is retried multiple times, failing with each retry, a single failed message alert will be active for the message id at any given time)
Notes:
Follow up to #46 and #47, focusing on the interaction of Alerts and clearing alerts with the indications provided by the indicators.
An alert can be set to be "active" or "cleared";
Alert list displays only alerts whose status is "active"
Demo / Acceptance tests:
Case 1:
Run the Video Store sample (5 endpoints)
Cause 5 messages to fail in the "Sales" endpoint, and 3 messages to fail in the "eCommerce" endpoint
The Failed message indicator is red, and the number "8 msgs in 2 endpoints" appears below it
Click on the Failed message indicator
The Alerts list is filtered to show only failed messages (i.e. 8 active failed messages alerts)
Case 2:
Run the Video Store sample (5 endpoints)
Cause 5 messages to fail in the "Sales" endpoint, and 3 messages to fail in the "eCommerce" endpoint
The Failed message indicator is red, and the number "8 msgs in 2 endpoints" appears below it
Click on the Failed message indicator
The endpoint failed message indicators appear; 2 endpoints are red (Sales and eCommerce) and the other 3 are green
Next to the Sales and eCommerce endpoints appears the number of active failed message alerts relevant to them (5 and 3, respectively)
Click on the Failed message indicator for the "Sales" endpoint
The Alerts list is filtered to show only failed messages for the "Sales" endpoint (i.e. 5 active failed messages alerts)
As Opie, when the failed message indicator is red, I want to see the alerts details so I can take corrective actions, and clear the alerts after I took corrective actions.
Visualization:
Notes:
Demo / Acceptance tests:
Case 1:
Case 2: