]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-18743 fix changelog and response examples of issues endpoints
authorMatteo Mara <matteo.mara@sonarsource.com>
Fri, 31 Mar 2023 14:20:36 +0000 (16:20 +0200)
committersonartech <sonartech@sonarsource.com>
Fri, 31 Mar 2023 20:03:27 +0000 (20:03 +0000)
16 files changed:
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/AddCommentAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/AssignAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/DeleteCommentAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/DoTransitionAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SetSeverityAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SetTagsAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SetTypeAction.java
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/add_comment-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/assign-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/delete_comment-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/do_transition-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/set_severity-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/set_tags-example.json
server/sonar-webserver-webapi/src/main/resources/org/sonar/server/issue/ws/set_type-example.json

index d151da7f274c44afed845531c1b9523131121224..18d576a1032c077dd3225853225b55a48e8709bd 100644 (file)
@@ -73,6 +73,7 @@ public class AddCommentAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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 response field components.uuid is deprecated. Use components.key instead."))
index 2f0624b3e9328cde3a28a9254bfd674585555cb6..9e1c9ca3231c0e7a2aef6160899650df3e294b55 100644 (file)
@@ -76,6 +76,7 @@ public class AssignAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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)
index 4d3337183fb8fdf7276ff8a8da962324e1c5e6ba..a6efef345bf4eec559fc16df80a7a6a9eee0564d 100644 (file)
@@ -61,6 +61,7 @@ public class DeleteCommentAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         new Change("6.5", "the response field components.uuid is deprecated. Use components.key instead."),
         new Change("6.5", "the database ids of the components are removed from the response"),
         new Change("6.3", "the response returns the issue with all its details"),
index a0fc52c02efc7674c790cf6ea290a115611bbcad..f9db25c4734f8fdc9d12164ff39183e88a1cc3e7 100644 (file)
@@ -83,6 +83,7 @@ public class DoTransitionAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         new Change("8.1", format("transitions '%s' and '%s' are no more supported", SET_AS_IN_REVIEW, OPEN_AS_VULNERABILITY)),
         new Change("7.8", format("added '%s', %s, %s and %s transitions for security hotspots ", SET_AS_IN_REVIEW, RESOLVE_AS_REVIEWED, OPEN_AS_VULNERABILITY, RESET_AS_TO_REVIEW)),
         new Change("7.3", "added transitions for security hotspots"),
index ce760c91b8894402a9d1aa7ef5044e59e756ef03..b5b7fe2df241c974a61e1831f76a90db47dcb754 100644 (file)
@@ -67,6 +67,7 @@ public class EditCommentAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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.5", "the database ids of the components are removed from the response"),
index 8636de316b8cfdb48f55e2a2df4412c67bc17355..a00dd2afa7d7d9fd7fc83ff7a13eb0d03143d23e 100644 (file)
@@ -80,6 +80,7 @@ public class SetSeverityAction implements IssuesWsAction {
       .setSince("3.6")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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)
index efb2c551cab6862b9f9d1bf431446c7f9f9886bc..7bbc682406239b22bcdc950b0758c80892b3fb36 100644 (file)
@@ -75,6 +75,7 @@ public class SetTagsAction implements IssuesWsAction {
         "Requires authentication and Browse permission on project")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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."),
         new Change("6.4", "response contains issue information instead of list of tags"))
index 7f96875b30234f61ebb191905c45583e7647ff73..6807f29186d5bb005882eaa74a7b7163b7b3ba69 100644 (file)
@@ -84,6 +84,7 @@ public class SetTypeAction implements IssuesWsAction {
       .setSince("5.5")
       .setChangelog(
         new Change("9.6", "Response field 'ruleDescriptionContextKey' added"),
+        new Change("8.8", "The response field components.uuid is removed"),
         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)
index cbfd2a75f839cee97cdb9dd1bf2487698485bd86..38de0633acf76fc2110c597b35de3b18e5f29f0a 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -63,7 +62,6 @@
     {
       "id": 23498,
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 58865766e66d87175b840927b6e8a47c26ed7ea8..d690eb9b06a826808e100bab1d58e36f0b245924 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -64,7 +63,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",
index 50f89081597bb6bb5c179c430ee25553384cfded..f591d112dbbe4587744276b4ff852a8f7c3edbb4 100644 (file)
@@ -53,7 +53,6 @@
   "components": [
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
-      "uuid": "AVfTIlxMwczdZ2UaLhnt",
       "enabled": true,
       "qualifier": "FIL",
       "name": "ServerIssueUpdater.java",
@@ -62,7 +61,6 @@
     },
     {
       "key": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
-      "uuid": "8b745480-b598-4e34-af4a-cb2de1808e50",
       "enabled": true,
       "qualifier": "TRK",
       "name": "SonarLint for IntelliJ IDEA",