Add swh.webhooks.Webhooks class and event types management methods
Add the swh.webhooks.Webhooks
class wrapping requests to the Svix
REST API. Svix is an opensource framework designed to ease webhooks
management.
Define methods used to manage webhook event types, the following operations are supported:
-
creating or updating an event type
-
retrieving a specific event type
-
listing all registered event types
-
deleting an event type
A webhook event type is defined by a name, a description and a JSON schema detailing the content of the payload sent when an event is triggered.
Related to #2 (closed)
Merge request reports
Activity
Jenkins job swh-webhooks/gitlab-builds #1 failed .
See Console Output and Coverage Report for more details.added 1 commit
- 1caf131c - Add pytest verbose output for debugging tests
Jenkins job swh-webhooks/gitlab-builds #2 failed .
See Console Output and Coverage Report for more details.Jenkins job swh-webhooks/gitlab-builds #3 failed .
See Console Output and Coverage Report for more details.Jenkins job swh-webhooks/gitlab-builds #5 failed .
See Console Output and Coverage Report for more details.Tests are failing as they rely on the use of docker containers and Jenkins tests are also executed in a docker container. Tests try to reach a server at URL
http://0.0.0.0:8071
but in the Jenkins case0.0.0.0
address is likely mapped to a different host, I need to find a way to workaround this.
added 1 commit
- c25b4931 - Add swh.webhooks.Webhooks class and event types management methods
added 1 commit
- 82ab19ac - Add swh.webhooks.Webhooks class and event types management methods
Jenkins job swh-webhooks/gitlab-builds #7 failed .
See Console Output and Coverage Report for more details.added 1 commit
- 810a6c30 - Add swh.webhooks.Webhooks class and event types management methods
Jenkins job swh-webhooks/gitlab-builds #8 failed .
See Console Output and Coverage Report for more details.added 1 commit
- 36c3f4e7 - Add swh.webhooks.Webhooks class and event types management methods
added 1 commit
- 1fca2342 - Add swh.webhooks.Webhooks class and event types management methods
Jenkins job swh-webhooks/gitlab-builds #10 failed .
See Console Output and Coverage Report for more details.added 1 commit
- dce9a81e - Add swh.webhooks.Webhooks class and event types management methods
Jenkins job swh-webhooks/gitlab-builds #11 failed .
See Console Output and Coverage Report for more details.added 1 commit
- 8bcca5ea - Add swh.webhooks.Webhooks class and event types management methods