Skip to content

Commit

Permalink
Refactor event handler
Browse files Browse the repository at this point in the history
- Break down the EventServer.handleEvent() implementation into multiple
  smaller functions which are extensively tested on their own.
  - New implementation of filter Alerts for Event
  - New implementation of Event matches Alert
- Remove any readiness check on Alert or Provider.
- Convert the event handler test from controllers/ dir to work with
  just EventServer without any reconciler, keeping all the test cases
  and slightly modified test set up code.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
  • Loading branch information
darkowlzz committed Jun 1, 2023
1 parent 91d7695 commit 47cda90
Show file tree
Hide file tree
Showing 6 changed files with 1,589 additions and 259 deletions.
Loading

0 comments on commit 47cda90

Please sign in to comment.