]> source.dussan.org Git - sonarqube.git/commit
SONAR-2381, SONAR-2382 Web services return comment in HTML by default
authorFabrice Bellingard <bellingard@gmail.com>
Wed, 4 May 2011 14:53:02 +0000 (16:53 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Wed, 4 May 2011 14:53:02 +0000 (16:53 +0200)
commit1ae9da926fecb5e2eac4bb9f2f21c60db30320b4
tree6eaa5ee7c401c52a75db7fa06cbdf590b2cac186
parent1d3bedbab5cc4c5051db2b1781d43d1a7b68395f
SONAR-2381, SONAR-2382 Web services return comment in HTML by default

Available for the Violation and Review WS:
- parameter 'output' on the request
- if set to 'html', comments are returned in HTML
- otherwise comments are returned as raw text
- Java WS client updated consequently
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/reviews_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/violations_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/review.rb
sonar-server/src/main/webapp/WEB-INF/app/models/rule_failure.rb
sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewQuery.java
sonar-ws-client/src/main/java/org/sonar/wsclient/services/ViolationQuery.java
sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewQueryTest.java
sonar-ws-client/src/test/java/org/sonar/wsclient/services/ViolationQueryTest.java