Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

Send emails about new layers to relevant users asynchronously. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 25, 2017

  1. 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,
    and modifies the 'settings.py' to include a default configuration
    for a RabbitMQ connection.
    
    Signed-off-by: Diana Thayer <garbados@gmail.com>
    garbados committed Aug 25, 2017
    Configuration menu
    Copy the full SHA
    1e0910e View commit details
    Browse the repository at this point in the history