aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-11-29 18:16:45 +0100
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-11-29 20:24:11 +0100
commitf646c4cb50129f26c485f37d083f9753ac2fffeb (patch)
treeadebb9fa990c797405f5c323c0e511a0ba030001 /sonar-ws
parent4f049dc73f2c20ac24998c4186a2c65ed33cac02 (diff)
downloadsonarqube-f646c4cb50129f26c485f37d083f9753ac2fffeb.tar.gz
sonarqube-f646c4cb50129f26c485f37d083f9753ac2fffeb.zip
Regenerate sonar-ws
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java2
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java2
5 files changed, 5 insertions, 16 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java
index 42b2aabe614..2f9e89a5ed1 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java
@@ -19,10 +19,12 @@
*/
package org.sonarqube.ws.client.analysisreports;
+import java.util.stream.Collectors;
import javax.annotation.Generated;
import org.sonarqube.ws.MediaTypes;
import org.sonarqube.ws.client.BaseService;
import org.sonarqube.ws.client.GetRequest;
+import org.sonarqube.ws.client.PostRequest;
import org.sonarqube.ws.client.WsConnector;
/**
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java
index d54e3ca1ad7..332a79931cd 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java
@@ -19,6 +19,7 @@
*/
package org.sonarqube.ws.client.batch;
+import java.util.List;
import javax.annotation.Generated;
/**
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java
index 8bfe4d2113c..f4f00bb4a4e 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java
@@ -19,6 +19,7 @@
*/
package org.sonarqube.ws.client.favorites;
+import java.util.List;
import javax.annotation.Generated;
/**
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java
index 9c412040f6a..4884bc97c1f 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java
@@ -130,6 +130,7 @@ public class OrganizationsService extends BaseService {
public SearchWsResponse search(SearchRequest request) {
return call(
new GetRequest(path("search"))
+ .setParam("member", request.getMember())
.setParam("organizations", request.getOrganizations() == null ? null : request.getOrganizations().stream().collect(Collectors.joining(",")))
.setParam("p", request.getP())
.setParam("ps", request.getPs()),
@@ -157,20 +158,6 @@ public class OrganizationsService extends BaseService {
/**
*
* This is part of the internal API.
- * This is a GET request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/organizations/search_my_organizations">Further information about this action online (including a response example)</a>
- * @since 6.3
- */
- public String searchMyOrganizations() {
- return call(
- new GetRequest(path("search_my_organizations"))
- .setMediaType(MediaTypes.JSON)
- ).content();
- }
-
- /**
- *
- * This is part of the internal API.
* This is a POST request.
* @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/organizations/update">Further information about this action online (including a response example)</a>
* @since 6.2
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java
index 2b613848984..342a50492b7 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java
@@ -37,8 +37,6 @@ public class SearchRequest {
private String ps;
/**
- * Filter organizations based on whether the authenticated user is a member
- *
* Possible values:
* <ul>
* <li>"true"</li>