Skip to content

Commit 5a30103

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 47b8a8c of spec repo
1 parent 50cf038 commit 5a30103

10 files changed

Lines changed: 703 additions & 24 deletions

‎tests/generated-test/test-runner-data/manifest.json‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,20 @@
12111211
"scenario": "Search test logs returns \"OK\" response",
12121212
"version": "v1"
12131213
},
1214+
{
1215+
"feature": "Logs",
1216+
"feature_file": "../../v1/features/logs.feature",
1217+
"file": "v1/logs/send-deflate-logs-returns-response-from-server-always-200-empty-json-response.json",
1218+
"scenario": "Send deflate logs returns \"Response from server (always 200 empty JSON).\" response",
1219+
"version": "v1"
1220+
},
1221+
{
1222+
"feature": "Logs",
1223+
"feature_file": "../../v1/features/logs.feature",
1224+
"file": "v1/logs/send-gzip-logs-returns-response-from-server-always-200-empty-json-response.json",
1225+
"scenario": "Send gzip logs returns \"Response from server (always 200 empty JSON).\" response",
1226+
"version": "v1"
1227+
},
12141228
{
12151229
"feature": "Logs",
12161230
"feature_file": "../../v1/features/logs.feature",
@@ -6391,6 +6405,20 @@
63916405
"scenario": "Search logs returns \"OK\" response with pagination",
63926406
"version": "v2"
63936407
},
6408+
{
6409+
"feature": "Logs",
6410+
"feature_file": "../../v2/features/logs.feature",
6411+
"file": "v2/logs/send-deflate-logs-returns-request-accepted-for-processing-always-202-empty-json-response.json",
6412+
"scenario": "Send deflate logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
6413+
"version": "v2"
6414+
},
6415+
{
6416+
"feature": "Logs",
6417+
"feature_file": "../../v2/features/logs.feature",
6418+
"file": "v2/logs/send-gzip-logs-returns-request-accepted-for-processing-always-202-empty-json-response.json",
6419+
"scenario": "Send gzip logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
6420+
"version": "v2"
6421+
},
63946422
{
63956423
"feature": "Logs",
63966424
"feature_file": "../../v2/features/logs.feature",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"api": "Logs",
3+
"expected_status": 200,
4+
"feature": "Logs",
5+
"id": "v1/Logs/Send deflate logs returns \"Response from server (always 200 empty JSON).\" response",
6+
"operation_id": "SubmitLog",
7+
"request": {
8+
"body": {
9+
"schema": {
10+
"format": null,
11+
"items": {
12+
"format": null,
13+
"ref": "HTTPLogItem",
14+
"type": "object"
15+
},
16+
"ref": "HTTPLog",
17+
"type": "array"
18+
},
19+
"source": "inline",
20+
"value": [
21+
{
22+
"ddtags": "host:{{ unique_alnum }}",
23+
"message": "{{ unique }}"
24+
}
25+
]
26+
},
27+
"compression": "deflate",
28+
"content_type": "application/json",
29+
"method": "POST",
30+
"pagination": false,
31+
"parameters": [],
32+
"path": "/v1/input",
33+
"selected_compression": "deflate"
34+
},
35+
"scenario": "Send deflate logs returns \"Response from server (always 200 empty JSON).\" response",
36+
"schema_version": 1,
37+
"version": "v1"
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"api": "Logs",
3+
"expected_status": 200,
4+
"feature": "Logs",
5+
"id": "v1/Logs/Send gzip logs returns \"Response from server (always 200 empty JSON).\" response",
6+
"operation_id": "SubmitLog",
7+
"request": {
8+
"body": {
9+
"schema": {
10+
"format": null,
11+
"items": {
12+
"format": null,
13+
"ref": "HTTPLogItem",
14+
"type": "object"
15+
},
16+
"ref": "HTTPLog",
17+
"type": "array"
18+
},
19+
"source": "inline",
20+
"value": [
21+
{
22+
"ddtags": "host:{{ unique_alnum }}",
23+
"message": "{{ unique }}"
24+
}
25+
]
26+
},
27+
"compression": "gzip",
28+
"content_type": "application/json",
29+
"method": "POST",
30+
"pagination": false,
31+
"parameters": [],
32+
"path": "/v1/input",
33+
"selected_compression": "gzip"
34+
},
35+
"scenario": "Send gzip logs returns \"Response from server (always 200 empty JSON).\" response",
36+
"schema_version": 1,
37+
"version": "v1"
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"api": "Logs",
3+
"expected_status": 202,
4+
"feature": "Logs",
5+
"id": "v2/Logs/Send deflate logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
6+
"operation_id": "SubmitLog",
7+
"request": {
8+
"body": {
9+
"schema": {
10+
"format": null,
11+
"items": {
12+
"format": null,
13+
"ref": "HTTPLogItem",
14+
"type": "object"
15+
},
16+
"ref": "HTTPLog",
17+
"type": "array"
18+
},
19+
"source": "inline",
20+
"value": [
21+
{
22+
"ddsource": "nginx",
23+
"ddtags": "env:staging,version:5.1",
24+
"hostname": "i-012345678",
25+
"message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World",
26+
"service": "payment"
27+
}
28+
]
29+
},
30+
"compression": "deflate",
31+
"content_type": "application/json",
32+
"method": "POST",
33+
"pagination": false,
34+
"parameters": [],
35+
"path": "/api/v2/logs",
36+
"selected_compression": "deflate"
37+
},
38+
"scenario": "Send deflate logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
39+
"schema_version": 1,
40+
"version": "v2"
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"api": "Logs",
3+
"expected_status": 202,
4+
"feature": "Logs",
5+
"id": "v2/Logs/Send gzip logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
6+
"operation_id": "SubmitLog",
7+
"request": {
8+
"body": {
9+
"schema": {
10+
"format": null,
11+
"items": {
12+
"format": null,
13+
"ref": "HTTPLogItem",
14+
"type": "object"
15+
},
16+
"ref": "HTTPLog",
17+
"type": "array"
18+
},
19+
"source": "inline",
20+
"value": [
21+
{
22+
"ddsource": "nginx",
23+
"ddtags": "env:staging,version:5.1",
24+
"hostname": "i-012345678",
25+
"message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World",
26+
"service": "payment"
27+
}
28+
]
29+
},
30+
"compression": "gzip",
31+
"content_type": "application/json",
32+
"method": "POST",
33+
"pagination": false,
34+
"parameters": [],
35+
"path": "/api/v2/logs",
36+
"selected_compression": "gzip"
37+
},
38+
"scenario": "Send gzip logs returns \"Request accepted for processing (always 202 empty JSON).\" response",
39+
"schema_version": 1,
40+
"version": "v2"
41+
}

0 commit comments

Comments
 (0)