Microservices

[Guide] Implementing API Gateway pattern with Netflix Zuul and Spring Cloud

This post will give an introduction to the API Gateway pattern and demonstrate how to implement it using Spring Cloud and the Netflix OSS project Zuul. But first, lets have a look at the pattern. Chris Richardson describes this pattern here covering the usual aspects of a pattern. I’ll try to give a recap and compare with the description […]

Posted in News | Leave a comment

[Guide] Implementing Spring Cloud Config

Changing configurations on running services can be cumbersome, especially if the application doesn’t have a way to be configured remotely. Spring Cloud Config provides a way to make this easier by introducing a Config Server from which clients fetch their configuration. The figure below illustrates how Spring Cloud Config works. The Git repository is used to store […]

Posted in News | Leave a comment

[Guide] Using Swagger for documenting your Spring boot REST API

What is Swagger? Well, it’s a *must resist* … … a SWAG way of documenting your APIs. (in this dictionary SWAG refers to something being cool) Okay, with that out of the way. The guys at Swagger.io defines it to be a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand […]

Posted in News | Leave a comment

[Guide] Set up an embedded MongoDB for testing in Spring Boot

This guide will show you a nifty trick to ease your testing in projects using MongoDB in Spring Boot. Many solutions seem to appear when you search for this, but the simplest solution seems to be the build in auto-configuration for Flapdoodle’s embedded Mongo. We used Maven for our project, and added the following dependency to the pom.xml […]

Posted in News | Leave a comment