]> source.dussan.org Git - sonarqube.git/commit
SONAR-8618 SONAR-8619 add organization to WS response
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 12 Jan 2017 10:37:24 +0000 (11:37 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Mon, 16 Jan 2017 10:38:43 +0000 (11:38 +0100)
commit07fadf8d962c783c4d8e3430bb5440e687f1848c
treee6537c59742944a41d3139ca446d36669277036b
parentf3f4825a1d43a3ba80204c68edf1e189a7b2e385
SONAR-8618 SONAR-8619 add organization to WS response

since api/components/show and api/components/tree rely on the same piece of code to add the organization key to the WS response, they are modified in the same commit
server/sonar-server/src/main/java/org/sonar/server/component/ws/ComponentDtoToWsComponent.java
server/sonar-server/src/main/resources/org/sonar/server/component/ws/show-example.json
server/sonar-server/src/main/resources/org/sonar/server/component/ws/tree-example.json
server/sonar-server/src/test/java/org/sonar/server/component/ws/ShowActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/TreeActionTest.java