Skip to content

Commit b08b4cc

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specnkzou
authored
Fix azure tests to follow new backend validation (#1729)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: Kevin Zou <[email protected]>
1 parent ce52740 commit b08b4cc

File tree

13 files changed

+55
-55
lines changed

13 files changed

+55
-55
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-07-23 18:14:06.803860",
8-
"spec_repo_commit": "9e027051"
7+
"regenerated": "2024-07-25 18:59:19.849565",
8+
"spec_repo_commit": "ccf15bee"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-23 18:14:06.822753",
13-
"spec_repo_commit": "9e027051"
12+
"regenerated": "2024-07-25 18:59:19.868141",
13+
"spec_repo_commit": "ccf15bee"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ components:
804804
type: string
805805
client_secret:
806806
description: Your Azure web application secret key.
807-
example: testingx./Sw*g/Y33t..R1cH+hScMDt
807+
example: TestingRh2nx664kUy5dIApvM54T4AtO
808808
type: string
809809
container_app_filters:
810810
description: 'Limit the Azure container apps that are pulled into Datadog
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-02-28T20:25:59.580Z"
1+
"2024-07-25T18:47:35.049Z"

cassettes/v1/Azure-Integration_213553394/Create-an-Azure-integration-returns-OK-response_1494352247/recording.har

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "28fc80566b966b1b3358284b38769d4c",
11+
"_id": "f4900827a47adfbc078bf09738afc5db",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"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\":\"17091519-0000-0000-0000-170915195900\",\"new_tenant_name\":\"17091519-0000-0000-0000-170915195900\",\"resource_collection_enabled\":true,\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}"
35+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-02-28T20:25:59.587Z",
61-
"time": 190
60+
"startedDateTime": "2024-07-25T18:47:35.058Z",
61+
"time": 279
6262
},
6363
{
64-
"_id": "493d73f332fefc7b7b8cf7d6a6b7bfea",
64+
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}"
88+
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -110,8 +110,8 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-02-28T20:25:59.787Z",
114-
"time": 133
113+
"startedDateTime": "2024-07-25T18:47:35.355Z",
114+
"time": 143
115115
}
116116
],
117117
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-07-01T18:40:05.567Z"
1+
"2024-07-25T18:47:35.517Z"

cassettes/v1/Azure-Integration_213553394/Delete-an-Azure-integration-returns-OK-response_2152805638/recording.har

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "6bf7ec14e35662da9821014a7ce66339",
11+
"_id": "a4786fba223ec55e474f89e7ba3e291f",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"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\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17198592-0000-0000-0000-171985920500\",\"new_tenant_name\":\"17198592-0000-0000-0000-171985920500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
35+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-07-01T18:40:05.576Z",
61-
"time": 151
60+
"startedDateTime": "2024-07-25T18:47:35.525Z",
61+
"time": 162
6262
},
6363
{
64-
"_id": "8e24b3ac0aacd6523dbd8e914b6b8495",
64+
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,13 +79,13 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 575,
82+
"headersSize": 576,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "DELETE",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
88+
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-07-01T18:40:05.735Z",
114-
"time": 100
113+
"startedDateTime": "2024-07-25T18:47:35.696Z",
114+
"time": 130
115115
},
116116
{
117-
"_id": "8e24b3ac0aacd6523dbd8e914b6b8495",
117+
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
118118
"_order": 1,
119119
"cache": {},
120120
"request": {
@@ -132,13 +132,13 @@
132132
"value": "application/json"
133133
}
134134
],
135-
"headersSize": 575,
135+
"headersSize": 576,
136136
"httpVersion": "HTTP/1.1",
137137
"method": "DELETE",
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
141+
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2024-07-01T18:40:05.842Z",
167-
"time": 83
166+
"startedDateTime": "2024-07-25T18:47:35.835Z",
167+
"time": 123
168168
}
169169
],
170170
"pages": [],
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2024-07-01T18:40:05.942Z"
1+
"2024-07-25T18:47:35.975Z"

