Skip to content

Commit

Permalink
Regenerate client from commit 0fe2fba6 of spec repo (#761)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Jul 19, 2022
1 parent 7f95287 commit b945297
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-07-18 17:54:13.322165",
"spec_repo_commit": "f486a915"
"regenerated": "2022-07-19 06:38:50.555238",
"spec_repo_commit": "0fe2fba6"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-07-18 17:54:13.337817",
"spec_repo_commit": "f486a915"
"regenerated": "2022-07-19 06:38:50.567621",
"spec_repo_commit": "0fe2fba6"
}
}
}
8 changes: 4 additions & 4 deletions features/v1/logs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,30 @@ Feature: Logs
When the request is sent
Then the response status is 200 OK

@integration-only @skip-terraform-config @skip-validation @team:DataDog/logs-intake
@integration-only @skip-terraform-config @skip-validation @team:DataDog/event-platform-intake
Scenario: Send deflate logs returns "Response from server (always 200 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"message": "{{ unique }}", "ddtags": "host:{{ unique_alnum }}"}]
And request contains "Content-Encoding" parameter with value "deflate"
When the request is sent
Then the response status is 200 Response from server (always 200 empty JSON).

@integration-only @skip-terraform-config @skip-validation @team:DataDog/logs-intake
@integration-only @skip-terraform-config @skip-validation @team:DataDog/event-platform-intake
Scenario: Send gzip logs returns "Response from server (always 200 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"message": "{{ unique }}", "ddtags": "host:{{ unique_alnum }}"}]
And request contains "Content-Encoding" parameter with value "gzip"
When the request is sent
Then the response status is 200 Response from server (always 200 empty JSON).

@team:DataDog/logs-intake
@team:DataDog/event-platform-intake
Scenario: Send logs returns "Response from server (always 200 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"message": "{{ unique }}", "ddtags": "host:{{ unique_alnum }}"}]
When the request is sent
Then the response status is 200 Response from server (always 200 empty JSON).

@generated @skip @team:DataDog/logs-intake
@generated @skip @team:DataDog/event-platform-intake
Scenario: Send logs returns "unexpected error" response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
Expand Down
12 changes: 6 additions & 6 deletions features/v2/logs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -98,44 +98,44 @@ Feature: Logs
Then the response status is 200 OK
And the response has 3 items

@integration-only @skip-terraform-config @skip-validation @team:DataDog/logs-backend @team:DataDog/logs-intake
@integration-only @skip-terraform-config @skip-validation @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send deflate logs returns "Request accepted for processing (always 202 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
And request contains "Content-Encoding" parameter with value "deflate"
When the request is sent
Then the response status is 202 Response from server (always 202 empty JSON).

@integration-only @skip-terraform-config @skip-validation @team:DataDog/logs-backend @team:DataDog/logs-intake
@integration-only @skip-terraform-config @skip-validation @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send gzip logs returns "Request accepted for processing (always 202 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
And request contains "Content-Encoding" parameter with value "gzip"
When the request is sent
Then the response status is 202 Request accepted for processing (always 202 empty JSON).

@generated @skip @team:DataDog/logs-backend @team:DataDog/logs-intake
@generated @skip @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send logs returns "Bad Request" response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
When the request is sent
Then the response status is 400 Bad Request

@generated @skip @team:DataDog/logs-backend @team:DataDog/logs-intake
@generated @skip @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send logs returns "Payload Too Large" response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
When the request is sent
Then the response status is 413 Payload Too Large

@generated @skip @team:DataDog/logs-backend @team:DataDog/logs-intake
@generated @skip @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send logs returns "Request Timeout" response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment"}]
When the request is sent
Then the response status is 408 Request Timeout

@skip-go @team:DataDog/logs-backend @team:DataDog/logs-intake
@skip-go @team:DataDog/event-platform-intake @team:DataDog/logs-backend
Scenario: Send logs returns "Request accepted for processing (always 202 empty JSON)." response
Given new "SubmitLog" request
And body with value [{"ddsource": "nginx", "ddtags": "env:staging,version:5.1", "hostname": "i-012345678", "message": "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World", "service": "payment", "status": "error"}]
Expand Down

0 comments on commit b945297

Please sign in to comment.