Skip to content

Commit 0bc78c3

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix azure tests to follow new backend validation (#217)
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>
1 parent 75535f7 commit 0bc78c3

13 files changed

+35
-35
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:08.338232",
8-
"spec_repo_commit": "9e027051"
7+
"regenerated": "2024-07-25 18:59:16.169917",
8+
"spec_repo_commit": "ccf15bee"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-23 18:14:08.356334",
13-
"spec_repo_commit": "9e027051"
12+
"regenerated": "2024-07-25 18:59:16.187515",
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

examples/v1_azure-integration_CreateAzureIntegration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ async fn main() {
99
.app_service_plan_filters("key:value,filter:example".to_string())
1010
.automute(true)
1111
.client_id("".to_string())
12-
.client_secret("testingx./Sw*g/Y33t..R1cH+hScMDt".to_string())
12+
.client_secret("TestingRh2nx664kUy5dIApvM54T4AtO".to_string())
1313
.container_app_filters("key:value,filter:example".to_string())
1414
.cspm_enabled(true)
1515
.custom_metrics_enabled(true)

examples/v1_azure-integration_UpdateAzureHostFilters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async fn main() {
1010
.app_service_plan_filters("key:value,filter:example".to_string())
1111
.automute(true)
1212
.client_id("testc7f6-1234-5678-9101-3fcbf464test".to_string())
13-
.client_secret("testingx./Sw*g/Y33t..R1cH+hScMDt".to_string())
13+
.client_secret("TestingRh2nx664kUy5dIApvM54T4AtO".to_string())
1414
.container_app_filters("key:value,filter:example".to_string())
1515
.cspm_enabled(true)
1616
.custom_metrics_enabled(true)

examples/v1_azure-integration_UpdateAzureIntegration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async fn main() {
1010
.app_service_plan_filters("key:value,filter:example".to_string())
1111
.automute(true)
1212
.client_id("".to_string())
13-
.client_secret("testingx./Sw*g/Y33t..R1cH+hScMDt".to_string())
13+
.client_secret("TestingRh2nx664kUy5dIApvM54T4AtO".to_string())
1414
.container_app_filters("key:value,filter:example".to_string())
1515
.cspm_enabled(true)
1616
.custom_metrics_enabled(true)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-02-28T20:25:59.580Z
1+
2024-07-25T18:47:35.049Z

tests/scenarios/cassettes/v1/azure_integration/Create-an-Azure-integration-returns-OK-response.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"request": {
55
"body": {
6-
"string": "{\"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\"}",
6+
"string": "{\"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\"}",
77
"encoding": null
88
},
99
"headers": {
@@ -32,12 +32,12 @@
3232
"message": "OK"
3333
}
3434
},
35-
"recorded_at": "Wed, 28 Feb 2024 20:25:59 GMT"
35+
"recorded_at": "Thu, 25 Jul 2024 18:47:35 GMT"
3636
},
3737
{
3838
"request": {
3939
"body": {
40-
"string": "{\"client_id\":\"17091519-0000-0000-0000-170915195900\",\"tenant_name\":\"17091519-0000-0000-0000-170915195900\"}",
40+
"string": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}",
4141
"encoding": null
4242
},
4343
"headers": {
@@ -66,7 +66,7 @@
6666
"message": "OK"
6767
}
6868
},
69-
"recorded_at": "Wed, 28 Feb 2024 20:25:59 GMT"
69+
"recorded_at": "Thu, 25 Jul 2024 18:47:35 GMT"
7070
}
7171
],
7272
"recorded_with": "VCR 6.0.0"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-07-01T18:40:05.567Z
1+
2024-07-25T18:47:35.517Z

tests/scenarios/cassettes/v1/azure_integration/Delete-an-Azure-integration-returns-OK-response.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"request": {
55
"body": {
6-
"string": "{\"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\"}",
6+
"string": "{\"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\"}",
77
"encoding": null
88
},
99
"headers": {
@@ -32,12 +32,12 @@
3232
"message": "OK"
3333
}
3434
},
35-
"recorded_at": "Mon, 01 Jul 2024 18:40:05 GMT"
35+
"recorded_at": "Thu, 25 Jul 2024 18:47:35 GMT"
3636
},
3737
{
3838
"request": {
3939
"body": {
40-
"string": "{\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}",
40+
"string": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}",
4141
"encoding": null
4242
},
4343
"headers": {
@@ -66,12 +66,12 @@
6666
"message": "OK"
6767
}
6868
},
69-
"recorded_at": "Mon, 01 Jul 2024 18:40:05 GMT"
69+
"recorded_at": "Thu, 25 Jul 2024 18:47:35 GMT"
7070
},
7171
{
7272
"request": {
7373
"body": {
74-
"string": "{\"client_id\":\"17198592-0000-0000-0000-171985920500\",\"tenant_name\":\"17198592-0000-0000-0000-171985920500\"}",
74+
"string": "{\"client_id\":\"17219332-0000-0000-0000-172193325500\",\"tenant_name\":\"17219332-0000-0000-0000-172193325500\"}",
7575
"encoding": null
7676
},
7777
"headers": {
@@ -100,7 +100,7 @@
100100
"message": "OK"
101101
}
102102
},
103-
"recorded_at": "Mon, 01 Jul 2024 18:40:05 GMT"
103+
"recorded_at": "Thu, 25 Jul 2024 18:47:35 GMT"
104104
}
105105
],
106106
"recorded_with": "VCR 6.0.0"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-07-01T18:40:05.942Z
1+
2024-07-25T18:47:35.975Z

0 commit comments

Comments
 (0)