aboutsummaryrefslogtreecommitdiffstats
path: root/requirements.txt
diff options
context:
space:
mode:
authorDiana Thayer <garbados@gmail.com>2017-08-24 22:20:30 -0700
committerPaul Eggleton <paul.eggleton@linux.intel.com>2017-09-01 16:59:43 +1200
commit2e671480c78e744ee77574feea83c1b816981c08 (patch)
tree29b43511ad1c0dd25e4571b2c027ca469f4cf985 /requirements.txt
parent389971d1dcfe241e697542d5a678935cb7b6795e (diff)
downloadopenembedded-core-contrib-2e671480c78e744ee77574feea83c1b816981c08.tar.gz
Asynchronous email notifications, task execution
This patch adds asynchronous task execution using a Celery backend and RabbitMQ task queue, so that the layer submission process to proceed even in the event that sending the notification email fails, and establishing an asynchronous execution mechanism that we can use in the future e.g. for triggering parse operations from the web UI. This pertains to bug 11197: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11197 It updates the README to reflect the installation and configuration of a basic RabbitMQ setup, adds a 'tasks.py' file to contain task definitions, updates the 'edit_layer_view' function to send emails to administrators about new and updated layers asynchronously, modifies the 'settings.py' to include a default configuration for a RabbitMQ connection, and updates the Dockerfile to start a Celery worker alongside the Gunicorn daemon. Fixes [YOCTO #11197]. Signed-off-by: Diana Thayer <garbados@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt
index f80e5d46d4..7cd741b54b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
+celery==3.1.25
Django==1.8.17
django-cors-headers==1.1.0
django-nvd3==0.9.7