trigger "Load results from files" command from the palette
select analysis results and/or solutions
a) file format: JSON
b) loading solutions is a stub - to be continued in follow-up
c) if multiple files with analysis results(or solutions) are selected only the first one will be used - possible other approaches are failing the import or merging the files
results are loaded into UI - both VS Code views and our webview
Related refactorings:
decouple loading the data from analyzer client - now it operates on the state only
move diagnosticCollection to the state - it has an extension-wide scope
disable triggering "analysisComplete" message from analyzer client - it duplicates "loadStoredAnalysis" message
move anaylzerResultsts helper to newly created data module - after loading results functionality was moved from the analyzer client it was not used in this module
removed clearing rule sets from "konveyor.runAnalysis" command - delay the action until results will be ready. Loading the new results should overwrite old results.
Use case:
Related refactorings: