Skip to content

Commit 8ce8f11

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

File tree

10 files changed

+20
-138
lines changed

10 files changed

+20
-138
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7474,6 +7474,7 @@ components:
74747474
description: The request body for deleting multiple rows from a reference table.
74757475
properties:
74767476
data:
7477+
description: List of row resources to delete from the reference table.
74777478
items:
74787479
$ref: '#/components/schemas/BatchDeleteRowsRequestData'
74797480
maxItems: 200
@@ -7485,6 +7486,7 @@ components:
74857486
description: Row resource containing a single row identifier for deletion.
74867487
properties:
74877488
id:
7489+
description: The primary key value that uniquely identifies the row to delete.
74887490
example: primary_key_value
74897491
type: string
74907492
type:
@@ -7498,6 +7500,8 @@ components:
74987500
reference table.
74997501
properties:
75007502
data:
7503+
description: List of row resources to create or update in the reference
7504+
table.
75017505
items:
75027506
$ref: '#/components/schemas/BatchUpsertRowsRequestData'
75037507
maxItems: 200
@@ -7512,6 +7516,8 @@ components:
75127516
attributes:
75137517
$ref: '#/components/schemas/BatchUpsertRowsRequestDataAttributes'
75147518
id:
7519+
description: The primary key value that uniquely identifies the row to create
7520+
or update.
75157521
example: primary_key_value
75167522
type: string
75177523
type:
@@ -16064,6 +16070,7 @@ components:
1606416070
- tag_1
1606516071
- tag_2
1606616072
items:
16073+
description: A tag associated with the reference table.
1606716074
type: string
1606816075
type: array
1606916076
required:
@@ -16215,6 +16222,7 @@ components:
1621516222
example:
1621616223
- field_1
1621716224
items:
16225+
description: A field name used as a primary key.
1621816226
type: string
1621916227
type: array
1622016228
required:
@@ -16463,6 +16471,7 @@ components:
1646316471
- field_1
1646416472
- field_2
1646516473
items:
16474+
description: A column header name from the CSV file.
1646616475
type: string
1646716476
type: array
1646816477
part_count:
@@ -16525,6 +16534,7 @@ components:
1652516534
description: The pre-signed URLs for uploading parts. These URLs expire
1652616535
after 5 minutes.
1652716536
items:
16537+
description: A pre-signed URL for uploading a single file part.
1652816538
type: string
1652916539
type: array
1653016540
type: object
@@ -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`.
@@ -48910,6 +48919,7 @@ components:
4891048919
- tag_1
4891148920
- tag_2
4891248921
items:
48922+
description: A tag associated with the reference table.
4891348923
type: string
4891448924
type: array
4891548925
type: object
@@ -49040,6 +49050,7 @@ components:
4904049050
example:
4904149051
- field_1
4904249052
items:
49053+
description: A field name used as a primary key.
4904349054
type: string
4904449055
type: array
4904549056
required:
@@ -66704,6 +66715,7 @@ components:
6670466715
- tag_1
6670566716
- tag_2
6670666717
items:
66718+
description: A tag associated with the reference table.
6670766719
type: string
6670866720
type: array
6670966721
updated_at:
@@ -66862,6 +66874,7 @@ components:
6686266874
example:
6686366875
- field_1
6686466876
items:
66877+
description: A field name used as a primary key.
6686566878
type: string
6686666879
type: array
6686766880
required:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public BatchDeleteRowsRequestArray addDataItem(BatchDeleteRowsRequestData dataIt
5252
}
5353

5454
/**
55-
* Getdata
55+
* List of row resources to delete from the reference table.
5656
*
5757
* @return data
5858
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public BatchDeleteRowsRequestData id(String id) {
4949
}
5050

5151
/**
52-
* Getid
52+
* The primary key value that uniquely identifies the row to delete.
5353
*
5454
* @return id
5555
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public BatchUpsertRowsRequestArray addDataItem(BatchUpsertRowsRequestData dataIt
5252
}
5353

5454
/**
55-
* Getdata
55+
* List of row resources to create or update in the reference table.
5656
*
5757
* @return data
5858
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public BatchUpsertRowsRequestData id(String id) {
7575
}
7676

7777
/**
78-
* Getid
78+
* The primary key value that uniquely identifies the row to create or update.
7979
*
8080
* @return id
8181
*/

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)