spring-projects-experimental / spring-fu

Configuration DSLs for Spring Boot
Apache License 2.0
1.67k stars 138 forks source link

Generate automatically functional configuration from Spring Boot #273

Open sdeleuze opened 4 years ago

sdeleuze commented 4 years ago

See https://github.com/spring-projects-experimental/spring-init/, cc @dsyer.

sdeleuze commented 4 years ago

spring-init has been recently upgraded to Spring Boot 2.3.0, the source code of the functional version of Boot autoconfig is available in https://repo.spring.io/snapshot/org/springframework/experimental/spring-boot-autoconfigure/2.3.0.BUILD-SNAPSHOT/spring-boot-autoconfigure-2.3.0.BUILD-20200527.144954-2-func-sources.jar to, and the artifact to use is org.springframework.experimental:spring-boot-autoconfigure:2.3.0.BUILD-SNAPSHOT with the func classifier.

sdeleuze commented 4 years ago

A question is how could we still use only the WebMvc and WebFlux functional infra (as implemented in https://github.com/spring-projects-experimental/spring-fu/commit/088e19fdb630d0d73a56a1657aa78aed0f303366) if we leverage spring-init. Will we have to wait it is supported by Boot ?

dsyer commented 4 years ago

N.B. I removed the "func" classifier and changed the artifactId to add a "-func" suffix instead. So the link above is now like this: https://repo.spring.io/snapshot/org/springframework/experimental/spring-boot-autoconfigure-func/2.3.0.BUILD-SNAPSHOT/

sdeleuze commented 4 years ago

See https://github.com/spring-projects-experimental/spring-init/issues/34#issuecomment-691868997