Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
etc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

wazo-dird

Build Status

wazo-dird is a service to query many directory sources simultaneously using a simple REST API.

Docker

The wazoplatform/wazo-dird image can be built using the following command:

docker build -t wazoplatform/wazo-dird .

The wazoplatform/wazo-dird image contains a configuration file to listen to HTTP requests on "0.0.0.0". To change this behavior, create or edit the file /etc/wazo-dird/conf.d/listen.yml

The wazoplatform/wazo-dird-db image can be built using the following command:

docker build -f contribs/docker/wazo-dird-db.Dockerfile -t wazoplatform/wazo-dird-db .

Running unit tests

apt-get install libpq-dev python-dev libffi-dev libyaml-dev libldap2-dev libsasl2-dev
pip install tox
tox --recreate -e py37

Running integration tests

You need Docker installed.

cd integration_tests
pip install -U -r test-requirements.txt
make test-setup
make test

For developers, when adding/removing a plugin:

make egg-info

Adding a new database migration

To add a new migration script for the database use the following command:

alembic -c alembic.ini revision -m "<description of the revision>"