]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13001 Fix WS path
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 13 Feb 2020 14:25:49 +0000 (15:25 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 20 Feb 2020 19:46:18 +0000 (20:46 +0100)
list_bibucketserver_projects -> list_bitbucketserver_projects
search_bibucketserver_repos -> search_bitbucketserver_repos

sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java [deleted file]
sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java [new file with mode: 0644]
sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java [deleted file]
sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java [new file with mode: 0644]

index e9941d19ce8f8c27f00f72e80a023f8bd589fd3f..2a34a2f68119db311a3ee7fcd3a43dc649cb3ceb 100644 (file)
@@ -74,12 +74,12 @@ public class AlmIntegrationsService 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/alm_integrations/list_bibucketserver_projects">Further information about this action online (including a response example)</a>
+   * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/list_bitbucketserver_projects">Further information about this action online (including a response example)</a>
    * @since 8.2
    */
-  public AlmIntegrations.ListBitbucketserverProjectsWsResponse listBibucketserverProjects(ListBibucketserverProjectsRequest request) {
+  public AlmIntegrations.ListBitbucketserverProjectsWsResponse listBitbucketserverProjects(ListBitbucketserverProjectsRequest request) {
     return call(
-      new GetRequest(path("list_bibucketserver_projects"))
+      new GetRequest(path("list_bitbucketserver_projects"))
         .setParam("almSetting", request.getAlmSetting())
         .setMediaType(MediaTypes.JSON),
       AlmIntegrations.ListBitbucketserverProjectsWsResponse.parser());
@@ -89,12 +89,12 @@ public class AlmIntegrationsService 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/alm_integrations/search_bibucketserver_repos">Further information about this action online (including a response example)</a>
+   * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/search_bitbucketserver_repos">Further information about this action online (including a response example)</a>
    * @since 8.2
    */
-  public AlmIntegrations.SearchBitbucketserverReposWsResponse searchBibucketserverRepos(SearchBibucketserverReposRequest request) {
+  public AlmIntegrations.SearchBitbucketserverReposWsResponse searchBitbucketserverRepos(SearchBitbucketserverReposRequest request) {
     return call(
-      new GetRequest(path("search_bibucketserver_repos"))
+      new GetRequest(path("search_bitbucketserver_repos"))
         .setParam("almSetting", request.getAlmSetting())
         .setParam("projectName", request.getProjectName())
         .setParam("repositoryName", request.getRepositoryName())
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java
deleted file mode 100644 (file)
index 9d6abff..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2020 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-package org.sonarqube.ws.client.almintegrations;
-
-import javax.annotation.Generated;
-
-/**
- * This is part of the internal API.
- * This is a POST request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/list_bibucketserver_projects">Further information about this action online (including a response example)</a>
- * @since 8.2
- */
-@Generated("sonar-ws-generator")
-public class ListBibucketserverProjectsRequest {
-
-  private String almSetting;
-
-  /**
-   * This is a mandatory parameter.
-   */
-  public ListBibucketserverProjectsRequest setAlmSetting(String almSetting) {
-    this.almSetting = almSetting;
-    return this;
-  }
-
-  public String getAlmSetting() {
-    return almSetting;
-  }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java
new file mode 100644 (file)
index 0000000..909f392
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2020 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+package org.sonarqube.ws.client.almintegrations;
+
+import javax.annotation.Generated;
+
+/**
+ * This is part of the internal API.
+ * This is a POST request.
+ * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/list_bibucketserver_projects">Further information about this action online (including a response example)</a>
+ * @since 8.2
+ */
+@Generated("sonar-ws-generator")
+public class ListBitbucketserverProjectsRequest {
+
+  private String almSetting;
+
+  /**
+   * This is a mandatory parameter.
+   */
+  public ListBitbucketserverProjectsRequest setAlmSetting(String almSetting) {
+    this.almSetting = almSetting;
+    return this;
+  }
+
+  public String getAlmSetting() {
+    return almSetting;
+  }
+}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java
deleted file mode 100644 (file)
index f859e64..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2020 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-package org.sonarqube.ws.client.almintegrations;
-
-import javax.annotation.Generated;
-
-/**
- * This is part of the internal API.
- * This is a POST request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/search_bibucketserver_repos">Further information about this action online (including a response example)</a>
- * @since 8.2
- */
-@Generated("sonar-ws-generator")
-public class SearchBibucketserverReposRequest {
-
-  private String almSetting;
-  private String projectName;
-  private String repositoryName;
-
-  /**
-   * This is a mandatory parameter.
-   */
-  public SearchBibucketserverReposRequest setAlmSetting(String almSetting) {
-    this.almSetting = almSetting;
-    return this;
-  }
-
-  public String getAlmSetting() {
-    return almSetting;
-  }
-
-  /**
-   */
-  public SearchBibucketserverReposRequest setProjectName(String projectName) {
-    this.projectName = projectName;
-    return this;
-  }
-
-  public String getProjectName() {
-    return projectName;
-  }
-
-  /**
-   */
-  public SearchBibucketserverReposRequest setRepositoryName(String repositoryName) {
-    this.repositoryName = repositoryName;
-    return this;
-  }
-
-  public String getRepositoryName() {
-    return repositoryName;
-  }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java
new file mode 100644 (file)
index 0000000..45083b8
--- /dev/null
@@ -0,0 +1,70 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2020 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+package org.sonarqube.ws.client.almintegrations;
+
+import javax.annotation.Generated;
+
+/**
+ * This is part of the internal API.
+ * This is a POST request.
+ * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/alm_integrations/search_bibucketserver_repos">Further information about this action online (including a response example)</a>
+ * @since 8.2
+ */
+@Generated("sonar-ws-generator")
+public class SearchBitbucketserverReposRequest {
+
+  private String almSetting;
+  private String projectName;
+  private String repositoryName;
+
+  /**
+   * This is a mandatory parameter.
+   */
+  public SearchBitbucketserverReposRequest setAlmSetting(String almSetting) {
+    this.almSetting = almSetting;
+    return this;
+  }
+
+  public String getAlmSetting() {
+    return almSetting;
+  }
+
+  /**
+   */
+  public SearchBitbucketserverReposRequest setProjectName(String projectName) {
+    this.projectName = projectName;
+    return this;
+  }
+
+  public String getProjectName() {
+    return projectName;
+  }
+
+  /**
+   */
+  public SearchBitbucketserverReposRequest setRepositoryName(String repositoryName) {
+    this.repositoryName = repositoryName;
+    return this;
+  }
+
+  public String getRepositoryName() {
+    return repositoryName;
+  }
+}