]> source.dussan.org Git - sonarqube.git/commit
SONAR-9875 Add branch= param to /api/navigation/component (#2555)
authorJanos Gyerik <janos.gyerik@sonarsource.com>
Mon, 2 Oct 2017 08:26:08 +0000 (10:26 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2017 08:26:08 +0000 (10:26 +0200)
commit583e42c16797bf57162ebd502e12241d8765a8fc
tree888ef537742529123badcb46c4e11ca5b3e396e3
parenta445698c98790be6717179f149ebd391422bb9cf
SONAR-9875 Add branch= param to /api/navigation/component (#2555)

* Add branch= param to /api/navigation/component

* Use key instead of dbkey in issues/search
server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java
server/sonar-server/src/main/java/org/sonar/server/ui/ws/ComponentAction.java
server/sonar-server/src/test/java/org/sonar/server/ui/ws/ComponentActionTest.java
server/sonar-server/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_branch.json [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/ui/ws/ComponentActionTest/return_component_info_when_file_on_master.json [new file with mode: 0644]