Spring Boot

Consumer-Driven Contracts with Pact, Feign and Spring Data REST

When thinking about integration testing in a distributed system, you quickly come across the concept of consumer-driven contracts. This blog post gives a short introduction into this concept and a concrete implementation example using the technologies Pact, Spring Boot, Feign and Spring Data REST.

Read more

Documenting a Spring Data REST API with Springfox and Swagger

With Spring Data REST you can rapidly create a REST API that exposes your Spring Data repositories and thus provides CRUD support and more.

Read more

Accessing a Spring Data REST API with Feign

Spring Data REST is a framework that automatically exposes a REST API for Spring Data repositories, thus potentially saving a lot of manual programming work.

Read more

Handling Associations Between Entities with Spring Data REST

Spring Data Rest allows to rapidly create a REST API to manipulate and query a database by exposing Spring Data repositories via its @RepositoryRestResource annotation.

Read more

Serializing LocalDate to JSON in Spring Boot

Today, I stumbled (once again) over LocalDate in a Spring Boot application. LocalDate came with Java 8 and is part of the new standard API in Java for working with dates.

Read more

Monitoring the Error Rate of a Spring Boot Web Application

In my previous blog posts about creating monitoring metrics with Dropwizard Metrics and exposing them for the Prometheus monitoring application we already have gained a little insight into why monitoring is important and how to implement it.

Read more