The FioriRecommendationHandler currently manages its own Caffeine cache keyed by <tenantId>:<entityName> and manually evicts entries in invalidateTenant. Replace by com.sap.cds.services.utils.TenantAwareCache, which handles tenant-scoped invalidation natively, and then remove the manual eviction logic.
The
FioriRecommendationHandlercurrently manages its own Caffeine cache keyed by<tenantId>:<entityName>and manually evicts entries in invalidateTenant. Replace bycom.sap.cds.services.utils.TenantAwareCache, which handles tenant-scoped invalidation natively, and then remove the manual eviction logic.