Skip to main content

E-Deposit's AMQP definitions and common classes/patterns.

Project description

Introduction

This module contains common parts shared with other AMQP modules from Edeposit project. Main purpose is to provide configuration data to AMQP server and generic daemons, to run the modules.

Installation

Module is hosted at PYPI, and can be easily installed using PIP:

pip install edeposit.amqp

Source code can be found at GitHub: https://github.com/edeposit/edeposit.amqp

Documentation

Full module documentation is hosted at ReadTheDocs: http://edeposit-amqp.readthedocs.org

Content

Content can be divided between generic modules to support AMQP communication and scripts, which provides ability to test and tweak AMQP communication.

Modules

edeposit.amqp.settings

Configuration for RabbitMQ server and E-deposit client modules connecting into it.

edeposit.amqp.daemonwrapper

Class for spawning Unix daemons.

edeposit.amqp.pikadaemon

Generic AMQP blocking communication daemon server.

Scripts

edeposit/amqp/alephdaemon.py

Daemon providing AMQP communication with the edeposit.amqp.aleph module.

edeposit/amqp/amqp_tool.py

Script for testing the communication and creating exchanges/queues/routes in RabbitMQ.

Acceptance tests

Robot Framework is used to test the code. You can find the tests in src/edeposit/amqp/aleph/tests directory.

Tests can be invoked manually (from the root of the package):

$ pybot -W 80 --pythonpath edeposit/amqp/tests/:src edeposit/amqp/tests/; (cd docs/; make html)

Or continuously using nosier:

$ nosier -p edeposit -b 'export' "pybot -W 80 --pythonpath edeposit/amqp/tests/:src edeposit/amqp/tests/; (cd docs/; make html)"

Contributors

Changelog

1.3.2

  • RABBITMQ_ALEPH_DAEMON_QUEUE renamed to RABBITMQ_ALEPH_INPUT_QUEUE

  • RABBITMQ_ALEPH_PLONE_QUEUE renamed to RABBITMQ_ALEPH_OUTPUT_QUEUE

  • RABBITMQ_ALEPH_DAEMON_KEY renamed to RABBITMQ_ALEPH_INPUT_KEY.

  • RABBITMQ_ALEPH_PLONE_KEY renamed to RABBITMQ_ALEPH_OUTPUT_KEY.

  • Unicode added to allowed types in settings.py.

1.3.1

  • Added dependency to edeposit.amqp.calibre.

  • Version of package and documentation is now automatically parsed from this file.

  • Images in documentation were downloaded to _static.

1.3.0

  • Changed internal way of handling AMQP communication. This shouldn’t change user API.

  • Documentation updated to reflect changes in internal API. Added UML diagrams.

1.2.2

  • Documentation updated. Added intersphinx links to edeposit.amqp.serializers.

1.2.1

  • edeposit.amqp.serializers API changed, so this module needed to be adjusted.

1.2.0

  • Serialization is now handled (but not stored) in this module, instead of aleph. It will be used in other modules too.

  • Added dependency to edeposit.amqp.serializers.

1.1.6

  • Documentation is now even for settings.py’s attributes.

  • User defined JSON configuration is now supported.

1.1.5

  • Added autogeneration of documentation to the package generator (setup.py).

1.1.0

  • Project released at PYPI

1.0 (unreleased)

  • alephdaemon is working correctly, other classes are in release state too

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edeposit.amqp-1.3.2.tar.gz (363.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page