Closed IridiumOxide closed 9 months ago
The updates to the Aperture SDK for Java focus on enhancing caching capabilities. New classes and enums have been introduced to handle cache lookups, insertions, and deletions, along with additional fields and methods in existing classes to support these features. Exception handling and logging have been improved, and the Flow
class now includes new fields and methods for cache interaction and error retrieval.
File Path | Change Summary |
---|---|
.../aperture/sdk/ApertureSDK.java |
Added CacheLookupRequest import and updated startFlow method with new cacheLookupRequest field and exception handling. |
.../aperture/sdk/FeatureFlowParameters.java |
Added resultCacheKey and globalCacheKeys fields with getters and builder methods. |
.../aperture/sdk/Flow.java |
Added imports, new fields, constructor parameters, methods for cache interaction, exception handling, and logging. |
.../aperture/sdk/cache/KeyDeleteResponse.java |
Introduced new class with error field and getter. |
.../aperture/sdk/cache/KeyLookupResponse.java |
Added new class with value , lookupStatus , error fields, constructor, and getters. |
.../aperture/sdk/cache/KeyUpsertResponse.java |
Created new class with error field, constructor, and getter. |
.../aperture/sdk/cache/LookupStatus.java |
Introduced new enum with HIT and MISS constants and getValue method. |
.../aperture/sdk/cache/Utils.java |
New class with static methods to convert cache lookup status and errors. |
🐇✨ In the land of code, where Java beans sprout, A rabbit hopped in, with a cache-flush shout. "New keys to add, and old ones to clear, Let's celebrate the cache, with a hop and a cheer!" 🎉🐰 ✨🐇
Description of change
Checklist
Summary by CodeRabbit
New Features
Enhancements
FeatureFlowParameters
with new fields and methods for cache key management.Flow
class constructor to handle additional caching parameters and error handling.Bug Fixes
startFlow
method to ensure robust error reporting.Documentation
@coderabbitai ignore