Skip to content

Commit 53c23e2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add disableAiaIntermediateFetching option (#2995)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent d3829ab commit 53c23e2

20 files changed

+138
-57
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "bb240c6",
3-
"generated": "2025-07-14 18:17:38.592"
2+
"spec_repo_commit": "d93d991",
3+
"generated": "2025-07-15 09:33:00.867"
44
}

.generator/schemas/v1/openapi.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17197,7 +17197,7 @@ components:
1719717197
description: Object describing the extra options for a Synthetic test.
1719817198
properties:
1719917199
accept_self_signed:
17200-
description: 'For SSL test, whether or not the test should allow self signed
17200+
description: 'For SSL tests, whether or not the test should allow self signed
1720117201

1720217202
certificates.'
1720317203
type: boolean
@@ -17206,7 +17206,7 @@ components:
1720617206
test.
1720717207
type: boolean
1720817208
checkCertificateRevocation:
17209-
description: For SSL test, whether or not the test should fail on revoked
17209+
description: For SSL tests, whether or not the test should fail on revoked
1721017210
certificate in stapled OCSP.
1721117211
type: boolean
1721217212
ci:
@@ -17217,6 +17217,10 @@ components:
1721717217
items:
1721817218
$ref: '#/components/schemas/SyntheticsDeviceID'
1721917219
type: array
17220+
disableAiaIntermediateFetching:
17221+
description: For SSL tests, whether or not the test should disable fetching
17222+
intermediate certificates from AIA.
17223+
type: boolean
1722017224
disableCors:
1722117225
description: Whether or not to disable CORS mechanism.
1722217226
type: boolean
@@ -17460,6 +17464,9 @@ components:
1746017464
description: A protobuf file that needs to be gzipped first then base64
1746117465
encoded.
1746217466
type: string
17467+
disableAiaIntermediateFetching:
17468+
description: Disable fetching intermediate certificates from AIA.
17469+
type: boolean
1746317470
dnsServer:
1746417471
description: DNS server to use for DNS tests.
1746517472
type: string

examples/v1/synthetics/CreateSyntheticsAPITest_1072503741.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public static void main(String[] args) {
4444
new SyntheticsTestOptions()
4545
.acceptSelfSigned(true)
4646
.checkCertificateRevocation(true)
47+
.disableAiaIntermediateFetching(true)
4748
.tickEvery(60L))
4849
.subtype(SyntheticsTestDetailsSubType.SSL)
4950
.tags(Collections.singletonList("testing:api"))

