-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: slaurenz <[email protected]>
- Loading branch information
Showing
8 changed files
with
126 additions
and
21 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
95 changes: 95 additions & 0 deletions
95
src/test/java/eu/europa/ec/dgc/issuance/service/SampleData.java
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,95 @@ | ||
package eu.europa.ec.dgc.issuance.service; | ||
|
||
public class SampleData { | ||
public static final String recovery = "{\n" + | ||
" \"ver\": \"1.2.1\",\n" + | ||
" \"nam\": {\n" + | ||
" \"fn\": \"Musterfrau-G\\u00f6\\u00dfinger\",\n" + | ||
" \"gn\": \"Gabriele\",\n" + | ||
" \"fnt\": \"MUSTERFRAU<GOESSINGER\",\n" + | ||
" \"gnt\": \"GABRIELE\"\n" + | ||
" },\n" + | ||
" \"dob\": \"1998-02-26\",\n" + | ||
" \"r\": [\n" + | ||
" {\n" + | ||
" \"tg\": \"840539006\",\n" + | ||
" \"fr\": \"2021-02-20\",\n" + | ||
" \"co\": \"AT\",\n" + | ||
" \"is\": \"Ministry of Health, Austria\",\n" + | ||
" \"df\": \"2021-04-04\",\n" + | ||
" \"du\": \"2021-10-04\",\n" + | ||
" \"ci\": \"URN:UVCI:01:AT:858CC18CFCF5965EF82F60E493349AA5#K\"\n" + | ||
" }\n" + | ||
" ]\n" + | ||
"}\n"; | ||
public static final String vaccination = "{\n" + | ||
" \"ver\": \"1.2.1\",\n" + | ||
" \"nam\": {\n" + | ||
" \"fn\": \"Musterfrau-G\\u00f6\\u00dfinger\",\n" + | ||
" \"gn\": \"Gabriele\",\n" + | ||
" \"fnt\": \"MUSTERFRAU<GOESSINGER\",\n" + | ||
" \"gnt\": \"GABRIELE\"\n" + | ||
" },\n" + | ||
" \"dob\": \"1998-02-26\",\n" + | ||
" \"v\": [\n" + | ||
" {\n" + | ||
" \"tg\": \"840539006\",\n" + | ||
" \"vp\": \"1119349007\",\n" + | ||
" \"mp\": \"EU\\/1\\/20\\/1528\",\n" + | ||
" \"ma\": \"ORG-100030215\",\n" + | ||
" \"dn\": 1,\n" + | ||
" \"sd\": 2,\n" + | ||
" \"dt\": \"2021-02-18\",\n" + | ||
" \"co\": \"AT\",\n" + | ||
" \"is\": \"Ministry of Health, Austria\",\n" + | ||
" \"ci\": \"URN:UVCI:01:AT:10807843F94AEE0EE5093FBC254BD813#B\"\n" + | ||
" }\n" + | ||
" ]\n" + | ||
"}\n"; | ||
public static final String testRat = "{\n" + | ||
" \"ver\": \"1.2.1\",\n" + | ||
" \"nam\": {\n" + | ||
" \"fn\": \"Musterfrau-G\\u00f6\\u00dfinger\",\n" + | ||
" \"gn\": \"Gabriele\",\n" + | ||
" \"fnt\": \"MUSTERFRAU<GOESSINGER\",\n" + | ||
" \"gnt\": \"GABRIELE\"\n" + | ||
" },\n" + | ||
" \"dob\": \"1998-02-26\",\n" + | ||
" \"t\": [\n" + | ||
" {\n" + | ||
" \"tg\": \"840539006\",\n" + | ||
" \"tt\": \"LP217198-3\",\n" + | ||
" \"ma\": \"1232\",\n" + | ||
" \"sc\": \"2021-02-20T12:34:56+00:00\",\n" + | ||
" \"tr\": \"260415000\",\n" + | ||
" \"tc\": \"Testing center Vienna 1\",\n" + | ||
" \"co\": \"AT\",\n" + | ||
" \"is\": \"Ministry of Health, Austria\",\n" + | ||
" \"ci\": \"URN:UVCI:01:AT:71EE2559DE38C6BF7304FB65A1A451EC#3\"\n" + | ||
" }\n" + | ||
" ]\n" + | ||
"}\n"; | ||
public static final String testNaa = "{\n" + | ||
" \"ver\": \"1.2.1\",\n" + | ||
" \"nam\": {\n" + | ||
" \"fn\": \"Musterfrau-G\\u00f6\\u00dfinger\",\n" + | ||
" \"gn\": \"Gabriele\",\n" + | ||
" \"fnt\": \"MUSTERFRAU<GOESSINGER\",\n" + | ||
" \"gnt\": \"GABRIELE\"\n" + | ||
" },\n" + | ||
" \"dob\": \"1998-02-26\",\n" + | ||
" \"t\": [\n" + | ||
" {\n" + | ||
" \"tg\": \"840539006\",\n" + | ||
" \"tt\": \"LP6464-4\",\n" + | ||
" \"nm\": \"Roche LightCycler qPCR\",\n" + | ||
" \"sc\": \"2021-02-20T12:34:56+00:00\",\n" + | ||
" \"tr\": \"260415000\",\n" + | ||
" \"tc\": \"Testing center Vienna 1\",\n" + | ||
" \"co\": \"AT\",\n" + | ||
" \"is\": \"Ministry of Health, Austria\",\n" + | ||
" \"ci\": \"URN:UVCI:01:AT:B5921A35D6A0D696421B3E2462178297#I\"\n" + | ||
" }\n" + | ||
" ]\n" + | ||
"}\n"; | ||
} |