]> source.dussan.org Git - sonarqube.git/commitdiff
Regenerate sonar-ws
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>
Wed, 29 Nov 2017 17:16:45 +0000 (18:16 +0100)
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>
Wed, 29 Nov 2017 19:24:11 +0000 (20:24 +0100)
sonar-ws/src/main/java/org/sonarqube/ws/client/analysisreports/AnalysisReportsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/batch/FileRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/favorites/RemoveRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/OrganizationsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/organizations/SearchRequest.java

index 42b2aabe614f5bd10025384eee1665d2bcb7b311..2f9e89a5ed1446c6dce54ab9fb7ac9e09db951ce 100644 (file)
  */
 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;
 
 /**
index d54e3ca1ad7e4af66fbaeea17b2a2bae874980e7..332a79931cd991098c73e2def319219c7a2d988f 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonarqube.ws.client.batch;
 
+import java.util.List;
 import javax.annotation.Generated;
 
 /**
index 8bfe4d2113c685f3c60fb5c010e9af9e7c1578dd..f4f00bb4a4e81c678ed986bbacc3cf75136c4436 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonarqube.ws.client.favorites;
 
+import java.util.List;
 import javax.annotation.Generated;
 
 /**
index 9c412040f6a6c9d38dcba1d3c1ecd1a71f4a733c..4884bc97c1f1099e29e26310c86c555b8cee5286 100644 (file)
@@ -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 <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.
index 2b613848984ac6d0f2ec5e954c258d09e65a200a..342a50492b72af00f0e100ffb1739ba30d523630 100644 (file)
@@ -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>