cassettes/v1/Azure-Integration_213553394/Update-an-Azure-integration-returns-OK-response_5343984/recording.har

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "6bf7ec14e35662da9821014a7ce66339",
11+
"_id": "a4786fba223ec55e474f89e7ba3e291f",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -26,13 +26,13 @@
2626
"value": "application/json"
2727
}
2828
],
29-
"headersSize": 573,
29+
"headersSize": 574,
3030
"httpVersion": "HTTP/1.1",
3131
"method": "POST",
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"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\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17198592-0000-0000-0000-171985920500\",\"new_tenant_name\":\"17198592-0000-0000-0000-171985920500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
35+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -57,11 +57,11 @@
5757
"status": 200,
5858
"statusText": "OK"
5959
},
60-
"startedDateTime": "2024-07-01T18:40:05.948Z",
61-
"time": 213
60+
"startedDateTime": "2024-07-25T18:47:35.979Z",
61+
"time": 132
6262
},
6363
{
64-
"_id": "1c1491036ab1940aea38a0e5b484a5c7",
64+
"_id": "4b7878a346702d19bc5fb0a28b21768c",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -79,13 +79,13 @@
7979
"value": "application/json"
8080
}
8181
],
82-
"headersSize": 572,
82+
"headersSize": 573,
8383
"httpVersion": "HTTP/1.1",
8484
"method": "PUT",
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"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\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17198592-0000-0000-0000-171985920500\",\"new_tenant_name\":\"17198592-0000-0000-0000-171985920500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
88+
"text": "{\"app_service_plan_filters\":\"key:value,filter:example\",\"automute\":true,\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"client_secret\":\"TestingRh2nx664kUy5dIApvM54T4AtO\",\"container_app_filters\":\"key:value,filter:example\",\"cspm_enabled\":true,\"custom_metrics_enabled\":true,\"errors\":[\"*\"],\"host_filters\":\"key:value,filter:example\",\"metrics_config\":{\"excluded_resource_providers\":[\"Microsoft.Sql\",\"Microsoft.Cdn\"]},\"new_client_id\":\"17219332-0000-0000-0000-172193325500\",\"new_tenant_name\":\"17219332-0000-0000-0000-172193325500\",\"resource_collection_enabled\":true,\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -110,11 +110,11 @@
110110
"status": 200,
111111
"statusText": "OK"
112112
},
113-
"startedDateTime": "2024-07-01T18:40:06.166Z",
114-
"time": 126
113+
"startedDateTime": "2024-07-25T18:47:36.121Z",
114+
"time": 129
115115
},
116116
{
117-
"_id": "8e24b3ac0aacd6523dbd8e914b6b8495",
117+
"_id": "92cc025e6a5dac9ca6af65450cdedad1",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}"
141+
"text": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v1/integration/azure"
@@ -163,8 +163,8 @@
163163
"status": 200,
164164
"statusText": "OK"
165165
},
166-
"startedDateTime": "2024-07-01T18:40:06.297Z",
167-
"time": 92
166+
"startedDateTime": "2024-07-25T18:47:36.259Z",
167+
"time": 118
168168
}
169169
],
170170
"pages": [],

examples/v1/azure-integration/CreateAzureIntegration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const params: v1.AzureIntegrationApiCreateAzureIntegrationRequest = {
1212
appServicePlanFilters: "key:value,filter:example",
1313
automute: true,
1414
clientId: "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
15-
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
15+
clientSecret: "TestingRh2nx664kUy5dIApvM54T4AtO",
1616
containerAppFilters: "key:value,filter:example",
1717
cspmEnabled: true,
1818
customMetricsEnabled: true,

examples/v1/azure-integration/UpdateAzureHostFilters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const params: v1.AzureIntegrationApiUpdateAzureHostFiltersRequest = {
1212
appServicePlanFilters: "key:value,filter:example",
1313
automute: true,
1414
clientId: "testc7f6-1234-5678-9101-3fcbf464test",
15-
clientSecret: "testingx./Sw*g/Y33t..R1cH+hScMDt",
15+
clientSecret: "TestingRh2nx664kUy5dIApvM54T4AtO",
1616
containerAppFilters: "key:value,filter:example",
1717
cspmEnabled: true,
1818
customMetricsEnabled: true,

0 commit comments

Comments
 (0)