Skip to content

Commit fa4fe80

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specamaskara-dd
authored
Regenerate client from commit bd1bec8 of spec repo (#2851)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: amaskara-dd <[email protected]>
1 parent 8ba7404 commit fa4fe80

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

features/v2/on-call.feature

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Feature: On-Call
99
And a valid "appKeyAuth" key in the system
1010
And an instance of "On-Call" API
1111

12-
@generated @skip @team:DataDog/bugle
12+
@generated @skip @team:DataDog/on-call
1313
Scenario: Create On-Call escalation policy returns "Bad Request" response
1414
Given new "CreateOnCallEscalationPolicy" request
1515
And body with value {"data": {"attributes": {"name": "Escalation Policy 1", "resolve_page_on_policy_end": true, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-aba2-0000-0000-000000000000", "type": "schedules"}, {"id": "00000000-aba3-0000-0000-000000000000", "type": "teams"}]}, {"assignment": "round-robin", "escalate_after_seconds": 3600, "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-abb1-0000-0000-000000000000", "type": "users"}]}]}, "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "policies"}}
1616
When the request is sent
1717
Then the response status is 400 Bad Request
1818

19-
@team:DataDog/bugle
19+
@team:DataDog/on-call
2020
Scenario: Create On-Call escalation policy returns "Created" response
2121
Given new "CreateOnCallEscalationPolicy" request
2222
And there is a valid "user" in the system
@@ -27,14 +27,14 @@ Feature: On-Call
2727
When the request is sent
2828
Then the response status is 201 Created
2929

30-
@generated @skip @team:DataDog/bugle
30+
@generated @skip @team:DataDog/on-call
3131
Scenario: Create On-Call schedule returns "Bad Request" response
3232
Given new "CreateOnCallSchedule" request
3333
And body with value {"data": {"attributes": {"layers": [{"effective_date": "2025-02-03T05:00:00Z", "end_date": "2025-12-31T00:00:00Z", "interval": {"days": 1}, "members": [{"user": {"id": "00000000-aba1-0000-0000-000000000000"}}], "name": "Layer 1", "restrictions": [{"end_day": "friday", "end_time": "17:00:00", "start_day": "monday", "start_time": "09:00:00"}], "rotation_start": "2025-02-01T00:00:00Z"}], "name": "On-Call Schedule", "time_zone": "America/New_York"}, "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "schedules"}}
3434
When the request is sent
3535
Then the response status is 400 Bad Request
3636

37-
@team:DataDog/bugle
37+
@team:DataDog/on-call
3838
Scenario: Create On-Call schedule returns "Created" response
3939
Given new "CreateOnCallSchedule" request
4040
And there is a valid "user" in the system
@@ -43,7 +43,7 @@ Feature: On-Call
4343
When the request is sent
4444
Then the response status is 201 Created
4545

46-
@team:DataDog/bugle
46+
@team:DataDog/on-call
4747
Scenario: Delete On-Call escalation policy returns "No Content" response
4848
Given new "DeleteOnCallEscalationPolicy" request
4949
And there is a valid "user" in the system
@@ -54,14 +54,14 @@ Feature: On-Call
5454
When the request is sent
5555
Then the response status is 204 No Content
5656

57-
@generated @skip @team:DataDog/bugle
57+
@generated @skip @team:DataDog/on-call
5858
Scenario: Delete On-Call escalation policy returns "Not Found" response
5959
Given new "DeleteOnCallEscalationPolicy" request
6060
And request contains "policy_id" parameter from "REPLACE.ME"
6161
When the request is sent
6262
Then the response status is 404 Not Found
6363

64-
@team:DataDog/bugle
64+
@team:DataDog/on-call
6565
Scenario: Delete On-Call schedule returns "No Content" response
6666
Given new "DeleteOnCallSchedule" request
6767
And there is a valid "user" in the system
@@ -70,28 +70,28 @@ Feature: On-Call
7070
When the request is sent
7171
Then the response status is 204 No Content
7272

73-
@generated @skip @team:DataDog/bugle
73+
@generated @skip @team:DataDog/on-call
7474
Scenario: Delete On-Call schedule returns "Not Found" response
7575
Given new "DeleteOnCallSchedule" request
7676
And request contains "schedule_id" parameter from "REPLACE.ME"
7777
When the request is sent
7878
Then the response status is 404 Not Found
7979

80-
@generated @skip @team:DataDog/bugle
80+
@generated @skip @team:DataDog/on-call
8181
Scenario: Get On-Call escalation policy returns "Bad Request" response
8282
Given new "GetOnCallEscalationPolicy" request
8383
And request contains "policy_id" parameter from "REPLACE.ME"
8484
When the request is sent
8585
Then the response status is 400 Bad Request
8686

87-
@generated @skip @team:DataDog/bugle
87+
@generated @skip @team:DataDog/on-call
8888
Scenario: Get On-Call escalation policy returns "Not Found" response
8989
Given new "GetOnCallEscalationPolicy" request
9090
And request contains "policy_id" parameter from "REPLACE.ME"
9191
When the request is sent
9292
Then the response status is 404 Not Found
9393

94-
@team:DataDog/bugle
94+
@team:DataDog/on-call
9595
Scenario: Get On-Call escalation policy returns "OK" response
9696
Given new "GetOnCallEscalationPolicy" request
9797
And there is a valid "user" in the system
@@ -103,14 +103,14 @@ Feature: On-Call
103103
When the request is sent
104104
Then the response status is 200 OK
105105

106-
@generated @skip @team:DataDog/bugle
106+
@generated @skip @team:DataDog/on-call
107107
Scenario: Get On-Call schedule returns "Not Found" response
108108
Given new "GetOnCallSchedule" request
109109
And request contains "schedule_id" parameter from "REPLACE.ME"
110110
When the request is sent
111111
Then the response status is 404 Not Found
112112

113-
@team:DataDog/bugle
113+
@team:DataDog/on-call
114114
Scenario: Get On-Call schedule returns "OK" response
115115
Given new "GetOnCallSchedule" request
116116
And there is a valid "user" in the system
@@ -119,28 +119,28 @@ Feature: On-Call
119119
When the request is sent
120120
Then the response status is 200 OK
121121

122-
@generated @skip @team:DataDog/bugle
122+
@generated @skip @team:DataDog/on-call
123123
Scenario: Get On-Call team routing rules returns "OK" response
124124
Given new "GetOnCallTeamRoutingRules" request
125125
And request contains "team_id" parameter from "REPLACE.ME"
126126
When the request is sent
127127
Then the response status is 200 OK
128128

129-
@generated @skip @team:DataDog/bugle
129+
@generated @skip @team:DataDog/on-call
130130
Scenario: Get team on-call users returns "Bad Request" response
131131
Given new "GetTeamOnCallUsers" request
132132
And request contains "team_id" parameter from "REPLACE.ME"
133133
When the request is sent
134134
Then the response status is 400 Bad Request
135135

136-
@generated @skip @team:DataDog/bugle
136+
@generated @skip @team:DataDog/on-call
137137
Scenario: Get team on-call users returns "Not Found" response
138138
Given new "GetTeamOnCallUsers" request
139139
And request contains "team_id" parameter from "REPLACE.ME"
140140
When the request is sent
141141
Then the response status is 404 Not Found
142142

143-
@team:DataDog/bugle
143+
@team:DataDog/on-call
144144
Scenario: Get team on-call users returns "OK" response
145145
Given new "GetTeamOnCallUsers" request
146146
And there is a valid "user" in the system
@@ -153,21 +153,21 @@ Feature: On-Call
153153
When the request is sent
154154
Then the response status is 200 OK
155155

156-
@generated @skip @team:DataDog/bugle
156+
@generated @skip @team:DataDog/on-call
157157
Scenario: Get the schedule on-call user returns "Bad Request" response
158158
Given new "GetScheduleOnCallUser" request
159159
And request contains "schedule_id" parameter from "REPLACE.ME"
160160
When the request is sent
161161
Then the response status is 400 Bad Request
162162

163-
@generated @skip @team:DataDog/bugle
163+
@generated @skip @team:DataDog/on-call
164164
Scenario: Get the schedule on-call user returns "Not Found" response
165165
Given new "GetScheduleOnCallUser" request
166166
And request contains "schedule_id" parameter from "REPLACE.ME"
167167
When the request is sent
168168
Then the response status is 404 Not Found
169169

170-
@team:DataDog/bugle
170+
@team:DataDog/on-call
171171
Scenario: Get the schedule on-call user returns "OK" response
172172
Given new "GetScheduleOnCallUser" request
173173
And there is a valid "user" in the system
@@ -176,7 +176,7 @@ Feature: On-Call
176176
When the request is sent
177177
Then the response status is 200 OK
178178

179-
@skip-python @team:DataDog/bugle
179+
@skip-python @team:DataDog/on-call
180180
Scenario: Set On-Call team routing rules returns "OK" response
181181
Given new "SetOnCallTeamRoutingRules" request
182182
And there is a valid "user" in the system
@@ -189,23 +189,23 @@ Feature: On-Call
189189
When the request is sent
190190
Then the response status is 200 OK
191191

192-
@generated @skip @team:DataDog/bugle
192+
@generated @skip @team:DataDog/on-call
193193
Scenario: Update On-Call escalation policy returns "Bad Request" response
194194
Given new "UpdateOnCallEscalationPolicy" request
195195
And request contains "policy_id" parameter from "REPLACE.ME"
196196
And body with value {"data": {"attributes": {"name": "Escalation Policy 1", "resolve_page_on_policy_end": false, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "id": "00000000-aba1-0000-0000-000000000000", "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-aba2-0000-0000-000000000000", "type": "schedules"}]}]}, "id": "a3000000-0000-0000-0000-000000000000", "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "policies"}}
197197
When the request is sent
198198
Then the response status is 400 Bad Request
199199

200-
@generated @skip @team:DataDog/bugle
200+
@generated @skip @team:DataDog/on-call
201201
Scenario: Update On-Call escalation policy returns "Not Found" response
202202
Given new "UpdateOnCallEscalationPolicy" request
203203
And request contains "policy_id" parameter from "REPLACE.ME"
204204
And body with value {"data": {"attributes": {"name": "Escalation Policy 1", "resolve_page_on_policy_end": false, "retries": 2, "steps": [{"assignment": "default", "escalate_after_seconds": 3600, "id": "00000000-aba1-0000-0000-000000000000", "targets": [{"id": "00000000-aba1-0000-0000-000000000000", "type": "users"}, {"id": "00000000-aba2-0000-0000-000000000000", "type": "schedules"}]}]}, "id": "a3000000-0000-0000-0000-000000000000", "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "policies"}}
205205
When the request is sent
206206
Then the response status is 404 Not Found
207207

208-
@team:DataDog/bugle
208+
@team:DataDog/on-call
209209
Scenario: Update On-Call escalation policy returns "OK" response
210210
Given new "UpdateOnCallEscalationPolicy" request
211211
And there is a valid "user" in the system
@@ -217,23 +217,23 @@ Feature: On-Call
217217
When the request is sent
218218
Then the response status is 200 OK
219219

220-
@generated @skip @team:DataDog/bugle
220+
@generated @skip @team:DataDog/on-call
221221
Scenario: Update On-Call schedule returns "Bad Request" response
222222
Given new "UpdateOnCallSchedule" request
223223
And request contains "schedule_id" parameter from "REPLACE.ME"
224224
And body with value {"data": {"attributes": {"layers": [{"effective_date": "2025-02-03T05:00:00Z", "end_date": "2025-12-31T00:00:00Z", "interval": {"seconds": 3600}, "members": [{"user": {"id": "00000000-aba1-0000-0000-000000000000"}}], "name": "Layer 1", "restrictions": [{"end_day": "friday", "end_time": "17:00:00", "start_day": "monday", "start_time": "09:00:00"}], "rotation_start": "2025-02-01T00:00:00Z"}], "name": "On-Call Schedule Updated", "time_zone": "America/New_York"}, "id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "schedules"}}
225225
When the request is sent
226226
Then the response status is 400 Bad Request
227227

228-
@generated @skip @team:DataDog/bugle
228+
@generated @skip @team:DataDog/on-call
229229
Scenario: Update On-Call schedule returns "Not Found" response
230230
Given new "UpdateOnCallSchedule" request
231231
And request contains "schedule_id" parameter from "REPLACE.ME"
232232
And body with value {"data": {"attributes": {"layers": [{"effective_date": "2025-02-03T05:00:00Z", "end_date": "2025-12-31T00:00:00Z", "interval": {"seconds": 3600}, "members": [{"user": {"id": "00000000-aba1-0000-0000-000000000000"}}], "name": "Layer 1", "restrictions": [{"end_day": "friday", "end_time": "17:00:00", "start_day": "monday", "start_time": "09:00:00"}], "rotation_start": "2025-02-01T00:00:00Z"}], "name": "On-Call Schedule Updated", "time_zone": "America/New_York"}, "id": "3653d3c6-0c75-11ea-ad28-fb5701eabc7d", "relationships": {"teams": {"data": [{"id": "00000000-da3a-0000-0000-000000000000", "type": "teams"}]}}, "type": "schedules"}}
233233
When the request is sent
234234
Then the response status is 404 Not Found
235235

236-
@team:DataDog/bugle
236+
@team:DataDog/on-call
237237
Scenario: Update On-Call schedule returns "OK" response
238238
Given new "UpdateOnCallSchedule" request
239239
And there is a valid "user" in the system

features/v2/on-call_paging.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ Feature: On-Call Paging
99
And a valid "appKeyAuth" key in the system
1010
And an instance of "On-CallPaging" API
1111

12-
@generated @skip @team:DataDog/bugle
12+
@generated @skip @team:DataDog/on-call
1313
Scenario: Acknowledge On-Call Page returns "Accepted." response
1414
Given new "AcknowledgeOnCallPage" request
1515
And request contains "page_id" parameter from "REPLACE.ME"
1616
When the request is sent
1717
Then the response status is 202 Accepted.
1818

19-
@generated @skip @team:DataDog/bugle
19+
@generated @skip @team:DataDog/on-call
2020
Scenario: Create On-Call Page returns "OK." response
2121
Given new "CreateOnCallPage" request
2222
And body with value {"data": {"attributes": {"description": "Page details.", "tags": ["service:test"], "target": {"identifier": "my-team", "type": "team_handle"}, "title": "Page title", "urgency": "low"}, "type": "pages"}}
2323
When the request is sent
2424
Then the response status is 200 OK.
2525

26-
@generated @skip @team:DataDog/bugle
26+
@generated @skip @team:DataDog/on-call
2727
Scenario: Escalate On-Call Page returns "Accepted." response
2828
Given new "EscalateOnCallPage" request
2929
And request contains "page_id" parameter from "REPLACE.ME"
3030
When the request is sent
3131
Then the response status is 202 Accepted.
3232

33-
@generated @skip @team:DataDog/bugle
33+
@generated @skip @team:DataDog/on-call
3434
Scenario: Resolve On-Call Page returns "Accepted." response
3535
Given new "ResolveOnCallPage" request
3636
And request contains "page_id" parameter from "REPLACE.ME"

0 commit comments

Comments
 (0)