From: Daniel Schwarz Date: Wed, 29 Nov 2017 17:16:45 +0000 (+0100) Subject: Regenerate sonar-ws X-Git-Tag: 7.0-RC1~250 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f646c4cb50129f26c485f37d083f9753ac2fffeb;p=sonarqube.git Regenerate sonar-ws --- 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()), @@ -154,20 +155,6 @@ public class OrganizationsService extends BaseService { SearchMembersWsResponse.parser()); } - /** - * - * This is part of the internal API. - * This is a GET request. - * @see Further information about this action online (including a response example) - * @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. 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: *