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…
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!
Hi, Spring fans! Welcome to another installment of This Week in Spring! How're you doing? I'm still fresh off my little vacation last week, feeling fantastic. I've spent the last several days working with Spring Boot and Spring Native and I have to tell you, they're epic.
It's gotten to the point where I sometimes spend time working on enabling Spring Native integrations for other projects - it really makes some third party abstractions come alive! It's hard to know what the right comparison is. There's not much you can do in this life that results in such an instantaneous, night-and-day difference in performance and memory profile with so few (user-visibile) changes. Imagine snapping your fingers and having your luxury hypercar (Spring Boot in this metaphor) transform into an equally capable, and very…
Hi, Spring fans! In this installment, Josh Long (@starbuxman) talks to Google Cloud Developer Advocate (and mentor, and friend!) James Ward (@_JamesWard) about his podcast Happy Path Programming (@HappyPathProg), programming, software, Spring Native, and his work at various organizations like Adobe, Heroku, Lightbend, SalesForce, and now Google Cloud.
Hi, Spring fans! Welcome to another installment of This Week in Spring! We've got a ton of great stuff to get to, and I'm otherwise on vacation (though you can still expect a new episode of A Bootiful Podcast (@BootifulPodcast), as usual) for this week, so let's get to it!
Hi, Spring fans! We wrapped up the epic SpringOne Tour installment for May a couple of days ago. Here's the Day 1 recording - Booternetes II: The YAML Strikes Back - featuring yours truly, Mark Heckler, Mario Gray, David Turanski, Tiffany Jernigan, Chris Sterling, and special guest star, Kubernetes cofounder, Joe Beda.
This edition pulls together a lot of different Spring ecosystem technologies, showing projects that you might use to more fully exploit the power of Kubernetes. Enjoy!
Today, we’re excited to announce the availability of the Azure Pipeline Task for deploying Spring Boot applications to Azure Spring Cloud. You can get started by building your pipelines using the Azure Spring Cloud task to automate Spring Boot application deployments to any number of environments and Azure Regions.
Over the past 18 months, we worked with many enterprise customers to learn about their scenarios including thoughts on automating end-to-end from idea to provisioning Azure resources to building Spring Boot applications to deploying those applications to production. Many of these…