How to Secure Ansible Playbook Credentials using Hashicorp Vault

When storing credentials in Ansible Playbook, usually we use Ansible Vault for encrypting the value. However, there is an alternative using Hashicorp Vault.

How to Secure REST Endpoint Using Spring Boot and OAuth2

Overview In this article, I will provide a simple example to secure REST example by using Oauth2. I will not explain what Oauth2 protocol is all about in detail. In short, to implement this authorization […]

How to Make a Simple CRUD Example using ExpressJS and Neo4j

Overview Today I will write something different in this article. Most of my articles are based on Go and Java. Now I will try to write something with Javascript, a must known programming language for […]

How to Register Spring Cloud with Consul Service Discovery

One of the main component of micro service architecture is service discovery (SD). So far in this blog I mentioned two tools for service discovery, which are Eureka and Consul. But if you may notice, whenever I used spring-cloud framework, I always choose Eureka. On the other hand, I pick consul when I talked about Golang.

How to Setup Micrometer with Prometheus in Spring Boot 1.5

Overview In this article, I will revisit a little bit my old article, but still valid, regarding monitoring your services. As you can see in my previous article, I wrote about monitoring service in Go […]

How to Install Confluent Kafka Cluster by using Ansible

Overview The rise of micro-services brings another level of software architecture, which is a event driven architecture. One of the tools out there to support this mechanism is Apache Kafka. Today’s article will speak about […]

How to Configure HikariCP in Spring Boot Application

Overview In Java world, when it comes to database connectivity, there are two main approaches to deal with. First one is direct JDBC connection by using DriverManager. The other one is by using data source. […]

How to Import Signed Certificate into Java Keystore

Overview In this short blog post, I will explain how to import certificate into Java Keystore. This steps is useful whenever you need to access HTTPS from JVM. Export the certificate from your browser as […]