Reads GOB events from RabbitMQ event exchange, transforms the events to a generic format and sends the transformed events to a different exchange.
Example environment variables are set in .env.example. Create your own .env based on this example file:
cp .env.example .envTo initialise the configuration:
export $(cat .env | xargs)A running GOB infrastructure is required to run this component.
- docker compose >= 1.25
- Docker CE >= 18.09
docker compose build
docker compose up &docker compose -f src/.jenkins/test/docker-compose.yml build
docker compose -f src/.jenkins/test/docker-compose.yml run --rm test- Python >= 3.9
Create a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install -r src/requirements.txtOr activate the previously created virtual environment:
source venv/bin/activateStart the service:
cd src
python -m gobeventproducerRun the tests:
cd src
sh test.sh