Skip to content

Commit 6baa419

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Mark Test Optimization endpoints as stable (#1538)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 17a90b5 commit 6baa419

12 files changed

Lines changed: 28 additions & 158 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90800,9 +90800,6 @@ paths:
9080090800
operator: OR
9080190801
permissions:
9080290802
- test_optimization_settings_write
90803-
x-unstable: |-
90804-
**Note**: This endpoint is in preview and may be subject to change.
90805-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
9080690803
post:
9080790804
description: |-
9080890805
Retrieve Flaky Tests Management repository-level policies for the given repository.
@@ -90847,9 +90844,6 @@ paths:
9084790844
operator: OR
9084890845
permissions:
9084990846
- test_optimization_read
90850-
x-unstable: |-
90851-
**Note**: This endpoint is in preview and may be subject to change.
90852-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
9085390847
/api/v2/ci/test-optimization/settings/service:
9085490848
delete:
9085590849
description: |-
@@ -90893,9 +90887,6 @@ paths:
9089390887
operator: OR
9089490888
permissions:
9089590889
- test_optimization_settings_write
90896-
x-unstable: |-
90897-
**Note**: This endpoint is in preview and may be subject to change.
90898-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
9089990890
patch:
9090090891
description: |-
9090190892
Partially update Test Optimization settings for a specific service identified by repository, service name, and environment.
@@ -90949,9 +90940,6 @@ paths:
9094990940
operator: OR
9095090941
permissions:
9095190942
- test_optimization_settings_write
90952-
x-unstable: |-
90953-
**Note**: This endpoint is in preview and may be subject to change.
90954-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
9095590943
post:
9095690944
description: |-
9095790945
Retrieve Test Optimization settings for a specific service identified by repository, service name, and environment.
@@ -90998,9 +90986,6 @@ paths:
9099890986
operator: OR
9099990987
permissions:
9100090988
- test_optimization_read
91001-
x-unstable: |-
91002-
**Note**: This endpoint is in preview and may be subject to change.
91003-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
9100490989
/api/v2/ci/tests/analytics/aggregate:
9100590990
post:
9100690991
description: |-
@@ -132621,9 +132606,6 @@ paths:
132621132606
operator: OR
132622132607
permissions:
132623132608
- test_optimization_write
132624-
x-unstable: |-
132625-
**Note**: This endpoint is in preview and may be subject to change.
132626-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
132627132609
post:
132628132610
description: |-
132629132611
List endpoint returning flaky tests from Flaky Test Management. Results are paginated.
@@ -132690,9 +132672,6 @@ paths:
132690132672
operator: OR
132691132673
permissions:
132692132674
- test_optimization_read
132693-
x-unstable: |-
132694-
**Note**: This endpoint is in preview and may be subject to change.
132695-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
132696132675
/api/v2/usage/application_security:
132697132676
get:
132698132677
deprecated: true

examples/v2_test-optimization_DeleteTestOptimizationServiceSettings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ async fn main() {
1919
::TEST_OPTIMIZATION_DELETE_SERVICE_SETTINGS_REQUEST,
2020
),
2121
);
22-
let mut configuration = datadog::Configuration::new();
23-
configuration.set_unstable_operation_enabled("v2.DeleteTestOptimizationServiceSettings", true);
22+
let configuration = datadog::Configuration::new();
2423
let api = TestOptimizationAPI::with_config(configuration);
2524
let resp = api.delete_test_optimization_service_settings(body).await;
2625
if let Ok(value) = resp {

examples/v2_test-optimization_GetFlakyTestsManagementPolicies.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ async fn main() {
1818
::TEST_OPTIMIZATION_GET_FLAKY_TESTS_MANAGEMENT_POLICIES_REQUEST,
1919
),
2020
);
21-
let mut configuration = datadog::Configuration::new();
22-
configuration.set_unstable_operation_enabled("v2.GetFlakyTestsManagementPolicies", true);
21+
let configuration = datadog::Configuration::new();
2322
let api = TestOptimizationAPI::with_config(configuration);
2423
let resp = api.get_flaky_tests_management_policies(body).await;
2524
if let Ok(value) = resp {

examples/v2_test-optimization_GetTestOptimizationServiceSettings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ async fn main() {
1818
TestOptimizationGetServiceSettingsRequestDataType::TEST_OPTIMIZATION_GET_SERVICE_SETTINGS_REQUEST,
1919
),
2020
);
21-
let mut configuration = datadog::Configuration::new();
22-
configuration.set_unstable_operation_enabled("v2.GetTestOptimizationServiceSettings", true);
21+
let configuration = datadog::Configuration::new();
2322
let api = TestOptimizationAPI::with_config(configuration);
2423
let resp = api.get_test_optimization_service_settings(body).await;
2524
if let Ok(value) = resp {

examples/v2_test-optimization_SearchFlakyTests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ async fn main() {
3636
)
3737
.type_(FlakyTestsSearchRequestDataType::SEARCH_FLAKY_TESTS_REQUEST),
3838
);
39-
let mut configuration = datadog::Configuration::new();
40-
configuration.set_unstable_operation_enabled("v2.SearchFlakyTests", true);
39+
let configuration = datadog::Configuration::new();
4140
let api = TestOptimizationAPI::with_config(configuration);
4241
let resp = api
4342
.search_flaky_tests(SearchFlakyTestsOptionalParams::default().body(body))

