add default separator test to dedot rest test

This commit is contained in:
Tal Levy 2016-01-18 09:25:36 -08:00
parent 7c8a1ecf37
commit 4ef85eda36
1 changed files with 32 additions and 1 deletions

View File

@ -1,5 +1,5 @@
---
"Test De-Dot Processor":
"Test De-Dot Processor With Provided Separator":
- do:
ingest.put_pipeline:
id: "my_pipeline"
@ -31,3 +31,34 @@
id: 1
- match: { _source.a3b3c: "hello world" }
---
"Test De-Dot Processor With Default Separator":
- do:
ingest.put_pipeline:
id: "my_pipeline"
body: >
{
"description": "_description",
"processors": [
{
"dedot" : {
}
}
]
}
- match: { acknowledged: true }
- do:
index:
index: test
type: test
id: 1
pipeline: "my_pipeline"
body: {"a.b.c": "hello world"}
- do:
get:
index: test
type: test
id: 1
- match: { _source.a_b_c: "hello world" }