package ru.micord.ervu.audit.service.impl;

import javax.servlet.http.HttpServletRequest;

import ervu.model.fileupload.FileInfo;
import ervu.model.fileupload.UploadOrgInfo;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Service;
import ru.micord.ervu.audit.config.AuditDisableCondition;
import ru.micord.ervu.audit.model.AuditActionRequest;
import ru.micord.ervu.audit.service.AuditService;
import ru.micord.ervu.kafka.model.OrgInfo;

/**
 * @author Adel Kalimullin
 */
@Service
@Conditional(AuditDisableCondition.class)
public class StubAuditService implements AuditService {
  @Override
  public void processActionEvent(HttpServletRequest request,
      AuditActionRequest auditActionRequest) {}

  @Override
  public void processAuthEvent(HttpServletRequest request, OrgInfo orgInfo, String prnOid,
      String status, String eventType) {}

  @Override
  public void processUploadEvent(UploadOrgInfo uploadOrgInfo, FileInfo fileInfo) {}

  @Override
  public void processDownloadEvent(HttpServletRequest request, long fileSize, String fileName,
      int formatRegistry, String status, String s3FileUrl) {}
}
