Add initial audit log API

Introduce audit log API which logs all creations,
modifications and deletions of annotated entities
and everything which is stored inside a
ConfigurationStore. Without the related Audit
Log Plugin installed this API does nothing.
This commit is contained in:
Eduard Heimbuch
2023-03-09 11:25:33 +01:00
committed by SCM-Manager
parent e74225e168
commit 56265be9a2
36 changed files with 590 additions and 178 deletions

View File

@@ -24,6 +24,8 @@
package sonia.scm.repository;
import sonia.scm.auditlog.AuditEntry;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
@@ -36,6 +38,7 @@ import javax.xml.bind.annotation.XmlTransient;
*/
@XmlRootElement(name = "config")
@XmlAccessorType(XmlAccessType.FIELD)
@AuditEntry(labels = {"svn", "config"})
public class SvnConfig extends RepositoryConfig
{