nofusscomputing / centurion_erp

An ERP with a focus on ITSM and Automation
MIT License
0 stars 0 forks source link

Webhooks on events #379

Open jon-nfc opened 3 weeks ago

jon-nfc commented 3 weeks ago

On Centurion Events occurring, Create an outbound webhook to a configured endpoint.

Details

On an event occuring, post the data as a JSON object to a user configured endpoint.

When a model CRUD action occurs, the API serializer could be used to return the JSON object that would be used as the post body

Events will be handled by a celery worker. The creation of the event should immediately pass it to celery so it is queued within Rabbit MQ for the next available worker. The worker will be responsible for making the webhook call.

UI

The UI will be setup so that each configured webhook will have its own details page. Each webhooks page will have the following tabs:

Features

Requirements

Tasks