Digital.
Innovation.
Engineers

HashiCorp Vault in Cloud Foundry environment

In this blog post, we will describe how you could configure HashiCorp Vault in a Cloud Foundry environment. In Cloud Foundry developers provision service instances and then bind those service instances to an application. The service broker is responsible to provide those service instances by interacting with the Cloud Controller. The service brokers advertise a catalog of service offerings and service plans in the marketplace (e.g. a single node Vault plan or a clustered multinode Vault plan). They also act on requests from the marketplace for provisioning, binding, unbinding, and de-provisioning service instances.

Continue Reading

Trigger a Spring Batch job with a JMS message

Creating a batch-driven solution is pretty easy with Spring Batch. There is an excellent getting started guide on spring.io website, which explains the basics and provides example code how to start a batch job on application startup. However, batch jobs are typically executed as a result of an event. In this blog post, we are going to look how to trigger a Spring Batch job with a JMS message.

Continue Reading

Spring microservices monitoring: /metrics endpoint and ELK, Part II: Improvements

 Introduction

 As we saw in the first part of this series, it is essential necessary to monitor the health of our microservices, and  to improve the tool we developed which helps us get metrics and forward them to an Elasticsearch instance. In this chapter we will pursue the question of how can we improve the processing of the result of the metrics endpoint?

Continue Reading

DDD eXchange 2017

Last year I went to several conferences, one about JavaScript and at least two about Java. Unfortunately, the last conference was rather boring since at every Java conference they are talking about the same cool Java 8 and Java 9 stuff, for example project Jig-Saw or Lambda expressions. After listening to several “Java User Group” talks and attending one Java conference there will not be a lot of new content in another three-day conference. In my opinion this is sad and I decided this year to go to more specialised conferences.

Continue Reading