@@ -26,14 +26,14 @@ Feature: Logs Pipelines
26
26
@generated @skip @team:DataDog/event-platform-experience
27
27
Scenario : Create a pipeline returns "Bad Request" response
28
28
Given new "CreateLogsPipeline" request
29
- And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }]}
29
+ And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }], "tags" : [] }
30
30
When the request is sent
31
31
Then the response status is 400 Bad Request
32
32
33
33
@generated @skip @team:DataDog/event-platform-experience
34
34
Scenario : Create a pipeline returns "OK" response
35
35
Given new "CreateLogsPipeline" request
36
- And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }]}
36
+ And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }], "tags" : [] }
37
37
When the request is sent
38
38
Then the response status is 200 OK
39
39
@@ -81,15 +81,15 @@ Feature: Logs Pipelines
81
81
Scenario : Update a pipeline returns "Bad Request" response
82
82
Given new "UpdateLogsPipeline" request
83
83
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\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }]}
84
+ And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }], "tags" : [] }
85
85
When the request is sent
86
86
Then the response status is 400 Bad Request
87
87
88
88
@generated @skip @team:DataDog/event-platform-experience
89
89
Scenario : Update a pipeline returns "OK" response
90
90
Given new "UpdateLogsPipeline" request
91
91
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\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }]}
92
+ And body with value {"filter" : {"query" : "source:python" }, "name" : "" , "processors" : [{"grok" : {"match_rules" : "rule_name_1 foo\n rule_name_2 bar\n " , "support_rules" : "rule_name_1 foo\n rule_name_2 bar\n " }, "is_enabled" : false, "samples" : [], "source" : "message" , "type" : "grok-parser" }], "tags" : [] }
93
93
When the request is sent
94
94
Then the response status is 200 OK
95
95
0 commit comments