In the last quarter of 2021, a mini-initiative was completed that finished and deployed the discourse2fedmsg application. In short, this application is a simple flask app that recieves POST requests from discourse (i.e. "webhooks") and turns them into Fedora Messages, and then sends them through to the Fedora Messaging Queue.
Webhooks are a fairly common feature in current web applications, so this proposal is to create a new web application that can reuse common parts of discourse2fedmsg and set it up to be extended send messages from other webhook enabled apps.
This would allow us to easily add support for apps like gitlab without having to deploy and create additional flask applications for each app that gets added in the future,
I did something similar for centos: https://github.com/CentOS/gitlab-webhooks
It receives post requests from gitlab and forwards them to fedora-messaging, that app could be extended if there is interest.
Issue tagged with: Accepted
The ARC investigation is now available here
Metadata Update from @t0xic0der: - Issue assigned to t0xic0der - Issue tagged with: In Progress
The project has been developed by @abompard and @t0xic0der. The project can be found here https://github.com/fedora-infra/webhook-to-fedora-messaging. The official announcement of the same can be found here https://communityblog.fedoraproject.org/announcing-webhook-to-fedora-messaging/.
Issue status updated to: Open (was: Closed)
Log in to comment on this ticket.