examples/v2_test-optimization_SearchFlakyTests_1224086727.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ async fn main() {
3838
)
3939
.type_(FlakyTestsSearchRequestDataType::SEARCH_FLAKY_TESTS_REQUEST),
4040
);
41-
let mut configuration = datadog::Configuration::new();
42-
configuration.set_unstable_operation_enabled("v2.SearchFlakyTests", true);
41+
let configuration = datadog::Configuration::new();
4342
let api = TestOptimizationAPI::with_config(configuration);
4443
let response = api
4544
.search_flaky_tests_with_pagination(SearchFlakyTestsOptionalParams::default().body(body));

examples/v2_test-optimization_UpdateFlakyTests.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ async fn main() {
1717
)]),
1818
UpdateFlakyTestsRequestDataType::UPDATE_FLAKY_TEST_STATE_REQUEST,
1919
));
20-
let mut configuration = datadog::Configuration::new();
21-
configuration.set_unstable_operation_enabled("v2.UpdateFlakyTests", true);
20+
let configuration = datadog::Configuration::new();
2221
let api = TestOptimizationAPI::with_config(configuration);
2322
let resp = api.update_flaky_tests(body).await;
2423
if let Ok(value) = resp {

examples/v2_test-optimization_UpdateFlakyTestsManagementPolicies.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ async fn main() {
7676
::TEST_OPTIMIZATION_UPDATE_FLAKY_TESTS_MANAGEMENT_POLICIES_REQUEST,
7777
),
7878
);
79-
let mut configuration = datadog::Configuration::new();
80-
configuration.set_unstable_operation_enabled("v2.UpdateFlakyTestsManagementPolicies", true);
79+
let configuration = datadog::Configuration::new();
8180
let api = TestOptimizationAPI::with_config(configuration);
8281
let resp = api.update_flaky_tests_management_policies(body).await;
8382
if let Ok(value) = resp {

examples/v2_test-optimization_UpdateTestOptimizationServiceSettings.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ async fn main() {
2626
::TEST_OPTIMIZATION_UPDATE_SERVICE_SETTINGS_REQUEST,
2727
),
2828
);
29-
let mut configuration = datadog::Configuration::new();
30-
configuration.set_unstable_operation_enabled("v2.UpdateTestOptimizationServiceSettings", true);
29+
let configuration = datadog::Configuration::new();
3130
let api = TestOptimizationAPI::with_config(configuration);
3231
let resp = api.update_test_optimization_service_settings(body).await;
3332
if let Ok(value) = resp {

src/datadog/configuration.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -203,25 +203,6 @@ impl Default for Configuration {
203203
("v2.get_change_request".to_owned(), false),
204204
("v2.update_change_request".to_owned(), false),
205205
("v2.update_change_request_decision".to_owned(), false),
206-
(
207-
"v2.delete_test_optimization_service_settings".to_owned(),
208-
false,
209-
),
210-
("v2.get_flaky_tests_management_policies".to_owned(), false),
211-
(
212-
"v2.get_test_optimization_service_settings".to_owned(),
213-
false,
214-
),
215-
("v2.search_flaky_tests".to_owned(), false),
216-
("v2.update_flaky_tests".to_owned(), false),
217-
(
218-
"v2.update_flaky_tests_management_policies".to_owned(),
219-
false,
220-
),
221-
(
222-
"v2.update_test_optimization_service_settings".to_owned(),
223-
false,
224-
),
225206
("v2.create_aws_cloud_auth_persona_mapping".to_owned(), false),
226207
("v2.delete_aws_cloud_auth_persona_mapping".to_owned(), false),
227208
("v2.get_aws_cloud_auth_persona_mapping".to_owned(), false),

0 commit comments

Comments
 (0)