Angular based web portal to export data of SonarQube Issue API for public projects.
Due to CORS, this project won't work for local projects. Follow below steps to disable CORS in a Google's Chrome Web Browser as well as export the report.
- Right click on Chrome Launcher and open properties
- Under
Shortcut
tab findTarget
- Append following property inside
Target
- --disable-web-security --user-data-dir="C:/ChromeDevSession"
- Finally, it will look like below:
- "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="C:/ChromeDevSession"
- Press
Ok
and launch Chrome - Open
http://localhost:4200/
and feed SonarQube project details - Click on export to generate the excel report
Disabling CORS on recent versions of Chrome is not working at all so local export is not possible in this case.
This project was generated with Angular CLI version 9.1.7.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.