The Spring Blog

Engineering
Releases
News and Events

This Week in Spring - September 26th, 2017 (Java 9 Edition)

Hi Spring fans! What a crazy wonderful week it’s been! I’m back in San Francisco talking to customers and local partners about all things Pivotal and, also, just enjoying some fun in the San Francisco Sun while playing with Java 9 . There’s so much to like in this new release and so much to look forward to and, of course, Spring Framework 5 is Java 9 ready out of the box.

Read more...

How to get STS/Eclipse running on macOS High Sierra (10.13)

The new version of macOS called High Sierra (10.13) will soon go GA and we expect many of our STS/Eclipse users and Spring developers will upgrade their machines sooner than later. In case you have your system running with an English locale, you are fine and everything will be good.

If you are running your system with a different language configured, you will see all menu items of Eclipse or STS being disabled after the upgrade to macOS High Sierra.

The good news is: you can quickly get this fixed without waiting for an update of Eclipse or STS. Go into the Eclipse.app or STS.app package, move into the “Contents” folder, and edit the Info.plist file (with a text editor of your choice). Scroll down to the list of locales and remove everything from that list except for the “en” entry. Save the file, exit your text editor, and you are good again.

Read more...

This Week in Spring - September 19th, 2017

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I’ve been visiting the Spring and Cloud Foundry teams at Microsoft (this time, in Redmond, WA) and then it’s off to San Francisco, CA and San Antonio, TX to visit some customers. So, with that, let’s get to it!

Read more...

Spring Session MongoDB 2.0.0.M3 released

Dear Spring Community,

Spring Session MongoDB 2.0.0.M3 is released. It is based on:

In this release, several new features have been added to simplify using it with your Spring WebFlux application.

@EnableMongoWebSession
public class SpringWebFluxConfig {

}

All you must do is apply the @EnableMongoWebSession to any of your Spring configuration classes to activate session support with MongoDB. Additionally, you must provide a ReactorMongoOperations Spring bean, but if you’re using Spring Boot’s spring-boot-starter-data-mongodb-reactive starter, this is already provided.

Read more...

Security changes in Spring Boot 2.0 M4

Milestone 4 of Spring Boot 2.0 brings important changes to the security auto-configuration provided by Spring Boot.

Problem Statement

Until Spring Boot 1.x, the default auto-configuration secured all of the application endpoints using basic authentication. If actuator was on the classpath, there was a separate security configuration that applied to the actuator endpoints. The way these two auto-configurations would turn on and off was completely independent. Because of this, users wanting to provide custom security found themselves fighting ordering issues with WebSecurityConfigurerAdapters.

Read more...

This Week in Spring - September 12th, 2017

Hi Spring fans! This week I’m in Singapore for the amazing YOW! Singapore event and talking to customers.

Also, I’ll be doing a meetup on testing - don’t miss it!

Read more...

This Week in Spring - September 5th, 2017

Hi Spring fans and welcome to another installment of This Week in Spring! This week I’m in Hong Kong for the amazing YOW! Hong Kong event and then it’s off to Singapore for the YOW! Singapore event. If you’re in either region, these conferences are world-class events from Australia and they’re new in the region so I hope you’ll give them a shot.

Read more...

Simple installation of Data Flow for Kubernetes with Helm

With the new Helm chart for Spring Cloud Data Flow for Kubernetes, there is now a much simpler way of installing the software.

Helm is a package manager for Kubernetes, similar to apt, yum or homebrew. It is very easy to install and it greatly simplifies installation of an application and its dependencies into your Kubernetes cluster. The application package contents and configuration is defined in a chart. When you install it you can override any default configuration values. Helm will install any required services in addition to the ones defined in the chart. For Spring Cloud Data Flow, you have three required services: MySQL and Redis are used as the stores for Spring Cloud Data Flow state and RabbitMQ is used for the pipelines' messaging layer.

Read more...

Spring Cloud Data Flow Tips & Tricks: Interacting with the Shell

On behalf of the Data Flow team, I am pleased to introduce you to the first of a hopefully long series of posts highlighting features of Data Flow and related projects.

We’ll start gently with a short video discussing the Data Flow shell and some of its features (some of them coming directly from the Spring Shell project) by yours truly.

Topics include:

  • TAB completion

  • Keyboard shortcuts

  • Quotes handling in Spring Shell

  • Quotes handling in Data Flow DSL

The reference documentation section mentioned in the video can be found here, while reference on the general Data Flow DSL is here.

Stay tuned for more Data Flow related material in the upcoming weeks!

Read more...