Commit d753695
authored
🌊 [Group streams] Promote unmanaged Classic streams when added as member (#233896)
## Summary
If a user submits a Group stream that has an unmanaged Classic stream as
a member, we would fail since during validation we check to find all
members in the desired state.
Since we do not load all unmanaged Classic streams into the state, this
would fail for a request that is otherwise valid.
In this PR, I'm adding a cascading effect that "promotes" any unmanaged
Classic stream to a managed Classic stream if it is added as a member of
a Group stream.1 parent 223f372 commit d753695
File tree
2 files changed
+96
-10
lines changed- x-pack/platform
- test/api_integration_deployment_agnostic/apis/streams
2 files changed
+96
-10
lines changedLines changed: 59 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
49 | 93 | | |
50 | 94 | | |
51 | 95 | | |
| |||
115 | 159 | | |
116 | 160 | | |
117 | 161 | | |
| 162 | + | |
118 | 163 | | |
119 | 164 | | |
120 | 165 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 166 | + | |
127 | 167 | | |
128 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
129 | 181 | | |
130 | 182 | | |
131 | 183 | | |
| |||
Lines changed: 37 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
313 | 347 | | |
314 | 348 | | |
315 | 349 | | |
| |||
335 | 369 | | |
336 | 370 | | |
337 | 371 | | |
338 | | - | |
| 372 | + | |
339 | 373 | | |
340 | 374 | | |
341 | 375 | | |
342 | 376 | | |
343 | 377 | | |
344 | | - | |
| 378 | + | |
345 | 379 | | |
346 | 380 | | |
347 | 381 | | |
| |||
0 commit comments