apt-get install libpq-dev python3-dev libffi-dev libyaml-dev
pip install tox
tox --recreate -e py39
The official docker image for this service is wazoplatform/wazo-agentd
.
To download the latest image from the docker hub
docker pull wazoplatform/wazo-agentd
docker run wazoplatform/wazo-agentd
Building the docker image:
docker build -t wazoplatform/wazo-agentd .
Processing is split among the following steps, in order:
- HTTP request
- HTTP parser:
http.py
- Service Proxy (exposes all available operations, calls handler):
service/proxy.py
- Service Handler (adapts query to manager operations, calls manager):
service/handler/*.py
- Service manager (validation, triggers action):
service/manager/*.py
- Service action (updates DB, sends messages and events):
service/action/*.py