Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 964 Bytes

framework-java-cfenv.md

File metadata and controls

19 lines (16 loc) · 964 Bytes

Java CfEnv Framework

The Java CfEnv Framework provides the java-cfenv library for Spring Boot 3+ applications. This library sets various Spring Boot properties by parsing CloudFoundry variables such as VCAP_SERVICES, allowing Spring Boot's autoconfiguration to kick in.

This is the recommended replacement for Spring AutoReconfiguration library which is deprecated. See the java-cfenv repostitory for more detail.

It also sets the 'cloud' profile for Spring Boot applications, as the Spring AutoReconfiguration framework did.

Detection Criterion Existence of a `Spring-Boot-Version: 3.*` manifest entry No existing `java-cfenv` library found
Tags java-cf-env=<version>
Tags are printed to standard output by the buildpack detect script