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 […]

Run workflows using AWS Step Functions

The previous post about integrating SWF in a Spring Boot application received a lot of feedback that convinced us this topic is interesting for our readers. But from all the replies, there was one that anticipated the subject of a future post we are going to debate today: why not using AWS Step Functions to […]

Integrating AWS SWF in a Spring Boot microservice

A while ago, we launched a series of articles about microservices using Java, Spring Boot and Amazon Web Services. Today we come with a new episode inspired by what is happening into practice: there are many cases when we need to execute from time to time a background process to complete a certain task: send […]