So, I miss the point “how can I upload a component?”
If I can, I can write it on a file system, visible by sonarQub. But how do I know the file system?
I think you misinterpreted how SQ works. It analyses code with the help of a scanner. The SonarQube application in itself does not analyze code.
Once the scanner is done, he sends its report to SonarQube which processes it (create components, store the code, measures, issues, etc.). This is not something you will do manually with API calls.
I invite you to carefully read the page I linked, and more generally the documentation.
I don’t see the page you linked.
I understand now that SonarQube only registers the result. So, I need to find a way to execute the scanner by an API: could you point me to an API to execute it?
I found this page https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/.
I found this GitHub https://github.com/SonarSource/sonar-scanner-api but no documentation “how to use it” or a Javadoc to use the API. I may need to re-engineering the source code
Bizarre, the sonar scanner should be installed with the sonarqube (because it scans my example) but I don’t find it in the installation.