Merge lp:~thomir-deactivatedaccount/core-image-publisher/trunk-add-queue-listener into lp:core-image-publisher
Proposed by
Thomi Richards
Status: | Merged |
---|---|
Approved by: | Thomi Richards |
Approved revision: | 3 |
Merged at revision: | 4 |
Proposed branch: | lp:~thomir-deactivatedaccount/core-image-publisher/trunk-add-queue-listener |
Merge into: | lp:core-image-publisher |
Diff against target: |
269 lines (+211/-3) 8 files modified
core_image_publisher/__init__.py (+16/-1) core_image_publisher/constants.py (+20/-0) core_image_publisher/queue.py (+78/-0) core_image_publisher/tests/__init__.py (+16/-0) core_image_publisher/tests/test_queue_integration.py (+76/-0) requirements.txt (+1/-0) setup.py (+3/-2) test_requirements.txt (+1/-0) |
To merge this branch: | bzr merge lp:~thomir-deactivatedaccount/core-image-publisher/trunk-add-queue-listener |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Celso Providelo (community) | Approve | ||
Review via email: mp+254159@code.launchpad.net |
Commit message
Add code to read from amqp.
Description of the change
Add code to connect to, and read from amqp. A few changes from last sprint, in order to support testability.
To post a comment you must log in.
Thomi,
I suppose we can use the on_message callback pattern for consumers, It kind of adds some additional indirection levels but makes it testable.
Let's got with it till the completion of the publisher, then we can evaluate if it's good to be propagated to the other services.