Skip to content

Commit df76a6b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit da544f48 of spec repo
1 parent 8f67ec1 commit df76a6b

File tree

7 files changed

+24
-15
lines changed

7 files changed

+24
-15
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-10-23 16:36:55.940728",
8-
"spec_repo_commit": "a916f673"
7+
"regenerated": "2024-10-24 15:38:45.244641",
8+
"spec_repo_commit": "da544f48"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-10-23 16:36:55.958696",
13-
"spec_repo_commit": "a916f673"
12+
"regenerated": "2024-10-24 15:38:45.263077",
13+
"spec_repo_commit": "da544f48"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4506,10 +4506,13 @@ components:
45064506
example: test-name
45074507
type: string
45084508
resources:
4509-
description: An allowlist of resources to restrict pulling metrics for.
4509+
description: An allowlist of resources to restrict pulling metrics for including
4510+
`'web', 'dns', 'lb' (load balancer), and 'worker'`.
45104511
example:
45114512
- web
45124513
- dns
4514+
- lb
4515+
- worker
45134516
items:
45144517
type: string
45154518
type: array
@@ -4554,10 +4557,13 @@ components:
45544557
example: test-name
45554558
type: string
45564559
resources:
4557-
description: An allowlist of resources to restrict pulling metrics for.
4560+
description: An allowlist of resources to restrict pulling metrics for including
4561+
`'web', 'dns', 'lb' (load balancer), and 'worker'`.
45584562
example:
45594563
- web
45604564
- dns
4565+
- lb
4566+
- worker
45614567
items:
45624568
type: string
45634569
type: array
@@ -4621,10 +4627,13 @@ components:
46214627
description: The name of the Cloudflare account.
46224628
type: string
46234629
resources:
4624-
description: An allowlist of resources to restrict pulling metrics for.
4630+
description: An allowlist of resources to restrict pulling metrics for including
4631+
`'web', 'dns', 'lb' (load balancer), and 'worker'`.
46254632
example:
46264633
- web
46274634
- dns
4635+
- lb
4636+
- worker
46284637
items:
46294638
type: string
46304639
type: array

features/v2/cloudflare_integration.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Feature: Cloudflare Integration
1313
@generated @skip @team:DataDog/saas-integrations
1414
Scenario: Add Cloudflare account returns "Bad Request" response
1515
Given new "CreateCloudflareAccount" request
16-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
16+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
1717
When the request is sent
1818
Then the response status is 400 Bad Request
1919

@@ -44,7 +44,7 @@ Feature: Cloudflare Integration
4444
@generated @skip @team:DataDog/saas-integrations
4545
Scenario: Add Cloudflare account returns "Not Found" response
4646
Given new "CreateCloudflareAccount" request
47-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
47+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "name": "test-name", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
4848
When the request is sent
4949
Then the response status is 404 Not Found
5050

@@ -118,7 +118,7 @@ Feature: Cloudflare Integration
118118
Scenario: Update Cloudflare account returns "Bad Request" response
119119
Given new "UpdateCloudflareAccount" request
120120
And request contains "account_id" parameter from "REPLACE.ME"
121-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
121+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
122122
When the request is sent
123123
Then the response status is 400 Bad Request
124124

@@ -144,7 +144,7 @@ Feature: Cloudflare Integration
144144
Scenario: Update Cloudflare account returns "Not Found" response
145145
Given new "UpdateCloudflareAccount" request
146146
And request contains "account_id" parameter from "REPLACE.ME"
147-
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
147+
And body with value {"data": {"attributes": {"api_key": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3", "email": "[email protected]", "resources": ["web", "dns", "lb", "worker"], "zones": ["zone_id_1", "zone_id_2"]}, "type": "cloudflare-accounts"}}
148148
When the request is sent
149149
Then the response status is 404 Not Found
150150

features/v2/given.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
"parameters": [
241241
{
242242
"name": "body",
243-
"value": "{\n \"data\": {\n \"type\": \"cloudflare-accounts\",\n \"attributes\": {\n \"api_key\": \"fakekey\",\n \"name\": \"{{ unique_lower_alnum }}\",\n \"email\": \"[email protected]\",\n \"zones\": [\"zone-id-1\", \"zone-id-2\"],\n \"resources\": [\"web\", \"dns\"]\n }\n }\n}"
243+
"value": "{\n \"data\": {\n \"type\": \"cloudflare-accounts\",\n \"attributes\": {\n \"api_key\": \"fakekey\",\n \"name\": \"{{ unique_lower_alnum }}\",\n \"email\": \"[email protected]\",\n \"zones\": [\"zone-id-1\", \"zone-id-2\"],\n \"resources\": [\"web\", \"dns\", \"lb\", \"worker\"]\n }\n }\n}"
244244
}
245245
],
246246
"step": "there is a valid \"cloudflare_account\" in the system",

lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CloudflareAccountCreateRequestAttributes
3030
# The name of the Cloudflare account.
3131
attr_reader :name
3232

33-
# An allowlist of resources to restrict pulling metrics for.
33+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), and 'worker'`.
3434
attr_accessor :resources
3535

3636
# An allowlist of zones to restrict pulling metrics for.

lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CloudflareAccountResponseAttributes
2727
# The name of the Cloudflare account.
2828
attr_reader :name
2929

30-
# An allowlist of resources to restrict pulling metrics for.
30+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), and 'worker'`.
3131
attr_accessor :resources
3232

3333
# An allowlist of zones to restrict pulling metrics for.

lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class CloudflareAccountUpdateRequestAttributes
3030
# The name of the Cloudflare account.
3131
attr_accessor :name
3232

33-
# An allowlist of resources to restrict pulling metrics for.
33+
# An allowlist of resources to restrict pulling metrics for including `'web', 'dns', 'lb' (load balancer), and 'worker'`.
3434
attr_accessor :resources
3535

3636
# An allowlist of zones to restrict pulling metrics for.

0 commit comments

Comments
 (0)