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.post202409041021.tar.gz
.
File metadata
- Download URL: dci-umb-0.4.2.post202409041021.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6fe6f40c6eed26199c2c6e5a0fec5277b0d10675e3625aa6956708988a294e0 |
|
MD5 | de6dfd8ca52f3c1acb05ae7be969182e |
|
BLAKE2b-256 | d8c1f90b4c86a1c6e02d2cb91d3c6da084557c138314300fe1646884bfb998b2 |
File details
Details for the file dci_umb-0.4.2.post202409041021-py3-none-any.whl
.
File metadata
- Download URL: dci_umb-0.4.2.post202409041021-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c15ab419a535b1045f84fea07c4597b1d23dd3a7b4c75caaddddc5abaa704b46 |
|
MD5 | 46fdea031aa9258b9737fac928f78868 |
|
BLAKE2b-256 | 4ab6c6f6d7628ccc84b4d4399b54dd72e4806489f9ea45ca2ba862cfdaa618f6 |