|
34 | 34 | name: my-data-stream-1 |
35 | 35 | - match: { data_streams.0.name: my-data-stream-1 } |
36 | 36 | - match: { data_streams.0.mappings: {} } |
37 | | - - length: { data_streams.0.effective_mappings._doc.properties: 2 } |
| 37 | + - length: { data_streams.0.effective_mappings.properties: 2 } |
38 | 38 |
|
39 | 39 | - do: |
40 | 40 | indices.get_data_stream: |
|
56 | 56 | - match: { data_streams.0.name: my-data-stream-1 } |
57 | 57 | - match: { data_streams.0.applied_to_data_stream: true } |
58 | 58 | - match: { data_streams.0.mappings.properties.name.type: "keyword" } |
59 | | - - match: { data_streams.0.effective_mappings._doc.properties.name.type: "keyword" } |
| 59 | + - match: { data_streams.0.effective_mappings.properties.name.type: "keyword" } |
60 | 60 |
|
61 | 61 | - do: |
62 | 62 | indices.rollover: |
|
71 | 71 | indices.get_data_stream_mappings: |
72 | 72 | name: my-data-stream-1 |
73 | 73 | - match: { data_streams.0.name: my-data-stream-1 } |
74 | | - - length: { data_streams.0.effective_mappings._doc.properties: 3 } |
| 74 | + - length: { data_streams.0.effective_mappings.properties: 3 } |
75 | 75 | - match: { data_streams.0.mappings.properties.name.type: "keyword" } |
76 | | - - match: { data_streams.0.effective_mappings._doc.properties.name.type: "keyword" } |
| 76 | + - match: { data_streams.0.effective_mappings.properties.name.type: "keyword" } |
77 | 77 |
|
78 | 78 | - do: |
79 | 79 | indices.get_data_stream: |
@@ -149,9 +149,9 @@ setup: |
149 | 149 | - match: { data_streams.0.mappings.properties.field1.type: "text" } |
150 | 150 | - match: { data_streams.0.mappings.properties.field2: null } |
151 | 151 | - match: { data_streams.0.mappings.properties.field3.type: "text" } |
152 | | - - match: { data_streams.0.effective_mappings._doc.properties.field1.type: "text" } |
153 | | - - match: { data_streams.0.effective_mappings._doc.properties.field2.type: "keyword" } |
154 | | - - match: { data_streams.0.effective_mappings._doc.properties.field3.type: "text" } |
| 152 | + - match: { data_streams.0.effective_mappings.properties.field1.type: "text" } |
| 153 | + - match: { data_streams.0.effective_mappings.properties.field2.type: "keyword" } |
| 154 | + - match: { data_streams.0.effective_mappings.properties.field3.type: "text" } |
155 | 155 |
|
156 | 156 | - do: |
157 | 157 | cluster.put_component_template: |
@@ -180,10 +180,10 @@ setup: |
180 | 180 | indices.get_data_stream_mappings: |
181 | 181 | name: my-component-only-data-stream-1 |
182 | 182 | - match: { data_streams.0.name: my-component-only-data-stream-1 } |
183 | | - - length: { data_streams.0.effective_mappings._doc.properties: 5 } |
| 183 | + - length: { data_streams.0.effective_mappings.properties: 5 } |
184 | 184 | - match: { data_streams.0.mappings.properties.field1.type: "text" } |
185 | | - - match: { data_streams.0.effective_mappings._doc.properties.field3.type: "text" } |
186 | | - - match: { data_streams.0.effective_mappings._doc.properties.field4.type: "keyword" } |
| 185 | + - match: { data_streams.0.effective_mappings.properties.field3.type: "text" } |
| 186 | + - match: { data_streams.0.effective_mappings.properties.field4.type: "keyword" } |
187 | 187 |
|
188 | 188 | - do: |
189 | 189 | indices.get_data_stream: |
@@ -212,7 +212,7 @@ setup: |
212 | 212 | - match: { data_streams.0.name: my-component-only-data-stream-1 } |
213 | 213 | - match: { data_streams.0.applied_to_data_stream: true } |
214 | 214 | - match: { data_streams.0.mappings null } |
215 | | - - match: { data_streams.0.effective_mappings._doc.properties.field1.type: "keyword" } |
216 | | - - match: { data_streams.0.effective_mappings._doc.properties.field2.type: "keyword" } |
217 | | - - match: { data_streams.0.effective_mappings._doc.properties.field3: null } |
218 | | - - match: { data_streams.0.effective_mappings._doc.properties.field4.type: "keyword" } |
| 215 | + - match: { data_streams.0.effective_mappings.properties.field1.type: "keyword" } |
| 216 | + - match: { data_streams.0.effective_mappings.properties.field2.type: "keyword" } |
| 217 | + - match: { data_streams.0.effective_mappings.properties.field3: null } |
| 218 | + - match: { data_streams.0.effective_mappings.properties.field4.type: "keyword" } |
0 commit comments