Fixed path

This commit is contained in:
2025-05-14 15:05:38 +02:00
parent 33b7283435
commit dfd7cf3b55

View File

@@ -31,7 +31,7 @@ public class VideoController {
@Autowired @Autowired
private KSVideoRepository ksVideoRepository; private KSVideoRepository ksVideoRepository;
private String document_path="/mnt/apollo_storage/documents"; private String document_path="/mnt/apollo_storage/videos";
private static final Logger logger = LoggerFactory.getLogger(VideoController.class); private static final Logger logger = LoggerFactory.getLogger(VideoController.class);
@@ -67,7 +67,7 @@ public class VideoController {
ksVideo.setFileName(file.getOriginalFilename()); ksVideo.setFileName(file.getOriginalFilename());
ksVideo.setName(file.getOriginalFilename()); ksVideo.setName(file.getOriginalFilename());
ksVideo.setDescription(videoUploadDTO.getDescription()); ksVideo.setDescription(videoUploadDTO.getDescription());
ksVideo.setIngestionStatus("INGESTIONo_QUEUE"); ksVideo.setIngestionStatus("INGESTION_QUEUE");
Date now = new Date(); Date now = new Date();
ksVideo.setIngestionDate(now); ksVideo.setIngestionDate(now);