Skip to content

Test Data Loader

vmueller-vg edited this page Sep 22, 2022 · 3 revisions

Load test data

Create test data in the DB.

POST /rest/loader/load

BODY

{
    "ehr": 1000,
    "healthcareFacilities":5,
    "bulkSize": 20000,
    "ehrsPerBatch": 100,
    "modes": ["MATRIX","LEGACY"]
}

Response

Status: 200 OK

Manually resume interrupted run

Resumes the last run. If nothing is running it will start a new one with the last parameters.

POST /rest/loader/resume

BODY

{}

Response

Status: 200 OK

Get current status

Shows the current phase, whether a job is running and whether it was successful

GET /rest/loader/status

Response

Status: 200 OK
{
    "done": true,
    "phase": "FINISHED",
    "success": true
}

Table of Contents

Clone this wiki locally