From: Julien Lancelot Date: Thu, 13 Feb 2020 14:25:49 +0000 (+0100) Subject: SONAR-13001 Fix WS path X-Git-Tag: 8.2.0.32929~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f796ca145a0a8169f4a319667100bd9dfc63b74;p=sonarqube.git SONAR-13001 Fix WS path list_bibucketserver_projects -> list_bitbucketserver_projects search_bibucketserver_repos -> search_bitbucketserver_repos --- diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java index e9941d19ce8..2a34a2f6811 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/AlmIntegrationsService.java @@ -74,12 +74,12 @@ public class AlmIntegrationsService extends BaseService { * * This is part of the internal API. * This is a GET request. - * @see Further information about this action online (including a response example) + * @see Further information about this action online (including a response example) * @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 Further information about this action online (including a response example) + * @see Further information about this action online (including a response example) * @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 index 9d6abffc6f8..00000000000 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java +++ /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 Further information about this action online (including a response example) - * @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 index 00000000000..909f39260a6 --- /dev/null +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java @@ -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 Further information about this action online (including a response example) + * @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 index f859e641b80..00000000000 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java +++ /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 Further information about this action online (including a response example) - * @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 index 00000000000..45083b8e628 --- /dev/null +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java @@ -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 Further information about this action online (including a response example) + * @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; + } +}