|
@@ -35,13 +35,11 @@ teardown:
|
|
|
- do:
|
|
|
ingest.get_pipeline:
|
|
|
id: "my_pipeline"
|
|
|
- - match: { pipelines.0.id: "my_pipeline" }
|
|
|
- - match: { pipelines.0.config.description: "_description" }
|
|
|
+ - match: { my_pipeline.description: "_description" }
|
|
|
|
|
|
- do:
|
|
|
ingest.get_pipeline: {}
|
|
|
- - match: { pipelines.0.id: "my_pipeline" }
|
|
|
- - match: { pipelines.0.config.description: "_description" }
|
|
|
+ - match: { my_pipeline.description: "_description" }
|
|
|
|
|
|
- do:
|
|
|
ingest.delete_pipeline:
|
|
@@ -54,7 +52,7 @@ teardown:
|
|
|
id: "my_pipeline"
|
|
|
|
|
|
---
|
|
|
-"Test Get All Pipelines (unordered)":
|
|
|
+"Test Get All Pipelines":
|
|
|
- do:
|
|
|
ingest.put_pipeline:
|
|
|
id: "first_pipeline"
|
|
@@ -79,11 +77,10 @@ teardown:
|
|
|
"processors": []
|
|
|
}
|
|
|
|
|
|
- # Order is not guaranteed by the response, so we check for length instead; above tests that we get appropriate values
|
|
|
- do:
|
|
|
ingest.get_pipeline: {}
|
|
|
- - length: { pipelines: 2 }
|
|
|
-
|
|
|
+ - match: { first_pipeline.description: "first" }
|
|
|
+ - match: { second_pipeline.description: "second" }
|
|
|
|
|
|
---
|
|
|
"Test invalid config":
|
|
@@ -155,8 +152,7 @@ teardown:
|
|
|
- do:
|
|
|
ingest.get_pipeline:
|
|
|
id: "my_pipeline"
|
|
|
- - match: { pipelines.0.id: "my_pipeline" }
|
|
|
- - match: { pipelines.0.config.description: "_description" }
|
|
|
+ - match: { my_pipeline.description: "_description" }
|
|
|
|
|
|
- do:
|
|
|
ingest.delete_pipeline:
|