a67815c61a
- Updated `parseFilename` to `parseTargetFilename` and modified its return structure to include `test_id` instead of `file_id`. - Introduced `parseResultFilename` to extract `test_id` and `device` from result file names. - Enhanced `fullScan` to separately handle target and results directories, improving clarity and functionality. - Updated database interactions to use `test_id` instead of `file_id` across various modules. - Added a new `/rescan` endpoint to trigger a full scan of target and results directories. - Improved logging and error handling throughout the scanning process. - Introduced `parseTputRssi` to extract throughput and RSSI data from log files.
1.1 KiB
1.1 KiB
Design Plan
Inputs: target tests directory, result tests directory
Output: a dashboard that displays completion rate, elapsed time, estimated time remaining, and a list of all tests that can be filtered by tags
Requirements:
- A test is marked completed when there is a filename match in result tests directory
- When there is a change in the input directories, data should update automatically or when refreshed
- Dashboard can be accessed by different devices, but input directories are stored locally on one machine
- Add SSO later
Front end UI requirements:
-
Completion rate
- Overall completion rate
- CGW 452 completion rate
- CGW453 completion rate
-
Time elapsed
-
Estimated Time remaining
-
List of all tests
- Can filter by Tags:
- Completed: Boolean
- Device: String
- Rotation: String
- Test Point: String
- Station: String
- Band: String
- Channel: String
- Bandwidth: String
- RSSI: String
- Direction: String
- Can filter by Tags: