Skip to content

Commit 6698f6e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 8176e3e of spec repo
1 parent 0b32005 commit 6698f6e

3 files changed

Lines changed: 30 additions & 30 deletions

File tree

tests/v2/features/datasets.feature

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Feature: Datasets
1111
And a valid "appKeyAuth" key in the system
1212
And an instance of "Datasets" API
1313

14-
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/aaa-granular-access
14+
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/access-enforcement
1515
Scenario: Create a dataset returns "Bad Request" response
1616
Given new "CreateDataset" request
1717
And operation "CreateDataset" enabled
1818
And body with value {"test": "bad_request"}
1919
When the request is sent
2020
Then the response status is 400 Bad Request
2121

22-
@skip-terraform-config @team:DataDog/aaa-granular-access
22+
@skip-terraform-config @team:DataDog/access-enforcement
2323
Scenario: Create a dataset returns "Conflict" response
2424
Given there is a valid "dataset" in the system
2525
And operation "CreateDataset" enabled
@@ -28,23 +28,23 @@ Feature: Datasets
2828
When the request is sent
2929
Then the response status is 409 Conflict
3030

31-
@skip-terraform-config @team:DataDog/aaa-granular-access
31+
@skip-terraform-config @team:DataDog/access-enforcement
3232
Scenario: Create a dataset returns "OK" response
3333
Given new "CreateDataset" request
3434
And operation "CreateDataset" enabled
3535
And body with value {"data": {"attributes": {"name": "Security Audit Dataset", "principals": ["role:94172442-be03-11e9-a77a-3b7612558ac1"], "product_filters": [{"filters": ["@application.id:ABCD"], "product": "metrics"}]}, "type": "dataset"}}
3636
When the request is sent
3737
Then the response status is 200 OK
3838

39-
@skip-terraform-config @team:DataDog/aaa-granular-access
39+
@skip-terraform-config @team:DataDog/access-enforcement
4040
Scenario: Delete a dataset returns "Bad Request" response
4141
Given new "DeleteDataset" request
4242
And operation "DeleteDataset" enabled
4343
And request contains "dataset_id" parameter with value "malformed_id"
4444
When the request is sent
4545
Then the response status is 400 Bad Request
4646

47-
@skip-terraform-config @team:DataDog/aaa-granular-access
47+
@skip-terraform-config @team:DataDog/access-enforcement
4848
Scenario: Delete a dataset returns "No Content" response
4949
Given there is a valid "dataset" in the system
5050
And operation "DeleteDataset" enabled
@@ -53,23 +53,23 @@ Feature: Datasets
5353
When the request is sent
5454
Then the response status is 204 No Content
5555

56-
@skip-terraform-config @team:DataDog/aaa-granular-access
56+
@skip-terraform-config @team:DataDog/access-enforcement
5757
Scenario: Delete a dataset returns "Not Found" response
5858
Given new "DeleteDataset" request
5959
And operation "DeleteDataset" enabled
6060
And request contains "dataset_id" parameter with value "00000000-0000-0000-0000-000000000000"
6161
When the request is sent
6262
Then the response status is 404 Not Found
6363

64-
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/aaa-granular-access
64+
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/access-enforcement
6565
Scenario: Edit a dataset returns "Bad Request" response
6666
Given new "UpdateDataset" request
6767
And operation "UpdateDataset" enabled
6868
And request contains "dataset_id" parameter with value "malformed_id"
6969
When the request is sent
7070
Then the response status is 400 Bad Request
7171

72-
@skip @skip-terraform-config @team:DataDog/aaa-granular-access
72+
@skip @skip-terraform-config @team:DataDog/access-enforcement
7373
Scenario: Edit a dataset returns "Not Found" response
7474
Given there is a valid "dataset" in the system
7575
And operation "UpdateDataset" enabled
@@ -79,7 +79,7 @@ Feature: Datasets
7979
When the request is sent
8080
Then the response status is 404 Not Found
8181

82-
@skip-terraform-config @team:DataDog/aaa-granular-access
82+
@skip-terraform-config @team:DataDog/access-enforcement
8383
Scenario: Edit a dataset returns "OK" response
8484
Given there is a valid "dataset" in the system
8585
And operation "UpdateDataset" enabled
@@ -89,23 +89,23 @@ Feature: Datasets
8989
When the request is sent
9090
Then the response status is 200 OK
9191

