Skip to content

Commit d7c0133

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit f8798d9 of spec repo
1 parent 7214d9f commit d7c0133

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "672a533",
3-
"generated": "2025-07-31 18:09:11.566"
2+
"spec_repo_commit": "f8798d9",
3+
"generated": "2025-08-01 14:52:51.045"
44
}

src/test/resources/com/datadog/api/client/v2/api/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-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/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
22+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
31+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
39+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
47+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
56+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-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/aaa-granular-access
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 @team:DataDog/aaa-granular-access
72+
@skip @skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
82+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
92+
@skip-terraform-config @team:DataDog/aaa-granular-access
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 @team:DataDog/aaa-granular-access
100+
@skip @skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
108+
@skip-terraform-config @team:DataDog/aaa-granular-access
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-
@team:DataDog/aaa-granular-access
117+
@skip-terraform-config @team:DataDog/aaa-granular-access
118118
Scenario: Get all datasets returns "OK" response
119119
Given there is a valid "dataset" in the system
120120
And operation "GetAllDatasets" enabled

src/test/resources/com/datadog/api/client/v2/api/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
{
182182
"name": "body",
183183
"origin": "request",
184-
"value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"Security Audit Dataset\",\n \"principals\": [\n \"role:94172442-be03-11e9-a77a-3b7612558ac1\"\n ],\n \"product_filters\": [\n {\n \"filters\": [\n \"@application.id:ABCD\"\n ],\n \"product\": \"metrics\"\n }\n ]\n },\n \"type\": \"dataset\"\n }\n}"
184+
"value": "{\n \"data\": {\n \"attributes\": {\n \"name\": \"Security Audit Dataset - {{ uuid }}\",\n \"principals\": [\n \"role:94172442-be03-11e9-a77a-3b7612558ac1\"\n ],\n \"product_filters\": [\n {\n \"filters\": [\n \"@application.id:{{ uuid }}\"\n ],\n \"product\": \"metrics\"\n }\n ]\n },\n \"type\": \"dataset\"\n }\n}"
185185
}
186186
],
187187
"step": "there is a valid \"dataset\" in the system",

0 commit comments

Comments
 (0)