mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Lookup plugin for rabbitmq (#44070)
* Adding a basic get lookup for rabbitmq. * Always return a list * If content type is JSON, make accessible via dict. * Fixed incorrect json.loads variable and missing raise * Change to document returned data * Fixed pep8 issues * Adding integration testing * Moving lookup intgration tests to new target * New rabbitmq lookup plugin (#44070). * New rabbitmq lookup plugin (#44070). * PR review feedback updates * Testing pika is installed * Minor mods to tests * Check if connection is already closed or closing * Updated tests and connection testing * PR review feedback updates * PR review include ValueError in AnsibleError output * Suggesting to use set_fact when using returned variable more than once. * Cleaned up some tests, added some notes and handling connection closure on some exceptions. * Removed finally statement and added some additional error handling. * Added some additional error handling. * PR review updates. * Additional integration tests and removing return in finally * Updated version * Changing back to running tests on ubuntu. * Additional tests * Running tests on Ubuntu only * Fixing syntax error * Fixing ingtegration tests and a string/byte issue * Removed non-required test and fixed BOTMETA * Trying to fix integration test failure on ubuntu1404 * Some issues occured when handling messages from the queue with to_native. Switching to to_text resolved the issues. * Renaming channel to queue (thanks dch). Disabling trusty tests.
This commit is contained in:
committed by
Jordan Borean
parent
3f2f53681d
commit
c4cfa387ea
3
.github/BOTMETA.yml
vendored
3
.github/BOTMETA.yml
vendored
@@ -926,6 +926,9 @@ files:
|
||||
support: network
|
||||
maintainers: $team_networking
|
||||
labels: networking
|
||||
lib/ansible/plugins/lookup/rabbitmq.py:
|
||||
maintainers: Im0
|
||||
support: community
|
||||
lib/ansible/plugins/netconf/sros.py:
|
||||
maintainers: wisotzky $team_networking
|
||||
labels: networking
|
||||
|
||||
Reference in New Issue
Block a user