From bef91361d5a05194a09eb5c181121e7e36708c1c Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 10 Nov 2026 21:09:44 +0000 Subject: [PATCH] Regenerate client from commit 94d274b of spec repo --- .generator/schemas/v1/openapi.yaml | 24 ++++++++++++++++++++ tests/v1/features/logs_pipelines.feature | 29 ++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a40d500d9e..9ee2d06488 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -36328,6 +36328,12 @@ paths: schema: $ref: "#/components/schemas/APIErrorResponse" description: Forbidden + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/LogsAPIErrorResponse" + description: Conflict "422": content: application/json: @@ -36429,6 +36435,12 @@ paths: schema: $ref: "#/components/schemas/APIErrorResponse" description: Forbidden + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/LogsAPIErrorResponse" + description: Conflict "429": $ref: "#/components/responses/TooManyRequestsResponse" summary: Create a pipeline @@ -36467,6 +36479,12 @@ paths: schema: $ref: "#/components/schemas/APIErrorResponse" description: Forbidden + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/LogsAPIErrorResponse" + description: Conflict "429": $ref: "#/components/responses/TooManyRequestsResponse" summary: Delete a pipeline @@ -36584,6 +36602,12 @@ paths: schema: $ref: "#/components/schemas/APIErrorResponse" description: Forbidden + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/LogsAPIErrorResponse" + description: Conflict "429": $ref: "#/components/responses/TooManyRequestsResponse" summary: Update a pipeline diff --git a/tests/v1/features/logs_pipelines.feature b/tests/v1/features/logs_pipelines.feature index 5474d748d9..86d53250ef 100644 --- a/tests/v1/features/logs_pipelines.feature +++ b/tests/v1/features/logs_pipelines.feature @@ -28,6 +28,13 @@ Feature: Logs Pipelines When the request is sent Then the response status is 400 Bad Request + @generated @skip @team:ddoghq/logs-onboarding + Scenario: Create a pipeline returns "Conflict" response + Given new "CreateLogsPipeline" request + And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar", "support_rules": "rule_name_1 foo\nrule_name_2 bar"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []} + When the request is sent + Then the response status is 409 Conflict + @generated @skip @team:ddoghq/logs-onboarding Scenario: Create a pipeline returns "OK" response Given new "CreateLogsPipeline" request @@ -161,6 +168,13 @@ Feature: Logs Pipelines When the request is sent Then the response status is 400 Bad Request + @generated @skip @team:ddoghq/logs-onboarding + Scenario: Delete a pipeline returns "Conflict" response + Given new "DeleteLogsPipeline" request + And request contains "pipeline_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 409 Conflict + @generated @skip @team:ddoghq/logs-onboarding Scenario: Delete a pipeline returns "OK" response Given new "DeleteLogsPipeline" request @@ -202,6 +216,14 @@ Feature: Logs Pipelines When the request is sent Then the response status is 400 Bad Request + @generated @skip @team:ddoghq/logs-onboarding + Scenario: Update a pipeline returns "Conflict" response + Given new "UpdateLogsPipeline" request + And request contains "pipeline_id" parameter from "REPLACE.ME" + And body with value {"filter": {"query": "source:python"}, "name": "", "processors": [{"grok": {"match_rules": "rule_name_1 foo\nrule_name_2 bar", "support_rules": "rule_name_1 foo\nrule_name_2 bar"}, "is_enabled": false, "samples": [], "source": "message", "type": "grok-parser"}], "tags": []} + When the request is sent + Then the response status is 409 Conflict + @generated @skip @team:ddoghq/logs-onboarding Scenario: Update a pipeline returns "OK" response Given new "UpdateLogsPipeline" request @@ -217,6 +239,13 @@ Feature: Logs Pipelines When the request is sent Then the response status is 400 Bad Request + @generated @skip @team:ddoghq/logs-onboarding + Scenario: Update pipeline order returns "Conflict" response + Given new "UpdateLogsPipelineOrder" request + And body with value {"pipeline_ids": ["tags", "org_ids", "products"]} + When the request is sent + Then the response status is 409 Conflict + @generated @skip @team:ddoghq/logs-onboarding Scenario: Update pipeline order returns "OK" response Given new "UpdateLogsPipelineOrder" request