]> source.dussan.org Git - sonarqube.git/commit
SONAR-2404 Extend the Review web service API to create & update
authorFabrice Bellingard <bellingard@gmail.com>
Mon, 30 May 2011 12:58:02 +0000 (14:58 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Mon, 30 May 2011 17:19:11 +0000 (19:19 +0200)
commit3cd3a7dcc73cb3924d8c61f532423226bb38b38b
tree1616351a6516ed3cc0b7748ddde670162789ef98
parent9d66cd90629de1ccfc144636f66a96efbdfd53d8
SONAR-2404 Extend the Review web service API to create & update

- Java client WS: create, update and delete queries
- Added the ID of each comment on a review (JSON and XML) to be able
  to cleanly delete the last comment of a review
12 files changed:
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/reviews_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/models/review.rb
sonar-ws-client/src/main/java/org/sonar/wsclient/services/Review.java
sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewCreateQuery.java [new file with mode: 0644]
sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewDeleteQuery.java [new file with mode: 0644]
sonar-ws-client/src/main/java/org/sonar/wsclient/services/ReviewUpdateQuery.java [new file with mode: 0644]
sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ReviewUnmarshaller.java
sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewCreateQueryTest.java [new file with mode: 0644]
sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewDeleteQueryTest.java [new file with mode: 0644]
sonar-ws-client/src/test/java/org/sonar/wsclient/services/ReviewUpdateQueryTest.java [new file with mode: 0644]
sonar-ws-client/src/test/java/org/sonar/wsclient/unmarshallers/ReviewUnmarshallerTest.java
sonar-ws-client/src/test/resources/reviews/reviews-2.9.json