java-cfenv 1.0 GA Released

Releases | Mark Pollack | March 04, 2019 | ...

The java-cfenv library is a new library for accessing Cloud Foundry Services. For Spring Boot users, it extracts service credentials from the VCAP_SERVICES environment variable and sets well known Spring Boot auto-configuration properties.

You can find more about it in the 1.0 M1 release blog as well as the README.

In this release the following Cloud Foundry Services are supported

  • Databases - DB2, MySQL, Oracle, Postgresql, SqlServer

  • RabbitMQ

  • Cassandra

  • MongoDB

  • Redis

  • Pivotal Single Sign On

Of note, there is a new interface, CfEnvProcessor that simplifies what you need to write in order to provide integration with other Cloud Foundry services. The docs on supporting other services has the details.

The 1.0 release is available in maven central through the dependency

<dependency>
  <groupId>io.pivotal.cfenv</groupId>
  <artifactId>java-cfenv-boot</artifactId>
  <version>1.0.0.RELEASE</version>
</dependency>

We will be releasing a 1.0.1.RELEASE shortly to fix issues in config server client configuration when using Pivotal Spring Cloud Services tile.

Thanks to Scott Frederick and David Turanski for their contributions!

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all