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:
Details This is the webhooks configuration
Log For every webhook that has occured, you'll be able to view the logs.
Notes A notes tab for adding tidbits of information
Features
[ ] Outbound web hook core.
This feature will be the base of the Outbound Webhook feature.
Requirements
[ ] Must be able to handle self-signed certificates
[ ] must support addition headers i.e. for auth, cors etc
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:
Details This is the webhooks configuration
Log For every webhook that has occured, you'll be able to view the logs.
Notes A notes tab for adding tidbits of information
Features
[ ] Outbound web hook core.
This feature will be the base of the Outbound Webhook feature.
Requirements
[ ] Must be able to handle self-signed certificates
[ ] must support addition headers i.e. for auth, cors etc
[ ] Support the different HTTP Methods.
[ ] Support both HTTP and HTTPS
Tasks
[ ] Add Webhook on Model creation event
[ ] Add Webhook on Model edit event
[ ] Add Webhook on Model delete event
[ ] Add webhook on user Login event
[ ] Add webhook on user Logout event
[ ] Add webhook on ticket status change
[ ] Add webhook on ticket assigned
[ ] Add webhook on ticket un-assigned