Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
guillaume-peoch-sonarsource c679155c37 SONAR-16465 Replace parameter sinceLeakPeriod with inNewCodePeriod (#6275) vor 1 Jahr
..
src/main SONAR-16465 Replace parameter sinceLeakPeriod with inNewCodePeriod (#6275) vor 1 Jahr
README.md Fix sonar-ws-generator/README vor 5 Jahren
build.gradle SONAR-15469 Stop using deprecated Gradle API in SonarQube vor 2 Jahren
run.sh Double-quote variables used in command arguments in Bash vor 5 Jahren

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”