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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dci-umb-0.4.2.post202412061600.tar.gz.
File metadata
- Download URL: dci-umb-0.4.2.post202412061600.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66b8093186a57a83f02a78e6022cc104aa438f72fe97fdf0da620efbf2cf909a
|
|
| MD5 |
fa8c0651695446b56f0e78ec6c579c4a
|
|
| BLAKE2b-256 |
963c1010c645e9592044f36f1b977072b0bbd40a175d3e01a1ff468bb2f117e9
|
File details
Details for the file dci_umb-0.4.2.post202412061600-py3-none-any.whl.
File metadata
- Download URL: dci_umb-0.4.2.post202412061600-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c0f2ccf646318c879e2b7855f6d9c78111abdb7bfbee1f98c9caa162375c1fe
|
|
| MD5 |
c8ecc6d6af1ca1c749eedb7a1b0ff96d
|
|
| BLAKE2b-256 |
8a48061ef236a6e0df853e98367b910f992336e47faf86ba07b3950a83ee8eeb
|