Commit Graph

14 Commits

Author SHA1 Message Date
Quentin Machu
4478f40ef1 notifier: fix notifier error handling and improve web hook error message 2016-02-24 16:36:45 -05:00
Quentin Machu
baed60e19b prometheus: add initial Prometheus support 2016-02-24 16:34:54 -05:00
Quentin Machu
ad0531acc7 notifier/database: refactor notification system and add initial Prometheus support 2016-02-24 16:34:54 -05:00
Quentin Machu
b8b7be3f81 *: remove health checker 2016-02-24 16:34:54 -05:00
Quentin Machu
c60d0054fa notifier/database: draft new notification system 2016-02-24 16:34:54 -05:00
Quentin Machu
2ea86c53f3 notifier: fix a bug that prevented graceful shutdown in certain cases
- The notifier was never checking if it should shutdown if there were always at least one notification to send
- After a failure, the notifier is supposed to back-off, but when Clair is stopping, the backoff was interrupted immediately and did not retry. Instead it selected a new notification to send (most likely: the same one) and looped quickly/weirdly.
2015-12-17 17:36:12 -05:00
Quentin Machu
480589a83a notifier: retry upon failure 2015-12-17 17:36:12 -05:00
Quentin Machu
3ff8bfaa93 notifier: Allow custom notifiers to be registered. 2015-12-16 16:08:35 -05:00
Quentin Machu
8c1d3c9a86 *: Fix authentification typo 2015-12-16 12:01:51 -05:00
Jimmy Zelinskie
b3828c9c4c notifier: add ServerName configuration for TLS 2015-12-15 12:09:46 -05:00
Quentin Machu
eb7e5d5c74 main: Use configuration file instead of flags and simplify app extension.
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.

Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
9946382223 api: Extracted client cert & HTTP JSON Render to utils. 2015-12-04 16:56:20 -05:00
Quentin Machu
20a126c84a notifier: Refactor and add client certificate authentification support.
Fixes #23
2015-12-04 16:53:54 -05:00
Quentin Machu
3ec262dd51 Initial commit 2015-11-13 14:11:28 -05:00