XiVO CONFD is a web server that provides a RESTful service for configuring and managing a Wazo server. Further details on how to use the API can be found on the Wazo API web site
The server is already provided as a part of Wazo. Please refer to the documentation for further details on installing one.
apt-get install libpq-dev python-dev libffi-dev libyaml-dev
pip install tox
tox --recreate -e py27
You need Docker installed.
cd integration_tests
pip install -U -r test-requirements.txt
make test-setup
make test
You need the repos xivo-manage-db up-to-date.
git clone https://github.com/wazo-platform/xivo-manage-db
MANAGE_DB_DIR=../../xivo-manage-db make update-db
- Execute the steps above to run integration tests
You need the repos wazo-provd up-to-date.
git clone https://github.com/wazo-platform/wazo-provd
PROVD_DIR=../../wazo-provd make build-provd
- Execute the steps above to run integration tests
In case you need to mount libraries (xivo-dao, xivo-bus, lib-python) inside the wazo-confd container:
- Uncomment the confd volumes in
integration_tests/assets/docker-compose.yml
- Set the environment variable:
export LOCAL_GIT_REPOS=/parent/directory/to/all/git/repos
- Execute the steps above to run integration tests
pip install gprof2dot
apt-get install graphviz
- set the
profile
directory configuration - process file in directory with the following command:
gprof2dot -f pstats <directory>/<file> | dot -Tpng -o output.png