From 3f99012146a74f3079198dde91a31acbef00f9db Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 13 Mar 2023 10:17:49 +0000 Subject: [PATCH] Regenerate client from commit 5ad82066 of spec repo --- .apigentools-info | 8 ++-- .../frozen.json | 2 +- .../recording.har | 40 ++++++++--------- .../frozen.json | 2 +- .../recording.har | 36 +++++++-------- .../frozen.json | 2 +- .../recording.har | 44 +++++++++---------- features/v2/fastly_integration.feature | 2 +- features/v2/given.json | 2 +- 9 files changed, 69 insertions(+), 69 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index aea7dafa37dc..df0263c43198 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-07 22:36:05.692522", - "spec_repo_commit": "73e66c9a" + "regenerated": "2023-03-13 10:16:17.697859", + "spec_repo_commit": "5ad82066" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-03-07 22:36:05.705736", - "spec_repo_commit": "73e66c9a" + "regenerated": "2023-03-13 10:16:17.712054", + "spec_repo_commit": "5ad82066" } } } \ No newline at end of file diff --git a/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/frozen.json b/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/frozen.json index 3d2ce4dcd7ea..9ad767a2b602 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/frozen.json +++ b/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/frozen.json @@ -1 +1 @@ -"2022-11-11T16:54:36.129Z" +"2023-03-13T10:11:14.475Z" diff --git a/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/recording.har b/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/recording.har index 51408a1e874d..13945055464f 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/recording.har +++ b/cassettes/v2/Fastly-Integration_4018761042/Get-Fastly-account-returns-OK-response_936775753/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "4419270cbd410fb41a2467c7e6ed6420", + "_id": "26bebde2a12f259c5394ea549b070d36", "_order": 0, "cache": {}, "request": { - "bodySize": 143, + "bodySize": 188, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetFastlyaccountreturnsOKresponse1668185676\",\"name\":\"test-name\",\"services\":[]},\"type\":\"fastly-accounts\"}}" + "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestGetFastlyaccountreturnsOKresponse1678702274\",\"name\":\"Test-Get_Fastly_account_returns_OK_response-1678702274\",\"services\":[]},\"type\":\"fastly-accounts\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, "response": { - "bodySize": 124, + "bodySize": 169, "content": { "mimeType": "application/json", - "size": 124, - "text": "{\"data\":{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}}\n" + "size": 169, + "text": "{\"data\":{\"type\":\"fastly-accounts\",\"id\":\"6d8f2860f9f3e953fb46d554b9a19627\",\"attributes\":{\"services\":[],\"name\":\"Test-Get_Fastly_account_returns_OK_response-1678702274\"}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2022-11-11T16:54:36.149Z", - "time": 848 + "startedDateTime": "2023-03-13T10:11:14.490Z", + "time": 508 }, { - "_id": "309abbacf40bde4931eeb2f3ad9d7e24", + "_id": "95c0b036d810198ea16c89997a1f7018", "_order": 0, "cache": {}, "request": { @@ -74,18 +74,18 @@ "value": "application/json" } ], - "headersSize": 557, + "headersSize": 558, "httpVersion": "HTTP/1.1", "method": "GET", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/42ed7da188c8af4a6964376d49bb7caa" + "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/6d8f2860f9f3e953fb46d554b9a19627" }, "response": { - "bodySize": 124, + "bodySize": 169, "content": { "mimeType": "application/json", - "size": 124, - "text": "{\"data\":{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}}\n" + "size": 169, + "text": "{\"data\":{\"type\":\"fastly-accounts\",\"id\":\"6d8f2860f9f3e953fb46d554b9a19627\",\"attributes\":{\"name\":\"Test-Get_Fastly_account_returns_OK_response-1678702274\",\"services\":[]}}}\n" }, "cookies": [], "headers": [ @@ -100,11 +100,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-11-11T16:54:37.008Z", - "time": 226 + "startedDateTime": "2023-03-13T10:11:15.012Z", + "time": 491 }, { - "_id": "6deeab12395396ccb337045823a1fa7d", + "_id": "547c7cab6527346c189d408af92bc5e0", "_order": 0, "cache": {}, "request": { @@ -121,7 +121,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/42ed7da188c8af4a6964376d49bb7caa" + "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/6d8f2860f9f3e953fb46d554b9a19627" }, "response": { "bodySize": 0, @@ -142,8 +142,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-11-11T16:54:37.244Z", - "time": 252 + "startedDateTime": "2023-03-13T10:11:15.518Z", + "time": 437 } ], "pages": [], diff --git a/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/frozen.json b/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/frozen.json index 1bd53becd875..fce062f02a14 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/frozen.json +++ b/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/frozen.json @@ -1 +1 @@ -"2022-11-11T16:54:37.514Z" +"2023-03-13T10:10:50.453Z" diff --git a/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/recording.har b/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/recording.har index 97ad85e5ee3e..bcae5f292f24 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/recording.har +++ b/cassettes/v2/Fastly-Integration_4018761042/List-Fastly-accounts-returns-OK-response_30576988/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "0227499ec4f8e06e72d7669f2ce1b6a9", + "_id": "eb742787bb5c5ef77533dacd93d09314", "_order": 0, "cache": {}, "request": { - "bodySize": 145, + "bodySize": 192, "cookies": [], "headers": [ { @@ -32,17 +32,17 @@ "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestListFastlyaccountsreturnsOKresponse1668185677\",\"name\":\"test-name\",\"services\":[]},\"type\":\"fastly-accounts\"}}" + "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestListFastlyaccountsreturnsOKresponse1678702250\",\"name\":\"Test-List_Fastly_accounts_returns_OK_response-1678702250\",\"services\":[]},\"type\":\"fastly-accounts\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, "response": { - "bodySize": 124, + "bodySize": 171, "content": { "mimeType": "application/json", - "size": 124, - "text": "{\"data\":{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}}\n" + "size": 171, + "text": "{\"data\":{\"type\":\"fastly-accounts\",\"attributes\":{\"name\":\"Test-List_Fastly_accounts_returns_OK_response-1678702250\",\"services\":[]},\"id\":\"07ec97dd43cd794c847ecf15cb25eb1c\"}}\n" }, "cookies": [], "headers": [ @@ -51,14 +51,14 @@ "value": "application/json" } ], - "headersSize": 630, + "headersSize": 631, "httpVersion": "HTTP/1.1", "redirectURL": "", "status": 201, "statusText": "Created" }, - "startedDateTime": "2022-11-11T16:54:37.529Z", - "time": 280 + "startedDateTime": "2023-03-13T10:10:50.468Z", + "time": 563 }, { "_id": "87e451246948b0bb391fe31b7034ef24", @@ -81,11 +81,11 @@ "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, "response": { - "bodySize": 126, + "bodySize": 173, "content": { "mimeType": "application/json", - "size": 126, - "text": "{\"data\":[{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}]}\n" + "size": 173, + "text": "{\"data\":[{\"type\":\"fastly-accounts\",\"attributes\":{\"name\":\"Test-List_Fastly_accounts_returns_OK_response-1678702250\",\"services\":[]},\"id\":\"07ec97dd43cd794c847ecf15cb25eb1c\"}]}\n" }, "cookies": [], "headers": [ @@ -100,11 +100,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2022-11-11T16:54:37.816Z", - "time": 213 + "startedDateTime": "2023-03-13T10:10:51.043Z", + "time": 324 }, { - "_id": "6deeab12395396ccb337045823a1fa7d", + "_id": "1527be5a31211572ad8061e6b6a1e15e", "_order": 0, "cache": {}, "request": { @@ -121,7 +121,7 @@ "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/42ed7da188c8af4a6964376d49bb7caa" + "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/07ec97dd43cd794c847ecf15cb25eb1c" }, "response": { "bodySize": 0, @@ -142,8 +142,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2022-11-11T16:54:38.035Z", - "time": 246 + "startedDateTime": "2023-03-13T10:10:51.379Z", + "time": 444 } ], "pages": [], diff --git a/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/frozen.json b/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/frozen.json index 20aeac6503d8..0fafc1d0413c 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/frozen.json +++ b/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/frozen.json @@ -1 +1 @@ -"2023-01-04T18:06:55.859Z" +"2023-03-13T10:10:17.626Z" diff --git a/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/recording.har b/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/recording.har index 9f25c8671372..a4af5e31d8b6 100644 --- a/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/recording.har +++ b/cassettes/v2/Fastly-Integration_4018761042/Update-Fastly-account-returns-OK-response_2742002584/recording.har @@ -8,11 +8,11 @@ }, "entries": [ { - "_id": "2aa0e81ad6a2dadb8b1b0e4dda4d7ec5", + "_id": "3a43a7f83d1cee7b8332d368ff50eb98", "_order": 0, "cache": {}, "request": { - "bodySize": 146, + "bodySize": 194, "cookies": [], "headers": [ { @@ -26,23 +26,23 @@ "value": "application/json" } ], - "headersSize": 580, + "headersSize": 582, "httpVersion": "HTTP/1.1", "method": "POST", "postData": { "mimeType": "application/json", "params": [], - "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestUpdateFastlyaccountreturnsOKresponse1672855615\",\"name\":\"test-name\",\"services\":[]},\"type\":\"fastly-accounts\"}}" + "text": "{\"data\":{\"attributes\":{\"api_key\":\"TestUpdateFastlyaccountreturnsOKresponse1678702217\",\"name\":\"Test-Update_Fastly_account_returns_OK_response-1678702217\",\"services\":[]},\"type\":\"fastly-accounts\"}}" }, "queryString": [], "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts" }, "response": { - "bodySize": 124, + "bodySize": 172, "content": { "mimeType": "application/json", - "size": 124, - "text": "{\"data\":{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}}\n" + "size": 172, + "text": "{\"data\":{\"type\":\"fastly-accounts\",\"id\":\"e37e834ae856fa24a2924973fdc7c276\",\"attributes\":{\"services\":[],\"name\":\"Test-Update_Fastly_account_returns_OK_response-1678702217\"}}}\n" }, "cookies": [], "headers": [ @@ -57,11 +57,11 @@ "status": 201, "statusText": "Created" }, - "startedDateTime": "2023-01-04T18:06:55.878Z", - "time": 225 + "startedDateTime": "2023-03-13T10:10:17.642Z", + "time": 522 }, { - "_id": "64b6b5d9a6826ab0e8caf2a4cda0a895", + "_id": "d22976dbc8c1d599d1998b8a58bdc72c", "_order": 0, "cache": {}, "request": { @@ -79,7 +79,7 @@ "value": "application/json" } ], - "headersSize": 613, + "headersSize": 615, "httpVersion": "HTTP/1.1", "method": "PATCH", "postData": { @@ -88,14 +88,14 @@ "text": "{\"data\":{\"attributes\":{\"api_key\":\"update-secret\"},\"type\":\"fastly-accounts\"}}" }, "queryString": [], - "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/42ed7da188c8af4a6964376d49bb7caa" + "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/e37e834ae856fa24a2924973fdc7c276" }, "response": { - "bodySize": 124, + "bodySize": 172, "content": { "mimeType": "application/json", - "size": 124, - "text": "{\"data\":{\"attributes\":{\"services\":[],\"name\":\"test-name\"},\"type\":\"fastly-accounts\",\"id\":\"42ed7da188c8af4a6964376d49bb7caa\"}}\n" + "size": 172, + "text": "{\"data\":{\"type\":\"fastly-accounts\",\"id\":\"e37e834ae856fa24a2924973fdc7c276\",\"attributes\":{\"services\":[],\"name\":\"Test-Update_Fastly_account_returns_OK_response-1678702217\"}}}\n" }, "cookies": [], "headers": [ @@ -110,11 +110,11 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2023-01-04T18:06:56.112Z", - "time": 372 + "startedDateTime": "2023-03-13T10:10:18.179Z", + "time": 503 }, { - "_id": "6deeab12395396ccb337045823a1fa7d", + "_id": "e65ca2e7b2ca9c94494e9796ef2399a3", "_order": 0, "cache": {}, "request": { @@ -127,11 +127,11 @@ "value": "*/*" } ], - "headersSize": 549, + "headersSize": 551, "httpVersion": "HTTP/1.1", "method": "DELETE", "queryString": [], - "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/42ed7da188c8af4a6964376d49bb7caa" + "url": "https://api.datadoghq.com/api/v2/integrations/fastly/accounts/e37e834ae856fa24a2924973fdc7c276" }, "response": { "bodySize": 0, @@ -152,8 +152,8 @@ "status": 204, "statusText": "No Content" }, - "startedDateTime": "2023-01-04T18:06:56.509Z", - "time": 153 + "startedDateTime": "2023-03-13T10:10:18.698Z", + "time": 587 } ], "pages": [], diff --git a/features/v2/fastly_integration.feature b/features/v2/fastly_integration.feature index 40addc404a95..349beb0061f1 100644 --- a/features/v2/fastly_integration.feature +++ b/features/v2/fastly_integration.feature @@ -123,7 +123,7 @@ Feature: Fastly Integration When the request is sent Then the response status is 200 OK And the response "data.type" is equal to "fastly-accounts" - And the response "data.attributes.name" is equal to "test-name" + And the response "data.attributes.name" is equal to "{{ unique }}" And the response "data.attributes.services" has length 0 @generated @skip @team:Datadog/web-integrations diff --git a/features/v2/given.json b/features/v2/given.json index 17620e9575e8..4c725b9867b9 100644 --- a/features/v2/given.json +++ b/features/v2/given.json @@ -151,7 +151,7 @@ "parameters": [ { "name": "body", - "value": "{\n \"data\": {\n \"type\": \"fastly-accounts\",\n \"attributes\": {\n \"api_key\": \"{{ unique_alnum }}\",\n \"name\": \"test-name\",\n \"services\": []\n }\n }\n}" + "value": "{\n \"data\": {\n \"type\": \"fastly-accounts\",\n \"attributes\": {\n \"api_key\": \"{{ unique_alnum }}\",\n \"name\": \"{{ unique }}\",\n \"services\": []\n }\n }\n}" } ], "step": "there is a valid \"fastly_account\" in the system",