|
39 | 39 | - match: { data_streams.0.name: my-data-stream-1 } |
40 | 40 | - match: { data_streams.0.mappings: {} } |
41 | 41 | - match: { data_streams.0.effective_mappings: null } |
| 42 | + - match: { data_streams.0.index_mode: time_series } |
42 | 43 |
|
43 | 44 | - do: |
44 | 45 | indices.put_data_stream_mappings: |
|
78 | 79 | - match: { data_streams.0.name: my-data-stream-1 } |
79 | 80 | - match: { data_streams.0.mappings.properties.name.type: "keyword" } |
80 | 81 | - match: { data_streams.0.effective_mappings: null } |
| 82 | + - match: { data_streams.0.index_mode: time_series } |
81 | 83 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
82 | 84 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
83 | 85 |
|
|
141 | 143 | - match: { data_streams.0.name: my-component-only-data-stream-1 } |
142 | 144 | - match: { data_streams.0.mappings: {} } |
143 | 145 | - match: { data_streams.0.effective_mappings: null } |
| 146 | + - match: { data_streams.0.index_mode: time_series } |
144 | 147 |
|
145 | 148 | - do: |
146 | 149 | indices.put_data_stream_mappings: |
|
202 | 205 | - match: { data_streams.0.effective_mappings: null } |
203 | 206 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
204 | 207 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
| 208 | + - match: { data_streams.0.index_mode: time_series } |
205 | 209 |
|
206 | 210 | - do: |
207 | 211 | indices.get_mapping: |
|
269 | 273 | - match: { data_streams.0.name: my-data-stream-1 } |
270 | 274 | - match: { data_streams.0.mappings: {} } |
271 | 275 | - match: { data_streams.0.effective_mappings: null } |
| 276 | + - match: { data_streams.0.index_mode: time_series } |
272 | 277 |
|
273 | 278 | - do: |
274 | 279 | indices.put_index_template: |
|
297 | 302 | - match: { data_streams.0.name: my-data-stream-1 } |
298 | 303 | - match: { data_streams.0.mappings: {} } |
299 | 304 | - match: { data_streams.0.effective_mappings: null } |
| 305 | + - match: { data_streams.0.index_mode: time_series } |
300 | 306 |
|
301 | 307 | - do: |
302 | 308 | indices.rollover: |
|
320 | 326 | - match: { data_streams.0.name: my-data-stream-1 } |
321 | 327 | - match: { data_streams.0.mappings: { } } |
322 | 328 | - match: { data_streams.0.effective_mappings: null } |
| 329 | + - match: { data_streams.0.index_mode: standard } |
323 | 330 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
324 | 331 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
325 | 332 |
|
|
380 | 387 | - match: { data_streams.0.name: test-data-stream-1 } |
381 | 388 | - match: { data_streams.0.mappings: {} } |
382 | 389 | - match: { data_streams.0.effective_mappings: null } |
| 390 | + - match: { data_streams.0.index_mode: time_series } |
383 | 391 |
|
384 | 392 | - do: |
385 | 393 | indices.rollover: |
|
403 | 411 | - match: { data_streams.0.name: test-data-stream-1 } |
404 | 412 | - match: { data_streams.0.mappings: { } } |
405 | 413 | - match: { data_streams.0.effective_mappings: null } |
| 414 | + - match: { data_streams.0.index_mode: time_series } |
406 | 415 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
407 | 416 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
408 | 417 |
|
|
449 | 458 | - match: { data_streams.0.name: my-data-stream-1 } |
450 | 459 | - match: { data_streams.0.mappings: {} } |
451 | 460 | - match: { data_streams.0.effective_mappings: null } |
| 461 | + - match: { data_streams.0.index_mode: time_series } |
452 | 462 |
|
453 | 463 | - do: |
454 | 464 | indices.put_index_template: |
|
477 | 487 | - match: { data_streams.0.name: my-data-stream-1 } |
478 | 488 | - match: { data_streams.0.mappings: {} } |
479 | 489 | - match: { data_streams.0.effective_mappings: null } |
| 490 | + - match: { data_streams.0.index_mode: time_series } |
480 | 491 |
|
481 | 492 | - do: |
482 | 493 | indices.rollover: |
|
500 | 511 | - match: { data_streams.0.name: my-data-stream-1 } |
501 | 512 | - match: { data_streams.0.mappings: { } } |
502 | 513 | - match: { data_streams.0.effective_mappings: null } |
| 514 | + - match: { data_streams.0.index_mode: standard } |
503 | 515 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
504 | 516 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
505 | 517 |
|
|
561 | 573 | - match: { data_streams.0.name: test-data-stream-1 } |
562 | 574 | - match: { data_streams.0.mappings: {} } |
563 | 575 | - match: { data_streams.0.effective_mappings: null } |
| 576 | + - match: { data_streams.0.index_mode: time_series } |
564 | 577 |
|
565 | 578 | - do: |
566 | 579 | indices.rollover: |
|
584 | 597 | - match: { data_streams.0.name: test-data-stream-1 } |
585 | 598 | - match: { data_streams.0.mappings: { } } |
586 | 599 | - match: { data_streams.0.effective_mappings: null } |
| 600 | + - match: { data_streams.0.index_mode: time_series } |
587 | 601 | - set: { data_streams.0.indices.0.index_name: oldIndexName } |
588 | 602 | - set: { data_streams.0.indices.1.index_name: newIndexName } |
0 commit comments