Skip to content

this project use for log all data of ladder project service

Notifications You must be signed in to change notification settings

nimamoosavi/Audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package is an interface of Audit Project that implement in Audit Project if you need to this project you must generate a bean From It in your Project and add the project To your Pom File

Requirements

The library works with Java 8+, ladder framework 1.0.1+

Structure

this class Used For create Log and store in implementation Project such ass kafka and etc.

Audit

Audit used For log and used the Log annotation in Framework for CrossCutting Audit Project can log in File, Kafka ( used From Kafka client Project ) , Elastic search ( used From Elastic search client )

Audit Maven Central

<dependency>
            <groupId>app.ladderproject</groupId>
            <artifactId>audit</artifactId>
            <version>1.0.2-Release</version>
</dependency>

Audit Project is an Implementation Of this package and you can change It with your implementation but you must implement this interface

Example

@Service
public class AffairService extends MicroClientService<AffairReqVM, AffairResVM, Long> {
    @Override
    @Log(type = AuditFactory.AuditType.BEFORE)
    public BaseDTO<AffairResVM> create(AffairReqVM affairReqVM) {
        return super.create(affairReqVM);
    }
}

About

this project use for log all data of ladder project service

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages