pivotal-cf / java-cfenv

Apache License 2.0
95 stars 59 forks source link

Support boot 3 #207

Closed anthonydahanne closed 1 year ago

anthonydahanne commented 1 year ago

This is an initial PR

[...]
   2023-03-15T16:57:17.64-0400 [APP/PROC/WEB/0] OUT :: Spring Boot ::                (v3.0.4)
   2023-03-15T16:57:18.03-0400 [APP/PROC/WEB/0] OUT 2023-03-15T20:57:18.027Z  INFO 7 --- [           main] o.s.c.SpringBootServiceProberApplication : Starting SpringBootServiceProberApplication v1.0.2-SNAPSHOT using Java 17.0.6 with PID 7 (/home/vcap/app/BOOT-INF/classes started by vcap in /home/vcap/app)
[...]
   2023-03-15T16:57:18.17-0400 [APP/PROC/WEB/0] OUT 2023-03-15T20:57:18.177Z  INFO 7 --- [           main] i.p.c.s.boot.CfEnvironmentPostProcessor  : Setting spring.data.redis properties from bound service [my-redis-service] using io.pivotal.cfenv.spring.boot.RedisCfEnvProcessor$Boot3
[...]
  org.springframework.cloud.RedisProber    : We could connect to Redis successfully to this URI: redis://************************************@10.0.8.36:46083
o.s.c.SpringBootServiceProberApplication : Started SpringBootServiceProberApplication in 11.199 seconds (process running for 12.755)
tremblaysimon commented 1 year ago

Is there something missing to release a new version of java-cfenv with that PR?

anthonydahanne commented 1 year ago

allô @tremblaysimon,

Is there something missing to release a new version of java-cfenv with that PR?

we decided to branch the project to have 1 branch for Spring Boot2, and another branch (main branch) for Spring Boot 3.

It should happen hopefully this month, stay tuned!

PS: similar choice was taken for: https://github.com/spring-cloud/spring-cloud-bindings/pull/94

anthonydahanne commented 1 year ago

The replacing PRs for the new branching model are created: