avniproject / avni-server

Backend APIs for Avni
https://avniproject.org
GNU Affero General Public License v3.0
5 stars 25 forks source link

Decide on the tech approach related to adding audit #732

Open mahalakshme opened 1 month ago

mahalakshme commented 1 month ago

Need:

AC:

Have the below requirements/considerations when finding the approach.

References:

https://www.baeldung.com/database-auditing-jpa Spring Boot Auditing using Spring Data Envers - https://www.youtube.com/watch?v=W1Rtn28lHU8 Auditing with Spring Data JPA - https://www.youtube.com/watch?v=Pc7Une_5rMs

petmongrels commented 4 weeks ago

https://docs.google.com/document/d/1Ko1aILUcgkTCH8MTnQWW06IBq42jP79DX3RZ8_bdwbM/edit

mahalakshme commented 4 weeks ago

@petmongrels why solutions like Hibernate Envers is not a good one?

petmongrels commented 4 weeks ago

it doesn't capture direct database update

mahalakshme commented 4 weeks ago

@petmongrels oh yeah right, forgot that case somehow.