Utilize status field on inspection table to report Inspection Findings #1318
Labels
backend
Backend related functionality
database-change
Will require migration
frontend
Frontend related functionality
improvement
Improvement to existing functionality
question
Further information is requested
stale
This issue or pull request already exists
ux
Issue needs input from UX designer
Describe the improvement you would like to see
Have a status on the inspection which tells us, is_completed or is_reported. Naturally everything that is completed should be reported once. Right now this is handled by running the service every day and going back 24 hours and fetching inspection findings but if the service goes down than we are at a risk of loss of inspection data.
Describe the solution you'd like
Run the service every day at a set time as it is designed right now but fetch all the inspections which have status is_completed but not is_reported.
Change status to is_repoerted after fetching them and compiling them into a inspection report.
How will this feature affect the current Threat Model?
NA. Feel free to add anything here,
The text was updated successfully, but these errors were encountered: