aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java/org/sonarqube/ws/client
diff options
context:
space:
mode:
authorEric Giffon <eric.giffon@sonarsource.com>2023-07-18 15:16:44 +0200
committersonartech <sonartech@sonarsource.com>2023-07-19 20:03:05 +0000
commitefd1e3f1d2887efa96e6c284d6885f9471788cf4 (patch)
treebf6c2f1f9b9638537484dbc981b656a06b625caf /sonar-ws/src/main/java/org/sonarqube/ws/client
parentc470a582ef582096a0fe8b0f10fa91650519fbb5 (diff)
downloadsonarqube-efd1e3f1d2887efa96e6c284d6885f9471788cf4.tar.gz
sonarqube-efd1e3f1d2887efa96e6c284d6885f9471788cf4.zip
SONAR-19934 Rename ws param componentKeys to components
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
index 634b5962bcc..be7928515ee 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
@@ -56,6 +56,7 @@ public class IssuesWsParameters {
public static final String PARAM_STATUSES = "statuses";
public static final String PARAM_RESOLUTIONS = "resolutions";
public static final String PARAM_RESOLVED = "resolved";
+ public static final String PARAM_COMPONENTS = "components";
public static final String PARAM_COMPONENT_KEYS = "componentKeys";
public static final String PARAM_COMPONENT_UUIDS = "componentUuids";
public static final String PARAM_PROJECTS = "projects";
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
index 09b293798d4..fe2299220d7 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
@@ -221,7 +221,7 @@ public class IssuesService extends BaseService {
.setParam("assignees", request.getAssignees() == null ? null : request.getAssignees().stream().collect(Collectors.joining(",")))
.setParam("author", request.getAuthor())
.setParam("branch", request.getBranch())
- .setParam("componentKeys", request.getComponentKeys() == null ? null : request.getComponentKeys().stream().collect(Collectors.joining(",")))
+ .setParam("components", request.getComponentKeys() == null ? null : request.getComponentKeys().stream().collect(Collectors.joining(",")))
.setParam("createdAfter", request.getCreatedAfter())
.setParam("createdAt", request.getCreatedAt())
.setParam("createdBefore", request.getCreatedBefore())