Forward calls with Zuul

This is the first article from a series about a very interesting framework developed by Netflix, named Zuul that can be used in many ways. This post presents how this framework can be used to dynamically route calls from one endpoint to another, according to a predefined list of rules. As always, we offer the […]

Authenticate requests using HTTP signature

A while ago we presented basic authentication as a mechanism to authenticate HTTP calls in your microservice. Today, we are going to discuss another mechanism that solves the same problem: a digital signature that can be used to validate the sender identity. The entire implementation is again available in a Github repository and it’s based […]

Basic authentication in Spring Boot

Today we want to present you a very simple mechanism to secure your API using an authentication mechanism known as basic authentication, described in this RFC. The implementation is very simple: a servlet filter that intercept calls and reads the authentication header, decodes it and compares with value set in the properties file. As always, […]

Load service configuration details from AWS S3

Recently, we worked on a microservice that handles many queues for retrying failed tasks, each having different configuration properties. Until we calibrate our application, we had to adjust those configuration properties almost daily and that was quite painful for us: code changes, code review, deployment and tomorrow from the beginning. In order to make our […]

Controlled chaos for testing your microservice

If you run a distributed application you know that even you have 100% code coverage, integration and acceptance tests, there are components you cannot control. You cannot control hardware failure, you cannot control network latency, DNS failure and so on. Today’s post is about a library that can help testing your Spring Boot application with […]

Integrating localstack in your Sprint Boot application

A while ago we presented localstack: a framework that mocks many AWS services allowing you to develop cloud application even when you don’t have Internet connection and without spending any cent. Starting from that, we discovered recently a pretty nice library that can be used to integrate a Spring Boot application with localstack. In that […]