- Spring Security ninja Joe Grandja has just announced the new Spring Security OAuth 2.1.1 and 2.0.4
- Spring Cloud Data Flow engineer Gunnar Hillert just announced Spring Cloud Data Flow 1.2.1
- Spring Cloud co-founder Spencer Gibb just announced Spring Cloud Dalston SR1
- I liked Jonas Hecht’s post looking at how to run Spring Boot on Docker Windows
- I loved this post from RedHat engineer Sébastien Blanc on using Keycloak, their OAuth-aware identity provider, with Spring Boot applications. Keycloak is also supported on the Spring Initializr.
- The Docker blog also has a nice post by Sophia Parafina on running a Spring Boot application in a Docker container
- The Pivotal engineering blog has a nice post by Ian Fisher on the must-know Spring Boot annotations
- the IBM DeveloperWorks blog has a nice post on building Spring Boot applications
- I really liked this post by Aboullaite Mohammed on using the Spring Boot Actuator
- the MemoryNotFound blog has a nice post on using the
@ConfigurationPropertiesannotation in a Spring Boot application.
- Grygoriy Gonchar looks at the implications for doing reactive JDBC (even if it’s just a facade around fundamentally blocking APIs) with Spring 5’s Reactor support.
- The All and Sundry blog has a nice look at writing a ratio-aware proxy using Spring Cloud Netflix Zuul to ease the migration to a new service
The Spring Blog
On behalf of the Spring Cloud Data Flow team, I’m pleased to announce the release of Spring Cloud Data Flow and Spring Cloud Data Flow for Cloud Foundry 1.2.1.RELEASE. This release provides several improvements around OAuth2 authorization.
Here are the relevant links to documentation and getting started guides.
Spring Cloud Data Flow now provides role support for OAuth2, converging with the VIEW, CREATE, MANAGE roles that Data Flow supports when using the traditional security option. Considering the varying use-case requirements across organizations in regards to security roles, the out-of-the-box implementation will assign all the VIEW, CREATE, MANAGE roles to the OAuth authenticated user. However, this can be customized by providing your own AuthoritiesExtractor.
On behalf of the community, I am pleased to announce that the Service Release 1 (SR1) of the Spring Cloud Dalston Release Train is available today. The release can be found in Maven Central. It is mostly a bugfix and documentation update. You can check out the Dalston release notes for more information.
The following modules were updated as part of Dalston.SR1:
|Spring Cloud Aws||1.2.1.RELEASE|
|Spring Cloud Bus||1.3.1.RELEASE|
|Spring Cloud Commons||1.2.2.RELEASE|
|Spring Cloud Config||1.3.1.RELEASE|
|Spring Cloud Consul||1.2.1.RELEASE|
|Spring Cloud Contract||1.1.1.RELEASE|
|Spring Cloud Netflix||1.3.1.RELEASE|
|Spring Cloud Security||1.2.1.RELEASE|
|Spring Cloud Sleuth||1.2.1.RELEASE|
|Spring Cloud Stream||Chelsea.SR2|
|Spring Cloud Vault||1.0.1.RELEASE|
|Spring Cloud Zookeeper||1.1.1.RELEASE|
Welcome to another installment of This Week in Spring! This week I’m in Amsterdam, NL and Essen, DE, talking to customers about cloud-native transformation. We’ve got a lot to cover so let’s get to it.
- Spring Tool Suite lead Martin Lippert just announced a preview of Concourse Pipeline and Cloud Foundry manifest editing support releases as a language server. These language servers can be used by any IDE or text editor that supports them, including in this case Microsoft’s Visual Studio Code and later STS itself.
- Spring Cloud Stream ninja Soby Chako just announced Spring Cloud Stream.SR2
- Simon Baslé just announced the Reactor Bismuth release train M1
- Stéphane Nicoll just announced Spring Boot 2.0M1! It’s finally here! Get the bits of the first major release towards a reactive Spring Boot 2.0. There’s so much good stuff, including an updated Gradle plugin, relaxed binding improvements, major dependency upgrades and so much more!
- I think this article by Paweł Chudzik on poor man’s batch solutions - iterating over large datasets - was very interesting. The conclusion is obvious: if you want to scroll through a large amount of records then use a
java.util.Stream<T>finder query in your Spring Data repository. That’s one obvious conclusion. May I also humbly recommend that you look at Spring Batch and have a rich man’s batch at poor man’s prices? :)
- Want easier handling form encoded JSON in Spring MVC? Vote for this issue!
- I liked this walk through on how to implement a forgot password flow with Spring Boot on the Code by Amir blog by Amir Boroumand.
- Amir Boroumand also has a nice walkthrough on creating a REST API with Spring Boot
- Our friends at JDriven are doing what appears to be an awesome (though I think Dutch-language) on MQTT and Spring Cloud Stream and Spring Cloud Data Flow
- I liked this fairly approachable look at how to deploy Hashicorp Vault to Cloud Foundry by our very own Toshiaki Maki.
- Want a bit of insight into what the future of Serverless looks for Spring? Check out the slides to the good Dr. Dave Syer’s presentation on Spring Cloud Function at Spring IO
- WeaveWorks’ Scope is now available and supports Cloud Foundry
- I liked this rant from Steve Yegge on why Kotlin is a nice language. Interesting reading!
New beta versions of Concourse pipeline and Cloud Foundry manifest editing support released for Visual Studio Code
Back in February 2017 we started to introduce new IDE-agnostic tooling support with our first beta version of the Cloud Foundry manifest editing support. As promised, we continue this journey with an improved version of the Cloud Foundry manifest editing support for Visual Studio Code and brand-new support for editing Concourse task and pipeline definitions - also as an extension to Visual Studio Code. This marks our second step towards implementing tooling in an IDE-agnostic way, adopting the language server protocol from Visual Studio Code.
On behalf of the community, I am happy to announce the release of Spring Cloud Stream Chelsea.SR2. This is the second general availability release in the Chelsea release train, which fixes a number of issues over Chelsea.SR1.
The new release is available in Maven Central, and a detailed description of its features can be found in the reference documentation. For information about artifacts and most recent changes, please consult the release notes.
After the release, we will start working on the next Spring Cloud Stream release train, named
Ditmars, as well as expand the Spring Cloud Stream ecosystem. In parallel with developing the
Ditmars release train, we will start work on the
Elmhurst release train which will be based on Spring Framework 5 and Spring Boot 2.
On behalf of the Reactor team, it is my pleasure to announce that Reactor hit an important milestone last week, making the
Bismuth-M1 release train available.
This first milestone backs the newly released Spring Framework 5 RC1. It notably includes version
As the 3.1.x generation is slated to be the long term support branch (as is appropriate for a version that backs the Spring framework), focus has been on stabilizing and polishing the API. As such, expect some breaking changes from the 3.0.x versions .
On behalf of the team and everyone that contributed, I am pleased to announce that the first milestone of Spring Boot 2 has been released and is available from our milestone repository. This release closes over 300 issues and pull requests!
This first milestone builds on and requires Spring Framework 5.0.RC1. There are a number of nice refinements in Spring Framework 5 including extensive support for building reactive applications.
Highlights of this first milestone include:
- A complete rewrite of the Gradle plugin (including a dedicated guide)
- Support of reactive web applications development using WebFlux or WebFlux.fn: dedicated
spring-boot-starter-webfluxstarter using Netty by default, support for
@WebFluxTestfor testing your reactive controller and reactive data support for MongoDB, Redis and Cassandra
- Major dependencies upgrade across the portfolio: Spring Data Kay M3, Spring Security 5.0 M1, Spring Integration 5.0 M4, Spring AMQP 2.0 M4, Spring Session 2.0 M1 and Spring Batch 4.0 M2
- Relaxed binding has been improved
Welcome to another installment of This Week in Spring! This week I am in Munich for the Spring Meetup; Berlin for OSDC; Krakow for Geecon; Barcelona for Spring I/O, and Eindhoven for NextBuild. If you’re around, say hi.
As usual, we’ve got a lot to cover so let’s get to it!
- Dr. Mark Pollack just announced Spring Cloud Data Flow 1.2GA!, including the server editions for local, Kubernetes, YARN and Cloud Foundry. This new release is packed with good stuff. I particularly like the support for composed tasks, which lets me orchestrate a flow of tasks as a cohesive unit-of-work. This is ideal for complex ETL pipelines. It even includes support for sequential, parallel, and conditional sequence transitions. And, of course, all of this can be mixed-and-matched. Previously, to get this kind of power, you had to manually wire up remote partitioning in a Spring Batch job. Or setup some very complicated Spring Integration flow. And neither would’ve given me everything this does. It also includes support for better runtime visibility into what is happening, OAuth support, role-based access, and much more. This is a very cool release! Get the bits and try it out now!
- Spring Boot 2.0M1 has just been released!
- Spring Batch 4 keeps chugging along! The new milestone includes updates to the Java configuration API (new builders!) and dependdency updates.
- Spring REST Docs lead Andy Wilkinson has just published a maintenance release
- Spring Security lead Rob Winch just announced the first Milestone of the new 5.0 line. The new release includes OAuth 2.0 and OpenID connect 1.0 support as well as reactive integration!
- never one to rest, Rob also announced Spring Session 2.0 M1 which integrates with Spring Framework 5.
- there are exciting changes a brewin’ in the new Pivotal Spring education. Paul Chapman has the details here
- Spring Data ninja Mark Paluch just announced Spring Data Kay M3. This release includes a raft of updates to the various data stores and improved support for reactive tailable cursors in MongoDB, among other things.
- check out this example on how to introduce Zipkin into a traditional XML Spring app
- Cereebro, a fine microservice dashboard that works with Spring Cloud, has just reached 1.0
- BOSH, which lets you deploy and manage services, has just gotten considerably simpler!
- check out this handy Reactive Thymeleaf example
- I liked this presentation which introduces consumer driven contract testing
- Alex Soto is back with a second installment on how to test Spring Boot applications using Arquillian
- This Tensorflow integration for Spring Cloud Data Flow looks awesome
- Not strictly Spring specific, but I liked this resource on how and where to apply Kotlin on the server side