Skip to content

Commit 94b6ce5

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove any references to synthetics test suites (#2681)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent c3c5bdf commit 94b6ce5

File tree

5 files changed

+2
-38
lines changed

5 files changed

+2
-38
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34053,7 +34053,7 @@ paths:
3405334053
- synthetics_write
3405434054
/api/v1/synthetics/tests/search:
3405534055
get:
34056-
description: Search for Synthetic tests and Test Suites.
34056+
description: Search for Synthetic tests.
3405734057
operationId: SearchTests
3405834058
parameters:
3405934059
- description: The search query.
@@ -34069,12 +34069,6 @@ paths:
3406934069
required: false
3407034070
schema:
3407134071
type: boolean
34072-
- description: If true, returns suites instead of tests.
34073-
in: query
34074-
name: search_suites
34075-
required: false
34076-
schema:
34077-
type: boolean
3407834072
- description: If true, return only facets instead of full test details.
3407934073
in: query
3408034074
name: facets_only

examples/v1/synthetics/SearchTests_195957771.rb

Lines changed: 0 additions & 14 deletions
This file was deleted.

features/scenarios_model_mapping.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@
756756
"v1.SearchTests" => {
757757
"text" => "String",
758758
"include_full_config" => "Boolean",
759-
"search_suites" => "Boolean",
760759
"facets_only" => "Boolean",
761760
"start" => "Integer",
762761
"count" => "Integer",

features/v1/synthetics.feature

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -803,19 +803,6 @@ Feature: Synthetics
803803
When the request is sent
804804
Then the response status is 200 OK - Returns the list of Synthetic tests matching the search.
805805

806-
@team:DataDog/synthetics-managing
807-
Scenario: Search Synthetic tests with boolean query parameters
808-
Given new "SearchTests" request
809-
And request contains "text" parameter with value "tag:value"
810-
And request contains "include_full_config" parameter with value true
811-
And request contains "search_suites" parameter with value true
812-
And request contains "facets_only" parameter with value true
813-
And request contains "start" parameter with value 10
814-
And request contains "count" parameter with value 5
815-
And request contains "sort" parameter with value "name,desc"
816-
When the request is sent
817-
Then the response status is 200 OK - Returns the list of Synthetic tests matching the search.
818-
819806
@generated @skip @team:DataDog/synthetics-managing
820807
Scenario: Trigger Synthetic tests returns "Bad Request" response
821808
Given new "TriggerTests" request

lib/datadog_api_client/v1/api/synthetics_api.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,12 +1785,11 @@ def search_tests(opts = {})
17851785

17861786
# Search Synthetic tests.
17871787
#
1788-
# Search for Synthetic tests and Test Suites.
1788+
# Search for Synthetic tests.
17891789
#
17901790
# @param opts [Hash] the optional parameters
17911791
# @option opts [String] :text The search query.
17921792
# @option opts [Boolean] :include_full_config If true, include the full configuration for each test in the response.
1793-
# @option opts [Boolean] :search_suites If true, returns suites instead of tests.
17941793
# @option opts [Boolean] :facets_only If true, return only facets instead of full test details.
17951794
# @option opts [Integer] :start The offset from which to start returning results.
17961795
# @option opts [Integer] :count The maximum number of results to return.
@@ -1808,7 +1807,6 @@ def search_tests_with_http_info(opts = {})
18081807
query_params = opts[:query_params] || {}
18091808
query_params[:'text'] = opts[:'text'] if !opts[:'text'].nil?
18101809
query_params[:'include_full_config'] = opts[:'include_full_config'] if !opts[:'include_full_config'].nil?
1811-
query_params[:'search_suites'] = opts[:'search_suites'] if !opts[:'search_suites'].nil?
18121810
query_params[:'facets_only'] = opts[:'facets_only'] if !opts[:'facets_only'].nil?
18131811
query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil?
18141812
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?

0 commit comments

Comments
 (0)