Requirements: JDK 11, Maven 3
Compile the project or download the most recent war file (links under releases).
$ mvn package
This should give you a file inside of target/
named integration-paho-esavi.jar
.
Before you start the project you need to set up some basic configuration, this you should put in a file called application.yml
in your root directory.
# Just an example. Please create one and have it alongside your JAR file.
dhis2-to-esavi:
dhis2:
base-url: https://example.com/dhis
username: admin
password: district
fhir:
server-url: https://example.com/fhir # not supported yet
After this, you can now run the facade with
$ java -jar target/integration-paho-esavi.jar