InseeFrLab / onyxia-api

REST API of Onyxia
https://onyxia.sh
MIT License
24 stars 29 forks source link

Add events webhook #500

Closed olevitt closed 1 month ago

olevitt commented 2 months ago

Currently, the events can only be logged in the console.
This PR adds the ability to enables webhooks for the events.
If enabled, Onyxia-API will do a async POST request to the webhook url with the event content.
Onyxia-API will NOT retry if the webhook backend suffers a temporary failure.

olevitt commented 1 month ago

Fix #261

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud