REFACTOR job to be a DTO, CompressionService is now stateless

This commit is contained in:
2025-05-11 22:26:32 +02:00
parent 518a1f3f9f
commit 7e75e16749
7 changed files with 78 additions and 121 deletions

View File

@@ -3,7 +3,7 @@ package com.ddf.vodsystem.services;
import com.ddf.vodsystem.entities.JobStatus;
import com.ddf.vodsystem.exceptions.JobNotFinished;
import com.ddf.vodsystem.exceptions.JobNotFound;
import com.ddf.vodsystem.tools.Job;
import com.ddf.vodsystem.entities.Job;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;