Skip to content

Commit

Permalink
Regenerate client from commit 20fd11d6 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 15, 2023
1 parent 97d83c0 commit 3c7797c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-15 17:29:25.930993",
"spec_repo_commit": "0285f23a"
"regenerated": "2023-12-15 18:23:18.088733",
"spec_repo_commit": "20fd11d6"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2023-12-15 17:29:25.944997",
"spec_repo_commit": "0285f23a"
"regenerated": "2023-12-15 18:23:18.104205",
"spec_repo_commit": "20fd11d6"
}
}
}
17 changes: 2 additions & 15 deletions examples/v1/azure-integration/DeleteAzureIntegration.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,8 @@ import (

func main() {
body := datadogV1.AzureAccount{
AppServicePlanFilters: datadog.PtrString("key:value,filter:example"),
Automute: datadog.PtrBool(true),
ClientId: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
ClientSecret: datadog.PtrString("testingx./Sw*g/Y33t..R1cH+hScMDt"),
ContainerAppFilters: datadog.PtrString("key:value,filter:example"),
CspmEnabled: datadog.PtrBool(true),
CustomMetricsEnabled: datadog.PtrBool(true),
Errors: []string{
"*",
},
HostFilters: datadog.PtrString("key:value,filter:example"),
NewClientId: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
NewTenantName: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
ResourceCollectionEnabled: datadog.PtrBool(true),
TenantName: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
ClientId: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
TenantName: datadog.PtrString("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d"),
}
ctx := datadog.NewDefaultContext(context.Background())
configuration := datadog.NewConfiguration()
Expand Down
2 changes: 1 addition & 1 deletion tests/scenarios/features/v1/azure_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/scenarios/features/v1/undo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3c7797c

Please sign in to comment.