Skip to content

Commit 7f5013f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit cc7c305 of spec repo
1 parent 6a4db75 commit 7f5013f

File tree

8 files changed

+15
-137
lines changed

8 files changed

+15
-137
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8492,6 +8492,7 @@ components:
84928492
- ubuntu-18.04
84938493
- n2.large
84948494
items:
8495+
description: A label used to select or identify the node.
84958496
type: string
84968497
type: array
84978498
name:
@@ -18972,6 +18973,7 @@ components:
1897218973
example:
1897318974
- shopist
1897418975
items:
18976+
description: A service name impacted by the incident.
1897518977
type: string
1897618978
type: array
1897718979
severity:
@@ -19139,6 +19141,7 @@ components:
1913919141
example:
1914019142
- shopist
1914119143
items:
19144+
description: A service name impacted by the incident.
1914219145
type: string
1914319146
type: array
1914419147
severity:
@@ -20957,6 +20960,7 @@ components:
2095720960
- resource1
2095820961
- resource2
2095920962
items:
20963+
description: A resource name to exclude from faulty deployment detection.
2096020964
type: string
2096120965
type: array
2096220966
type: object
@@ -25416,12 +25420,15 @@ components:
2541625420
- '@foo'
2541725421
- '@bar'
2541825422
items:
25423+
description: A code owner of the test as inferred from the repository
25424+
configuration.
2541925425
type: string
2542025426
type: array
2542125427
envs:
2542225428
description: List of environments where this test has been flaky.
2542325429
example: prod
2542425430
items:
25431+
description: An environment name where this test has been flaky.
2542525432
type: string
2542625433
type: array
2542725434
first_flaked_branch:
@@ -25521,6 +25528,7 @@ components:
2552125528
- foo
2552225529
- bar
2552325530
items:
25531+
description: A test service name where this test has been flaky.
2552425532
type: string
2552525533
type: array
2552625534
suite:
@@ -36595,8 +36603,10 @@ components:
3659536603
x-enum-varnames:
3659636604
- LIST_DEPLOYMENT_RULES
3659736605
ListDeploymentRulesResponseDataAttributes:
36606+
description: Attributes of the response for listing deployment rules.
3659836607
properties:
3659936608
rules:
36609+
description: The list of deployment rules.
3660036610
items:
3660136611
$ref: '#/components/schemas/DeploymentRuleResponseDataAttributes'
3660236612
type: array
@@ -44821,7 +44831,7 @@ components:
4482144831
Protocol (OTLP) over gRPC and HTTP.
4482244832

4482344833

44824-
**Supported pipeline types:** logs, metrics'
44834+
**Supported pipeline types:** logs'
4482544835
properties:
4482644836
grpc_address_key:
4482744837
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44861,6 @@ components:
4485144861
type: object
4485244862
x-pipeline-types:
4485344863
- logs
44854-
- metrics
4485544864
ObservabilityPipelineOpentelemetrySourceType:
4485644865
default: opentelemetry
4485744866
description: The source type. The value should always be `opentelemetry`.

examples/v2/observability-pipelines/ValidatePipeline_884022323.java

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

src/main/java/com/datadog/api/client/v2/model/ListDeploymentRuleResponseData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public ListDeploymentRuleResponseData attributes(
5959
}
6060

6161
/**
62-
* Getattributes
62+
* Attributes of the response for listing deployment rules.
6363
*
6464
* @return attributes
6565
*/

src/main/java/com/datadog/api/client/v2/model/ListDeploymentRulesResponseDataAttributes.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Map;
1919
import java.util.Objects;
2020

21-
/** */
21+
/** Attributes of the response for listing deployment rules. */
2222
@JsonPropertyOrder({ListDeploymentRulesResponseDataAttributes.JSON_PROPERTY_RULES})
2323
@jakarta.annotation.Generated(
2424
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -47,7 +47,7 @@ public ListDeploymentRulesResponseDataAttributes addRulesItem(
4747
}
4848

4949
/**
50-
* Getrules
50+
* The list of deployment rules.
5151
*
5252
* @return rules
5353
*/

src/main/java/com/datadog/api/client/v2/model/ObservabilityPipelineOpentelemetrySource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* The <code>opentelemetry</code> source receives telemetry data using the OpenTelemetry Protocol
2222
* (OTLP) over gRPC and HTTP.
2323
*
24-
* <p><strong>Supported pipeline types:</strong> logs, metrics
24+
* <p><strong>Supported pipeline types:</strong> logs
2525
*/
2626
@JsonPropertyOrder({
2727
ObservabilityPipelineOpentelemetrySource.JSON_PROPERTY_GRPC_ADDRESS_KEY,

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.freeze

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/test/resources/cassettes/features/v2/Validate_a_metrics_pipeline_with_opentelemetry_source_returns_OK_response.json

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

src/test/resources/com/datadog/api/client/v2/api/observability_pipelines.feature

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,6 @@ Feature: Observability Pipelines
149149
And the response "data.attributes.config.destinations" has length 1
150150
And the response "data.attributes.config.destinations[0].id" is equal to "updated-datadog-logs-destination-id"
151151

152-
@team:DataDog/observability-pipelines
153-
Scenario: Validate a metrics pipeline with opentelemetry source returns "OK" response
154-
Given new "ValidatePipeline" request
155-
And body with value {"data": {"attributes": {"config": {"pipeline_type": "metrics", "destinations": [{"id": "datadog-metrics-destination", "inputs": ["my-processor-group"], "type": "datadog_metrics"}], "processor_groups": [{"enabled": true, "id": "my-processor-group", "include": "*", "inputs": ["opentelemetry-source"], "processors": [{"enabled": true, "id": "filter-processor", "include": "env:production", "type": "filter"}]}], "sources": [{"id": "opentelemetry-source", "type": "opentelemetry"}]}, "name": "Metrics OTel Pipeline"}, "type": "pipelines"}}
156-
When the request is sent
157-
Then the response status is 200 OK
158-
And the response "errors" has length 0
159-
160152
@team:DataDog/observability-pipelines
161153
Scenario: Validate an observability pipeline returns "Bad Request" response
162154
Given new "ValidatePipeline" request

0 commit comments

Comments
 (0)