As a Graylog engineer, I want to improve error handling in the Slack Notification plugin in order to better detect, report, and recover from errors.
Input Criteria
[x] Slack notifications plugin works
Output Criteria
[ ] SlackClient no longer uses EventNotificationExceptions
[ ] SlackClient appropriately signals temporary/recoverable exceptions such as HTTP 5xx codes and network timeout errors
[ ] SlackClient appropriately signals permanent/unrecoverable exceptions such as HTTP 4xx codes
[ ] SlackEventNotification properly handles both temporary and permanent exceptions thrown by SlackClient by throwing temporary and permanent EventNotificationExceptions
[ ] SlackEventNotification raises a UI notification when an permanent exception is encountered
[ ] JUnit tests exist to validate behavior of SlackClient
[ ] JUnit tests exist to validate behavior of SlackEventNotification
Tasks
[ ] Update error handling in SlackClient
[ ] Update JUnit tests for SlackClient
[ ] Update error handling in SlackEventNotification
As a Graylog engineer, I want to improve error handling in the Slack Notification plugin in order to better detect, report, and recover from errors.
Input Criteria
Output Criteria
SlackClient
no longer uses EventNotificationExceptionsSlackClient
appropriately signals temporary/recoverable exceptions such as HTTP 5xx codes and network timeout errorsSlackClient
appropriately signals permanent/unrecoverable exceptions such as HTTP 4xx codesSlackEventNotification
properly handles both temporary and permanent exceptions thrown bySlackClient
by throwing temporary and permanent EventNotificationExceptionsSlackEventNotification
raises a UI notification when an permanent exception is encounteredSlackClient
SlackEventNotification
Tasks
SlackClient
SlackClient
SlackEventNotification
SlackEventNotification