Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
19 lines (16 loc) · 1.01 KB

File metadata and controls

19 lines (16 loc) · 1.01 KB
Copy raw file
Download raw file
Edit and raw actions

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-3*.jar file in the application directory or 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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.