Commit ca0af66
committed
fix(cache): add @operation to flushAll and fix fragile test assertion
- Add @Operation/@ApiResponses to flushAll() documenting behavior change
(permission reset + PushPublishing reload) and that provider param is
ignored
- Change freeMemory assertion from > 0 to >= 0 to prevent flaky failures
under CI memory pressure1 parent 6724ec9 commit ca0af66
3 files changed
Lines changed: 25 additions & 8 deletions
File tree
- dotCMS/src/main
- java/com/dotcms/rest/api/v1/system/cache
- webapp/WEB-INF/openapi
- dotcms-integration/src/test/java/com/dotcms/rest/api/v1/system/cache
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
345 | 348 | | |
346 | 349 | | |
347 | | - | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
350 | 363 | | |
351 | 364 | | |
352 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4244 | 4244 | | |
4245 | 4245 | | |
4246 | 4246 | | |
| 4247 | + | |
| 4248 | + | |
4247 | 4249 | | |
4248 | 4250 | | |
4249 | 4251 | | |
| |||
4253 | 4255 | | |
4254 | 4256 | | |
4255 | 4257 | | |
4256 | | - | |
4257 | | - | |
4258 | | - | |
4259 | | - | |
4260 | | - | |
| 4258 | + | |
| 4259 | + | |
| 4260 | + | |
| 4261 | + | |
| 4262 | + | |
| 4263 | + | |
| 4264 | + | |
4261 | 4265 | | |
4262 | 4266 | | |
4263 | 4267 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments