Skip to content

Commit a3bea2a

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

File tree

10 files changed

+28
-145
lines changed

10 files changed

+28
-145
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44821,7 +44821,7 @@ components:
4482144821
Protocol (OTLP) over gRPC and HTTP.
4482244822

4482344823

44824-
**Supported pipeline types:** logs, metrics'
44824+
**Supported pipeline types:** logs'
4482544825
properties:
4482644826
grpc_address_key:
4482744827
description: Environment variable name containing the gRPC server address
@@ -44851,7 +44851,6 @@ components:
4485144851
type: object
4485244852
x-pipeline-types:
4485344853
- logs
44854-
- metrics
4485544854
ObservabilityPipelineOpentelemetrySourceType:
4485644855
default: opentelemetry
4485744856
description: The source type. The value should always be `opentelemetry`.
@@ -62296,37 +62295,49 @@ components:
6229662295
type: array
6229762296
type: object
6229862297
ServiceList:
62298+
description: The response body for the service list endpoint.
6229962299
properties:
6230062300
data:
6230162301
$ref: '#/components/schemas/ServiceListData'
6230262302
type: object
6230362303
ServiceListData:
62304+
description: A single data item in the service list response.
6230462305
properties:
6230562306
attributes:
6230662307
$ref: '#/components/schemas/ServiceListDataAttributes'
6230762308
id:
62309+
description: The unique identifier of the service.
6230862310
type: string
6230962311
type:
6231062312
$ref: '#/components/schemas/ServiceListDataType'
6231162313
required:
6231262314
- type
6231362315
type: object
6231462316
ServiceListDataAttributes:
62317+
description: Attributes of a service list entry, containing metadata and a list
62318+
of service names.
6231562319
properties:
6231662320
metadata:
62321+
description: A list of metadata items associated with the service.
6231762322
items:
6231862323
$ref: '#/components/schemas/ServiceListDataAttributesMetadataItems'
6231962324
type: array
6232062325
services:
62326+
description: A list of service names.
6232162327
items:
62328+
description: A single service name.
6232262329
type: string
6232362330
type: array
6232462331
type: object
6232562332
ServiceListDataAttributesMetadataItems:
62333+
description: An object containing metadata flags for a service, indicating whether
62334+
it is traced by APM or monitored via Universal Service Monitoring.
6232662335
properties:
6232762336
isTraced:
62337+
description: Indicates whether the service is traced by APM.
6232862338
type: boolean
6232962339
isUsm:
62340+
description: Indicates whether the service uses Universal Service Monitoring.
6233062341
type: boolean
6233162342
type: object
6233262343
ServiceListDataType:

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

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

19-
/** */
19+
/** The response body for the service list endpoint. */
2020
@JsonPropertyOrder({ServiceList.JSON_PROPERTY_DATA})
2121
@jakarta.annotation.Generated(
2222
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -32,7 +32,7 @@ public ServiceList data(ServiceListData data) {
3232
}
3333

3434
/**
35-
* Getdata
35+
* A single data item in the service list response.
3636
*
3737
* @return data
3838
*/

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

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

20-
/** */
20+
/** A single data item in the service list response. */
2121
@JsonPropertyOrder({
2222
ServiceListData.JSON_PROPERTY_ATTRIBUTES,
2323
ServiceListData.JSON_PROPERTY_ID,
@@ -52,7 +52,7 @@ public ServiceListData attributes(ServiceListDataAttributes attributes) {
5252
}
5353

5454
/**
55-
* Getattributes
55+
* Attributes of a service list entry, containing metadata and a list of service names.
5656
*
5757
* @return attributes
5858
*/
@@ -73,7 +73,7 @@ public ServiceListData id(String id) {
7373
}
7474

7575
/**
76-
* Getid
76+
* The unique identifier of the service.
7777
*
7878
* @return id
7979
*/

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

Lines changed: 3 additions & 3 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 a service list entry, containing metadata and a list of service names. */
2222
@JsonPropertyOrder({
2323
ServiceListDataAttributes.JSON_PROPERTY_METADATA,
2424
ServiceListDataAttributes.JSON_PROPERTY_SERVICES
@@ -52,7 +52,7 @@ public ServiceListDataAttributes addMetadataItem(
5252
}
5353

5454
/**
55-
* Getmetadata
55+
* A list of metadata items associated with the service.
5656
*
5757
* @return metadata
5858
*/
@@ -81,7 +81,7 @@ public ServiceListDataAttributes addServicesItem(String servicesItem) {
8181
}
8282

8383
/**
84-
* Getservices
84+
* A list of service names.
8585
*
8686
* @return services
8787
*/

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
import java.util.Map;
1717
import java.util.Objects;
1818

19-
/** */
19+
/**
20+
* An object containing metadata flags for a service, indicating whether it is traced by APM or
21+
* monitored via Universal Service Monitoring.
22+
*/
2023
@JsonPropertyOrder({
2124
ServiceListDataAttributesMetadataItems.JSON_PROPERTY_IS_TRACED,
2225
ServiceListDataAttributesMetadataItems.JSON_PROPERTY_IS_USM
@@ -37,7 +40,7 @@ public ServiceListDataAttributesMetadataItems isTraced(Boolean isTraced) {
3740
}
3841

3942
/**
40-
* GetisTraced
43+
* Indicates whether the service is traced by APM.
4144
*
4245
* @return isTraced
4346
*/
@@ -58,7 +61,7 @@ public ServiceListDataAttributesMetadataItems isUsm(Boolean isUsm) {
5861
}
5962

6063
/**
61-
* GetisUsm
64+
* Indicates whether the service uses Universal Service Monitoring.
6265
*
6366
* @return isUsm
6467
*/

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)