選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.md 927B

1234567891011121314151617
  1. # What is this project used for?
  2. The *sonar-ws-generator* must be used to generate the java sources used to access the Web API (HTTP) of SonarQube.
  3. The generated sources are not compilable on their own, but require to be copied in the `sonar-ws` module.
  4. # How do I use it?
  5. * Make your changes on the SonarQube Web API (protobuf specification of responses in sonar-ws or `WebService` implementations in sonar-server)
  6. * Build SonarQube with `./gradlew build -x test -x obfuscate`)
  7. * Run generator: `sonar-ws-generator/run.sh`
  8. * Check your git status: the generated sources are copied in `sonar-ws/src/main/java`. Please double check the changed code.
  9. * Now you can rebuild sonar-ws and use it in integration tests
  10. # Hints
  11. * A request parameter has type `List<String>` if its description contains "comma-separated" or "list of" (case insensitive). Examples:
  12. * "Comma-separated list of metric keys"
  13. * "List of metric keys"