Repo Owner: Vlad Shioshvili @vshioshvili
An OpenHIM mediator for syncing DHIS2 organisations with the OpenInfoMan. The mediator will register a default polling channel with the OpenHIM Core that is by default scheduled to run daily at midnight.
Note that the DHIS2 library needs to be installed into OpenInfoMan.
Checkout and build
git clone https://github.com/jembi/openhim-mediator-openinfoman-dhis2-sync.git
npm install
Replace the default certificate files in the tls/
folder with those that you you want to use. Skipping this step would make your installation insecure, ensure you set these in production.
and to run the mediator
node start -- -c myConfig.json
See config/default.json
for a config example. This config only contains the basic mediator settings - all other settings can be configured on the OpenHIM Console via the Mediators page.
To run in development mode
grunt serve