cloudflightio / cloudflight-platform-spring

Cloudflight Platform for Spring
Apache License 2.0
17 stars 11 forks source link

patch: solve issue with beanpostprocessor not eligable #98

Closed rspiegl closed 7 months ago

rspiegl commented 7 months ago

In the caching module we refactored the conditionals to limit the auto configuration. Due to this the implementation of the CachingConfigurer (to get a custom CacheErrorHandler) needed a dependency on RedisConnectionFactory or else it wouldn't be able to be post processed (due to the CachingConfigurer being needed in a MeterRegistryAutoConfiguration). This PR limits the dependency on RedisConnectionFactory to the CachingConfigurer and thus makes it easier for Spring to instantiate the beans.