-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate client from commit ee277b0 of spec repo (#731)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
- Loading branch information
1 parent
df7932a
commit 7f57d5a
Showing
9 changed files
with
172 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
.../v1/cassettes/test_scenarios/test_create_a_cipipelines_monitor_returns_ok_response.frozen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2021-12-21T21:17:36.158Z |
112 changes: 112 additions & 0 deletions
112
tests/v1/cassettes/test_scenarios/test_create_a_cipipelines_monitor_returns_ok_response.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
interactions: | ||
- request: | ||
body: '{"message":"some message Notify: @hipchat-channel","name":"Test-Create_a_ci_pipelines_monitor_returns_OK_response-1640121456","options":{"thresholds":{"critical":1}},"priority":3,"query":"ci-pipelines(\"ci_level:pipeline | ||
@git.branch:staging* @ci.status:error\").rollup(\"count\").by(\"@git.branch,@ci.pipeline.name\").last(\"5m\") | ||
>= 1","tags":["test:testcreateacipipelinesmonitorreturnsokresponse1640121456","env:ci"],"type":"ci-pipelines | ||
alert"}' | ||
headers: | ||
accept: | ||
- '*/*' | ||
connection: | ||
- close | ||
content-length: | ||
- '447' | ||
content-type: | ||
- application/json | ||
host: | ||
- api.datadoghq.com | ||
user-agent: | ||
- datadog-api-spec/scripts/bdd-runner | ||
x-datadog-parent-id: | ||
- '8167805434709641945' | ||
x-datadog-trace-id: | ||
- '3445354388052141751' | ||
method: POST | ||
uri: https://api.datadoghq.com/api/v1/monitor | ||
response: | ||
body: | ||
string: '{"restricted_roles":null,"tags":["test:testcreateacipipelinesmonitorreturnsokresponse1640121456","env:ci"],"deleted":null,"query":"ci-pipelines(\"ci_level:pipeline | ||
@git.branch:staging* @ci.status:error\").rollup(\"count\").by(\"@git.branch,@ci.pipeline.name\").last(\"5m\") | ||
>= 1","message":"some message Notify: @hipchat-channel","id":58636377,"multi":true,"name":"Test-Create_a_ci_pipelines_monitor_returns_OK_response-1640121456","created":"2021-12-21T21:17:36.335165+00:00","created_at":1640121456000,"creator":{"id":1445416,"handle":"frog@datadoghq.com","name":null,"email":"frog@datadoghq.com"},"org_id":321813,"modified":"2021-12-21T21:17:36.335165+00:00","priority":3,"overall_state_modified":null,"overall_state":"No | ||
Data","type":"ci-pipelines alert","options":{"notify_audit":false,"locked":false,"silenced":{},"include_tags":true,"thresholds":{"critical":1.0},"new_host_delay":300,"notify_no_data":false,"groupby_simple_monitor":false}}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
connection: | ||
- close | ||
content-length: | ||
- '946' | ||
content-security-policy: | ||
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report | ||
content-type: | ||
- application/json | ||
date: | ||
- Tue, 21 Dec 2021 21:17:36 GMT | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=15724800; | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-frame-options: | ||
- SAMEORIGIN | ||
x-ratelimit-limit: | ||
- '500' | ||
x-ratelimit-period: | ||
- '10' | ||
x-ratelimit-remaining: | ||
- '499' | ||
x-ratelimit-reset: | ||
- '4' | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: | ||
body: null | ||
headers: | ||
accept: | ||
- '*/*' | ||
connection: | ||
- close | ||
host: | ||
- api.datadoghq.com | ||
user-agent: | ||
- datadog-api-spec/scripts/bdd-runner | ||
x-datadog-parent-id: | ||
- '6388444710619614063' | ||
x-datadog-trace-id: | ||
- '3445354388052141751' | ||
method: DELETE | ||
uri: https://api.datadoghq.com/api/v1/monitor/58636377 | ||
response: | ||
body: | ||
string: '{"deleted_monitor_id":58636377}' | ||
headers: | ||
cache-control: | ||
- no-cache | ||
connection: | ||
- close | ||
content-length: | ||
- '31' | ||
content-security-policy: | ||
- frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report | ||
content-type: | ||
- application/json | ||
date: | ||
- Tue, 21 Dec 2021 21:17:36 GMT | ||
pragma: | ||
- no-cache | ||
strict-transport-security: | ||
- max-age=15724800; | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-frame-options: | ||
- SAMEORIGIN | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters