-
Notifications
You must be signed in to change notification settings - Fork 1
/
immune.json
59 lines (59 loc) · 1.83 KB
/
immune.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"base_url": "http://127.0.0.1:5005/api/v1",
"callback": {
"port": 80,
"ssl": false,
"ssl_cert_file": "",
"ssl_key_file": "",
"max_wait_seconds": 20,
"route": "/",
"id_location": "data"
},
"database": {
"type": "mongo",
"dsn": "mongodb+srv://admin:[email protected]/convoy-immune"
},
"event_target_url": "https://5721-102-219-153-96.ngrok.io",
"test_cases": [
{
"name": "test_convoy_can_push_event_to_app_with_one_endpoint",
"setup": ["setup_group", "setup_app", "setup_endpoint", "setup_event"],
"http_method": "POST",
"endpoint": "/events?groupId={group_id}",
"callback": {
"enabled": true,
"times": 2
},
"request_body": {
"app_id": "{app_id}",
"event_type": "payment.failed",
"data": {
"sc": "gene",
"marvel": "stark"
}
},
"status_code": 201,
"response_body": true
},
{
"name": "test_convoy_can_push_event_to_app_with_two_endpoint",
"setup": ["setup_group", "setup_app", "setup_endpoint", "setup_endpoint"],
"http_method": "POST",
"endpoint": "/events?groupId={group_id}",
"callback": {
"enabled": true,
"times": 2
},
"request_body": {
"app_id": "{app_id}",
"event_type": "payment.failed",
"data": {
"sc": "gene",
"marvel": "stark"
}
},
"status_code": 201,
"response_body": true
}
]
}