This repository has been archived on 2025-06-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dusken-prototype/README.services.md

25 lines
457 B
Markdown

# Service design
ServiceHook-model with the following attributes [DONE]:
* event
* callback-URL
* member
* (active)
Our own Tastypie BaseResource which triggers events based on:
* resource_name / type of object
* method used.
Use a queue for service tasks, f.ex rq (python library with redis backend)
Add logic to our Django Basemodel
Take a look at Django signals:
* pre_save
* post_save
Ref: https://www.dropbox.com/developers/webhooks/tutorial