This Week in Spring - June 22nd, 2021

Engineering | Josh Long | June 22, 2021 | ...

Hi, Spring fans! How're y'all doing? Can you believe we're almost halfway through this crazy little thing called 2021? Time sure flies when you're having fun! This week was no exception. I joined the my buddy Matt Raible and Brian Demeers today for the OktaDev Twitch channel and we hacked on making the Spring Boot starter for Okta work with Spring Native. The goal is that you should be able to bring your application unchanged with Spring Native, and this is yet another example of that working. We didn't know what issues we were going to face, but we managed to figure out the relatively minor…

This Week in Spring - June 15th, 2021

Engineering | Josh Long | June 16, 2021 | ...

Hi, Spring fans! How're you doing? I'm silly stoked! This week saw the release of Spring Native 0.10.0 and it is awesome! You absolutely have to check this release out. I put together an episode of Spring Tips, the most comprehensive of its kind, introducing (almost) everything you'll need to know about Spring Native and Spring Native 0.10.0 in particular. Start here. Spring Native is awesome and this is the comprehensive introduction I wish I'd had at the start.

The next time we meet in this humble column, next week, will be June 22nd, and by then we'll have passed summer solstice - the…

This Week in Spring - June 8th, 2021

Engineering | Josh Long | June 09, 2021 | ...

Hi, Spring fans! What's shaking? It's one of those weeks where, even though the thing I wanted to happen - a vacation with the family - didn't happen, what did happen - accidentally lots of free time with no meetings - has turned out wonderfully. It was all I could do to pry myself from the IDE to pull together this week's roundup, but I am glad I did! There's a ton of great stuff there. Let's dive into it.

"Wiremock" for RSocket

Engineering | Dave Syer | June 02, 2021 | ...

If you have an application that connects to an RSocket server at runtime, how do you test it? We need a way for a test to start a server and tell us where it is listening, and then we need to be able to register request and response examples (a.k.a. "contracts"). That’s what this project provides - it’s like Wiremock but for RSocket.

Getting Started

The easiest way to use the project is as a JUnit (Jupiter) extension, e.g:

@SpringBootTest
@ExtendWith(RSocketServerExtension.class)
class SocketsApplicationTests {
	...
}

With this extension installed the Spring Boot tests will run with an RSocket server listening on a port given by test.rsocket.server.port, so the test can connect directly to it, or (more likely) the code that it is testing will connect to it. You might need to tell it where to connect via the @SpringBootTest annotation, e.g. if the application is looking for a property at runtime called rsocket.port

This Week in Spring - June 1st, 2021

Engineering | Josh Long | June 01, 2021 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring! How're you doing? I'm doing well! I hope you're doing well, too. Can you believe we've just entered the month of June 2021? WHERE HAS THIS YEAR GONE ALREADY! It's insane. But, the march of Spring continues, and with each passing week a ton of new stuff to talk about arrives. Let's get into 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