From 90ac8eb72d5c491777c9657dac04c3a5716711c7 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 18 Dec 2023 13:47:27 +0000 Subject: [PATCH] Regenerate client from commit f363f7b4 of spec repo --- .apigentools-info | 8 ++++---- .../v1/azure-integration/DeleteAzureIntegration.py | 13 ------------- ..._an_azure_integration_returns_ok_response.frozen | 2 +- ...te_an_azure_integration_returns_ok_response.yaml | 4 ++-- ..._an_azure_integration_returns_ok_response.frozen | 2 +- ...te_an_azure_integration_returns_ok_response.yaml | 6 +++--- ..._an_azure_integration_returns_ok_response.frozen | 2 +- ...te_an_azure_integration_returns_ok_response.yaml | 6 +++--- tests/v1/features/azure_integration.feature | 2 +- tests/v1/features/undo.json | 2 +- 10 files changed, 17 insertions(+), 30 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index ca3cd515f4..19988b12fd 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2023-12-15 18:19:06.123186", - "spec_repo_commit": "118421b2" + "regenerated": "2023-12-18 13:46:53.516392", + "spec_repo_commit": "f363f7b4" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2023-12-15 18:19:06.147310", - "spec_repo_commit": "118421b2" + "regenerated": "2023-12-18 13:46:53.531307", + "spec_repo_commit": "f363f7b4" } } } \ No newline at end of file diff --git a/examples/v1/azure-integration/DeleteAzureIntegration.py b/examples/v1/azure-integration/DeleteAzureIntegration.py index b6ecb7dae3..a28a284b4f 100644 --- a/examples/v1/azure-integration/DeleteAzureIntegration.py +++ b/examples/v1/azure-integration/DeleteAzureIntegration.py @@ -7,20 +7,7 @@ from datadog_api_client.v1.model.azure_account import AzureAccount body = AzureAccount( - app_service_plan_filters="key:value,filter:example", - automute=True, client_id="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", - client_secret="testingx./Sw*g/Y33t..R1cH+hScMDt", - container_app_filters="key:value,filter:example", - cspm_enabled=True, - custom_metrics_enabled=True, - errors=[ - "*", - ], - host_filters="key:value,filter:example", - new_client_id="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", - new_tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", - resource_collection_enabled=True, tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d", ) diff --git a/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.frozen b/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.frozen index 53e28018d7..10af779fb5 100644 --- a/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.frozen +++ b/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.frozen @@ -1 +1 @@ -2023-12-08T15:34:43.210Z \ No newline at end of file +2023-12-15T18:21:55.828Z \ No newline at end of file diff --git a/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.yaml b/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.yaml index 123a9d28b3..071ba6522c 100644 --- a/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.yaml +++ b/tests/v1/cassettes/test_scenarios/test_create_an_azure_integration_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17020496-0000-0000-0000-170204968300","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17020496-0000-0000-0000-170204968300","new_tenant_name":"17020496-0000-0000-0000-170204968300","resource_collection_enabled":true,"tenant_name":"17020496-0000-0000-0000-170204968300"}' + body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026645-0000-0000-0000-170266451500","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026645-0000-0000-0000-170266451500","new_tenant_name":"17026645-0000-0000-0000-170266451500","resource_collection_enabled":true,"tenant_name":"17026645-0000-0000-0000-170266451500"}' headers: accept: - application/json @@ -20,7 +20,7 @@ interactions: code: 200 message: OK - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17020496-0000-0000-0000-170204968300","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17020496-0000-0000-0000-170204968300","new_tenant_name":"17020496-0000-0000-0000-170204968300","resource_collection_enabled":true,"tenant_name":"17020496-0000-0000-0000-170204968300"}' + body: '{"client_id":"17026645-0000-0000-0000-170266451500","tenant_name":"17026645-0000-0000-0000-170266451500"}' headers: accept: - application/json diff --git a/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.frozen b/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.frozen index 23156fb06d..59b6f680c4 100644 --- a/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.frozen +++ b/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.frozen @@ -1 +1 @@ -2023-12-15T17:19:40.609Z \ No newline at end of file +2023-12-15T18:21:57.741Z \ No newline at end of file diff --git a/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.yaml b/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.yaml index d2af91c870..19f49f786d 100644 --- a/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.yaml +++ b/tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078000","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078000","new_tenant_name":"17026607-0000-0000-0000-170266078000","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078000"}' + body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026645-0000-0000-0000-170266451700","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026645-0000-0000-0000-170266451700","new_tenant_name":"17026645-0000-0000-0000-170266451700","resource_collection_enabled":true,"tenant_name":"17026645-0000-0000-0000-170266451700"}' headers: accept: - application/json @@ -20,7 +20,7 @@ interactions: code: 200 message: OK - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078000","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078000","new_tenant_name":"17026607-0000-0000-0000-170266078000","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078000"}' + body: '{"client_id":"17026645-0000-0000-0000-170266451700","tenant_name":"17026645-0000-0000-0000-170266451700"}' headers: accept: - application/json @@ -40,7 +40,7 @@ interactions: code: 200 message: OK - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078000","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078000","new_tenant_name":"17026607-0000-0000-0000-170266078000","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078000"}' + body: '{"client_id":"17026645-0000-0000-0000-170266451700","tenant_name":"17026645-0000-0000-0000-170266451700"}' headers: accept: - application/json diff --git a/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.frozen b/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.frozen index 0b2d8e850e..28414158e0 100644 --- a/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.frozen +++ b/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.frozen @@ -1 +1 @@ -2023-12-15T17:19:43.390Z \ No newline at end of file +2023-12-15T18:21:59.912Z \ No newline at end of file diff --git a/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.yaml b/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.yaml index 25d70314df..9c61ca7afc 100644 --- a/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.yaml +++ b/tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078300","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078300","new_tenant_name":"17026607-0000-0000-0000-170266078300","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078300"}' + body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026645-0000-0000-0000-170266451900","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026645-0000-0000-0000-170266451900","new_tenant_name":"17026645-0000-0000-0000-170266451900","resource_collection_enabled":true,"tenant_name":"17026645-0000-0000-0000-170266451900"}' headers: accept: - application/json @@ -20,7 +20,7 @@ interactions: code: 200 message: OK - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078300","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078300","new_tenant_name":"17026607-0000-0000-0000-170266078300","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078300"}' + body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026645-0000-0000-0000-170266451900","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026645-0000-0000-0000-170266451900","new_tenant_name":"17026645-0000-0000-0000-170266451900","resource_collection_enabled":true,"tenant_name":"17026645-0000-0000-0000-170266451900"}' headers: accept: - application/json @@ -40,7 +40,7 @@ interactions: code: 200 message: OK - request: - body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17026607-0000-0000-0000-170266078300","client_secret":"testingx./Sw*g/Y33t..R1cH+hScMDt","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17026607-0000-0000-0000-170266078300","new_tenant_name":"17026607-0000-0000-0000-170266078300","resource_collection_enabled":true,"tenant_name":"17026607-0000-0000-0000-170266078300"}' + body: '{"client_id":"17026645-0000-0000-0000-170266451900","tenant_name":"17026645-0000-0000-0000-170266451900"}' headers: accept: - application/json diff --git a/tests/v1/features/azure_integration.feature b/tests/v1/features/azure_integration.feature index d312058e95..eaa91dce65 100644 --- a/tests/v1/features/azure_integration.feature +++ b/tests/v1/features/azure_integration.feature @@ -34,7 +34,7 @@ Feature: Azure Integration Scenario: Delete an Azure integration returns "OK" response Given there is a valid "azure_account" in the system And new "DeleteAzureIntegration" request - And body with value {"app_service_plan_filters": "key:value,filter:example", "automute": true, "client_id": "{{ uuid }}", "client_secret": "testingx./Sw*g/Y33t..R1cH+hScMDt", "container_app_filters": "key:value,filter:example", "cspm_enabled": true, "custom_metrics_enabled": true, "errors": ["*"], "host_filters": "key:value,filter:example", "new_client_id": "{{ uuid }}", "new_tenant_name": "{{ uuid }}", "resource_collection_enabled": true, "tenant_name": "{{ uuid }}"} + And body with value {"client_id": "{{ uuid }}", "tenant_name": "{{ uuid }}"} When the request is sent Then the response status is 200 OK diff --git a/tests/v1/features/undo.json b/tests/v1/features/undo.json index 35f8b8ae40..0da29a545b 100644 --- a/tests/v1/features/undo.json +++ b/tests/v1/features/undo.json @@ -489,7 +489,7 @@ { "name": "body", "origin": "request", - "template": "{\n \"app_service_plan_filters\": \"key:value,filter:example\",\n \"automute\": true,\n \"client_id\": \"{{client_id}}\",\n \"client_secret\": \"testingx./Sw*g/Y33t..R1cH+hScMDt\",\n \"container_app_filters\": \"key:value,filter:example\",\n \"cspm_enabled\": true,\n \"custom_metrics_enabled\": true,\n \"errors\": [\"*\"],\n \"host_filters\": \"key:value,filter:example\",\n \"new_client_id\": \"{{new_client_id}}\",\n \"new_tenant_name\": \"{{new_tenant_name}}\",\n \"resource_collection_enabled\": true,\n \"tenant_name\": \"{{tenant_name}}\"\n}" + "template": "{\n \"client_id\": \"{{client_id}}\",\n \"tenant_name\": \"{{tenant_name}}\"\n}" } ], "type": "unsafe"