From 9f796ca145a0a8169f4a319667100bd9dfc63b74 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 13 Feb 2020 15:25:49 +0100 Subject: [PATCH] SONAR-13001 Fix WS path list_bibucketserver_projects -> list_bitbucketserver_projects search_bibucketserver_repos -> search_bitbucketserver_repos --- .../almintegrations/AlmIntegrationsService.java | 12 ++++++------ ....java => ListBitbucketserverProjectsRequest.java} | 4 ++-- ...t.java => SearchBitbucketserverReposRequest.java} | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) rename sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/{ListBibucketserverProjectsRequest.java => ListBitbucketserverProjectsRequest.java} (91%) rename sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/{SearchBibucketserverReposRequest.java => SearchBitbucketserverReposRequest.java} (85%) 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/ListBitbucketserverProjectsRequest.java similarity index 91% rename from sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java rename to sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java index 9d6abffc6f8..909f39260a6 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBibucketserverProjectsRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/ListBitbucketserverProjectsRequest.java @@ -28,14 +28,14 @@ import javax.annotation.Generated; * @since 8.2 */ @Generated("sonar-ws-generator") -public class ListBibucketserverProjectsRequest { +public class ListBitbucketserverProjectsRequest { private String almSetting; /** * This is a mandatory parameter. */ - public ListBibucketserverProjectsRequest setAlmSetting(String almSetting) { + public ListBitbucketserverProjectsRequest setAlmSetting(String almSetting) { this.almSetting = almSetting; return this; } 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/SearchBitbucketserverReposRequest.java similarity index 85% rename from sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java rename to sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java index f859e641b80..45083b8e628 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBibucketserverReposRequest.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/almintegrations/SearchBitbucketserverReposRequest.java @@ -28,7 +28,7 @@ import javax.annotation.Generated; * @since 8.2 */ @Generated("sonar-ws-generator") -public class SearchBibucketserverReposRequest { +public class SearchBitbucketserverReposRequest { private String almSetting; private String projectName; @@ -37,7 +37,7 @@ public class SearchBibucketserverReposRequest { /** * This is a mandatory parameter. */ - public SearchBibucketserverReposRequest setAlmSetting(String almSetting) { + public SearchBitbucketserverReposRequest setAlmSetting(String almSetting) { this.almSetting = almSetting; return this; } @@ -48,7 +48,7 @@ public class SearchBibucketserverReposRequest { /** */ - public SearchBibucketserverReposRequest setProjectName(String projectName) { + public SearchBitbucketserverReposRequest setProjectName(String projectName) { this.projectName = projectName; return this; } @@ -59,7 +59,7 @@ public class SearchBibucketserverReposRequest { /** */ - public SearchBibucketserverReposRequest setRepositoryName(String repositoryName) { + public SearchBitbucketserverReposRequest setRepositoryName(String repositoryName) { this.repositoryName = repositoryName; return this; } -- 2.39.5