Skip to content

Commit 4627ea1

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix spammy casette for Workflow Automation (#2261)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 7bb790a commit 4627ea1

File tree

24 files changed

+146
-148
lines changed

24 files changed

+146
-148
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-05-27 15:21:06.232327",
8-
"spec_repo_commit": "97968943"
7+
"regenerated": "2025-05-27 17:12:13.510503",
8+
"spec_repo_commit": "ed439f7c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-27 15:21:06.248432",
13-
"spec_repo_commit": "97968943"
12+
"regenerated": "2025-05-27 17:12:13.526776",
13+
"spec_repo_commit": "ed439f7c"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-04T04:58:32.931Z"
1+
"2025-05-26T17:23:42.973Z"

cassettes/v2/Workflow-Automation_3507381207/Create-a-Workflow-returns-Bad-request-response_2263290237/recording.har

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 539,
29+
"headersSize": 558,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
@@ -38,11 +38,11 @@
3838
"url": "https://api.datadoghq.com/api/v2/workflows"
3939
},
4040
"response": {
41-
"bodySize": 85,
41+
"bodySize": 179,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 85,
45-
"text": "{\"errors\":[{\"detail\":\"workflow description exceeds size limit of [300] characters\"}]}"
44+
"size": 179,
45+
"text": "{\"errors\":[{\"detail\":\"workflow description exceeds size limit of [300] characters\"},{\"detail\":\"spec is invalid\"},{\"detail\":\"no trigger found. At least one trigger is required.\"}]}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,14 +51,14 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 660,
54+
"headersSize": 656,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 400,
5858
"statusText": "Bad Request"
5959
},
60-
"startedDateTime": "2025-02-04T04:58:32.940Z",
61-
"time": 167
60+
"startedDateTime": "2025-05-26T17:23:42.977Z",
61+
"time": 102
6262
}
6363
],
6464
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-04T04:58:33.114Z"
1+
"2025-05-26T17:23:43.084Z"

cassettes/v2/Workflow-Automation_3507381207/Create-a-Workflow-returns-Successfully-created-a-workflow-response_1639570320/recording.har

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
},
99
"entries": [
1010
{
11-
"_id": "4ea99b6c255c11413fea0a5165d54bd7",
11+
"_id": "fec91cc962029b2d77bb53fe2e45b9c4",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
15-
"bodySize": 981,
15+
"bodySize": 960,
1616
"cookies": [],
1717
"headers": [
1818
{
@@ -26,23 +26,23 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 539,
29+
"headersSize": 558,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"handle\":\"my-handle\",\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"type\":\"workflows\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"connectionEnvs\":[{\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}],\"env\":\"default\"}],\"inputSchema\":{\"parameters\":[{\"defaultValue\":\"default\",\"name\":\"input\",\"type\":\"STRING\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]},\"steps\":[{\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"name\":\"Step1\",\"outboundEdges\":[{\"branchName\":\"main\",\"nextStepName\":\"Step2\"}],\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}]},{\"actionId\":\"com.datadoghq.core.noop\",\"name\":\"Step2\"}],\"triggers\":[{\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}},\"startStepNames\":[\"Step1\"]},{\"githubWebhookTrigger\":{},\"startStepNames\":[\"Step1\"]}]},\"tags\":[\"team:infra\",\"service:monitoring\",\"foo:bar\"]},\"type\":\"workflows\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/workflows"
3939
},
4040
"response": {
41-
"bodySize": 1285,
41+
"bodySize": 1280,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 1285,
45-
"text": "{\"data\":{\"id\":\"cb8dd95a-1463-495d-99d6-95efcd86e74e\",\"type\":\"workflows\",\"attributes\":{\"createdAt\":\"2025-02-04T04:58:33.224986Z\",\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"triggers\":[{\"startStepNames\":[\"Step1\"],\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}}},{\"startStepNames\":[\"Step1\"],\"githubWebhookTrigger\":{}}],\"steps\":[{\"name\":\"Step1\",\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}],\"outboundEdges\":[{\"nextStepName\":\"Step2\",\"branchName\":\"main\"}]},{\"name\":\"Step2\",\"actionId\":\"com.datadoghq.core.noop\"}],\"handle\":\"my-handle\",\"connectionEnvs\":[{\"env\":\"default\",\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}]}],\"inputSchema\":{\"parameters\":[{\"name\":\"input\",\"type\":\"STRING\",\"defaultValue\":\"default\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]}},\"tags\":[\"foo:bar\",\"team:infra\",\"service:monitoring\"],\"updatedAt\":\"2025-02-04T04:58:33.224986Z\"},\"relationships\":{\"creator\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"owner\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}"
44+
"size": 1280,
45+
"text": "{\"data\":{\"id\":\"c850935f-15fc-4e5b-8903-d68066c5343a\",\"type\":\"workflows\",\"attributes\":{\"createdAt\":\"2025-05-26T17:23:43.255617Z\",\"description\":\"A sample workflow.\",\"name\":\"Example Workflow\",\"published\":true,\"spec\":{\"triggers\":[{\"startStepNames\":[\"Step1\"],\"monitorTrigger\":{\"rateLimit\":{\"count\":1,\"interval\":\"3600s\"}}},{\"startStepNames\":[\"Step1\"],\"githubWebhookTrigger\":{}}],\"steps\":[{\"name\":\"Step1\",\"actionId\":\"com.datadoghq.dd.monitor.listMonitors\",\"connectionLabel\":\"INTEGRATION_DATADOG\",\"parameters\":[{\"name\":\"tags\",\"value\":\"service:monitoring\"}],\"outboundEdges\":[{\"nextStepName\":\"Step2\",\"branchName\":\"main\"}]},{\"name\":\"Step2\",\"actionId\":\"com.datadoghq.core.noop\"}],\"connectionEnvs\":[{\"env\":\"default\",\"connections\":[{\"connectionId\":\"11111111-1111-1111-1111-111111111111\",\"label\":\"INTEGRATION_DATADOG\"}]}],\"inputSchema\":{\"parameters\":[{\"name\":\"input\",\"type\":\"STRING\",\"defaultValue\":\"default\"}]},\"outputSchema\":{\"parameters\":[{\"name\":\"output\",\"type\":\"ARRAY_OBJECT\",\"value\":\"outputValue\"}]}},\"tags\":[\"foo:bar\",\"service:monitoring\",\"team:infra\"],\"updatedAt\":\"2025-05-26T17:23:43.255617Z\"},\"relationships\":{\"creator\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"owner\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 662,
54+
"headersSize": 657,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-02-04T04:58:33.117Z",
61-
"time": 119
60+
"startedDateTime": "2025-05-26T17:23:43.086Z",
61+
"time": 207
6262
},
6363
{
64-
"_id": "9384953c7e69c85a3baf0296d8482df5",
64+
"_id": "453a84c4ac476fa849ae639041414e15",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,11 +74,11 @@
7474
"value": "*/*"
7575
}
7676
],
77-
"headersSize": 512,
77+
"headersSize": 531,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/workflows/cb8dd95a-1463-495d-99d6-95efcd86e74e"
81+
"url": "https://api.datadoghq.com/api/v2/workflows/c850935f-15fc-4e5b-8903-d68066c5343a"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -88,14 +88,14 @@
8888
},
8989
"cookies": [],
9090
"headers": [],
91-
"headersSize": 600,
91+
"headersSize": 595,
9292
"httpVersion": "HTTP/1.1",
9393
"redirectURL": "",
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2025-02-04T04:58:33.243Z",
98-
"time": 92
97+
"startedDateTime": "2025-05-26T17:23:43.304Z",
98+
"time": 128
9999
}
100100
],
101101
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-04T04:58:33.338Z"
1+
"2025-05-26T17:23:43.439Z"

cassettes/v2/Workflow-Automation_3507381207/Delete-an-existing-Workflow-returns-Not-found-response_970464114/recording.har

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"value": "*/*"
2222
}
2323
],
24-
"headersSize": 512,
24+
"headersSize": 531,
2525
"httpVersion": "HTTP/1.1",
2626
"method": "DELETE",
2727
"queryString": [],
@@ -41,14 +41,14 @@
4141
"value": "application/vnd.api+json"
4242
}
4343
],
44-
"headersSize": 660,
44+
"headersSize": 655,
4545
"httpVersion": "HTTP/1.1",
4646
"redirectURL": "",
4747
"status": 404,
4848
"statusText": "Not Found"
4949
},
50-
"startedDateTime": "2025-02-04T04:58:33.343Z",
51-
"time": 73
50+
"startedDateTime": "2025-05-26T17:23:43.443Z",
51+
"time": 55
5252
}
5353
],
5454
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-04T04:58:33.426Z"
1+
"2025-05-26T17:23:43.503Z"

cassettes/v2/Workflow-Automation_3507381207/Delete-an-existing-Workflow-returns-Successfully-deleted-a-workflow-response_2030377425/recording.har

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 539,
29+
"headersSize": 558,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
@@ -38,11 +38,11 @@
3838
"url": "https://api.datadoghq.com/api/v2/workflows"
3939
},
4040
"response": {
41-
"bodySize": 563,
41+
"bodySize": 579,
4242
"content": {
4343
"mimeType": "application/vnd.api+json",
44-
"size": 563,
45-
"text": "{\"data\":{\"id\":\"94300e37-bf51-498b-b56b-83d17ef45e6b\",\"type\":\"workflows\",\"attributes\":{\"createdAt\":\"2025-02-04T04:58:33.538848Z\",\"description\":\"\",\"name\":\"Cassette Workflow x-given\",\"published\":true,\"spec\":{\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}],\"steps\":[{\"name\":\"No_op\",\"actionId\":\"com.datadoghq.core.noop\"}]},\"tags\":[],\"updatedAt\":\"2025-02-04T04:58:33.538848Z\"},\"relationships\":{\"creator\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"owner\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}"
44+
"size": 579,
45+
"text": "{\"data\":{\"id\":\"8b9af60d-3521-4ed0-85b2-8e2ab2131e58\",\"type\":\"workflows\",\"attributes\":{\"createdAt\":\"2025-05-26T17:23:43.642375Z\",\"description\":\"\",\"name\":\"Cassette Workflow x-given\",\"published\":true,\"spec\":{\"triggers\":[{\"startStepNames\":[\"No_op\"],\"workflowTrigger\":{}}],\"steps\":[{\"name\":\"No_op\",\"actionId\":\"com.datadoghq.core.noop\"}]},\"tags\":[],\"updatedAt\":\"2025-05-26T17:23:43.642375Z\"},\"relationships\":{\"creator\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}},\"owner\":{\"data\":{\"id\":\"3ad549bf-eba0-11e9-a77a-0705486660d0\",\"type\":\"users\"}}}}}"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -51,17 +51,17 @@
5151
"value": "application/vnd.api+json"
5252
}
5353
],
54-
"headersSize": 661,
54+
"headersSize": 656,
5555
"httpVersion": "HTTP/1.1",
5656
"redirectURL": "",
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-02-04T04:58:33.427Z",
61-
"time": 95
60+
"startedDateTime": "2025-05-26T17:23:43.506Z",
61+
"time": 158
6262
},
6363
{
64-
"_id": "e8341d25c544632eafe2e81fd2bcba07",
64+
"_id": "a36b351fd4fd3f108f49457209eb6317",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -74,11 +74,11 @@
7474
"value": "*/*"
7575
}
7676
],
77-
"headersSize": 512,
77+
"headersSize": 531,
7878
"httpVersion": "HTTP/1.1",
7979
"method": "DELETE",
8080
"queryString": [],
81-
"url": "https://api.datadoghq.com/api/v2/workflows/94300e37-bf51-498b-b56b-83d17ef45e6b"
81+
"url": "https://api.datadoghq.com/api/v2/workflows/8b9af60d-3521-4ed0-85b2-8e2ab2131e58"
8282
},
8383
"response": {
8484
"bodySize": 0,
@@ -88,17 +88,17 @@
8888
},
8989
"cookies": [],
9090
"headers": [],
91-
"headersSize": 600,
91+
"headersSize": 595,
9292
"httpVersion": "HTTP/1.1",
9393
"redirectURL": "",
9494
"status": 204,
9595
"statusText": "No Content"
9696
},
97-
"startedDateTime": "2025-02-04T04:58:33.531Z",
98-
"time": 86
97+
"startedDateTime": "2025-05-26T17:23:43.668Z",
98+
"time": 127
9999
},
100100
{
101-
"_id": "e8341d25c544632eafe2e81fd2bcba07",
101+
"_id": "a36b351fd4fd3f108f49457209eb6317",
102102
"_order": 1,
103103
"cache": {},
104104
"request": {
@@ -111,11 +111,11 @@
111111
"value": "*/*"
112112
}
113113
],
114-
"headersSize": 512,
114+
"headersSize": 531,
115115
"httpVersion": "HTTP/1.1",
116116
"method": "DELETE",
117117
"queryString": [],
118-
"url": "https://api.datadoghq.com/api/v2/workflows/94300e37-bf51-498b-b56b-83d17ef45e6b"
118+
"url": "https://api.datadoghq.com/api/v2/workflows/8b9af60d-3521-4ed0-85b2-8e2ab2131e58"
119119
},
120120
"response": {
121121
"bodySize": 44,
@@ -131,14 +131,14 @@
131131
"value": "application/vnd.api+json"
132132
}
133133
],
134-
"headersSize": 660,
134+
"headersSize": 655,
135135
"httpVersion": "HTTP/1.1",
136136
"redirectURL": "",
137137
"status": 404,
138138
"statusText": "Not Found"
139139
},
140-
"startedDateTime": "2025-02-04T04:58:33.624Z",
141-
"time": 58
140+
"startedDateTime": "2025-05-26T17:23:43.803Z",
141+
"time": 101
142142
}
143143
],
144144
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-02-04T04:58:33.693Z"
1+
"2025-05-26T17:23:43.912Z"

0 commit comments

Comments
 (0)