Skip to content

Commit ede5f90

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update the summary name for get a tag pipeline ruleset. (#2895)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent a518eac commit ede5f90

File tree

4 files changed

+68
-17
lines changed

4 files changed

+68
-17
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75610,7 +75610,7 @@ paths:
7561075610
appKeyAuth: []
7561175611
- AuthZ:
7561275612
- cloud_cost_management_read
75613-
summary: Get ruleset
75613+
summary: Get a tag pipeline ruleset
7561475614
tags:
7561575615
- Cloud Cost Management
7561675616
patch:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"2025-10-14T20:06:56.512Z"
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"log": {
3+
"_recordingName": "Cloud Cost Management/Get a tag pipeline ruleset returns \"OK\" response",
4+
"creator": {
5+
"comment": "persister:fs",
6+
"name": "Polly.JS",
7+
"version": "6.0.5"
8+
},
9+
"entries": [
10+
{
11+
"_id": "d502db10e146bbbf5c757d491d382757",
12+
"_order": 0,
13+
"cache": {},
14+
"request": {
15+
"bodySize": 0,
16+
"cookies": [],
17+
"headers": [
18+
{
19+
"_fromType": "array",
20+
"name": "accept",
21+
"value": "application/json"
22+
}
23+
],
24+
"headersSize": 555,
25+
"httpVersion": "HTTP/1.1",
26+
"method": "GET",
27+
"queryString": [],
28+
"url": "https://api.datadoghq.com/api/v2/tags/enrichment/a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
29+
},
30+
"response": {
31+
"bodySize": 1416,
32+
"content": {
33+
"mimeType": "application/vnd.api+json",
34+
"size": 1416,
35+
"text": "{\"data\":{\"id\":\"a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de\",\"type\":\"ruleset\",\"attributes\":{\"created\":{\"seconds\":1753803214,\"nanos\":75009000},\"enabled\":false,\"last_modified_user_uuid\":\"4acae75b-78ac-11ef-9c0d-e6936f49688e\",\"modified\":{\"seconds\":1753803214,\"nanos\":75009000},\"name\":\"EVP Cost Tags\",\"position\":1,\"processing_status\":\"done\",\"rules\":[{\"name\":\"EVP Cost Tags\",\"enabled\":true,\"query\":null,\"mapping\":null,\"reference_table\":{\"table_name\":\"evp_cost_tags\",\"source_keys\":[\"pod_name\"],\"field_pairs\":[{\"input_column\":\"cost_service\",\"output_key\":\"cost_service\"},{\"input_column\":\"cogs\",\"output_key\":\"cogs\"},{\"input_column\":\"cost_team\",\"output_key\":\"cost_team\"},{\"input_column\":\"cost_product\",\"output_key\":\"cost_product\"},{\"input_column\":\"subscription\",\"output_key\":\"subscription\"},{\"input_column\":\"cost_group\",\"output_key\":\"cost_group\"},{\"input_column\":\"cost_subservice\",\"output_key\":\"cost_subservice\"},{\"input_column\":\"cost_customer\",\"output_key\":\"cost_customer\"},{\"input_column\":\"cost_isolation_id\",\"output_key\":\"cost_isolation_id\"}],\"case_insensitivity\":false,\"if_not_exists\":false},\"metadata\":null},{\"name\":\"Load balancer runtimecosts-team\",\"enabled\":true,\"query\":{\"query\":\"dd-frontend-service:evp_* OR dd-frontend-service:logs_*\",\"addition\":{\"key\":\"runtimecosts-team\",\"value\":\"event-platform\"},\"if_not_exists\":true,\"case_insensitivity\":false},\"mapping\":null,\"reference_table\":null,\"metadata\":null}],\"version\":3588223}}}"
36+
},
37+
"cookies": [],
38+
"headers": [
39+
{
40+
"name": "content-type",
41+
"value": "application/vnd.api+json"
42+
}
43+
],
44+
"headersSize": 672,
45+
"httpVersion": "HTTP/1.1",
46+
"redirectURL": "",
47+
"status": 200,
48+
"statusText": "OK"
49+
},
50+
"startedDateTime": "2025-10-14T20:06:56.516Z",
51+
"time": 686
52+
}
53+
],
54+
"pages": [],
55+
"version": "1.2"
56+
}
57+
}

features/v2/cloud_cost_management.feature

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,15 @@ Feature: Cloud Cost Management
262262
When the request is sent
263263
Then the response status is 200 OK
264264

265+
@replay-only @team:DataDog/cloud-cost-management
266+
Scenario: Get a tag pipeline ruleset returns "OK" response
267+
Given new "GetTagPipelinesRuleset" request
268+
And request contains "ruleset_id" parameter with value "a1e9de9b-b88e-41c6-a0cd-cc0ebd7092de"
269+
When the request is sent
270+
Then the response status is 200 OK
271+
And the response "data.type" is equal to "ruleset"
272+
And the response "data.attributes.name" is equal to "EVP Cost Tags"
273+
265274
@replay-only @team:DataDog/cloud-cost-management
266275
Scenario: Get cost AWS CUR config returns "OK" response
267276
Given new "GetCostAWSCURConfig" request
@@ -288,22 +297,6 @@ Feature: Cloud Cost Management
288297
When the request is sent
289298
Then the response status is 200 OK
290299

291-
@generated @skip @team:DataDog/cloud-cost-management
292-
Scenario: Get ruleset returns "OK" response
293-
Given new "GetTagPipelinesRuleset" request
294-
And request contains "ruleset_id" parameter from "REPLACE.ME"
295-
When the request is sent
296-
Then the response status is 200 OK
297-
298-
@replay-only @team:DataDog/cloud-cost-management
299-
Scenario: Get tag pipeline ruleset returns "OK" response
300-
Given new "GetTagPipelinesRuleset" request
301-
And request contains "ruleset_id" parameter with value "ee10c3ff-312f-464c-b4f6-46adaa6d00a1"
302-
When the request is sent
303-
Then the response status is 200 OK
304-
And the response "data.type" is equal to "ruleset"
305-
And the response "data.attributes.name" is equal to "New Ruleset"
306-
307300
@replay-only @team:DataDog/cloud-cost-management
308301
Scenario: List Cloud Cost Management AWS CUR configs returns "OK" response
309302
Given new "ListCostAWSCURConfigs" request

0 commit comments

Comments
 (0)