cyberark / conjur-spring-boot-sdk

Apache License 2.0
5 stars 7 forks source link

Enable Autoconfigure imports for spring-boot 3 #96

Open bnasslahsen opened 1 year ago

bnasslahsen commented 1 year ago

Desired Outcome

At the moment, projects needs to add @Import({ SpringBootConjurAutoConfiguration.class})

This PR Use META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports for auto-configuration registrations.

Support for registration in spring.factories has been removed in Spring Boot 3 (see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide sectionAuto-configuration Files).

Implemented Changes

Add auto-configuration bean to META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Changelog

Test coverage

Documentation

Behavior

Security