92-
@skip-terraform-config @team:DataDog/aaa-granular-access
92+
@skip-terraform-config @team:DataDog/access-enforcement
9393
Scenario: Get a single dataset by ID returns "Bad Request" response
9494
Given new "GetDataset" request
9595
And operation "GetDataset" enabled
9696
And request contains "dataset_id" parameter with value "malformed_id"
9797
When the request is sent
9898
Then the response status is 400 Bad Request
9999

100-
@skip @skip-terraform-config @team:DataDog/aaa-granular-access
100+
@skip @skip-terraform-config @team:DataDog/access-enforcement
101101
Scenario: Get a single dataset by ID returns "Not Found" response
102102
Given operation "GetDataset" enabled
103103
And new "GetDataset" request
104104
And request contains "dataset_id" parameter with value "00000000-0000-0000-0000-000000000000"
105105
When the request is sent
106106
Then the response status is 404 Not Found
107107

108-
@skip-terraform-config @team:DataDog/aaa-granular-access
108+
@skip-terraform-config @team:DataDog/access-enforcement
109109
Scenario: Get a single dataset by ID returns "OK" response
110110
Given there is a valid "dataset" in the system
111111
And operation "GetDataset" enabled
@@ -114,7 +114,7 @@ Feature: Datasets
114114
When the request is sent
115115
Then the response status is 200 OK
116116

117-
@skip-terraform-config @team:DataDog/aaa-granular-access
117+
@skip-terraform-config @team:DataDog/access-enforcement
118118
Scenario: Get all datasets returns "OK" response
119119
Given there is a valid "dataset" in the system
120120
And operation "GetAllDatasets" enabled

tests/v2/features/org_connections.feature

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,64 +10,64 @@ Feature: Org Connections
1010
And a valid "appKeyAuth" key in the system
1111
And an instance of "OrgConnections" API
1212

13-
@team:DataDog/aaa-granular-access
13+
@team:DataDog/access-enforcement
1414
Scenario: Create Org Connection returns "Bad Request" response
1515
Given new "CreateOrgConnections" request
1616
And body with value {"data": {"type": "org_connection", "relationships": {"sink_org": {"data": {"type": "orgs", "id": "83999dcd-7f97-11f0-8de1-1ecf66f1aa85"}}}, "attributes": {"connection_types": ["logs", "logs"]}}}
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

20-
@team:DataDog/aaa-granular-access
20+
@team:DataDog/access-enforcement
2121
Scenario: Create Org Connection returns "Conflict" response
2222
Given there is a valid "org_connection" in the system
2323
And new "CreateOrgConnections" request
2424
And body with value {"data": {"type": "org_connection", "relationships": {"sink_org": {"data": {"type": "orgs", "id": "83999dcd-7f97-11f0-8de1-1ecf66f1aa85"}}}, "attributes": {"connection_types": ["logs"]}}}
2525
When the request is sent
2626
Then the response status is 409 Conflict
2727

28-
@team:DataDog/aaa-granular-access
28+
@team:DataDog/access-enforcement
2929
Scenario: Create Org Connection returns "Not Found" response
3030
Given new "CreateOrgConnections" request
3131
And body with value {"data": {"type": "org_connection", "relationships": {"sink_org": {"data": {"type": "orgs", "id": "nonexistent-org-id"}}}, "attributes": {"connection_types": ["logs"]}}}
3232
When the request is sent
3333
Then the response status is 404 Not Found
3434

35-
@team:DataDog/aaa-granular-access
35+
@team:DataDog/access-enforcement
3636
Scenario: Create Org Connection returns "OK" response
3737
Given new "CreateOrgConnections" request
3838
And body with value {"data": {"type": "org_connection", "relationships": {"sink_org": {"data": {"type": "orgs", "id": "83999dcd-7f97-11f0-8de1-1ecf66f1aa85"}}}, "attributes": {"connection_types": ["logs"]}}}
3939
When the request is sent
4040
Then the response status is 200 Created
4141

42-
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/aaa-granular-access
42+
@skip-go @skip-java @skip-python @skip-ruby @skip-rust @skip-terraform-config @skip-typescript @skip-validation @team:DataDog/access-enforcement
4343
Scenario: Delete Org Connection returns "Bad Request" response
4444
Given new "DeleteOrgConnections" request
4545
And request contains "connection_id" parameter with value "malformed_id"
4646
When the request is sent
4747
Then the response status is 400 Bad Request
4848

