Skip to content

Commit 182ea9e

Browse files
authored
Merge pull request #1488 from /issues/1482-onboarding-mocks
Fix #1482: Onboarding Provider Mocks
2 parents 65d808a + b8edf2c commit 182ea9e

11 files changed

+871
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
services:
2+
onboarding-adapter-mock:
3+
build:
4+
dockerfile: docker/Dockerfile
5+
ports:
6+
- "8081:8080"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"token": "31706131726336496d655177346e55503279616b69547344446e5258684c7542",
3+
"user_id": "c9d437ac-5a8d-4d05-9cf3-d61c6ae3aa57",
4+
"success": true
5+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"token": "31706131726336496d655177346e55503279616b69547344446e5258684c7542",
3+
"primary": "string",
4+
"user_id": "c9d437ac-5a8d-4d05-9cf3-d61c6ae3aa57",
5+
"pod": "edge02.eu4",
6+
"risk_profile": "string"
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"token": "31706131726336496d655177346e55503279616b69547344446e5258684c7542",
3+
"primary": "string",
4+
"user_id": "c9d437ac-5a8d-4d05-9cf3-d61c6ae3aa57",
5+
"pod": "edge02.eu4",
6+
"risk_profile": "string"
7+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"passed": true,
3+
"token": "31706131726336496d655177346e55503279616b69547344446e5258684c7542",
4+
"type": "verify",
5+
"frame_available": false,
6+
"frame": "string",
7+
"frame_jpeg": "string",
8+
"reason": "Please Keep Still",
9+
"risk_profile": "string",
10+
"assurance_type": "genuine_presence",
11+
"signals": {
12+
"anti_spoofing": {
13+
"passed": true
14+
},
15+
"matching": {
16+
"passed": true
17+
},
18+
"multiple_faces": {
19+
"single_face": {
20+
"found": true
21+
},
22+
"face_consistent": {
23+
"passed": true
24+
}
25+
},
26+
"return_frame_quality": {
27+
"blur": "not_available",
28+
"pose": "not_available",
29+
"lighting": "not_available"
30+
}
31+
},
32+
"user_feedback_codes": [
33+
"ufc_lighting_issues",
34+
"ufc_eyewear",
35+
"ufc_obscured_face"
36+
]
37+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"result": "OK",
3+
"resultReason": "no reason"
4+
}

0 commit comments

Comments
 (0)