examples/v1/synthetics/CreateSyntheticsAPITest_1279271422.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public static void main(String[] args) {
148148
.request(
149149
new SyntheticsTestRequest()
150150
.checkCertificateRevocation(true)
151+
.disableAiaIntermediateFetching(true)
151152
.host("example.org")
152153
.port(new SyntheticsTestRequestPort(443L)))),
153154
new SyntheticsAPIStep(

src/main/java/com/datadog/api/client/v1/model/SyntheticsTestOptions.java

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
SyntheticsTestOptions.JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION,
2626
SyntheticsTestOptions.JSON_PROPERTY_CI,
2727
SyntheticsTestOptions.JSON_PROPERTY_DEVICE_IDS,
28+
SyntheticsTestOptions.JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING,
2829
SyntheticsTestOptions.JSON_PROPERTY_DISABLE_CORS,
2930
SyntheticsTestOptions.JSON_PROPERTY_DISABLE_CSP,
3031
SyntheticsTestOptions.JSON_PROPERTY_ENABLE_PROFILING,
@@ -65,6 +66,10 @@ public class SyntheticsTestOptions {
6566
public static final String JSON_PROPERTY_DEVICE_IDS = "device_ids";
6667
private List<String> deviceIds = null;
6768

69+
public static final String JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING =
70+
"disableAiaIntermediateFetching";
71+
private Boolean disableAiaIntermediateFetching;
72+
6873
public static final String JSON_PROPERTY_DISABLE_CORS = "disableCors";
6974
private Boolean disableCors;
7075

@@ -129,7 +134,7 @@ public SyntheticsTestOptions acceptSelfSigned(Boolean acceptSelfSigned) {
129134
}
130135

131136
/**
132-
* For SSL test, whether or not the test should allow self signed certificates.
137+
* For SSL tests, whether or not the test should allow self signed certificates.
133138
*
134139
* @return acceptSelfSigned
135140
*/
@@ -171,7 +176,7 @@ public SyntheticsTestOptions checkCertificateRevocation(Boolean checkCertificate
171176
}
172177

173178
/**
174-
* For SSL test, whether or not the test should fail on revoked certificate in stapled OCSP.
179+
* For SSL tests, whether or not the test should fail on revoked certificate in stapled OCSP.
175180
*
176181
* @return checkCertificateRevocation
177182
*/
@@ -237,6 +242,29 @@ public void setDeviceIds(List<String> deviceIds) {
237242
this.deviceIds = deviceIds;
238243
}
239244

245+
public SyntheticsTestOptions disableAiaIntermediateFetching(
246+
Boolean disableAiaIntermediateFetching) {
247+
this.disableAiaIntermediateFetching = disableAiaIntermediateFetching;
248+
return this;
249+
}
250+
251+
/**
252+
* For SSL tests, whether or not the test should disable fetching intermediate certificates from
253+
* AIA.
254+
*
255+
* @return disableAiaIntermediateFetching
256+
*/
257+
@jakarta.annotation.Nullable
258+
@JsonProperty(JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING)
259+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
260+
public Boolean getDisableAiaIntermediateFetching() {
261+
return disableAiaIntermediateFetching;
262+
}
263+
264+
public void setDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) {
265+
this.disableAiaIntermediateFetching = disableAiaIntermediateFetching;
266+
}
267+
240268
public SyntheticsTestOptions disableCors(Boolean disableCors) {
241269
this.disableCors = disableCors;
242270
return this;
@@ -730,6 +758,9 @@ public boolean equals(Object o) {
730758
this.checkCertificateRevocation, syntheticsTestOptions.checkCertificateRevocation)
731759
&& Objects.equals(this.ci, syntheticsTestOptions.ci)
732760
&& Objects.equals(this.deviceIds, syntheticsTestOptions.deviceIds)
761+
&& Objects.equals(
762+
this.disableAiaIntermediateFetching,
763+
syntheticsTestOptions.disableAiaIntermediateFetching)
733764
&& Objects.equals(this.disableCors, syntheticsTestOptions.disableCors)
734765
&& Objects.equals(this.disableCsp, syntheticsTestOptions.disableCsp)
735766
&& Objects.equals(this.enableProfiling, syntheticsTestOptions.enableProfiling)
@@ -762,6 +793,7 @@ public int hashCode() {
762793
checkCertificateRevocation,
763794
ci,
764795
deviceIds,
796+
disableAiaIntermediateFetching,
765797
disableCors,
766798
disableCsp,
767799
enableProfiling,
@@ -795,6 +827,9 @@ public String toString() {
795827
.append("\n");
796828
sb.append(" ci: ").append(toIndentedString(ci)).append("\n");
797829
sb.append(" deviceIds: ").append(toIndentedString(deviceIds)).append("\n");
830+
sb.append(" disableAiaIntermediateFetching: ")
831+
.append(toIndentedString(disableAiaIntermediateFetching))
832+
.append("\n");
798833
sb.append(" disableCors: ").append(toIndentedString(disableCors)).append("\n");
799834
sb.append(" disableCsp: ").append(toIndentedString(disableCsp)).append("\n");
800835
sb.append(" enableProfiling: ").append(toIndentedString(enableProfiling)).append("\n");

src/main/java/com/datadog/api/client/v1/model/SyntheticsTestRequest.java

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
SyntheticsTestRequest.JSON_PROPERTY_CHECK_CERTIFICATE_REVOCATION,
3131
SyntheticsTestRequest.JSON_PROPERTY_COMPRESSED_JSON_DESCRIPTOR,
3232
SyntheticsTestRequest.JSON_PROPERTY_COMPRESSED_PROTO_FILE,
33+
SyntheticsTestRequest.JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING,
3334
SyntheticsTestRequest.JSON_PROPERTY_DNS_SERVER,
3435
SyntheticsTestRequest.JSON_PROPERTY_DNS_SERVER_PORT,
3536
SyntheticsTestRequest.JSON_PROPERTY_FILES,
@@ -89,6 +90,10 @@ public class SyntheticsTestRequest {
8990
public static final String JSON_PROPERTY_COMPRESSED_PROTO_FILE = "compressedProtoFile";
9091
private String compressedProtoFile;
9192

93+
public static final String JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING =
94+
"disableAiaIntermediateFetching";
95+
private Boolean disableAiaIntermediateFetching;
96+
9297
public static final String JSON_PROPERTY_DNS_SERVER = "dnsServer";
9398
private String dnsServer;
9499

@@ -388,6 +393,28 @@ public void setCompressedProtoFile(String compressedProtoFile) {
388393
this.compressedProtoFile = compressedProtoFile;
389394
}
390395

396+
public SyntheticsTestRequest disableAiaIntermediateFetching(
397+
Boolean disableAiaIntermediateFetching) {
398+
this.disableAiaIntermediateFetching = disableAiaIntermediateFetching;
399+
return this;
400+
}
401+
402+
/**
403+
* Disable fetching intermediate certificates from AIA.
404+
*
405+
* @return disableAiaIntermediateFetching
406+
*/
407+
@jakarta.annotation.Nullable
408+
@JsonProperty(JSON_PROPERTY_DISABLE_AIA_INTERMEDIATE_FETCHING)
409+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
410+
public Boolean getDisableAiaIntermediateFetching() {
411+
return disableAiaIntermediateFetching;
412+
}
413+
414+
public void setDisableAiaIntermediateFetching(Boolean disableAiaIntermediateFetching) {
415+
this.disableAiaIntermediateFetching = disableAiaIntermediateFetching;
416+
}
417+
391418
public SyntheticsTestRequest dnsServer(String dnsServer) {
392419
this.dnsServer = dnsServer;
393420
return this;
@@ -988,6 +1015,9 @@ public boolean equals(Object o) {
9881015
&& Objects.equals(
9891016
this.compressedJsonDescriptor, syntheticsTestRequest.compressedJsonDescriptor)
9901017
&& Objects.equals(this.compressedProtoFile, syntheticsTestRequest.compressedProtoFile)
1018+
&& Objects.equals(
1019+
this.disableAiaIntermediateFetching,
1020+
syntheticsTestRequest.disableAiaIntermediateFetching)
9911021
&& Objects.equals(this.dnsServer, syntheticsTestRequest.dnsServer)
9921022
&& Objects.equals(this.dnsServerPort, syntheticsTestRequest.dnsServerPort)
9931023
&& Objects.equals(this.files, syntheticsTestRequest.files)
@@ -1027,6 +1057,7 @@ public int hashCode() {
10271057
checkCertificateRevocation,
10281058
compressedJsonDescriptor,
10291059
compressedProtoFile,
1060+
disableAiaIntermediateFetching,
10301061
dnsServer,
10311062
dnsServerPort,
10321063
files,
@@ -1073,6 +1104,9 @@ public String toString() {
10731104
sb.append(" compressedProtoFile: ")
10741105
.append(toIndentedString(compressedProtoFile))
10751106
.append("\n");
1107+
sb.append(" disableAiaIntermediateFetching: ")
1108+
.append(toIndentedString(disableAiaIntermediateFetching))
1109+
.append("\n");
10761110
sb.append(" dnsServer: ").append(toIndentedString(dnsServer)).append("\n");
10771111
sb.append(" dnsServerPort: ").append(toIndentedString(dnsServerPort)).append("\n");
10781112
sb.append(" files: ").append(toIndentedString(files)).append("\n");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-06-02T14:06:04.761Z
1+
2025-07-11T17:23:47.597Z

0 commit comments

Comments
 (0)