Update document ingestion status
This commit is contained in:
@@ -62,7 +62,7 @@ public class KSFileController {
|
|||||||
ksDocument.setFileName(file.getOriginalFilename());
|
ksDocument.setFileName(file.getOriginalFilename());
|
||||||
ksDocument.setName(file.getOriginalFilename());
|
ksDocument.setName(file.getOriginalFilename());
|
||||||
ksDocument.setDescription(fileUploadDTO.getDescription());
|
ksDocument.setDescription(fileUploadDTO.getDescription());
|
||||||
ksDocument.setIngestionStatus("LOADED");
|
ksDocument.setIngestionStatus("INGESTION_QUEUE");
|
||||||
ksDocument.setIngestionDateFormat(new SimpleDateFormat("MM/dd/yy").format(new Date()));
|
ksDocument.setIngestionDateFormat(new SimpleDateFormat("MM/dd/yy").format(new Date()));
|
||||||
|
|
||||||
Date now = new Date();
|
Date now = new Date();
|
||||||
|
|||||||
Reference in New Issue
Block a user