Fixed path
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user