-
Notifications
You must be signed in to change notification settings - Fork 370
/
blackboxconfig.yml
46 lines (46 loc) · 1.18 KB
/
blackboxconfig.yml
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
modules:
http_2xx:
prober: http
timeout: 5s
http:
valid_http_versions: ["HTTP/1.0", "HTTP/1.1", "HTTP/2"]
valid_status_codes: [] # Defaults to 2xx
method: GET
http_4xx_auth:
prober: http
timeout: 5s
http:
valid_http_versions: ["HTTP/1.0", "HTTP/1.1", "HTTP/2"]
valid_status_codes: [401, 403]
method: GET
tcp_connect:
prober: tcp
timeout: 5s
composite_search:
prober: http
timeout: 5s
http:
method: POST
headers:
Content-Type: application/json
Authorization: Bearer {{ kong__test_jwt }}
body: '{
"request": {
"filters":{
"contentType": "Course",
"objectType": ["Content"],
"status": ["Live"]
},
"limit": 1,
"fields": ["name", "contentType"]
}
}'
page_assemble:
prober: http
timeout: 5s
http:
method: POST
headers:
Content-Type: application/json
Authorization: Bearer {{ kong__test_jwt }}
body: '{"request": {"source": "web", "name": "Resource", "filters": {}}}'