Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Pierre b6f0a55c06 NO-JIRA Update license headers to 2024 pirms 4 mēnešiem
..
src/main NO-JIRA Update license headers to 2024 pirms 4 mēnešiem
README.md Fix sonar-ws-generator/README pirms 5 gadiem
build.gradle SONAR-20328 Upgrade sonar-orchestrator version and update affected tests from breaking changes. pirms 7 mēnešiem
run.sh Double-quote variables used in command arguments in Bash pirms 5 gadiem

README.md

What is this project used for?

The sonar-ws-generator must be used to generate the java sources used to access the Web API (HTTP) of SonarQube. The generated sources are not compilable on their own, but require to be copied in the sonar-ws module.

How do I use it?

  • Make your changes on the SonarQube Web API (protobuf specification of responses in sonar-ws or WebService implementations in sonar-server)
  • Build SonarQube with ./gradlew build -x test -x obfuscate)
  • Run generator: sonar-ws-generator/run.sh
  • Check your git status: the generated sources are copied in sonar-ws/src/main/java. Please double check the changed code.
  • Now you can rebuild sonar-ws and use it in integration tests

Hints

  • A request parameter has type List<String> if its description contains “comma-separated” or “list of” (case insensitive). Examples:
    • “Comma-separated list of metric keys”
    • “List of metric keys”