Commit Graph

2 Commits

Author SHA1 Message Date
pran1990 8011130e2b Added a message queue
Added kombu, an interface to AMQP

Added react.py, sample reaction script with a kombu consumer.
Should be run separately. Just loops forever listening for
messages on the PASS_EVENTS queue/

Added queues.py, define an exchange and two queues to use
for the message queue

Replaced runthis.sh with audit.py, changed runthis.json to
audit.json. audit.py has send_message(), which sends a message
to the PASS_EVENTS queue

Configuration data for audit.py and react.py should be picked up
from audit.json and react.json.

Added H304, H302 to pep8 ignores

Change-Id: I32d5c007d3b00ee2ec33635bca1567da4447124c
2013-12-16 15:21:23 -08:00
pran1990 d3ae477176 Add code to stackforge/entropy
Because upstream wasn't mentioned when project was created, merge
existing upstream code manually. Current upstream is
https://github.com/pran1990/entropy

Add first draft of script in entropy/entropy.py. Utils used by the package are in entropy/utils.py

Added licenses to py scripts and LICENCE file

Added tox.ini, requirements.txt, and test-requirements.txt to setup
environments for gerrit's jenkins tests

Added sphinx docs in docs/. Instructions to build docs are in docs/README.rst

Change-Id: Ifff7cff38989e8c5509d3ecf4b34485893bfcfdb
2013-12-13 11:51:43 -08:00