Demographic Data Server is a Maven project. Sources are available on the INRIA’s Gitlab project at the following URL :
https://gitlab.inria.fr/gazelle/public/processing/demographic-data-server.git
If you would like to checkout the sources on your system you might want to use the following git command, provided git is installed on your system.
git clone https://gitlab.inria.fr/gazelle/public/processing/demographic-data-server.git
Note that the latest executable can be extracted from our nexus repository as well at : Nexus Repository Manager.
Important, if you download the ear from Nexus, it will have a name such as DemographicDataServer-ear-X.X.X.ear
. Then be sure to rename it to DemographicDataServer.ear
otherwise the deployment will fail.
This tool has to be deployed using a JBoss 7.2 application server and runs with a PostgreSQL database.
If you do not have yet a JBoss server installed in your environment, proceed as described in General consideration page.
Your database must have a user named gazelle.
DemographicDataServer-sql
psql -U gazelle
CREATE DATABASE "demographic-data-server" OWNER gazelle ENCODING UTF8 ;
psql -U gazelle demographic-data-server < DemographicDataServer-sql/init-x.x.x.sql
To deploy Demographic Data Server:
${JBOSS7\_HOME}/standalone/deployments/
Datasource name : DemographicDataServerDS
Database name : demographic-data-server
Download the new ear and its associated update SQL script from our Nexus Repository Manager (search for DemographicDataServer-X.X.X.ear and DemographicDataServer-X.X.X-sql.zip). Not each version has an update sql script to execute.
Unzip the SQL archive.
Execute SQL statements. Check that the database is correctly updated.
Deploy the new ear
Due to the update mechanism of the database, it is important to do not skip any version of the application in an overall update. You cannot go directly from 2.0.0 to 2.3.0 : you will have to repeat the process from 2.0.0 to 2.0.1, 2.0.2, 2.0.3 and so on.
Preference name | Description | Default value |
---|---|---|
application_admin_email | An email address. Administrator of the tool might received messages when errors occur in the application such as compilation failure of schematron | - |
application_admin_name | Application admin name | - |
application_admin_title | Application admin title | Application Administrator |
application_release_notes_url | https://gazelle.ihe.net/jira/browse/DDS#selectedTab=com.atlassian.jira.plugin.system.project%3Achangelog-panel | |
application_documentation | Link to the user guide | https://gazelle.ihe.net/gazelle-documentation/Demographic-Data-Server/user.html |
application_mode | full | |
application_url | URL to access the application | https://FQDN/DDS |
DDS_domain | DDS | |
DDS_OID | Unique identifier of the tool instance | 1.1.1.1.1.1.1.1.1.1.1.1 |
hl7v3_sender_timeout | 15000 | |
issue_tracker_url | Link to the issue reporter (JIRA) | https://gazelle.ihe.net/jira/browse/DDS |
time_zone | Used to display date/time in the appropriate time zone | Europe/Paris |
There are additional preferences to configure the SSO authentication.
Preference name | Description | Example of value |
---|---|---|
cas_enabled | Enable or disable the CAS authentication. | true |
ip_login | Enable authentication by IP address matching ip_login_admin regex. |
false |
ip_login_admin | Regex to authorize ip authentication if CAS authentication is disabled. | .* |
For more documentation about SSO configurations, follow the link here.