Skip to content

Commit f7ad880

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-specamaskara-dd
authored
Regenerate client from commit be17a7b8 of spec repo (#1992)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: amaskara-dd <[email protected]>
1 parent 1e1adc6 commit f7ad880

File tree

6 files changed

+8
-35
lines changed

6 files changed

+8
-35
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-10 22:21:31.707539",
8-
"spec_repo_commit": "2f8c42a8"
7+
"regenerated": "2025-01-13 17:10:17.417320",
8+
"spec_repo_commit": "be17a7b8"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-10 22:21:31.723176",
13-
"spec_repo_commit": "2f8c42a8"
12+
"regenerated": "2025-01-13 17:10:17.436132",
13+
"spec_repo_commit": "be17a7b8"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5926,9 +5926,6 @@ components:
59265926

59275927
Make sure to use an application key created by an admin.'
59285928
properties:
5929-
description:
5930-
description: A description of the pipeline.
5931-
type: string
59325929
filter:
59335930
$ref: '#/components/schemas/LogsFilter'
59345931
id:
@@ -5951,12 +5948,6 @@ components:
59515948
items:
59525949
$ref: '#/components/schemas/LogsProcessor'
59535950
type: array
5954-
tags:
5955-
description: A list of tags associated with the pipeline.
5956-
items:
5957-
description: A single tag using the format `key:value`.
5958-
type: string
5959-
type: array
59605951
type:
59615952
description: Type of pipeline.
59625953
example: pipeline

examples/v1/logs-pipelines/CreateLogsPipeline.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ rule_name_2 bar
2929
type: "grok-parser",
3030
},
3131
],
32-
tags: [],
3332
},
3433
};
3534

examples/v1/logs-pipelines/UpdateLogsPipeline.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ rule_name_2 bar
2929
type: "grok-parser",
3030
},
3131
],
32-
tags: [],
3332
},
3433
pipelineId: "pipeline_id",
3534
};

features/v1/logs_pipelines.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ Feature: Logs Pipelines
2626
@generated @skip @team:DataDog/event-platform-experience
2727
Scenario: Create a pipeline returns "Bad Request" response
2828
Given new "CreateLogsPipeline" request
29-
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []}
29+
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}]}
3030
When the request is sent
3131
Then the response status is 400 Bad Request
3232

3333
@generated @skip @team:DataDog/event-platform-experience
3434
Scenario: Create a pipeline returns "OK" response
3535
Given new "CreateLogsPipeline" request
36-
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []}
36+
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}]}
3737
When the request is sent
3838
Then the response status is 200 OK
3939

@@ -81,15 +81,15 @@ Feature: Logs Pipelines
8181
Scenario: Update a pipeline returns "Bad Request" response
8282
Given new "UpdateLogsPipeline" request
8383
And request contains "pipeline_id" parameter from "REPLACE.ME"
84-
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []}
84+
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}]}
8585
When the request is sent
8686
Then the response status is 400 Bad Request
8787

8888
@generated @skip @team:DataDog/event-platform-experience
8989
Scenario: Update a pipeline returns "OK" response
9090
Given new "UpdateLogsPipeline" request
9191
And request contains "pipeline_id" parameter from "REPLACE.ME"
92-
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []}
92+
And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar\n", "support_rules": "rule_name_1 foo\nrule_name_2 bar\n"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}]}
9393
When the request is sent
9494
Then the response status is 200 OK
9595

packages/datadog-api-client-v1/models/LogsPipeline.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ import { AttributeTypeMap } from "../../datadog-api-client-common/util";
1616
* Make sure to use an application key created by an admin.
1717
*/
1818
export class LogsPipeline {
19-
/**
20-
* A description of the pipeline.
21-
*/
22-
"description"?: string;
2319
/**
2420
* Filter for logs.
2521
*/
@@ -44,10 +40,6 @@ export class LogsPipeline {
4440
* Ordered list of processors in this pipeline.
4541
*/
4642
"processors"?: Array<LogsProcessor>;
47-
/**
48-
* A list of tags associated with the pipeline.
49-
*/
50-
"tags"?: Array<string>;
5143
/**
5244
* Type of pipeline.
5345
*/
@@ -69,10 +61,6 @@ export class LogsPipeline {
6961
* @ignore
7062
*/
7163
static readonly attributeTypeMap: AttributeTypeMap = {
72-
description: {
73-
baseName: "description",
74-
type: "string",
75-
},
7664
filter: {
7765
baseName: "filter",
7866
type: "LogsFilter",
@@ -98,10 +86,6 @@ export class LogsPipeline {
9886
baseName: "processors",
9987
type: "Array<LogsProcessor>",
10088
},
101-
tags: {
102-
baseName: "tags",
103-
type: "Array<string>",
104-
},
10589
type: {
10690
baseName: "type",
10791
type: "string",

0 commit comments

Comments
 (0)