-
Notifications
You must be signed in to change notification settings - Fork 4
Test Data Loader
vmueller-vg edited this page Sep 22, 2022
·
3 revisions
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
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
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
}