Skip to content

Conversation

@ninjadq
Copy link
Member

@ninjadq ninjadq commented Apr 14, 2025

Implement Cache Adapter and Controller Enhancements

  • Added a new CacheAdapter with methods for checking cache expiry, ensuring initialization, calculating keep-alive count, and adjusting cache.
  • Created unit tests for CacheAdapter to validate its functionality under various scenarios.
  • Enhanced CacheReconciler to utilize the new CacheAdapter and manage cache operations in a structured manner.
  • Introduced mock interfaces for CacheAdapter to facilitate testing.
  • Updated the operation controller to manage operations related to the cache.
  • Added utility functions for generating random strings and constants for cache annotations and labels.
  • Implemented tests for the random string generator to ensure correctness and randomness.

ninjadq added 5 commits April 11, 2025 22:25
- Changed GitHub Actions workflow badge link to the new format.
- Increased minimum coverage thresholds for package and overall project from 60% to 80% in the test coverage configuration.
- Added a new CacheAdapter with methods for checking cache expiry, ensuring initialization, calculating keep-alive count, and adjusting cache.
- Created unit tests for CacheAdapter to validate its functionality under various scenarios.
- Enhanced CacheReconciler to utilize the new CacheAdapter and manage cache operations in a structured manner.
- Introduced mock interfaces for CacheAdapter to facilitate testing.
- Updated the operation controller to manage operations related to the cache.
- Added utility functions for generating random strings and constants for cache annotations and labels.
- Implemented tests for the random string generator to ensure correctness and randomness.
@ninjadq ninjadq merged commit b2e6bc1 into Azure:main Apr 14, 2025
4 checks passed
@ninjadq ninjadq added the feat label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant