-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #333 from mild-blue/check-vaccinations
Check vaccinations in ISIN
- Loading branch information
Showing
20 changed files
with
257 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
-- add patients.isin_ready column | ||
ALTER TABLE patients | ||
ADD COLUMN isin_ready BOOL DEFAULT NULL; |
90 changes: 90 additions & 0 deletions
90
backend/src/test/kotlin/blue/mild/covid/vaxx/requests/isin-rerun.http
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
POST {{url}}/admin/login?captcha=1234 | ||
Content-Type: application/json | ||
|
||
{ | ||
"credentials": { | ||
"email": "{{email}}", | ||
"password": "{{password}}" | ||
}, | ||
"vaccineSerialNumber": "test", | ||
"vaccineExpiration": "2024-06-04T00:00:00.000Z" | ||
} | ||
> {% client.global.set("auth_token", response.body["token"]); %} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 0 | ||
} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 5900 | ||
} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 11800 | ||
} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 17700 | ||
} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 23600 | ||
} | ||
|
||
### | ||
POST {{url}}/admin/run-isin-job | ||
Content-Type: application/json | ||
Authorization: Bearer {{auth_token}} | ||
|
||
{ | ||
"exportPatientsInfo": true, | ||
"exportVaccinations": true, | ||
"validatePatients": true, | ||
"patientsCount": 6000, | ||
"patientsOffset": 200 | ||
} |
Oops, something went wrong.