mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 19:45:51 +01:00
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:
committed by
SCM-Manager
parent
e74225e168
commit
56265be9a2
@@ -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
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user