dev delete config
Test Workflow / test (push) Waiting to run

This commit is contained in:
vladp
2026-02-17 13:24:11 +07:00
parent 633f76cd73
commit db02f23c67
3 changed files with 6 additions and 0 deletions
@@ -5,6 +5,7 @@ import com.vrt.fileprotection.FileProtector;
import com.vrt.fileprotection.NoCopyCheckResult;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Lazy;
import org.springframework.core.io.FileSystemResource;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
@@ -65,6 +66,7 @@ public class ApiController {
private final FileEntityRepository fileEntityRepository;
@Lazy
private final NoCopyFileService noCopyFileService;
private final FileUtil fileUtil;
@@ -4,6 +4,7 @@ import com.vrt.NoCopyFileService;
import com.vrt.fileprotection.FileProtector;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import ru.soune.nocopy.entity.file.FileEntity;
@@ -18,6 +19,7 @@ import java.util.List;
@RequiredArgsConstructor
public class FileProcessingOrchestrator {
@Lazy
private final NoCopyFileService noCopyFileService;
private final FileEntityRepository fileRepository;
@@ -7,6 +7,7 @@ import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -74,6 +75,7 @@ public class FileUploadServiceImpl implements FileUploadService {
@Autowired
private FileEntityService fileEntityService;
@Lazy
private final NoCopyFileService noCopyFileService;
private final FileUtil fileUtil;