Spring Tips: Manipulating the Platform with the Spring Cloud Cloud Foundry Java Client Autoconfiguration

Engineering | Josh Long | April 01, 2020 | ...

Hi, Spring fans! Welcome to another installment of Spring Tip! In this installment, we look at something near and dear to my heart (and my @author tag!) - the Cloud Foundry Java client auto-configuration.

What is Cloud Foundry?

Cloud Foundry is an open-source PaaS. It has a lot of flexibility. I'm in love with it if I'm honest. It's simple. I love things like it that give me flexibility without requiring too many sacrifices at the altar of the YAML deity. It's an opinionated platform as a service. You give the platform an application, and it deploys them. You upload a spring boot app, and it figures out that the app is a standalone, self-contained, so-called "fat" .jar and it downloads the required JDK, configures the necessary amount of memory and then creates a filesystem with your…

This Week in Spring - March 31st, 2020

Engineering | Josh Long | March 31, 2020 | ...

Hi, Spring fans! Welcome to another extra-meaty installment of This Week in Spring! This week, we've got a ton of stuff to look at so I won't belabor it!

Spring Data Neumann goes RC1

Releases | Mark Paluch | March 31, 2020 | ...

I'm pleased to announce that Spring Data Neumann has entered the release candidate phase with 86 tickets fixed. This release is the first of two release candidates. This release candidate ships with a series of noteworthy changes:

  • Upgrade to Couchbase SDK 3.
  • Spring Data MongoDB no longer automatically creates indexes from @Indexed annotations by default.
  • The Cassandra module supports configurable naming strategies and ships with a revised data type resolution mechanism.
  • Spring Data Elasticsearch now supports auditing and entity callbacks.
  • Support for query derivation in Spring Data R2DBC.
  • Dialect discovery for Spring Data JDBC, supporting H2, HSQLDB, Postgres, MariaDB, MySQL, and SQL Server.
  • Upgrade to Querydsl 4.3.
  • Ready for JDK 14.

Spring Boot for Apache Geode & Pivotal GemFire 1.2.6.RELEASE Available

Releases | John Blum | March 27, 2020 | ...

On behalf of the Spring, Apache Geode & Pivotal GemFire communities, it is my pleasure to announce the release of Spring Boot for Apache Geode & Pivotal GemFire (SBDG) 1.2.6.RELEASE.

SBDG 1.2.6.RELEASE is based on the newly minted Spring Boot 2.2.6.RELEASE and is available in Maven Central.

You may also begin a new Spring for Apache Geode (or Pivotal GemFire) project at start.spring.io using the Spring Initializer.

One, very important change in this release, includes a fix for an SSL auto-configuration issue when TLS is enabled and a Spring Boot app using Pivotal Cloud Cache (PCC) is pushed up…

@DynamicPropertySource in Spring Framework 5.2.5 and Spring Boot 2.2.6

Engineering | Andy Wilkinson | March 27, 2020 | ...

Recently, when talking about testing Spring Boot applications at Spring IO and SpringOne Platform, I've mentioned Testcontainers and discussed the boilerplate involved in configuring your tests to use the service running inside the container. I'm delighted to say that, with the recent Spring Framework 5.2.5 release, that boilerplate is no more.

Prior to the changes that we've just released, your integration test would look similar to the following:

@SpringBootTest
@Testcontainers
@ContextConfiguration(initializers = ExampleIntegrationTests.Initializer.class)
class ExampleIntegrationTests…

Spring Boot 2.2.6 available now

Releases | Stéphane Nicoll | March 26, 2020 | ...

On behalf of the team and everyone who has contributed, I'm happy to announce that Spring Boot 2.2.6 has been released and is now available from repo.spring.io and Maven Central.

This release includes 53 bug fixes, enhancements, documentation improvements, and dependency upgrades and adds support for the recently released Java 14. Thanks to all those who have contributed with issue reports and pull requests.

How can you help?

If you're interested in helping out, check out the "ideal for contribution" tag in the issue repository. If you have general questions, please ask on stackoverflow.com using the spring-boot tag or chat with the community on Gitter

Liveness and Readiness Probes with Spring Boot

Engineering | Brian Clozel | March 25, 2020 | ...

Update: this blog post has been updated for changes released in Spring Boot 2.3.0.RC1

The Spring Boot team is actively working on a Kubernetes theme for the next 2.3.0 release. After Docker images creation and Graceful Shutdown support, it’s now time to introduce Liveness and Readiness probes support.

With our 2.2.0 release, Spring Boot shipped with the Health Groups support, allowing developers to select a subset of health indicators and group them under a single, correlated, health status.

Even with this new feature, we’ve found that we could provide more to the Spring community, with more…

Spring Data Moore SR6 available now

Releases | Mark Paluch | March 25, 2020 | ...

On behalf of the community, I'm pleased to announce the availability of the Spring Data Moore SR6 service release. This release ships with dependency upgrades and bug fixes in preparation for the upcoming Spring Boot 2.2.6.RELEASE release.

This release ships with 46 tickets fixed and is a recommended upgrade. Finally, here are links to the reference documentation, changelogs, and artifacts of the individual project releases:

Spring Tips: Spring Cloud Loadbalancer

Engineering | Josh Long | March 25, 2020 | ...

speaker: Josh Long (@starbuxman)

Hi, Spring fans! Welcome to another installment of Spring Tips! In this installment, we're going to look at a new feature in Spring Cloud, Spring Cloud Loadbalancer. Spring Cloud Loadbalancer is a generic abstraction that can do the work that we used to do with Netflix's Ribbon project. Spring Cloud still supports Netflix Ribbon, but Netflix Ribbons days are numbered, like so much else of the Netflix microservices stack, so we've provided an abstraction to support an alternative.

The Service Registry

For us to use the Spring Cloud Load Balancer, we need to have a service registry up and running. A service registry makes it trivial to programmatically query for the location of a given service in a system. There are several popular implementations, including Apache Zookeeper, Netflix's Eureka, Hashicorp Consul, and others. You can even use Kubernetes and Cloud Foundry as service registries. Spring Cloud provides an abstraction, DiscoveryClient

Get the Spring newsletter

Thank you!

Get ahead

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

Learn more

Get support

Spring Runtime 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