DCI umb module
Project description
DCI UMB
DCI UMB is a tool that listen on an amqps broker, filter on a specific topic and propagate any event via http post request.
TLDR
$ sudo yum -y install https://packages.distributed-ci.io/dci-release.el7.noarch.rpm
$ sudo yum -y install dci-umb
$ dci-umb \
--key ./broker.key \
--crt ./broker.crt \
--ca ./broker.ca \
--broker amqps://example.org:5671 \
--source topic://VirtualTopic.eng \
--destination http://localhost:5000/events
Run as a service
If you want to run dci-umb as a systemd service, you can edit /etc/dci-umb/config
file and modify the config.
Then you can run systemctl start dci-umb
Example
Create a python virtual environment
python3 -m venv venv
source venv/bin/activate
Install dependencies
pip install -r sandbox/requirements.txt
pip install -r requirements.txt
Start the sandbox server:
python sandbox/server.py
In another terminal start dci-umb with parameters
source venv/bin/activate
PYTHONPATH=. python dci_umb/main.py \
--key ./broker.key \
--crt ./broker.crt \
--ca ./broker.ca \
--broker amqps://example.org:5671 \
--source topic://VirtualTopic.eng \
--destination http://localhost:5000/events
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dci-umb-0.4.2.post202311160906.tar.gz
.
File metadata
- Download URL: dci-umb-0.4.2.post202311160906.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a82db2d95a66af99edfd4cd7a588ec583df47682224a40d85836a202e44fa104 |
|
MD5 | 9bf1de0a7da7b3317e146f2e5f661d07 |
|
BLAKE2b-256 | 09cad84afe92e4e83829b8fe3850c2021ad5d8d3cca3d4905b4d3f994ef3be72 |
File details
Details for the file dci_umb-0.4.2.post202311160906-py3-none-any.whl
.
File metadata
- Download URL: dci_umb-0.4.2.post202311160906-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68a18901e803b6b3a9a64c56803bbaf5f7dceda1cd873b96b650126f3d56e53 |
|
MD5 | 5342c21bda539396308f5e1f02574ab6 |
|
BLAKE2b-256 | bb092e0b1d799b0b5862c8ae30c5beabfaffcd55dc58e016752a7645a459b1a4 |