-
Feature
-
Resolution: Done
-
Standard
-
None
-
3
-
Sprint 267
Problem:
Hook up basic infrastructure to touch actual file and do audit on each file.
Acceptance Criteria:
Building onDASHREPO-875 add Audit of File.
For each file, check if file exists on file system, get file size, check if file in database, get expected files size, and store results of each file checked in database report row.
If exception thrown, add file audit item, indicate exception in audit item.
Allow job to restart (via queue).
Start with single thread model.
Note: What do we do if filesystem is not available? Or, an exception is thrown.
Note: In future, this may be multithreaded, we may need to address concurrency issues with hibernate save/locking exceptions. Ideally, the process will not need to read the report object for each file objes.
Hook up basic infrastructure to touch actual file and do audit on each file.
Acceptance Criteria:
Building on
For each file, check if file exists on file system, get file size, check if file in database, get expected files size, and store results of each file checked in database report row.
If exception thrown, add file audit item, indicate exception in audit item.
Allow job to restart (via queue).
Start with single thread model.
Note: What do we do if filesystem is not available? Or, an exception is thrown.
Note: In future, this may be multithreaded, we may need to address concurrency issues with hibernate save/locking exceptions. Ideally, the process will not need to read the report object for each file objes.
- relates to
-
GTWY-815 Implement the LogicalFile to Variable mapping in the domain model and database.
- Done