Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 13, 2022. It is now read-only.

ehrbase/test-data-loader

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated (included in https://github.com/ehrbase/webtester)

Test Data Loader

Simple Spring Boot application that populates EHRbase database with test data.

Getting started

Build the application

Please make sure that a PostgreSQL database in running and that EHR schema is initialized.

Adjust the properties define in pom.xml according to your configuration.

<properties>
    <db.url>jdbc:postgresql://localhost:5432/ehrbase</db.url>
    <db.username>ehrbase</db.username>
    <db.password>ehrbase</db.password>
    <db.driver>org.postgresql.Driver</db.driver>
</properties>

Run Maven goals:

$ mvn clean package

Run the application

$ java -jar ./target/loader-1.0.0-SNAPSHOT.jar [options]

Options:

Name Description Default Value
--loader.ehr Number of EHRs to insert. 100
--loader.composition-per-ehr Number of compositions for each EHR. 200
--spring.datasource.url JDBC URL of the database. jdbc:postgresql://localhost:5432/ehrbase
--spring.datasource.username Login username of the database. ehrbase
--spring.datasource.password Login password of the database. ehrbase

About

Test data loader for EHRbase

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.