Recently I was looking for some simple options to track all changes to entities in all my microservices. After researching, I discovered the Java library named JaVers. It is designed as a framework for auditing changes in object-oriented data.

In this post, we’ll see how to use JaVers in a simple Spring Boot application and MongoDB environment to track changes of entities.

Prerequistes

  • Spring Boot 2.
  • Maven 3.6.1.
  • JAVA 8.
  • Mongo 4.4.

What is JaVers

JaVers is an audit log framework that helps to track changes of entities in the application.

The usage of this tool is not limited to debugging and auditing only. It can be successfully applied to perform analysis, force security policies and maintaining the event log, too.

#java #spring boot #maven #spring data #mongo #audit tracking

Spring Data: Data Auditing Using JaVers and MongoDB
3.00 GEEK