Skip to content

Commit 2dfd6e5

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3ff0ed6 of spec repo
1 parent 6a4db75 commit 2dfd6e5

6 files changed

Lines changed: 9 additions & 134 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3544,24 +3544,31 @@ components:
35443544
- $ref: '#/components/schemas/AnyValueBoolean'
35453545
type: object
35463546
AnyValueArray:
3547+
description: An array of arbitrary values.
35473548
items:
35483549
$ref: '#/components/schemas/AnyValueItem'
35493550
type: array
35503551
AnyValueBoolean:
3552+
description: A scalar boolean value.
35513553
type: boolean
35523554
AnyValueItem:
3555+
description: A single item in an array of arbitrary values, which can be a string,
3556+
number, object, or boolean.
35533557
oneOf:
35543558
- $ref: '#/components/schemas/AnyValueString'
35553559
- $ref: '#/components/schemas/AnyValueNumber'
35563560
- $ref: '#/components/schemas/AnyValueObject'
35573561
- $ref: '#/components/schemas/AnyValueBoolean'
35583562
AnyValueNumber:
3563+
description: A scalar numeric value.
35593564
format: double
35603565
type: number
35613566
AnyValueObject:
35623567
additionalProperties: {}
3568+
description: An arbitrary object value with additional properties.
35633569
type: object
35643570
AnyValueString:
3571+
description: A scalar string value.
35653572
type: string
35663573
ApiID:
35673574
description: API identifier.
@@ -44821,7 +44828,7 @@ components:
4482144828
Protocol (OTLP) over gRPC and HTTP.
4482244829

4482344830

44824-
**Supported pipeline types:** logs, metrics'
44831+
**Supported pipeline types:** logs'
4482544832
properties:
4482644833
grpc_address_key:
4482744834
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44858,6 @@ components:
4485144858
type: object
4485244859
x-pipeline-types:
4485344860
- logs
44854-
- metrics
4485544861
ObservabilityPipelineOpentelemetrySourceType:
4485644862
default: opentelemetry
4485744863
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)