Skip to content

Commit 4d0e4da

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix race condition with reporting API status (#1949)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent b1b7ac2 commit 4d0e4da

11 files changed

+17
-18
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-04-17 15:28:03.856507",
8-
"spec_repo_commit": "4bea6a2f"
7+
"regenerated": "2024-04-19 13:48:50.974867",
8+
"spec_repo_commit": "d5fb4450"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-17 15:28:03.873583",
13-
"spec_repo_commit": "4bea6a2f"
12+
"regenerated": "2024-04-19 13:48:50.992732",
13+
"spec_repo_commit": "d5fb4450"
1414
}
1515
}
1616
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.109Z
1+
2024-04-18T20:09:43.575Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.274Z
1+
2024-04-18T20:09:43.729Z

tests/v2/cassettes/test_scenarios/test_create_a_new_slo_report_returns_ok_response.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/slo/report
1212
response:
1313
body:
14-
string: '{"data":{"id":"8226c9b6-f69a-11ee-8916-13e390f416b9","type":"report_id"}}'
14+
string: '{"data":{"id":"98c67bea-fdbf-11ee-8a01-bfd37432018b","type":"report_id"}}'
1515
headers:
1616
content-type:
1717
- application/vnd.api+json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.430Z
1+
2024-04-18T20:09:43.887Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.598Z
1+
2024-04-18T20:09:43.972Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.721Z
1+
2024-04-18T20:09:44.063Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.827Z
1+
2024-04-18T20:09:44.147Z
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-04-09T17:56:36.931Z
1+
2024-04-18T20:09:44.243Z

tests/v2/cassettes/test_scenarios/test_get_slo_report_status_returns_ok_response.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
interactions:
22
- request:
3-
body: '{"data":{"attributes":{"from_ts":1710870996,"interval":"monthly","query":"slo_type:metric
4-
\"SLO Reporting Test\"","to_ts":1712685396}}}'
3+
body: '{"data":{"attributes":{"from_ts":1711656584,"interval":"monthly","query":"slo_type:metric
4+
\"SLO Reporting Test\"","to_ts":1713470984}}}'
55
headers:
66
accept:
77
- application/json
@@ -11,7 +11,7 @@ interactions:
1111
uri: https://api.datadoghq.com/api/v2/slo/report
1212
response:
1313
body:
14-
string: '{"data":{"id":"8288c800-f69a-11ee-aab1-0772aa10fea1","type":"report_id"}}'
14+
string: '{"data":{"id":"990d70d6-fdbf-11ee-99ae-1f9640631fbf","type":"report_id"}}'
1515
headers:
1616
content-type:
1717
- application/vnd.api+json
@@ -24,10 +24,10 @@ interactions:
2424
accept:
2525
- application/json
2626
method: GET
27-
uri: https://api.datadoghq.com/api/v2/slo/report/8288c800-f69a-11ee-aab1-0772aa10fea1/status
27+
uri: https://api.datadoghq.com/api/v2/slo/report/990d70d6-fdbf-11ee-99ae-1f9640631fbf/status
2828
response:
2929
body:
30-
string: '{"data":{"id":"8288c800-f69a-11ee-aab1-0772aa10fea1","type":"report_id","attributes":{"status":"in_progress"}}}'
30+
string: '{"data":{"id":"990d70d6-fdbf-11ee-99ae-1f9640631fbf","type":"report_id","attributes":{"status":"in_progress"}}}'
3131
headers:
3232
content-type:
3333
- application/vnd.api+json

0 commit comments

Comments
 (0)