Skip to content

Commit 8ba55e7

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

File tree

9 files changed

+11
-138
lines changed

9 files changed

+11
-138
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15554,6 +15554,7 @@ components:
1555415554
tags:
1555515555
description: Tags to help categorize or filter the page.
1555615556
items:
15557+
description: A tag for categorizing or filtering the page.
1555715558
type: string
1555815559
type: array
1555915560
target:
@@ -36766,6 +36767,7 @@ components:
3676636767
description: Response type for listing notification channels for a user
3676736768
properties:
3676836769
data:
36770+
description: Array of notification channel data objects.
3676936771
items:
3677036772
$ref: '#/components/schemas/NotificationChannelData'
3677136773
type: array
@@ -36774,10 +36776,12 @@ components:
3677436776
description: Response type for listing notification rules for a user
3677536777
properties:
3677636778
data:
36779+
description: Array of notification rule data objects.
3677736780
items:
3677836781
$ref: '#/components/schemas/OnCallNotificationRuleData'
3677936782
type: array
3678036783
included:
36784+
description: Array of related resources included in the response.
3678136785
items:
3678236786
$ref: '#/components/schemas/OnCallNotificationRulesIncluded'
3678336787
type: array
@@ -44821,7 +44825,7 @@ components:
4482144825
Protocol (OTLP) over gRPC and HTTP.
4482244826

4482344827

44824-
**Supported pipeline types:** logs, metrics'
44828+
**Supported pipeline types:** logs'
4482544829
properties:
4482644830
grpc_address_key:
4482744831
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44855,6 @@ components:
4485144855
type: object
4485244856
x-pipeline-types:
4485344857
- logs
44854-
- metrics
4485544858
ObservabilityPipelineOpentelemetrySourceType:
4485644859
default: opentelemetry
4485744860
description: The source type. The value should always be `opentelemetry`.
@@ -47130,6 +47133,7 @@ components:
4713047133
data:
4713147134
$ref: '#/components/schemas/OnCallNotificationRuleData'
4713247135
included:
47136+
description: Array of related resources included in the response.
4713347137
items:
4713447138
$ref: '#/components/schemas/OnCallNotificationRulesIncluded'
4713547139
type: array

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/ListNotificationChannelsResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public ListNotificationChannelsResponse addDataItem(NotificationChannelData data
4545
}
4646

4747
/**
48-
* Getdata
48+
* Array of notification channel data objects.
4949
*
5050
* @return data
5151
*/

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public ListOnCallNotificationRulesResponse addDataItem(OnCallNotificationRuleDat
5151
}
5252

5353
/**
54-
* Getdata
54+
* Array of notification rule data objects.
5555
*
5656
* @return data
5757
*/
@@ -86,7 +86,7 @@ public ListOnCallNotificationRulesResponse addIncludedItem(
8686
}
8787

8888
/**
89-
* Getincluded
89+
* Array of related resources included in the response.
9090
*
9191
* @return included
9292
*/

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/main/java/com/datadog/api/client/v2/model/OnCallNotificationRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public OnCallNotificationRule addIncludedItem(OnCallNotificationRulesIncluded in
8282
}
8383

8484
/**
85-
* Getincluded
85+
* Array of related resources included in the response.
8686
*
8787
* @return included
8888
*/

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)