aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-05-19 18:03:30 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-05-23 09:38:51 +0200
commit584c902520e5a209f221672f2d0400d0b768f12b (patch)
tree23af4bb37341d5e448c74768bd218c67692780a1 /server
parentc1e24e180870470d45af355cfd05191ae6ae9d02 (diff)
downloadsonarqube-584c902520e5a209f221672f2d0400d0b768f12b.tar.gz
sonarqube-584c902520e5a209f221672f2d0400d0b768f12b.zip
SONAR-9269 WS api/issues/add_comment deprecate components.uuid field in response
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java
index 12de91a95f2..61bae87ac54 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java
@@ -73,7 +73,8 @@ public class AddCommentAction implements IssuesWsAction {
.setSince("3.6")
.setChangelog(
new Change("6.3", "the response returns the issue with all its details"),
- new Change("6.5", "the database ids of the components are removed from the response"))
+ new Change("6.5", "the database ids of the components are removed from the response"),
+ new Change("6.5", "the response field components.uuid is deprecated. Use components.key instead."))
.setHandler(this)
.setResponseExample(Resources.getResource(this.getClass(), "add_comment-example.json"))
.setPost(true);