Commit Graph

24 Commits

Author SHA1 Message Date
Jimmy Zelinskie
dbef1f8bce docs: move to standard Documentation dir 2016-08-23 17:11:30 -04:00
Quentin Machu
927af43be0 notifier: Verify that the given webhook endpoint is an absolute URL 2016-04-12 14:30:30 -04:00
Quentin Machu
2fb815dc37 notifier: Add proxy parameter to webhook notifier 2016-04-12 14:30:25 -04:00
Jimmy Zelinskie
2140995a54 readme: clarify "marked as read" notifications 2016-02-25 13:49:24 -05:00
Jimmy Zelinskie
8fd0aa162b various: spelling corrections 2016-02-24 18:00:36 -05:00
Jimmy Zelinskie
136b907050 notifier: add README 2016-02-24 16:40:40 -05:00
Jimmy Zelinskie
8c282fdb5a webhook: add JSON envelope 2016-02-24 16:40:40 -05:00
Quentin Machu
904ce6004f notifier: add a timeout on the http client 2016-02-24 16:40:40 -05:00
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
2c150b015e *: refactor & do initial work towards PostgreSQL implementation 2016-02-24 16:32:21 -05:00
Quentin Machu
f4a4d417e7 notifier: Rename HTTP to Webhook Notifier 2015-12-17 17:36:12 -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