NUWCDIVNPT / stigman-watcher

A utility that watches a path for test result files on behalf of a STIG Manager Collection
Other
6 stars 4 forks source link

feat: in scan mode, migrate addToHistory() calls to the queue handlers #93

Closed csmig closed 9 months ago

csmig commented 9 months ago

Resolves #62

This PR changes the scan mode logic for inserting newly discovered files into the historySet. The legacy logic added files into the historySet as soon as the scan function detected them. The updated code adds files later in the processing pipeline and only when the following conditions occur:

The PR also updates the unit tests for the history management features.

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed for 'NUWCDIVNPT_stigman-watcher'

Issues
0 New issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud