Skip to content

Application configuration

Severin Kohler edited this page Feb 24, 2023 · 1 revision

Eos

Person properties

CHECK WHAT I DID WHEN NO ARCHETYPE WAS FOUND!

Key Default Value Description
eos.person-conversion.mode automatic If automatic is set the API endpoint \person will generate an empty person for each EHR id. If set to conversion Eos will load all mappings from the src/main/resources/converter_config/person_data. When the API endpoint \person is used, the defined OMOCL mappings will be executed and persons generated using the demographics data contained in the archetypes.

Cdm properties

Key Default Value Description
eos.cdm.database-name name of the database that is to be populated
eos.cdm.schema schema of the database, these variable are also used to replace the schema variables in the sql scripts. It is recommended to use yaml anchors here since this value is also required in the JPA config

Eras and Periods properties

Key Default Value Description
eos.cdm.enabled false sets auto generation of eras and periods to false. The Eras and Periods can still be generated via an API call
eos.cdm.enabled true sets auto generation of eras and periods to true
eos.cdm.cron-job 0 0 */2 * * ? used to define at what intervals the cron job should generate eras and periods. Default value is every two hours. Cron syntax derives from the spring improved cron job expression

Spring Boot

The complete documentation regarding the application properties available in Spring Boot is available on the official website.

Server Properties

Key Default Value Description
server.port 8888 Server HTTP port.
server.ssl.key-store path to keystore.
server.ssl.key-store-password keystore password.
server.ssl.key-store-type type of the keystore.
server.ssl.key-alias key alias.
server.ssl.key-password password to access the key in the store.

For more detailed info about ssl and other properties Spring documentation

JPA properties

Key Default Value Description
spring.jpa.show-sql false if set to true, sql output of hibernate is shown. This is maybe necessary for debugging
spring.properties.hibernate.default_schema *schema Schema of the database, also defined in cdm schema, yaml anchor is recommended to ensure consistency.
spring.properties.hibernate.ddl-auto update Spring documentation

Datasource Properties

Key Default Value Description
spring.datasource.password Login password of the database.
spring.datasource.url JDBC URL of the database.
spring.datasource.username Login username of the database.

Logging properties

Key Default Value Description
logging.file.name Location of the log file.
logging.file.path Log file name. Names can be an exact location or relative to the current directory.
logging.group.* Log groups to quickly change multiple loggers at the same time.
logging.level.* Log levels severity mapping.
logging.logback.rollingpolicy.max-file-size 10MB Maximum log file size.
logging.logback.rollingpolicy.max-history 7 Maximum number of days archive log files are kept.
logging.logback.rollingpolicy.total-size-cap 0B Total size of log backups to be kept.