diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-05-19 18:13:00 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2017-05-23 09:38:51 +0200 |
commit | bd3ca4ff6c3a615099a2d282a370c5e553e0c0f5 (patch) | |
tree | 12615b1552aff987fe82e4cd887a89c1c987a56e | |
parent | 929ece439335493f77b0c7ebc269032680307caf (diff) | |
download | sonarqube-bd3ca4ff6c3a615099a2d282a370c5e553e0c0f5.tar.gz sonarqube-bd3ca4ff6c3a615099a2d282a370c5e553e0c0f5.zip |
SONAR-9277 WS api/issues/edit_comment deprecate components.uuid field and drop database ids in response
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java | 5 | ||||
-rw-r--r-- | server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java index f895b12dcad..849ad01acf8 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java @@ -71,8 +71,9 @@ public class EditCommentAction implements IssuesWsAction { .setSince("3.6") .setChangelog( new Change("6.3", "the response returns the issue with all its details"), - new Change("6.3", format("the 'key' parameter has been renamed %s", PARAM_COMMENT)) - ) + new Change("6.3", format("the 'key' parameter has been renamed %s", PARAM_COMMENT)), + 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(), "edit_comment-example.json")) .setPost(true); diff --git a/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json b/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json index 7cab6160070..412ea524298 100644 --- a/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json +++ b/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json @@ -4,7 +4,6 @@ "rule": "squid:S2301", "severity": "MAJOR", "component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java", - "componentId": 87163, "project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij", "line": 78, "textRange": { |