Files
spring-ai/spring-ai-spring-boot-testcontainers
Soby Chacko ea3fd92280 Add compatibility for MongoConnectionDetails.getSslBundle method
Add reflective check for the getSslBundle method in MongoConnectionDetails interface
to ensure compatibility between Spring Boot 3.4.x and 3.5.x. The method exists in
Spring Boot 3.5 but not in 3.4, and our code needs to work with both versions.

The implementation uses ReflectionUtils to check for the method's existence at runtime
and invokes it only when available (Spring Boot 3.5+), falling back to returning
null when using Spring Boot 3.4.

Signed-off-by: Soby Chacko <soby.chacko@broadcom.com>
2025-04-16 18:33:15 -04:00
..
2025-04-10 20:23:38 +01:00