Skip to content

Commit 738e120

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SDCD-1826] Update DORA endpoints description and name (#2871)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 3d88403 commit 738e120

File tree

12 files changed

+26
-28
lines changed

12 files changed

+26
-28
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13717,8 +13717,7 @@ components:
1371713717
type: string
1371813718
finished_at:
1371913719
description: Unix timestamp when the deployment finished. It must be in
13720-
nanoseconds, milliseconds, or seconds, and it should not be older than
13721-
1 hour.
13720+
nanoseconds, milliseconds, or seconds.
1372213721
example: 1693491984000000000
1372313722
format: int64
1372413723
type: integer
@@ -57663,8 +57662,7 @@ paths:
5766357662
- manage_log_reports
5766457663
/api/v2/dora/deployment:
5766557664
post:
57666-
description: 'Use this API endpoint to provide data about deployments for DORA
57667-
metrics.
57665+
description: 'Use this API endpoint to provide deployment data.
5766857666

5766957667

5767057668
This is necessary for:
@@ -57706,7 +57704,7 @@ paths:
5770657704
$ref: '#/components/responses/TooManyRequestsResponse'
5770757705
security:
5770857706
- apiKeyAuth: []
57709-
summary: Send a deployment event for DORA Metrics
57707+
summary: Send a deployment event
5771057708
tags:
5771157709
- DORA Metrics
5771257710
x-codegen-request-body-name: body
@@ -57823,7 +57821,7 @@ paths:
5782357821
- dora_metrics_read
5782457822
/api/v2/dora/failure:
5782557823
post:
57826-
description: 'Use this API endpoint to provide failure data for DORA metrics.
57824+
description: 'Use this API endpoint to provide failure data.
5782757825

5782857826

5782957827
This is necessary for:
@@ -57863,7 +57861,7 @@ paths:
5786357861
$ref: '#/components/responses/TooManyRequestsResponse'
5786457862
security:
5786557863
- apiKeyAuth: []
57866-
summary: Send a failure event for DORA Metrics
57864+
summary: Send a failure event
5786757865
tags:
5786857866
- DORA Metrics
5786957867
x-codegen-request-body-name: body
@@ -57985,7 +57983,7 @@ paths:
5798557983
instead.
5798657984

5798757985

57988-
Use this API endpoint to provide failure data for DORA metrics.
57986+
Use this API endpoint to provide failure data.
5798957987

5799057988

5799157989
This is necessary for:
@@ -58025,7 +58023,7 @@ paths:
5802558023
$ref: '#/components/responses/TooManyRequestsResponse'
5802658024
security:
5802758025
- apiKeyAuth: []
58028-
summary: Send an incident event for DORA Metrics
58026+
summary: Send an incident event
5802958027
tags:
5803058028
- DORA Metrics
5803158029
x-codegen-request-body-name: body
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"log": {
3-
"_recordingName": "DORA Metrics/Send a deployment event for DORA Metrics returns \"OK\" response",
3+
"_recordingName": "DORA Metrics/Send a deployment event returns \"OK\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"log": {
3-
"_recordingName": "DORA Metrics/Send a failure event for DORA Metrics returns \"OK\" response",
3+
"_recordingName": "DORA Metrics/Send a failure event returns \"OK\" response",
44
"creator": {
55
"comment": "persister:fs",
66
"name": "Polly.JS",

examples/v2/dora-metrics/CreateDORADeployment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Send a deployment event for DORA Metrics returns "OK" response
2+
* Send a deployment event returns "OK" response
33
*/
44

55
import { client, v2 } from "@datadog/datadog-api-client";

examples/v2/dora-metrics/CreateDORAFailure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Send a failure event for DORA Metrics returns "OK - but delayed due to incident" response
2+
* Send a failure event returns "OK - but delayed due to incident" response
33
*/
44

55
import { client, v2 } from "@datadog/datadog-api-client";

examples/v2/dora-metrics/CreateDORAIncident.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Send an incident event for DORA Metrics returns "OK" response
2+
* Send an incident event returns "OK" response
33
*/
44

55
import { client, v2 } from "@datadog/datadog-api-client";

examples/v2/dora-metrics/CreateDORAIncident_1768887482.ts renamed to examples/v2/dora-metrics/CreateDORAIncident_1101664022.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Send a failure event for DORA Metrics returns "OK" response
2+
* Send a failure event returns "OK" response
33
*/
44

55
import { client, v2 } from "@datadog/datadog-api-client";

features/v2/dora_metrics.feature

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,63 +105,63 @@ Feature: DORA Metrics
105105
Then the response status is 200 OK
106106

107107
@skip @team:DataDog/ci-app-backend
108-
Scenario: Send a deployment event for DORA Metrics returns "Bad Request" response
108+
Scenario: Send a deployment event returns "Bad Request" response
109109
Given new "CreateDORADeployment" request
110110
And body with value {"data": {"attributes": {}}}
111111
When the request is sent
112112
Then the response status is 400 Bad Request
113113

114114
@generated @skip @team:DataDog/ci-app-backend
115-
Scenario: Send a deployment event for DORA Metrics returns "OK - but delayed due to incident" response
115+
Scenario: Send a deployment event returns "OK - but delayed due to incident" response
116116
Given new "CreateDORADeployment" request
117117
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "service": "shopist", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
118118
When the request is sent
119119
Then the response status is 202 OK - but delayed due to incident
120120

121121
@replay-only @team:DataDog/ci-app-backend
122-
Scenario: Send a deployment event for DORA Metrics returns "OK" response
122+
Scenario: Send a deployment event returns "OK" response
123123
Given new "CreateDORADeployment" request
124124
And body with value {"data": {"attributes": {"finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "service": "shopist", "started_at": 1693491974000000000, "version": "v1.12.07"}}}
125125
When the request is sent
126126
Then the response status is 200 OK
127127

128128
@skip @team:DataDog/ci-app-backend
129-
Scenario: Send a failure event for DORA Metrics returns "Bad Request" response
129+
Scenario: Send a failure event returns "Bad Request" response
130130
Given new "CreateDORAIncident" request
131131
And body with value {"data": {"attributes": {}}}
132132
When the request is sent
133133
Then the response status is 400 Bad Request
134134

135135
@generated @skip @team:DataDog/ci-app-backend
136-
Scenario: Send a failure event for DORA Metrics returns "OK - but delayed due to incident" response
136+
Scenario: Send a failure event returns "OK - but delayed due to incident" response
137137
Given new "CreateDORAFailure" request
138138
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
139139
When the request is sent
140140
Then the response status is 202 OK - but delayed due to incident
141141

142142
@replay-only @team:DataDog/ci-app-backend
143-
Scenario: Send a failure event for DORA Metrics returns "OK" response
143+
Scenario: Send a failure event returns "OK" response
144144
Given new "CreateDORAIncident" request
145145
And body with value {"data": {"attributes": {"finished_at": 1707842944600000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests", "services": ["shopist"], "severity": "High", "started_at": 1707842944500000000, "team": "backend", "version": "v1.12.07"}}}
146146
When the request is sent
147147
Then the response status is 200 OK
148148

149149
@generated @skip @team:DataDog/ci-app-backend
150-
Scenario: Send an incident event for DORA Metrics returns "Bad Request" response
150+
Scenario: Send an incident event returns "Bad Request" response
151151
Given new "CreateDORAIncident" request
152152
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
153153
When the request is sent
154154
Then the response status is 400 Bad Request
155155

156156
@generated @skip @team:DataDog/ci-app-backend
157-
Scenario: Send an incident event for DORA Metrics returns "OK - but delayed due to incident" response
157+
Scenario: Send an incident event returns "OK - but delayed due to incident" response
158158
Given new "CreateDORAIncident" request
159159
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
160160
When the request is sent
161161
Then the response status is 202 OK - but delayed due to incident
162162

163163
@generated @skip @team:DataDog/ci-app-backend
164-
Scenario: Send an incident event for DORA Metrics returns "OK" response
164+
Scenario: Send an incident event returns "OK" response
165165
Given new "CreateDORAIncident" request
166166
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
167167
When the request is sent

0 commit comments

Comments
 (0)