spring boot

Request/Response logging in Spring Boot

Introduction There are scenarios where you would want to log full request/response payloads in a Spring Boot application. This recipe shows you how to utilize logback to achieve the desired results. Required Configuration Below is a sample POM with required dependencies. ...

Spring Boot Testing best practices

General recommendations to keep in mind while writing spring boot tests F.I.R.S.T Principles apply. F - Fast I - Independent R - Repeatable S - Self Validating T - Timely Isolate the functionality to be tested by limiting the context of loaded...

Spring Cloud Connectors and Datasources

Let's examine the scenario where the Spring Boot application to be migrated was an application that had two data sources, both of which were configured as Spring data sources. This means that the application had a DataSourceConfig class that was hosting bean factories which...

Spring Bootification Process

Overview The following guide will focus on the Bootification of an existing spring based Java application. Every application has the potential to take a different Bootification journey depending on a number of different factors: The application's dependency and build...

Contactez-nous