Spring Cloud Contract in a polyglot world

Engineering | Marcin Grzejszczak | February 13, 2018 | ...

This article contains a short reminder of what Contract Testing is, how Spring Cloud Contract implements it, and how Spring Cloud Contract can be used in a polyglot world.

What is Contract Testing

In order to increase the certainty that our systems behave properly, we write different types of tests. According to the test pyramid the main types of tests are unit, integration, and UI. The more complex the tests, the more time and effort they require and the more brittle they become.

In a distributed system, one of the most frequent problems is testing integrations between applications. Let’s assume that your service sends a REST request to another application. When using Spring Boot, you can write a @SpringBootTest in which you test that behavior. You set up a Spring context, you prepare a request to be sent…​ and where do you send it? You haven’t started the other application, so you get a Connection Refused

This Week in Spring - February 13th, 2018

Engineering | Josh Long | February 13, 2018 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I've been in Munich and Frankfurt, Germany, and Minneapolis, Minnesota, and it looks like i'll be in New York City and San Francisco for the balance of the week.

We've got a lot to cover so without further ado so let's get started.

Spring Web Flow 2.5 RC1 is available

Engineering | Rossen Stoyanchev | February 12, 2018 | ...

The first and only release candidate planned for Spring Web Flow 2.5 is now available from the Spring Milestones repository. The samples repository has been updated to use it.

This release provides an upgrade path to Spring Framework 5 along with Java 8, Servlet 3.1, Hibernate 5, Tiles 3, and JSF 2.2 as minimum requirements.

In this release "spring-js" has been merged with "spring-webflow" so there is no longer a separate "spring-js" module. As a result some configuration classes have changed packages. The "spring-js-resources" module is still available but as an optional module that must be…

This Week in Spring - February 6th, 2018

Engineering | Josh Long | February 06, 2018 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I'm in Stockholm, Sweden, for the epic (and snowy) JFokus event, then it's off to Frankfurt, Germany for the OOP show. If you're at either event, don't hesitate to reach out and say hi on Twitter (@starbuxman)!

Spring Cloud Stream Elmhurst.M4 /2.0.0.M4 Release Announcement

Engineering | Oleg Zhurakousky | February 05, 2018 | ...

We are pleased to announce the 2.0.0.M4 release of the Spring Cloud Stream Elmhurst release train.

Spring Cloud Stream Elmhurst 2.0.0.M4 is available for use in the Spring Milestone repository. The release notes include relevant information about version compatibility with Spring Boot, Spring Cloud, Spring AMQP, and Spring for Apache Kafka.

The following sections list the summary of features and improvements included in this release:

  • Continuing performance improvements around Content-type resolution
  • Introduction of Polling Source as an alternative to the event-driven message consumption
  • StreamListener Infrastructure enhancements to primarily deal with multiple destination (details to follow)
  • Continuing Documentation improvements
  • Various other enhancements and bug fixes

This Week in Spring - January 30th, 2018

Engineering | Josh Long | January 31, 2018 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I was in Los Angeles and Chicago and now I'm in San Francisco, taking meetings with Pivotal ecosystem folks and customers. We've got an incredibly busy week's worth of stuff ahead of us, so let's get to it!

Next Generation OAuth 2.0 Support with Spring Security

Engineering | Joe Grandja | January 30, 2018 | ...

Note

See the latest announcements on Announcing the Spring Authorization Server and Spring Security OAuth 2.0 Roadmap Update

Current State

The current state of OAuth 2.0 Support, within the Spring projects portfolio, is spread out between Spring Security OAuth, Spring Cloud Security, Spring Boot 1.5.x, and the new support introduced in Spring Security 5. As a user of OAuth, you may be asking, "Which project(s) do I use? And why has Spring Security 5 introduced new support into the mix?"

To put it simply, there was a need to unify the OAuth 2.0 support into one project in order to provide a…

Reactor Bismuth-SR5 is out!

Engineering | Stephane Maldini | January 30, 2018 | ...

Improvements, new features, and fixes have landed in a Maven Central mirror near you under Bismuth-SR5 Bill Of Material. This version is now used by Spring Framework 5.0.3 and the upcoming Spring Boot 2.0.RC1! Our site projectreactor.io has been updated with the latest versions.

Reactor-Core 3.1.3

release notes

A quality update including more than a dozen fixes and just a couple new features: new Flux#delaySequence and Signal#getContext access to the current flow Context.

reactor-test also welcomed new features including Context verification facilities and a StepVerifier#toString

This Week in Spring - January 23rd, 2018

Engineering | Josh Long | January 23, 2018 | ...

Hi Spring fans! Welcome to another installment of This Week In Spring. This week I'm in Los Angeles (warm!) talking to customers and then it's off to Chicago (not warm!). There's so much good stuff to cover this week so let's get to it!

This Week in Spring - January 16th, 2018

Engineering | Josh Long | January 17, 2018 | ...

Aloha! This week I'm in sunny Honolulu for the first annual LavaOne conference. If you're not here, you should be! The show is amazing, enjoys 50% female to male audience attendance, the speakers are world-class (well, except yours truly, but don't tell them that..) and the location is pretty hard to beat!

That said, nothing gives me more pleasure than saddling up to a table with a laptop, some green tea, sunglasses and sunscreen lotion and checking in on the community. This week's been a heckuva week indeed! Lot's of great stuff so let's get to it!

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