diff options
author | Jacek <jacek.poreda@sonarsource.com> | 2019-10-28 05:27:01 -0500 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2019-11-06 10:04:33 +0100 |
commit | 15ed6d503592dff312c567b855fa446ab4515de7 (patch) | |
tree | 70e0d4899ff14ae07097cae491f8cbab1ee5a128 /sonar-ws | |
parent | 199b78fa48b55983bdd08e76446c7393bf9ea9f7 (diff) | |
download | sonarqube-15ed6d503592dff312c567b855fa446ab4515de7.tar.gz sonarqube-15ed6d503592dff312c567b855fa446ab4515de7.zip |
SONAR-12649 Remove deprecated WSs since 6.3
- api/timemachine
- api/properties
- api/user_properties
Diffstat (limited to 'sonar-ws')
4 files changed, 0 insertions, 92 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java index 22b9c5112bc..21e7b2a7c22 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java @@ -33,7 +33,6 @@ import org.sonarqube.ws.client.duplications.DuplicationsService; import org.sonarqube.ws.client.editions.EditionsService; import org.sonarqube.ws.client.emails.EmailsService; import org.sonarqube.ws.client.favorites.FavoritesService; -import org.sonarqube.ws.client.favourites.FavouritesService; import org.sonarqube.ws.client.governancereports.GovernanceReportsService; import org.sonarqube.ws.client.issues.IssuesService; import org.sonarqube.ws.client.l10n.L10nService; @@ -98,7 +97,6 @@ class DefaultWsClient implements WsClient { private final EditionsService editionsService; private final EmailsService emailsService; private final FavoritesService favoritesService; - private final FavouritesService favouritesService; private final GovernanceReportsService governanceReportsService; private final IssuesService issuesService; private final L10nService l10nService; @@ -156,7 +154,6 @@ class DefaultWsClient implements WsClient { this.editionsService = new EditionsService(wsConnector); this.emailsService = new EmailsService(wsConnector); this.favoritesService = new FavoritesService(wsConnector); - this.favouritesService = new FavouritesService(wsConnector); this.governanceReportsService = new GovernanceReportsService(wsConnector); this.issuesService = new IssuesService(wsConnector); this.l10nService = new L10nService(wsConnector); @@ -267,11 +264,6 @@ class DefaultWsClient implements WsClient { } @Override - public FavouritesService favourites() { - return favouritesService; - } - - @Override public GovernanceReportsService governanceReports() { return governanceReportsService; } diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java index 7023bf716fd..1f964f03c6d 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java @@ -33,7 +33,6 @@ import org.sonarqube.ws.client.duplications.DuplicationsService; import org.sonarqube.ws.client.editions.EditionsService; import org.sonarqube.ws.client.emails.EmailsService; import org.sonarqube.ws.client.favorites.FavoritesService; -import org.sonarqube.ws.client.favourites.FavouritesService; import org.sonarqube.ws.client.governancereports.GovernanceReportsService; import org.sonarqube.ws.client.issues.IssuesService; import org.sonarqube.ws.client.l10n.L10nService; @@ -122,8 +121,6 @@ public interface WsClient { FavoritesService favorites(); - FavouritesService favourites(); - GovernanceReportsService governanceReports(); IssuesService issues(); diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/FavouritesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/FavouritesService.java deleted file mode 100644 index 83ec0384102..00000000000 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/FavouritesService.java +++ /dev/null @@ -1,55 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2019 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.favourites; - -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; - -/** - * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/favourites">Further information about this web service online</a> - */ -@Generated("sonar-ws-generator") -public class FavouritesService extends BaseService { - - public FavouritesService(WsConnector wsConnector) { - super(wsConnector, "api/favourites"); - } - - /** - * - * This is part of the internal API. - * This is a GET request. - * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/favourites/index">Further information about this action online (including a response example)</a> - * @since 2.6 - * @deprecated since 6.3 - */ - @Deprecated - public String index() { - return call( - new GetRequest(path("index")) - .setMediaType(MediaTypes.JSON) - ).content(); - } -} diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/package-info.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/package-info.java deleted file mode 100644 index 19ce8f9fc88..00000000000 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/favourites/package-info.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2019 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. - */ -@ParametersAreNonnullByDefault -@Generated("sonar-ws-generator") -package org.sonarqube.ws.client.favourites; - -import javax.annotation.ParametersAreNonnullByDefault; -import javax.annotation.Generated; - |