Skip to content

Commit 6db9baf

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

File tree

6 files changed

+16
-134
lines changed

6 files changed

+16
-134
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3988,6 +3988,7 @@ components:
39883988
key_path:
39893989
description: Specific path for the input.
39903990
items:
3991+
description: A path segment for the input key.
39913992
type: string
39923993
type: array
39933994
required:
@@ -4103,6 +4104,7 @@ components:
41034104

41044105
!exact_match operator.'
41054106
items:
4107+
description: A value to match against in the condition.
41064108
type: string
41074109
type: array
41084110
options:
@@ -4379,6 +4381,8 @@ components:
43794381
description: The client IP addresses matched by the exclusion filter (CIDR
43804382
notation is supported).
43814383
items:
4384+
description: A client IP address or CIDR range matched by the exclusion
4385+
filter.
43824386
example: 198.51.100.72
43834387
type: string
43844388
type: array
@@ -4391,6 +4395,8 @@ components:
43914395
HTTP query string and HTTP request body. Nested parameters can be matched
43924396
by joining fields with a dot character.
43934397
items:
4398+
description: A parameter name matched by the exclusion filter in the HTTP
4399+
query string or request body.
43944400
example: list.search.query
43954401
type: string
43964402
type: array
@@ -4429,6 +4435,8 @@ components:
44294435
description: The client IP addresses matched by the exclusion filter (CIDR
44304436
notation is supported).
44314437
items:
4438+
description: A client IP address or CIDR range matched by the exclusion
4439+
filter.
44324440
example: 198.51.100.72
44334441
type: string
44344442
type: array
@@ -4439,6 +4447,8 @@ components:
44394447
HTTP query string and HTTP request body. Nested parameters can be matched
44404448
by joining fields with a dot character.
44414449
items:
4450+
description: A parameter name matched by the exclusion filter in the HTTP
4451+
query string or request body.
44424452
example: list.search.query
44434453
type: string
44444454
type: array
@@ -4594,6 +4604,8 @@ components:
45944604
description: The client IP addresses matched by the exclusion filter (CIDR
45954605
notation is supported).
45964606
items:
4607+
description: A client IP address or CIDR range matched by the exclusion
4608+
filter.
45974609
example: 198.51.100.72
45984610
type: string
45994611
type: array
@@ -4604,6 +4616,8 @@ components:
46044616
HTTP query string and HTTP request body. Nested parameters can be matched
46054617
by joining fields with a dot character.
46064618
items:
4619+
description: A parameter name matched by the exclusion filter in the HTTP
4620+
query string or request body.
46074621
example: list.search.query
46084622
type: string
46094623
type: array
@@ -44821,7 +44835,7 @@ components:
4482144835
Protocol (OTLP) over gRPC and HTTP.
4482244836

4482344837

44824-
**Supported pipeline types:** logs, metrics'
44838+
**Supported pipeline types:** logs'
4482544839
properties:
4482644840
grpc_address_key:
4482744841
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44865,6 @@ components:
4485144865
type: object
4485244866
x-pipeline-types:
4485344867
- logs
44854-
- metrics
4485544868
ObservabilityPipelineOpentelemetrySourceType:
4485644869
default: opentelemetry
4485744870
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/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)