spring-fu icon indicating copy to clipboard operation
spring-fu copied to clipboard

Generate automatically functional configuration from Spring Boot

Open sdeleuze opened this issue 4 years ago • 4 comments

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

sdeleuze avatar May 27 '20 09:05 sdeleuze

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 avatar Jun 11 '20 10:06 sdeleuze

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 ?

sdeleuze avatar Jun 11 '20 10:06 sdeleuze

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/

dsyer avatar Jun 11 '20 15:06 dsyer

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

sdeleuze avatar Sep 22 '20 14:09 sdeleuze