Commit 90e5461
authored
[FSSDK-11874] Remove holdouts from master (#420)
* Rename ODP cache.go to lru_cache.go to match original naming convention
* Remove holdout functionality from master - prepare for clean CMAB v2.2.0 release
- Revert all holdout-related changes from PR #415
- Remove Holdout structs, methods, and processing logic from:
* pkg/entities/experiment.go
* pkg/config/datafileprojectconfig/entities/entities.go
* pkg/config/datafileprojectconfig/config.go
* pkg/config/datafileprojectconfig/config_test.go
* pkg/config/datafileprojectconfig/mappers/experiment_test.go
- Holdout functionality preserved in disable-holdouts-feature-toggle branch
- Maintain clean CMAB-only release per reviewer requirements
- All tests pass, public API compatibility maintained
* Add missing Cache interface to pkg/odp for backward compatibility
- Add Cache interface to pkg/odp/lru_cache.go
- Maintains backward compatibility for existing code importing from pkg/odp
- Fixes breaking change where users could no longer use odp.Cache
- Per reviewer feedback to preserve old public interfaces
* Move cache interface back to pkg/odp/cache for backward compatibility
- Move pkg/odp/lru_cache.go to pkg/odp/cache/lru_cache.go
- Update package declaration from 'odp' to 'cache'
- Update imports to use alias 'pkgCache' to avoid naming conflicts
- Restores the original import path for users who import pkg/odp/cache
- Addresses reviewer feedback about restoring old cache path structure
* Fix gofmt formatting issue in cache file
Remove trailing whitespace from comment line to fix linter error.1 parent 9f4ba4f commit 90e5461
File tree
6 files changed
+38
-441
lines changed- pkg
- config/datafileprojectconfig
- entities
- mappers
- entities
- odp/cache
6 files changed
+38
-441
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 61 | + | |
| 62 | + | |
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
| |||
271 | 266 | | |
272 | 267 | | |
273 | 268 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 269 | | |
325 | 270 | | |
326 | 271 | | |
| |||
379 | 324 | | |
380 | 325 | | |
381 | 326 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | 327 | | |
425 | 328 | | |
426 | 329 | | |
| |||
462 | 365 | | |
463 | 366 | | |
464 | 367 | | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | 368 | | |
471 | 369 | | |
472 | 370 | | |
| |||
0 commit comments