Skip to content

Commit b481b06

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit eb2b4e1 of spec repo (#3686)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent cda3bed commit b481b06

File tree

2 files changed

+41
-41
lines changed

2 files changed

+41
-41
lines changed

src/test/resources/com/datadog/api/client/v2/api/ip_allowlist.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Feature: IP Allowlist
1212
And a valid "appKeyAuth" key in the system
1313
And an instance of "IPAllowlist" API
1414

15-
@generated @skip @team:DataDog/aaa-core-access
15+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
1616
Scenario: Get IP Allowlist returns "Not Found" response
1717
Given new "GetIPAllowlist" request
1818
When the request is sent
1919
Then the response status is 404 Not Found
2020

21-
@team:DataDog/aaa-core-access
21+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
2222
Scenario: Get IP Allowlist returns "OK" response
2323
Given the "ip_allowlist_nonempty_disabled" has two entries and is disabled
2424
And new "GetIPAllowlist" request
@@ -32,21 +32,21 @@ Feature: IP Allowlist
3232
And the response "data.attributes.entries[1].data.attributes.note" has the same value as "ip_allowlist_nonempty_disabled.data.attributes.entries[1].data.attributes.note"
3333
And the response "data.attributes.entries[1].data.type" is equal to "{{ ip_allowlist_nonempty_disabled.data.attributes.entries[1].data.type }}"
3434

35-
@team:DataDog/aaa-core-access
35+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
3636
Scenario: Update IP Allowlist returns "Bad Request" response
3737
Given new "UpdateIPAllowlist" request
3838
And body with value {"data": {"type": "ip_allowlist", "attributes": {"enabled": true, "entries": []}}}
3939
When the request is sent
4040
Then the response status is 400 Bad Request
4141

42-
@generated @skip @team:DataDog/aaa-core-access
42+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
4343
Scenario: Update IP Allowlist returns "Not Found" response
4444
Given new "UpdateIPAllowlist" request
4545
And body with value {"data": {"attributes": {"entries": [{"data": {"attributes": {}, "type": "ip_allowlist_entry"}}]}, "type": "ip_allowlist"}}
4646
When the request is sent
4747
Then the response status is 404 Not Found
4848

49-
@replay-only @skip-terraform-config @team:DataDog/aaa-core-access
49+
@replay-only @skip-terraform-config @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
5050
Scenario: Update IP Allowlist returns "OK" response
5151
Given the "ip_allowlist_empty_disabled" has no entries and is disabled
5252
And new "UpdateIPAllowlist" request

src/test/resources/com/datadog/api/client/v2/api/roles.feature

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ Feature: Roles
1515
And a valid "appKeyAuth" key in the system
1616
And an instance of "Roles" API
1717

18-
@generated @skip @team:DataDog/aaa-core-access
18+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
1919
Scenario: Add a user to a role returns "Bad Request" response
2020
Given new "AddUserToRole" request
2121
And request contains "role_id" parameter from "REPLACE.ME"
2222
And body with value {"data": {"id": "00000000-0000-0000-2345-000000000000", "type": "users"}}
2323
When the request is sent
2424
Then the response status is 400 Bad Request
2525

26-
@generated @skip @team:DataDog/aaa-core-access
26+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
2727
Scenario: Add a user to a role returns "Not found" response
2828
Given new "AddUserToRole" request
2929
And request contains "role_id" parameter from "REPLACE.ME"
3030
And body with value {"data": {"id": "00000000-0000-0000-2345-000000000000", "type": "users"}}
3131
When the request is sent
3232
Then the response status is 404 Not found
3333

34-
@team:DataDog/aaa-core-access
34+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
3535
Scenario: Add a user to a role returns "OK" response
3636
Given there is a valid "role" in the system
3737
And there is a valid "user" in the system
@@ -44,7 +44,7 @@ Feature: Roles
4444
And the response "data[0].type" is equal to "{{ user.data.type }}"
4545
And the response "data[0].relationships.roles.data" has item with field "id" with value "{{ role.data.id }}"
4646

47-
@team:DataDog/aaa-core-access
47+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
4848
Scenario: Create a new role by cloning an existing role returns "Bad Request" response
4949
Given there is a valid "role" in the system
5050
And new "CloneRole" request
@@ -53,7 +53,7 @@ Feature: Roles
5353
When the request is sent
5454
Then the response status is 400 Bad Request
5555

56-
@team:DataDog/aaa-core-access
56+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
5757
Scenario: Create a new role by cloning an existing role returns "Conflict" response
5858
Given there is a valid "role" in the system
5959
And new "CloneRole" request
@@ -62,15 +62,15 @@ Feature: Roles
6262
When the request is sent
6363
Then the response status is 409 Conflict
6464

65-
@generated @skip @team:DataDog/aaa-core-access
65+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
6666
Scenario: Create a new role by cloning an existing role returns "Not found" response
6767
Given new "CloneRole" request
6868
And request contains "role_id" parameter from "REPLACE.ME"
6969
And body with value {"data": {"attributes": {"name": "cloned-role", "receives_permissions_from": []}, "type": "roles"}}
7070
When the request is sent
7171
Then the response status is 404 Not found
7272

73-
@team:DataDog/aaa-core-access
73+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
7474
Scenario: Create a new role by cloning an existing role returns "OK" response
7575
Given there is a valid "role" in the system
7676
And new "CloneRole" request
@@ -80,21 +80,21 @@ Feature: Roles
8080
Then the response status is 200 OK
8181
And the response "data.attributes.name" is equal to "{{ unique }} clone"
8282

83-
@generated @skip @team:DataDog/aaa-core-access
83+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
8484
Scenario: Create role returns "Bad Request" response
8585
Given new "CreateRole" request
8686
And body with value {"data": {"attributes": {"name": "developers", "receives_permissions_from": []}, "relationships": {"permissions": {"data": [{"type": "permissions"}]}}, "type": "roles"}}
8787
When the request is sent
8888
Then the response status is 400 Bad Request
8989

90-
@generated @skip @team:DataDog/aaa-core-access
90+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
9191
Scenario: Create role returns "OK" response
9292
Given new "CreateRole" request
9393
And body with value {"data": {"attributes": {"name": "developers", "receives_permissions_from": []}, "relationships": {"permissions": {"data": [{"type": "permissions"}]}}, "type": "roles"}}
9494
When the request is sent
9595
Then the response status is 200 OK
9696

97-
@team:DataDog/aaa-core-access
97+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
9898
Scenario: Create role with a permission returns "OK" response
9999
Given new "CreateRole" request
100100
And there is a valid "permission" in the system
@@ -105,29 +105,29 @@ Feature: Roles
105105
And the response "data.type" is equal to "roles"
106106
And the response "data.relationships.permissions.data" has item with field "id" with value "{{ permission.id }}"
107107

108-
@generated @skip @team:DataDog/aaa-core-access
108+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
109109
Scenario: Delete role returns "Not found" response
110110
Given new "DeleteRole" request
111111
And request contains "role_id" parameter from "REPLACE.ME"
112112
When the request is sent
113113
Then the response status is 404 Not found
114114

115-
@team:DataDog/aaa-core-access
115+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
116116
Scenario: Delete role returns "OK" response
117117
Given there is a valid "role" in the system
118118
And new "DeleteRole" request
119119
And request contains "role_id" parameter from "role.data.id"
120120
When the request is sent
121121
Then the response status is 204 OK
122122

123-
@generated @skip @team:DataDog/aaa-core-access
123+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
124124
Scenario: Get a role returns "Not found" response
125125
Given new "GetRole" request
126126
And request contains "role_id" parameter from "REPLACE.ME"
127127
When the request is sent
128128
Then the response status is 404 Not found
129129

130-
@team:DataDog/aaa-core-access
130+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
131131
Scenario: Get a role returns "OK" response
132132
Given there is a valid "role" in the system
133133
And new "GetRole" request
@@ -137,14 +137,14 @@ Feature: Roles
137137
And the response "data.attributes.name" has the same value as "role.data.attributes.name"
138138
And the response "data.id" has the same value as "role.data.id"
139139

140-
@generated @skip @team:DataDog/aaa-core-access
140+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
141141
Scenario: Get all users of a role returns "Not found" response
142142
Given new "ListRoleUsers" request
143143
And request contains "role_id" parameter from "REPLACE.ME"
144144
When the request is sent
145145
Then the response status is 404 Not found
146146

147-
@team:DataDog/aaa-core-access
147+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
148148
Scenario: Get all users of a role returns "OK" response
149149
Given there is a valid "role" in the system
150150
And there is a valid "user" in the system
@@ -156,23 +156,23 @@ Feature: Roles
156156
And the response "meta.page.total_count" is equal to 1
157157
And the response "data" has item with field "id" with value "{{ user.data.id }}"
158158

159-
@generated @skip @team:DataDog/aaa-core-access
159+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
160160
Scenario: Grant permission to a role returns "Bad Request" response
161161
Given new "AddPermissionToRole" request
162162
And request contains "role_id" parameter from "REPLACE.ME"
163163
And body with value {"data": {"type": "permissions"}}
164164
When the request is sent
165165
Then the response status is 400 Bad Request
166166

167-
@generated @skip @team:DataDog/aaa-core-access
167+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
168168
Scenario: Grant permission to a role returns "Not found" response
169169
Given new "AddPermissionToRole" request
170170
And request contains "role_id" parameter from "REPLACE.ME"
171171
And body with value {"data": {"type": "permissions"}}
172172
When the request is sent
173173
Then the response status is 404 Not found
174174

175-
@team:DataDog/aaa-core-access
175+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
176176
Scenario: Grant permission to a role returns "OK" response
177177
Given there is a valid "role" in the system
178178
And there is a valid "permission" in the system
@@ -184,14 +184,14 @@ Feature: Roles
184184
And the response "data[0].type" is equal to "{{ permission.type }}"
185185
And the response "data" has item with field "id" with value "{{ permission.id }}"
186186

187-
@generated @skip @team:DataDog/aaa-core-access
187+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
188188
Scenario: List permissions for a role returns "Not found" response
189189
Given new "ListRolePermissions" request
190190
And request contains "role_id" parameter from "REPLACE.ME"
191191
When the request is sent
192192
Then the response status is 404 Not found
193193

194-
@team:DataDog/aaa-core-access
194+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
195195
Scenario: List permissions for a role returns "OK" response
196196
Given there is a valid "role" in the system
197197
And there is a valid "permission" in the system
@@ -203,13 +203,13 @@ Feature: Roles
203203
And the response "data[0].type" is equal to "{{ permission.type }}"
204204
And the response "data" has item with field "id" with value "{{ permission.id }}"
205205

206-
@generated @skip @team:DataDog/aaa-core-access
206+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
207207
Scenario: List permissions returns "Bad Request" response
208208
Given new "ListPermissions" request
209209
When the request is sent
210210
Then the response status is 400 Bad Request
211211

212-
@team:DataDog/aaa-core-access
212+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
213213
Scenario: List permissions returns "OK" response
214214
Given new "ListPermissions" request
215215
When the request is sent
@@ -219,14 +219,14 @@ Feature: Roles
219219
And the response "data" has item with field "attributes.name" with value "admin"
220220
And the response "data" has item with field "attributes.name_aliases" with value []
221221

222-
@generated @skip @team:DataDog/aaa-core-access
222+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
223223
Scenario: List role templates returns "OK" response
224224
Given operation "ListRoleTemplates" enabled
225225
And new "ListRoleTemplates" request
226226
When the request is sent
227227
Then the response status is 200 OK
228228

229-
@team:DataDog/aaa-core-access
229+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
230230
Scenario: List roles returns "OK" response
231231
Given there is a valid "role" in the system
232232
And new "ListRoles" request
@@ -237,23 +237,23 @@ Feature: Roles
237237
And the response "data[0].id" has the same value as "role.data.id"
238238
And the response "data[0].attributes.name" has the same value as "role.data.attributes.name"
239239

240-
@generated @skip @team:DataDog/aaa-core-access
240+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
241241
Scenario: Remove a user from a role returns "Bad Request" response
242242
Given new "RemoveUserFromRole" request
243243
And request contains "role_id" parameter from "REPLACE.ME"
244244
And body with value {"data": {"id": "00000000-0000-0000-2345-000000000000", "type": "users"}}
245245
When the request is sent
246246
Then the response status is 400 Bad Request
247247

248-
@generated @skip @team:DataDog/aaa-core-access
248+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
249249
Scenario: Remove a user from a role returns "Not found" response
250250
Given new "RemoveUserFromRole" request
251251
And request contains "role_id" parameter from "REPLACE.ME"
252252
And body with value {"data": {"id": "00000000-0000-0000-2345-000000000000", "type": "users"}}
253253
When the request is sent
254254
Then the response status is 404 Not found
255255

256-
@team:DataDog/aaa-core-access
256+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
257257
Scenario: Remove a user from a role returns "OK" response
258258
Given there is a valid "role" in the system
259259
And there is a valid "user" in the system
@@ -264,7 +264,7 @@ Feature: Roles
264264
When the request is sent
265265
Then the response status is 200 OK
266266

267-
@skip-validation @team:DataDog/aaa-core-access
267+
@skip-validation @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
268268
Scenario: Revoke permission returns "Bad Request" response
269269
Given there is a valid "role" in the system
270270
And new "RemovePermissionFromRole" request
@@ -273,7 +273,7 @@ Feature: Roles
273273
When the request is sent
274274
Then the response status is 400 Bad Request
275275

276-
@team:DataDog/aaa-core-access
276+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
277277
Scenario: Revoke permission returns "Not found" response
278278
Given there is a valid "permission" in the system
279279
And new "RemovePermissionFromRole" request
@@ -282,7 +282,7 @@ Feature: Roles
282282
When the request is sent
283283
Then the response status is 404 Not found
284284

285-
@team:DataDog/aaa-core-access
285+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
286286
Scenario: Revoke permission returns "OK" response
287287
Given there is a valid "role" in the system
288288
And there is a valid "permission" in the system
@@ -294,7 +294,7 @@ Feature: Roles
294294
Then the response status is 200 OK
295295
And the response "data[0].type" is equal to "permissions"
296296

297-
@team:DataDog/aaa-core-access
297+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
298298
Scenario: Update a role returns "Bad Request" response
299299
Given there is a valid "role" in the system
300300
And there is a valid "permission" in the system
@@ -304,7 +304,7 @@ Feature: Roles
304304
When the request is sent
305305
Then the response status is 400 Bad Request
306306

307-
@team:DataDog/aaa-core-access
307+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
308308
Scenario: Update a role returns "Bad Role ID" response
309309
Given there is a valid "role" in the system
310310
And there is a valid "permission" in the system
@@ -314,7 +314,7 @@ Feature: Roles
314314
When the request is sent
315315
Then the response status is 422 Bad Role ID in Request
316316

317-
@team:DataDog/aaa-core-access
317+
@team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
318318
Scenario: Update a role returns "Not found" response
319319
Given there is a valid "permission" in the system
320320
And new "UpdateRole" request
@@ -323,7 +323,7 @@ Feature: Roles
323323
When the request is sent
324324
Then the response status is 404 Not found
325325

326-
@skip @team:DataDog/aaa-core-access
326+
@skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
327327
Scenario: Update a role returns "OK" response
328328
Given there is a valid "role" in the system
329329
And there is a valid "permission" in the system
@@ -334,7 +334,7 @@ Feature: Roles
334334
Then the response status is 200 OK
335335
And the response "data.attributes.name" is equal to "{{ role.data.attributes.name }}-updated"
336336

337-
@generated @skip @team:DataDog/aaa-core-access
337+
@generated @skip @team:DataDog/aaa-core-access @team:DataDog/access-policies-lifecycle
338338
Scenario: Update a role returns "Unprocessable Entity" response
339339
Given new "UpdateRole" request
340340
And request contains "role_id" parameter from "REPLACE.ME"

0 commit comments

Comments
 (0)