GOB Workflow is the central component within GOB.
GOB Workflow subscribes to all relevant queues and is responsible for routing received messages according to the defined workflows:
- subscribe to log messages and store the messages in the management database
- subscribe to workflow messages, inspect the message and route it further
A running GOB infrastructure is required to run this component.
- docker compose >= 1.25
- Docker CE >= 18.09
docker compose build
docker compose up -ddocker compose run --rm gobworkflow python -m gobworkflow.start -hdocker 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 gobworkflow --migrate
python -m gobworkflowpython -m gobworkflow.start -hRun the tests:
cd src
sh test.shWorkflow commands that do not rely on secure data sources are for example:
... import test_catalogue test_entity ADD
... export test_catalogue test_entity File
... relate test_catalogue