- 2b59704ee4 Update dependencies to suppress MongoClient output
This is going to be my main development focus for the time being. Here's a breakdown of the changes to be made: * First phase: * [ ] Replace POST API endpoint for HTML with XML. Functionally very similar, since the XML file will also be 'statically' referencable through the public API. * [ ] Remove Tarpaulin format, and add new format for Cobertura. * [ ] Test uploading reports using Istanbul and Tarpaulin. * Second phase: * [ ] Add a new template HTML page to display the XML report. * [ ] Additional static files as needed (icons, stylesheets, scripts, etc.) There shouldn't need to be any additional metadata stored this way. One of the main reasons for going this direction is that the report display page should be able to be updated without retroactive processing. Keeping a template to generate should simplify things, and if any extra metadata is needed for the template, defaults can be used or figured through some migration. This will still cause a roadblock when integrating other formats. There is still a singular/primary format, and it is not being extensively parsed for metadata (or more accurately, just data). Hypothetically, this could be eventually converted to some JSON file on the backend, and the XML endpoint dropped. That would be the third phase: to support more formats. I think Cobertura covers plenty of cases though, and for SUI purposes it will work fine for now. Different issue, different time. If or when another format gets added, there should be some metadata added to track the original upload format. That way the original format report file can still be referenced. It would be neat to someday have a secondary process running to batch format conversions. It would reduce processing time at upload for the server so the server could focus on serving and handling reports. As a bonus, this could nullify need for a migration (aside from updates to the intermediary format itself).
9 months ago