diff --git a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/frozen.json index 1d0cadcdf471..b26b17aa48aa 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:12.459Z" +"2025-11-28T10:48:39.297Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/recording.har index 153fc0694114..21d53e6ea974 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-Bad-Request-response_2824092514/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "805bca15e7f08cce6b78232a51416eb0", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 191, "cookies": [], "headers": [ { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 570, + "headersSize": 571, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsbadrequestresponse1764326919\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 575, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"c7d0bed9-01dc-45d5-88ad-242123881f81\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:13.006792Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:13.006792Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 575, + "text": "{\"data\":{\"id\":\"64de7180-ffd3-417b-beb6-c6ea469b5b5f\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:39.863066Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsbadrequestresponse1764326919\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:39.863066Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:12.875Z", - "time": 166 + "startedDateTime": "2025-11-28T10:48:39.749Z", + "time": 167 }, { - "_id": "4b327a76c9fae0b340074881b6c955cf", + "_id": "bc3a9ac91b3741fdcfbdcbf054301e0a", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 612, + "headersSize": 614, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,7 +88,7 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"test\",\"options\":{\"excluded_resources\":[]},\"type\":\"fdd\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/c7d0bed9-01dc-45d5-88ad-242123881f81/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/64de7180-ffd3-417b-beb6-c6ea469b5b5f/rules" }, "response": { "bodySize": 136, @@ -110,11 +110,11 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-10-28T14:51:13.049Z", - "time": 144 + "startedDateTime": "2025-11-28T10:48:39.926Z", + "time": 120 }, { - "_id": "6fd06ae07209b0038c7df57e1adc7c10", + "_id": "8ed8a1333531e991076ed010c62eb341", "_order": 0, "cache": {}, "request": { @@ -127,11 +127,11 @@ "value": "*/*" } ], - "headersSize": 543, + "headersSize": 544, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/c7d0bed9-01dc-45d5-88ad-242123881f81" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/64de7180-ffd3-417b-beb6-c6ea469b5b5f" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:13.199Z", - "time": 156 + "startedDateTime": "2025-11-28T10:48:40.053Z", + "time": 136 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/frozen.json index 0bd2627a649b..75b31f365af5 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:13.363Z" +"2025-11-28T10:48:40.199Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/recording.har index 96f87a5d3221..198359f063db 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Create-deployment-rule-returns-OK-response_36464608/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "70d8a20edaaf6ee64c3055d976ec6c9b", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 183, "cookies": [], "headers": [ { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 570, + "headersSize": 571, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsokresponse1764326920\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 567, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"58066a8e-44e7-4119-8ac6-a5ecc3b31c1b\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:13.477518Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:13.477518Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 567, + "text": "{\"data\":{\"id\":\"2abe97e8-438e-410e-9630-185bd3634d4d\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:40.314903Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testcreatedeploymentrulereturnsokresponse1764326920\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:40.314903Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:13.365Z", - "time": 352 + "startedDateTime": "2025-11-28T10:48:40.202Z", + "time": 144 }, { - "_id": "a1ccd12a79836f5c10aa48b476b8a478", + "_id": "a2fa7824d779a0d9f15a96378291fb9d", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/58066a8e-44e7-4119-8ac6-a5ecc3b31c1b/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/2abe97e8-438e-410e-9630-185bd3634d4d/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"8330bf79-6906-4cea-85d5-a4da6767458e\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:13.852895Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"58066a8e-44e7-4119-8ac6-a5ecc3b31c1b\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:13.852895Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"3370e167-8ad1-4cce-8efe-4688ff6d862e\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:40.464432Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"2abe97e8-438e-410e-9630-185bd3634d4d\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:40.464432Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:13.722Z", - "time": 160 + "startedDateTime": "2025-11-28T10:48:40.351Z", + "time": 135 }, { - "_id": "8b403cc98e592b75b680b567c7637e14", + "_id": "a4030f938a6e559967172e6d42bad0f3", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/58066a8e-44e7-4119-8ac6-a5ecc3b31c1b/rules/8330bf79-6906-4cea-85d5-a4da6767458e" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/2abe97e8-438e-410e-9630-185bd3634d4d/rules/3370e167-8ad1-4cce-8efe-4688ff6d862e" }, "response": { "bodySize": 0, @@ -147,11 +147,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:13.888Z", - "time": 147 + "startedDateTime": "2025-11-28T10:48:40.490Z", + "time": 139 }, { - "_id": "35fb0c5236b4db7c94899e6b8c393fe5", + "_id": "26b8761c30659a6c3f9b9e3caf6a8ae1", "_order": 0, "cache": {}, "request": { @@ -168,7 +168,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/58066a8e-44e7-4119-8ac6-a5ecc3b31c1b" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/2abe97e8-438e-410e-9630-185bd3634d4d" }, "response": { "bodySize": 0, @@ -184,8 +184,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:14.038Z", - "time": 148 + "startedDateTime": "2025-11-28T10:48:40.632Z", + "time": 139 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/frozen.json index b9c5a46bd220..9a6c5b859e90 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:14.192Z" +"2025-11-28T10:48:40.779Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/recording.har index 950ba7c4c881..c1b2e5c99390 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-gate-returns-No-Content-response_2018192270/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "67a945a070d1baa8c7e5b4f428bf52e0", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 190, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentgatereturnsnocontentresponse1764326920\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 574, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"dba6d48b-b7ac-4ac8-b2d5-70e45b500eed\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:14.313688Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:14.313688Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 574, + "text": "{\"data\":{\"id\":\"86e38caf-0d2a-4e72-93ac-9850957d2c6b\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:40.909837Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentgatereturnsnocontentresponse1764326920\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:40.909837Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:14.195Z", - "time": 156 + "startedDateTime": "2025-11-28T10:48:40.781Z", + "time": 158 }, { - "_id": "06c13af0863190d610201b7ddf35a59e", + "_id": "3e123064488b434dcd2de8d0c7cb4f34", "_order": 0, "cache": {}, "request": { @@ -78,7 +78,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/dba6d48b-b7ac-4ac8-b2d5-70e45b500eed" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/86e38caf-0d2a-4e72-93ac-9850957d2c6b" }, "response": { "bodySize": 0, @@ -94,11 +94,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:14.356Z", - "time": 134 + "startedDateTime": "2025-11-28T10:48:40.944Z", + "time": 136 }, { - "_id": "06c13af0863190d610201b7ddf35a59e", + "_id": "3e123064488b434dcd2de8d0c7cb4f34", "_order": 1, "cache": {}, "request": { @@ -115,7 +115,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/dba6d48b-b7ac-4ac8-b2d5-70e45b500eed" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/86e38caf-0d2a-4e72-93ac-9850957d2c6b" }, "response": { "bodySize": 80, @@ -137,8 +137,8 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-10-28T14:51:14.494Z", - "time": 129 + "startedDateTime": "2025-11-28T10:48:41.085Z", + "time": 125 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/frozen.json index 81aa804a75ea..681e9e3fc7b6 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:14.630Z" +"2025-11-28T10:48:41.219Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/recording.har index 8b2cd92070d8..b4adae6956b3 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Delete-deployment-rule-returns-No-Content-response_3926285415/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "64f2a0d46a85693f0327545fe7a0534b", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 190, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentrulereturnsnocontentresponse1764326921\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 574, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"8e202ae7-a86b-4f4a-a213-585801a42630\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:14.754979Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:14.754979Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 574, + "text": "{\"data\":{\"id\":\"32ff7c01-1f90-4ae4-bef0-b759f1ad280f\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:41.325741Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testdeletedeploymentrulereturnsnocontentresponse1764326921\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:41.325741Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:14.634Z", - "time": 154 + "startedDateTime": "2025-11-28T10:48:41.222Z", + "time": 132 }, { - "_id": "64372ed15fc942eca46e9526e5fc1dac", + "_id": "459cdaaa82d95680601b1a23b6a2c352", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/8e202ae7-a86b-4f4a-a213-585801a42630/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/32ff7c01-1f90-4ae4-bef0-b759f1ad280f/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"31e6717f-2eaa-45e5-9559-a55ca9d45f8d\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:14.911642Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"8e202ae7-a86b-4f4a-a213-585801a42630\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:14.911642Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"8229075f-8014-432c-9597-ba549ae5cd83\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:41.470358Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"32ff7c01-1f90-4ae4-bef0-b759f1ad280f\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:41.470358Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:14.796Z", - "time": 140 + "startedDateTime": "2025-11-28T10:48:41.361Z", + "time": 126 }, { - "_id": "7750dd6b72c8a686a6679e3cd66d2694", + "_id": "03877ee6c8bc166d4865705e41312634", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/8e202ae7-a86b-4f4a-a213-585801a42630/rules/31e6717f-2eaa-45e5-9559-a55ca9d45f8d" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/32ff7c01-1f90-4ae4-bef0-b759f1ad280f/rules/8229075f-8014-432c-9597-ba549ae5cd83" }, "response": { "bodySize": 0, @@ -147,11 +147,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:14.940Z", - "time": 145 + "startedDateTime": "2025-11-28T10:48:41.492Z", + "time": 157 }, { - "_id": "7750dd6b72c8a686a6679e3cd66d2694", + "_id": "03877ee6c8bc166d4865705e41312634", "_order": 1, "cache": {}, "request": { @@ -168,7 +168,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/8e202ae7-a86b-4f4a-a213-585801a42630/rules/31e6717f-2eaa-45e5-9559-a55ca9d45f8d" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/32ff7c01-1f90-4ae4-bef0-b759f1ad280f/rules/8229075f-8014-432c-9597-ba549ae5cd83" }, "response": { "bodySize": 80, @@ -190,11 +190,11 @@ "status": 404, "statusText": "Not Found" }, - "startedDateTime": "2025-10-28T14:51:15.090Z", - "time": 142 + "startedDateTime": "2025-11-28T10:48:41.654Z", + "time": 119 }, { - "_id": "dd8ed37e3b60352bb1d1b3f4c8e39a88", + "_id": "2a6238b842949c964507a7aa98426abc", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/8e202ae7-a86b-4f4a-a213-585801a42630" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/32ff7c01-1f90-4ae4-bef0-b759f1ad280f" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:15.235Z", - "time": 130 + "startedDateTime": "2025-11-28T10:48:41.777Z", + "time": 116 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/frozen.json index d1f252c97398..f381f0042d6d 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:15.372Z" +"2025-11-28T10:48:41.902Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/recording.har index 58b90e5fd6bb..bd6daffecd36 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-gate-returns-OK-response_1812155259/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "2ee257aa1daf56f98edd6761ae9bdd50", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 180, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentgatereturnsokresponse1764326921\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 564, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"ed4085c5-e8d3-4bf8-89a6-c257164d8952\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:15.478086Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:15.478086Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 564, + "text": "{\"data\":{\"id\":\"6fc0d64b-aa76-49f9-804b-5ba224951b53\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:42.011911Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentgatereturnsokresponse1764326921\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:42.011911Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:15.373Z", - "time": 124 + "startedDateTime": "2025-11-28T10:48:41.908Z", + "time": 120 }, { - "_id": "a69cb1bc0a267ed9f06d1e6e1c5ae317", + "_id": "74d7566cab6a8e98c8b675d6475e1010", "_order": 0, "cache": {}, "request": { @@ -78,14 +78,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/ed4085c5-e8d3-4bf8-89a6-c257164d8952" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/6fc0d64b-aa76-49f9-804b-5ba224951b53" }, "response": { - "bodySize": 515, + "bodySize": 564, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"ed4085c5-e8d3-4bf8-89a6-c257164d8952\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:15.478086Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:15.478086Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 564, + "text": "{\"data\":{\"id\":\"6fc0d64b-aa76-49f9-804b-5ba224951b53\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:42.011911Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentgatereturnsokresponse1764326921\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:42.011911Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -100,11 +100,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:15.505Z", - "time": 219 + "startedDateTime": "2025-11-28T10:48:42.033Z", + "time": 170 }, { - "_id": "52e4fdebcdb58662dbd88b5df13ce3ab", + "_id": "a388cf9dc776cfee96c48e7bb5d6ae5b", "_order": 0, "cache": {}, "request": { @@ -117,11 +117,11 @@ "value": "*/*" } ], - "headersSize": 543, + "headersSize": 544, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/ed4085c5-e8d3-4bf8-89a6-c257164d8952" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/6fc0d64b-aa76-49f9-804b-5ba224951b53" }, "response": { "bodySize": 0, @@ -137,8 +137,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:15.728Z", - "time": 151 + "startedDateTime": "2025-11-28T10:48:42.208Z", + "time": 122 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/frozen.json index af761a7f62a3..8f5886533d56 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:15.883Z" +"2025-11-28T10:48:42.334Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/recording.har index 24232388b1f7..1e5add20c51e 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-Bad-Request-response_2127960932/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "8b77471841083f1ab4d0bc37683f09ed", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 188, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsbadrequestresponse1764326922\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 572, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"d49e6d82-2dc4-45b6-ab50-4fb09feae18e\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:16.013862Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:16.013862Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 572, + "text": "{\"data\":{\"id\":\"10bfb87d-3e15-4889-895c-28fd41d71837\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:42.440107Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsbadrequestresponse1764326922\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:42.440107Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:15.885Z", - "time": 168 + "startedDateTime": "2025-11-28T10:48:42.336Z", + "time": 132 }, { - "_id": "666c0abd7c83dd7653a7a000b0b18cf5", + "_id": "3faa6627bba0f7aacc404ba107a049a2", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 613, + "headersSize": 614, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/d49e6d82-2dc4-45b6-ab50-4fb09feae18e/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/10bfb87d-3e15-4889-895c-28fd41d71837/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"611707d2-276e-4dc5-b754-db8f94eab0b5\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:16.184094Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"d49e6d82-2dc4-45b6-ab50-4fb09feae18e\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:16.184094Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"e8c6d6c6-c529-4c30-92f9-8d965a68b120\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:42.588675Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"10bfb87d-3e15-4889-895c-28fd41d71837\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:42.588675Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:16.057Z", - "time": 143 + "startedDateTime": "2025-11-28T10:48:42.473Z", + "time": 131 }, { "_id": "fb33a6dc801c60adbeedde2e3d4a63f4", @@ -153,11 +153,11 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-10-28T14:51:16.203Z", - "time": 131 + "startedDateTime": "2025-11-28T10:48:42.609Z", + "time": 123 }, { - "_id": "3b3081f939d99c5ed9c1935012a85099", + "_id": "fb4f86025f38691c7ffb6117e71f7219", "_order": 0, "cache": {}, "request": { @@ -174,7 +174,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/d49e6d82-2dc4-45b6-ab50-4fb09feae18e/rules/611707d2-276e-4dc5-b754-db8f94eab0b5" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/10bfb87d-3e15-4889-895c-28fd41d71837/rules/e8c6d6c6-c529-4c30-92f9-8d965a68b120" }, "response": { "bodySize": 0, @@ -190,11 +190,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:16.338Z", - "time": 146 + "startedDateTime": "2025-11-28T10:48:42.736Z", + "time": 119 }, { - "_id": "f13a69de96efbc88bccd7dada289daf1", + "_id": "15673f07ede625f9982a8d77f5604805", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/d49e6d82-2dc4-45b6-ab50-4fb09feae18e" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/10bfb87d-3e15-4889-895c-28fd41d71837" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:16.487Z", - "time": 149 + "startedDateTime": "2025-11-28T10:48:42.857Z", + "time": 126 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/frozen.json index 44578f89d6b5..2cf900b215f3 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:16.642Z" +"2025-11-28T10:48:42.991Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/recording.har index 95bc86b7ba5e..0f7a46f987ee 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Get-deployment-rule-returns-OK-response_3558316506/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "242a5e37735faf9061ace37f51523ec4", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 180, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsokresponse1764326922\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 564, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:16.752908Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:16.752908Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 564, + "text": "{\"data\":{\"id\":\"701d9655-8d81-43d0-9954-cf24b4959b60\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:43.092215Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testgetdeploymentrulereturnsokresponse1764326922\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:43.092215Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:16.644Z", - "time": 168 + "startedDateTime": "2025-11-28T10:48:42.993Z", + "time": 115 }, { - "_id": "c9781ea9bfaa1188d56bbb91d1421fad", + "_id": "29f4be06bbc555c9b9705dd8735f48f9", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/701d9655-8d81-43d0-9954-cf24b4959b60/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"a38ab685-4ef9-4000-a938-740da6c37296\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:16.947341Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:16.947341Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"c96cd32f-5c92-4bc7-9483-85a824b394a7\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:43.237862Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"701d9655-8d81-43d0-9954-cf24b4959b60\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:43.237862Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:16.827Z", - "time": 157 + "startedDateTime": "2025-11-28T10:48:43.113Z", + "time": 174 }, { - "_id": "285a097680b4ee662ad73bb66a7d8b0e", + "_id": "2221d4d11fbcffd5fd60ac9c4d1b23dd", "_order": 0, "cache": {}, "request": { @@ -131,14 +131,14 @@ "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56/rules/a38ab685-4ef9-4000-a938-740da6c37296" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/701d9655-8d81-43d0-9954-cf24b4959b60/rules/c96cd32f-5c92-4bc7-9483-85a824b394a7" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"a38ab685-4ef9-4000-a938-740da6c37296\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:16.947341Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:16.947341Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"c96cd32f-5c92-4bc7-9483-85a824b394a7\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:43.237862Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"701d9655-8d81-43d0-9954-cf24b4959b60\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:43.237862Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -153,11 +153,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:16.989Z", - "time": 329 + "startedDateTime": "2025-11-28T10:48:43.292Z", + "time": 159 }, { - "_id": "5309ca55be5902cdda2211e46b01ec30", + "_id": "4a3781c22e9fafb1fd05a6da79f32abd", "_order": 0, "cache": {}, "request": { @@ -174,7 +174,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56/rules/a38ab685-4ef9-4000-a938-740da6c37296" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/701d9655-8d81-43d0-9954-cf24b4959b60/rules/c96cd32f-5c92-4bc7-9483-85a824b394a7" }, "response": { "bodySize": 0, @@ -190,11 +190,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:17.323Z", - "time": 125 + "startedDateTime": "2025-11-28T10:48:43.456Z", + "time": 119 }, { - "_id": "ee7ee84971489b99357a9f3a0dd6e77f", + "_id": "a681b94303e56689c27e5468daf6b0f3", "_order": 0, "cache": {}, "request": { @@ -211,7 +211,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/50df9de0-aa0c-4d7c-8fc8-811ee2ab4e56" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/701d9655-8d81-43d0-9954-cf24b4959b60" }, "response": { "bodySize": 0, @@ -227,8 +227,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:17.450Z", - "time": 130 + "startedDateTime": "2025-11-28T10:48:43.578Z", + "time": 151 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/frozen.json index 0647a82aca50..c54651799998 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:17.586Z" +"2025-11-28T10:48:43.738Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/recording.har index 6c3aa18f5acf..69814a786661 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-gate-returns-OK-response_3515146080/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "0548f1b3e5e161fc86caaf51fa14e18e", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 183, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentgatereturnsokresponse1764326923\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 567, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"ef672c2e-81fc-4fcc-9690-392a9cf0d70c\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:17.693361Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:17.693361Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 567, + "text": "{\"data\":{\"id\":\"6080b4ee-0fa6-4370-aafa-adb5b71c2fab\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:43.844073Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentgatereturnsokresponse1764326923\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:43.844073Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:17.589Z", - "time": 143 + "startedDateTime": "2025-11-28T10:48:43.741Z", + "time": 168 }, { - "_id": "b2eddf9a10a6ae934e739b613b82db5b", + "_id": "0f8e6b3d0b71b80dc2eff6209ecc98b2", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 606, + "headersSize": 607, "httpVersion": "HTTP/1.1", "method": "PUT", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false},\"id\":\"12345678-1234-1234-1234-123456789012\",\"type\":\"deployment_gate\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/ef672c2e-81fc-4fcc-9690-392a9cf0d70c" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/6080b4ee-0fa6-4370-aafa-adb5b71c2fab" }, "response": { - "bodySize": 515, + "bodySize": 567, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"ef672c2e-81fc-4fcc-9690-392a9cf0d70c\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:17.693361Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:17.841019Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 567, + "text": "{\"data\":{\"id\":\"6080b4ee-0fa6-4370-aafa-adb5b71c2fab\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:43.844073Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentgatereturnsokresponse1764326923\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:44.028502Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:17.736Z", - "time": 132 + "startedDateTime": "2025-11-28T10:48:43.916Z", + "time": 140 }, { - "_id": "2cd4c09eed517fb13a942907f1e39850", + "_id": "c62b2d4512872929a532a1944e2e9f30", "_order": 0, "cache": {}, "request": { @@ -131,7 +131,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/ef672c2e-81fc-4fcc-9690-392a9cf0d70c" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/6080b4ee-0fa6-4370-aafa-adb5b71c2fab" }, "response": { "bodySize": 0, @@ -147,8 +147,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:17.872Z", - "time": 129 + "startedDateTime": "2025-11-28T10:48:44.060Z", + "time": 162 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/frozen.json index 0120d7086a81..476183f01eca 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:18.004Z" +"2025-11-28T10:48:44.227Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/recording.har index 66c33e209f79..a53aa0931857 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-Bad-Request-response_1486779637/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "6673fcb47218e29c910d37b1db2b0e05", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 191, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsbadrequestresponse1764326924\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 575, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"b2bd3ad3-f414-4f05-9ad6-248ed3f99f4d\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:18.108594Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:18.108594Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 575, + "text": "{\"data\":{\"id\":\"f7fc03e3-86d9-4731-9baf-9b3a2f9239c3\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:44.325367Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsbadrequestresponse1764326924\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:44.325367Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:18.010Z", + "startedDateTime": "2025-11-28T10:48:44.229Z", "time": 116 }, { - "_id": "4d5ec8dd7568e1653db866b89e5054a0", + "_id": "c3b1ad5ac08391959ae18c88d1a2402e", "_order": 0, "cache": {}, "request": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/b2bd3ad3-f414-4f05-9ad6-248ed3f99f4d/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/f7fc03e3-86d9-4731-9baf-9b3a2f9239c3/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"189846d6-3c19-46e8-98d1-9d05a2f43361\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:18.251816Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"b2bd3ad3-f414-4f05-9ad6-248ed3f99f4d\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:18.251816Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"63e71fe3-f002-4e46-bc24-772c7a743e95\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:44.453112Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"f7fc03e3-86d9-4731-9baf-9b3a2f9239c3\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:44.453112Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,8 +110,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:18.130Z", - "time": 165 + "startedDateTime": "2025-11-28T10:48:44.349Z", + "time": 119 }, { "_id": "7d25d788cd9d6480d8210f5a5ca31a95", @@ -163,11 +163,11 @@ "status": 400, "statusText": "Bad Request" }, - "startedDateTime": "2025-10-28T14:51:18.299Z", - "time": 132 + "startedDateTime": "2025-11-28T10:48:44.473Z", + "time": 119 }, { - "_id": "59d200b66705c933cac03db89a7c5766", + "_id": "4a0d7b505521f81ef78f09278a52a46d", "_order": 0, "cache": {}, "request": { @@ -184,7 +184,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/b2bd3ad3-f414-4f05-9ad6-248ed3f99f4d/rules/189846d6-3c19-46e8-98d1-9d05a2f43361" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/f7fc03e3-86d9-4731-9baf-9b3a2f9239c3/rules/63e71fe3-f002-4e46-bc24-772c7a743e95" }, "response": { "bodySize": 0, @@ -200,11 +200,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:18.435Z", - "time": 132 + "startedDateTime": "2025-11-28T10:48:44.596Z", + "time": 118 }, { - "_id": "c175fc7e9e8ccefbe430ba4e5818f497", + "_id": "6cf68f1321057d46c5077feedda73fac", "_order": 0, "cache": {}, "request": { @@ -221,7 +221,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/b2bd3ad3-f414-4f05-9ad6-248ed3f99f4d" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/f7fc03e3-86d9-4731-9baf-9b3a2f9239c3" }, "response": { "bodySize": 0, @@ -237,8 +237,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:18.569Z", - "time": 146 + "startedDateTime": "2025-11-28T10:48:44.717Z", + "time": 131 } ], "pages": [], diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/frozen.json b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/frozen.json index 7c0776180795..e7461795985f 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/frozen.json +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/frozen.json @@ -1 +1 @@ -"2025-10-28T14:51:18.721Z" +"2025-11-28T10:48:44.855Z" diff --git a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/recording.har b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/recording.har index 0f451a258f2e..862958200ac3 100644 --- a/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/recording.har +++ b/cassettes/v2/Deployment-Gates_4242274226/Update-deployment-rule-returns-OK-response_2914944649/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "70acb264a190c9504530585b68c408be", + "_id": "1e7e74d6e487cecb0dd1aeccab1b7111", "_order": 0, "cache": {}, "request": { - "bodySize": 131, + "bodySize": 183, "cookies": [], "headers": [ { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 570, + "headersSize": 571, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" + "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsokresponse1764326924\",\"service\":\"my-service\"},\"type\":\"deployment_gate\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/deployment_gates" }, "response": { - "bodySize": 515, + "bodySize": 567, "content": { "mimeType": "application/vnd.api+json", - "size": 515, - "text": "{\"data\":{\"id\":\"301122dd-9022-40f0-886f-f9a6c227dc9a\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:18.845469Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate\",\"service\":\"my-service\",\"updated_at\":\"2025-10-28T14:51:18.845469Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "size": 567, + "text": "{\"data\":{\"id\":\"b9fe1de0-ba29-4f86-abbb-09ec15047772\",\"type\":\"deployment_gate\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:44.953026Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"env\":\"production\",\"identifier\":\"my-gate-testupdatedeploymentrulereturnsokresponse1764326924\",\"service\":\"my-service\",\"updated_at\":\"2025-11-28T10:48:44.953026Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:18.722Z", - "time": 164 + "startedDateTime": "2025-11-28T10:48:44.857Z", + "time": 112 }, { - "_id": "ec0c5f43e8d98a9463cea8e99d31eb69", + "_id": "b0126137927e4629cf38d776aee57722", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 613, + "headersSize": 614, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"My deployment rule\",\"options\":{\"excluded_resources\":[]},\"type\":\"faulty_deployment_detection\"},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/301122dd-9022-40f0-886f-f9a6c227dc9a/rules" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/b9fe1de0-ba29-4f86-abbb-09ec15047772/rules" }, "response": { "bodySize": 577, "content": { "mimeType": "application/vnd.api+json", "size": 577, - "text": "{\"data\":{\"id\":\"483937d1-efc4-4a7c-95a6-89bd6b2e4e75\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:19.007448Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"301122dd-9022-40f0-886f-f9a6c227dc9a\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:19.007448Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"04207b55-28e1-46e6-9aa1-ed45dd022e3e\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:45.086885Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"b9fe1de0-ba29-4f86-abbb-09ec15047772\",\"name\":\"My deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:45.086885Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:18.890Z", - "time": 135 + "startedDateTime": "2025-11-28T10:48:44.974Z", + "time": 128 }, { - "_id": "4d411959683ad10dc42bfd77aea1fbcb", + "_id": "4c42138e93258e81ecd36bc8be306431", "_order": 0, "cache": {}, "request": { @@ -132,7 +132,7 @@ "value": "application/json" } ], - "headersSize": 648, + "headersSize": 650, "httpVersion": "HTTP/1.1", "method": "PUT", "postData": { @@ -141,14 +141,14 @@ "text": "{\"data\":{\"attributes\":{\"dry_run\":false,\"name\":\"Updated deployment rule\",\"options\":{\"excluded_resources\":[]}},\"type\":\"deployment_rule\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/301122dd-9022-40f0-886f-f9a6c227dc9a/rules/483937d1-efc4-4a7c-95a6-89bd6b2e4e75" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/b9fe1de0-ba29-4f86-abbb-09ec15047772/rules/04207b55-28e1-46e6-9aa1-ed45dd022e3e" }, "response": { "bodySize": 582, "content": { "mimeType": "application/vnd.api+json", "size": 582, - "text": "{\"data\":{\"id\":\"483937d1-efc4-4a7c-95a6-89bd6b2e4e75\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-10-28T14:51:19.007448Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"301122dd-9022-40f0-886f-f9a6c227dc9a\",\"name\":\"Updated deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-10-28T14:51:19.134366Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" + "text": "{\"data\":{\"id\":\"04207b55-28e1-46e6-9aa1-ed45dd022e3e\",\"type\":\"deployment_rule\",\"attributes\":{\"created_at\":\"2025-11-28T10:48:45.086885Z\",\"created_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"},\"dry_run\":false,\"gate_id\":\"b9fe1de0-ba29-4f86-abbb-09ec15047772\",\"name\":\"Updated deployment rule\",\"options\":{},\"type\":\"faulty_deployment_detection\",\"updated_at\":\"2025-11-28T10:48:45.232653Z\",\"updated_by\":{\"id\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\",\"name\":\"CI Account\",\"handle\":\"9919ec9b-ebc7-49ee-8dc8-03626e717cca\"}}}}" }, "cookies": [], "headers": [ @@ -163,11 +163,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2025-10-28T14:51:19.030Z", - "time": 175 + "startedDateTime": "2025-11-28T10:48:45.108Z", + "time": 140 }, { - "_id": "97979e7e57c7d9bdd1bd4385af7df9ac", + "_id": "5458cdb3ae6f24976faf223be805b5b5", "_order": 0, "cache": {}, "request": { @@ -180,11 +180,11 @@ "value": "*/*" } ], - "headersSize": 586, + "headersSize": 587, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/301122dd-9022-40f0-886f-f9a6c227dc9a/rules/483937d1-efc4-4a7c-95a6-89bd6b2e4e75" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/b9fe1de0-ba29-4f86-abbb-09ec15047772/rules/04207b55-28e1-46e6-9aa1-ed45dd022e3e" }, "response": { "bodySize": 0, @@ -200,11 +200,11 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:19.209Z", - "time": 135 + "startedDateTime": "2025-11-28T10:48:45.262Z", + "time": 124 }, { - "_id": "f8b7f255e2f0fcc6d32d78d9e518f898", + "_id": "12c82fb6c02df84fcb70002de7cba1cc", "_order": 0, "cache": {}, "request": { @@ -217,11 +217,11 @@ "value": "*/*" } ], - "headersSize": 542, + "headersSize": 544, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/deployment_gates/301122dd-9022-40f0-886f-f9a6c227dc9a" + "url": "https://api.datadoghq.com/api/v2/deployment_gates/b9fe1de0-ba29-4f86-abbb-09ec15047772" }, "response": { "bodySize": 0, @@ -237,8 +237,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2025-10-28T14:51:19.347Z", - "time": 143 + "startedDateTime": "2025-11-28T10:48:45.389Z", + "time": 125 } ], "pages": [], diff --git a/features/v2/given.json b/features/v2/given.json index 198c7af1b51d..56d1792251c9 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -350,7 +350,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate\",\n \"dry_run\": false\n }\n }\n}" + "value": "{\n \"data\": {\n \"type\": \"deployment_gate\",\n \"attributes\": {\n \"service\": \"my-service\",\n \"env\": \"production\",\n \"identifier\": \"my-gate-{{ unique_lower_alnum }}\",\n \"dry_run\": false\n }\n }\n}" } ], "step": "there is a valid \"deployment_gate\" in the system",