49-
@team:DataDog/aaa-granular-access
49+
@team:DataDog/access-enforcement
5050
Scenario: Delete Org Connection returns "Not Found" response
5151
Given new "DeleteOrgConnections" request
5252
And request contains "connection_id" parameter with value "00000000-0000-0000-0000-000000000000"
5353
When the request is sent
5454
Then the response status is 404 Not Found
5555

56-
@team:DataDog/aaa-granular-access
56+
@team:DataDog/access-enforcement
5757
Scenario: Delete Org Connection returns "OK" response
5858
Given there is a valid "org_connection" in the system
5959
And new "DeleteOrgConnections" request
6060
And request contains "connection_id" parameter from "org_connection.data.id"
6161
When the request is sent
6262
Then the response status is 200 OK
6363

64-
@team:DataDog/aaa-granular-access
64+
@team:DataDog/access-enforcement
6565
Scenario: List Org Connections returns "OK" response
6666
Given new "ListOrgConnections" request
6767
When the request is sent
6868
Then the response status is 200 OK
6969

70-
@team:DataDog/aaa-granular-access
70+
@team:DataDog/access-enforcement
7171
Scenario: Update Org Connection returns "Bad Request" response
7272
Given there is a valid "org_connection" in the system
7373
And new "UpdateOrgConnections" request
@@ -76,7 +76,7 @@ Feature: Org Connections
7676
When the request is sent
7777
Then the response status is 400 Bad Request
7878

79-
@team:DataDog/aaa-granular-access
79+
@team:DataDog/access-enforcement
8080
Scenario: Update Org Connection returns "Not Found" response
8181
Given there is a valid "org_connection" in the system
8282
And new "UpdateOrgConnections" request
@@ -85,7 +85,7 @@ Feature: Org Connections
8585
When the request is sent
8686
Then the response status is 404 Not Found
8787

88-
@team:DataDog/aaa-granular-access
88+
@team:DataDog/access-enforcement
8989
Scenario: Update Org Connection returns "OK" response
9090
Given there is a valid "org_connection" in the system
9191
And new "UpdateOrgConnections" request

tests/v2/features/restriction_policies.feature

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,28 @@ Feature: Restriction Policies
1010
And a valid "appKeyAuth" key in the system
1111
And an instance of "RestrictionPolicies" API
1212

13-
@team:DataDog/aaa-granular-access
13+
@team:DataDog/aaa-policies-lifecycle
1414
Scenario: Delete a restriction policy returns "Bad Request" response
1515
Given new "DeleteRestrictionPolicy" request
1616
And request contains "resource_id" parameter with value "malformed"
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

20-
@team:DataDog/aaa-granular-access
20+
@team:DataDog/aaa-policies-lifecycle
2121
Scenario: Delete a restriction policy returns "No Content" response
2222
Given new "DeleteRestrictionPolicy" request
2323
And request contains "resource_id" parameter with value "dashboard:test-delete"
2424
When the request is sent
2525
Then the response status is 204 No Content
2626

27-
@team:DataDog/aaa-granular-access
27+
@team:DataDog/aaa-policies-lifecycle
2828
Scenario: Get a restriction policy returns "Bad Request" response
2929
Given new "GetRestrictionPolicy" request
3030
And request contains "resource_id" parameter with value "malformed"
3131
When the request is sent
3232
Then the response status is 400 Bad Request
3333

34-
@team:DataDog/aaa-granular-access
34+
@team:DataDog/aaa-policies-lifecycle
3535
Scenario: Get a restriction policy returns "OK" response
3636
Given new "GetRestrictionPolicy" request
3737
And request contains "resource_id" parameter with value "dashboard:test-get"
@@ -41,7 +41,7 @@ Feature: Restriction Policies
4141
And the response "data.id" is equal to "dashboard:test-get"
4242
And the response "data.attributes.bindings" has length 0
4343

44-
@team:DataDog/aaa-granular-access
44+
@team:DataDog/aaa-policies-lifecycle
4545
Scenario: Update a restriction policy returns "Bad Request" response
4646
Given there is a valid "role" in the system
4747
And there is a valid "user" in the system
@@ -52,7 +52,7 @@ Feature: Restriction Policies
5252
When the request is sent
5353
Then the response status is 400 Bad Request
5454

55-
@team:DataDog/aaa-granular-access
55+
@team:DataDog/aaa-policies-lifecycle
5656
Scenario: Update a restriction policy returns "OK" response
5757
Given there is a valid "role" in the system
5858
And there is a valid "user" in the system

0 commit comments

Comments
 (0)