aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2023-03-06 18:46:02 +0100
committersonartech <sonartech@sonarsource.com>2023-03-07 20:02:54 +0000
commitb2458a2688f81e8370f672757640af32b23c8648 (patch)
treea657c07e32e2b91b7a77f2ac30adf37a2fd009b6 /sonar-ws
parent2ef9e45cf45c5fb14c61981f880249eb36dc0029 (diff)
downloadsonarqube-b2458a2688f81e8370f672757640af32b23c8648.tar.gz
sonarqube-b2458a2688f81e8370f672757640af32b23c8648.zip
SONAR-18600 Remove deprecated items that are not used anymore
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java16
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java6
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/ce/ComponentRequest.java10
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/components/AppRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/components/ComponentsService.java3
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/components/ShowRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/components/TreeRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issues/SearchRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentRequest.java43
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentTreeRequest.java43
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/measures/MeasuresService.java6
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/projects/SearchRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/properties/IndexRequest.java75
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/properties/PropertiesService.java56
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/properties/package-info.java26
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/DeselectRequest.java15
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/QualitygatesService.java1
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/TimemachineService.java53
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/package-info.java26
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/InstalledPluginsRequest.java49
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/UpdatecenterService.java17
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/users/CreateRequest.java10
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateRequest.java10
24 files changed, 0 insertions, 541 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 b8d060ef0e2..fc9df74e81f 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
@@ -55,7 +55,6 @@ import org.sonarqube.ws.client.projectlinks.ProjectLinksService;
import org.sonarqube.ws.client.projectpullrequests.ProjectPullRequestsService;
import org.sonarqube.ws.client.projects.ProjectsService;
import org.sonarqube.ws.client.projecttags.ProjectTagsService;
-import org.sonarqube.ws.client.properties.PropertiesService;
import org.sonarqube.ws.client.push.SonarLintServerPushService;
import org.sonarqube.ws.client.qualitygates.QualitygatesService;
import org.sonarqube.ws.client.qualityprofiles.QualityprofilesService;
@@ -68,7 +67,6 @@ import org.sonarqube.ws.client.settings.SettingsService;
import org.sonarqube.ws.client.sources.SourcesService;
import org.sonarqube.ws.client.support.SupportService;
import org.sonarqube.ws.client.system.SystemService;
-import org.sonarqube.ws.client.timemachine.TimemachineService;
import org.sonarqube.ws.client.updatecenter.UpdatecenterService;
import org.sonarqube.ws.client.usergroups.UserGroupsService;
import org.sonarqube.ws.client.users.UsersService;
@@ -122,7 +120,6 @@ class DefaultWsClient implements WsClient {
private final ProjectPullRequestsService projectPullRequestsService;
private final ProjectTagsService projectTagsService;
private final ProjectsService projectsService;
- private final PropertiesService propertiesService;
private final QualitygatesService qualitygatesService;
private final QualityprofilesService qualityprofilesService;
private final RootsService rootsService;
@@ -132,7 +129,6 @@ class DefaultWsClient implements WsClient {
private final SourcesService sourcesService;
private final SupportService supportService;
private final SystemService systemService;
- private final TimemachineService timemachineService;
private final UpdatecenterService updatecenterService;
private final UserGroupsService userGroupsService;
private final UserTokensService userTokensService;
@@ -182,7 +178,6 @@ class DefaultWsClient implements WsClient {
this.projectPullRequestsService = new ProjectPullRequestsService(wsConnector);
this.projectTagsService = new ProjectTagsService(wsConnector);
this.projectsService = new ProjectsService(wsConnector);
- this.propertiesService = new PropertiesService(wsConnector);
this.qualitygatesService = new QualitygatesService(wsConnector);
this.qualityprofilesService = new QualityprofilesService(wsConnector);
this.rootsService = new RootsService(wsConnector);
@@ -192,7 +187,6 @@ class DefaultWsClient implements WsClient {
this.sourcesService = new SourcesService(wsConnector);
this.supportService = new SupportService(wsConnector);
this.systemService = new SystemService(wsConnector);
- this.timemachineService = new TimemachineService(wsConnector);
this.updatecenterService = new UpdatecenterService(wsConnector);
this.userGroupsService = new UserGroupsService(wsConnector);
this.userTokensService = new UserTokensService(wsConnector);
@@ -393,11 +387,6 @@ class DefaultWsClient implements WsClient {
}
@Override
- public PropertiesService properties() {
- return propertiesService;
- }
-
- @Override
public QualitygatesService qualitygates() {
return qualitygatesService;
}
@@ -443,11 +432,6 @@ class DefaultWsClient implements WsClient {
}
@Override
- public TimemachineService timemachine() {
- return timemachineService;
- }
-
- @Override
public UpdatecenterService updatecenter() {
return updatecenterService;
}
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 0ecc014aa8a..7ea98457bfa 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
@@ -55,7 +55,6 @@ import org.sonarqube.ws.client.projectlinks.ProjectLinksService;
import org.sonarqube.ws.client.projectpullrequests.ProjectPullRequestsService;
import org.sonarqube.ws.client.projects.ProjectsService;
import org.sonarqube.ws.client.projecttags.ProjectTagsService;
-import org.sonarqube.ws.client.properties.PropertiesService;
import org.sonarqube.ws.client.push.SonarLintServerPushService;
import org.sonarqube.ws.client.qualitygates.QualitygatesService;
import org.sonarqube.ws.client.qualityprofiles.QualityprofilesService;
@@ -68,7 +67,6 @@ import org.sonarqube.ws.client.settings.SettingsService;
import org.sonarqube.ws.client.sources.SourcesService;
import org.sonarqube.ws.client.support.SupportService;
import org.sonarqube.ws.client.system.SystemService;
-import org.sonarqube.ws.client.timemachine.TimemachineService;
import org.sonarqube.ws.client.updatecenter.UpdatecenterService;
import org.sonarqube.ws.client.usergroups.UserGroupsService;
import org.sonarqube.ws.client.users.UsersService;
@@ -166,8 +164,6 @@ public interface WsClient {
ProjectsService projects();
- PropertiesService properties();
-
QualitygatesService qualitygates();
QualityprofilesService qualityprofiles();
@@ -186,8 +182,6 @@ public interface WsClient {
SystemService system();
- TimemachineService timemachine();
-
UpdatecenterService updatecenter();
UserGroupsService userGroups();
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/ComponentRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/ComponentRequest.java
index 58cd03d8a30..2b03b0b8c00 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/ComponentRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/ce/ComponentRequest.java
@@ -45,16 +45,6 @@ public class ComponentRequest {
return component;
}
- /**
- * Example value: "AU-Tpxb--iU5OvuD2FLy"
- * @deprecated since 6.6
- */
- @Deprecated
- public ComponentRequest setComponentId(String componentId) {
- this.componentId = componentId;
- return this;
- }
-
public String getComponentId() {
return componentId;
}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/AppRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/AppRequest.java
index 5da2792189c..724f8e4d845 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/AppRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/AppRequest.java
@@ -32,7 +32,6 @@ public class AppRequest {
private String branch;
private String component;
- private String componentId;
private String pullRequest;
/**
@@ -61,20 +60,6 @@ public class AppRequest {
}
/**
- * Example value: "AU-Tpxb--iU5OvuD2FLy"
- * @deprecated since 6.4
- */
- @Deprecated
- public AppRequest setComponentId(String componentId) {
- this.componentId = componentId;
- return this;
- }
-
- public String getComponentId() {
- return componentId;
- }
-
- /**
* This is part of the internal API.
* Example value: "5461"
*/
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ComponentsService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ComponentsService.java
index f7191d850aa..204bc108d34 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ComponentsService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ComponentsService.java
@@ -53,7 +53,6 @@ public class ComponentsService extends BaseService {
new GetRequest(path("app"))
.setParam("branch", request.getBranch())
.setParam("component", request.getComponent())
- .setParam("componentId", request.getComponentId())
.setParam("pullRequest", request.getPullRequest())
.setMediaType(MediaTypes.JSON)
).content();
@@ -109,7 +108,6 @@ public class ComponentsService extends BaseService {
new GetRequest(path("show"))
.setParam("branch", request.getBranch())
.setParam("component", request.getComponent())
- .setParam("componentId", request.getComponentId())
.setParam("pullRequest", request.getPullRequest()),
ShowWsResponse.parser());
}
@@ -143,7 +141,6 @@ public class ComponentsService extends BaseService {
.setParam("asc", request.getAsc())
.setParam("branch", request.getBranch())
.setParam("component", request.getComponent())
- .setParam("componentId", request.getComponentId())
.setParam("p", request.getP())
.setParam("ps", request.getPs())
.setParam("pullRequest", request.getPullRequest())
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ShowRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ShowRequest.java
index 9c2d5e7e5a5..52cd065a936 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ShowRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/ShowRequest.java
@@ -32,7 +32,6 @@ public class ShowRequest {
private String branch;
private String component;
- private String componentId;
private String pullRequest;
/**
@@ -61,20 +60,6 @@ public class ShowRequest {
}
/**
- * Example value: "AU-Tpxb--iU5OvuD2FLy"
- * @deprecated since 6.4
- */
- @Deprecated
- public ShowRequest setComponentId(String componentId) {
- this.componentId = componentId;
- return this;
- }
-
- public String getComponentId() {
- return componentId;
- }
-
- /**
* This is part of the internal API.
* Example value: "5461"
*/
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/TreeRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/TreeRequest.java
index 56d95217bb0..a796a094775 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/components/TreeRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/components/TreeRequest.java
@@ -34,7 +34,6 @@ public class TreeRequest {
private String asc;
private String branch;
private String component;
- private String componentId;
private String p;
private String ps;
private String pullRequest;
@@ -87,20 +86,6 @@ public class TreeRequest {
}
/**
- * Example value: "AU-TpxcA-iU5OvuD2FLz"
- * @deprecated since 6.4
- */
- @Deprecated
- public TreeRequest setComponentId(String componentId) {
- this.componentId = componentId;
- return this;
- }
-
- public String getComponentId() {
- return componentId;
- }
-
- /**
* Example value: "42"
*/
public TreeRequest setP(String p) {
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
index c648deeb239..09b293798d4 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/IssuesService.java
@@ -222,7 +222,6 @@ public class IssuesService extends BaseService {
.setParam("author", request.getAuthor())
.setParam("branch", request.getBranch())
.setParam("componentKeys", request.getComponentKeys() == null ? null : request.getComponentKeys().stream().collect(Collectors.joining(",")))
- .setParam("componentUuids", request.getComponentUuids() == null ? null : request.getComponentUuids().stream().collect(Collectors.joining(",")))
.setParam("createdAfter", request.getCreatedAfter())
.setParam("createdAt", request.getCreatedAt())
.setParam("createdBefore", request.getCreatedBefore())
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/SearchRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/SearchRequest.java
index 47cc8d0a06c..ecb5b417233 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/SearchRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issues/SearchRequest.java
@@ -38,7 +38,6 @@ public class SearchRequest {
private List<String> author;
private String branch;
private List<String> componentKeys;
- private List<String> componentUuids;
private String createdAfter;
private String createdAt;
private String createdBefore;
@@ -176,20 +175,6 @@ public class SearchRequest {
}
/**
- * Example value: "584a89f2-8037-4f7b-b82c-8b45d2d63fb2"
- * @deprecated since 6.5
- */
- @Deprecated
- public SearchRequest setComponentUuids(List<String> componentUuids) {
- this.componentUuids = componentUuids;
- return this;
- }
-
- public List<String> getComponentUuids() {
- return componentUuids;
- }
-
- /**
* Example value: "2017-10-19 or 2017-10-19T13:00:00+0200"
*/
public SearchRequest setCreatedAfter(String createdAfter) {
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentRequest.java
index 576fc255e6b..c77ff4f7f25 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentRequest.java
@@ -34,9 +34,6 @@ public class ComponentRequest {
private List<String> additionalFields;
private String branch;
private String component;
- private String componentId;
- private String developerId;
- private String developerKey;
private List<String> metricKeys;
private String pullRequest;
@@ -83,46 +80,6 @@ public class ComponentRequest {
}
/**
- * Example value: "AU-Tpxb--iU5OvuD2FLy"
- * @deprecated since 6.6
- */
- @Deprecated
- public ComponentRequest setComponentId(String componentId) {
- this.componentId = componentId;
- return this;
- }
-
- public String getComponentId() {
- return componentId;
- }
-
- /**
- * @deprecated since 6.4
- */
- @Deprecated
- public ComponentRequest setDeveloperId(String developerId) {
- this.developerId = developerId;
- return this;
- }
-
- public String getDeveloperId() {
- return developerId;
- }
-
- /**
- * @deprecated since 6.4
- */
- @Deprecated
- public ComponentRequest setDeveloperKey(String developerKey) {
- this.developerKey = developerKey;
- return this;
- }
-
- public String getDeveloperKey() {
- return developerKey;
- }
-
- /**
* This is a mandatory parameter.
* Example value: "ncloc,complexity,violations"
*/
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentTreeRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentTreeRequest.java
index 3341f256702..7e3157d6958 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentTreeRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/ComponentTreeRequest.java
@@ -33,11 +33,8 @@ public class ComponentTreeRequest {
private List<String> additionalFields;
private String asc;
- private String baseComponentId;
private String branch;
private String component;
- private String developerId;
- private String developerKey;
private List<String> metricKeys;
private String metricPeriodSort;
private String metricSort;
@@ -86,20 +83,6 @@ public class ComponentTreeRequest {
}
/**
- * Example value: "AU-TpxcA-iU5OvuD2FLz"
- * @deprecated since 6.6
- */
- @Deprecated
- public ComponentTreeRequest setBaseComponentId(String baseComponentId) {
- this.baseComponentId = baseComponentId;
- return this;
- }
-
- public String getBaseComponentId() {
- return baseComponentId;
- }
-
- /**
* This is part of the internal API.
* Example value: "feature/my_branch"
*/
@@ -125,32 +108,6 @@ public class ComponentTreeRequest {
}
/**
- * @deprecated since 6.4
- */
- @Deprecated
- public ComponentTreeRequest setDeveloperId(String developerId) {
- this.developerId = developerId;
- return this;
- }
-
- public String getDeveloperId() {
- return developerId;
- }
-
- /**
- * @deprecated since 6.4
- */
- @Deprecated
- public ComponentTreeRequest setDeveloperKey(String developerKey) {
- this.developerKey = developerKey;
- return this;
- }
-
- public String getDeveloperKey() {
- return developerKey;
- }
-
- /**
* This is a mandatory parameter.
* Example value: "ncloc,complexity,violations"
*/
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/MeasuresService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/MeasuresService.java
index 56e935cfdb7..ac7963475cc 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/MeasuresService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/measures/MeasuresService.java
@@ -52,9 +52,6 @@ public class MeasuresService extends BaseService {
.setParam("additionalFields", request.getAdditionalFields() == null ? null : request.getAdditionalFields().stream().collect(Collectors.joining(",")))
.setParam("branch", request.getBranch())
.setParam("component", request.getComponent())
- .setParam("componentId", request.getComponentId())
- .setParam("developerId", request.getDeveloperId())
- .setParam("developerKey", request.getDeveloperKey())
.setParam("metricKeys", request.getMetricKeys() == null ? null : request.getMetricKeys().stream().collect(Collectors.joining(",")))
.setParam("pullRequest", request.getPullRequest()),
ComponentWsResponse.parser());
@@ -72,11 +69,8 @@ public class MeasuresService extends BaseService {
new GetRequest(path("component_tree"))
.setParam("additionalFields", request.getAdditionalFields() == null ? null : request.getAdditionalFields().stream().collect(Collectors.joining(",")))
.setParam("asc", request.getAsc())
- .setParam("baseComponentId", request.getBaseComponentId())
.setParam("branch", request.getBranch())
.setParam("component", request.getComponent())
- .setParam("developerId", request.getDeveloperId())
- .setParam("developerKey", request.getDeveloperKey())
.setParam("metricKeys", request.getMetricKeys() == null ? null : request.getMetricKeys().stream().collect(Collectors.joining(",")))
.setParam("metricPeriodSort", request.getMetricPeriodSort())
.setParam("metricSort", request.getMetricSort())
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/projects/SearchRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/projects/SearchRequest.java
index 8ae630b9754..32871887128 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/projects/SearchRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/projects/SearchRequest.java
@@ -34,7 +34,6 @@ public class SearchRequest {
private String analyzedBefore;
private String onProvisionedOnly;
private String p;
- private List<String> projectIds;
private List<String> projects;
private String ps;
private String q;
@@ -84,20 +83,6 @@ public class SearchRequest {
}
/**
- * Example value: "AU-Tpxb--iU5OvuD2FLy,AU-TpxcA-iU5OvuD2FLz"
- * @deprecated since 6.6
- */
- @Deprecated
- public SearchRequest setProjectIds(List<String> projectIds) {
- this.projectIds = projectIds;
- return this;
- }
-
- public List<String> getProjectIds() {
- return projectIds;
- }
-
- /**
* Example value: "my_project,another_project"
*/
public SearchRequest setProjects(List<String> projects) {
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/IndexRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/IndexRequest.java
deleted file mode 100644
index e073c43abe9..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/IndexRequest.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.properties;
-
-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/properties/index">Further information about this action online (including a response example)</a>
- * @since 2.6
- */
-@Generated("sonar-ws-generator")
-public class IndexRequest {
-
- private String format;
- private String id;
- private String resource;
-
- /**
- * Possible values:
- * <ul>
- * <li>"json"</li>
- * </ul>
- */
- public IndexRequest setFormat(String format) {
- this.format = format;
- return this;
- }
-
- public String getFormat() {
- return format;
- }
-
- /**
- * Example value: "sonar.test.inclusions"
- */
- public IndexRequest setId(String id) {
- this.id = id;
- return this;
- }
-
- public String getId() {
- return id;
- }
-
- /**
- * Example value: "my_project"
- */
- public IndexRequest setResource(String resource) {
- this.resource = resource;
- return this;
- }
-
- public String getResource() {
- return resource;
- }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/PropertiesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/PropertiesService.java
deleted file mode 100644
index 33ed9f9d859..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/PropertiesService.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.properties;
-
-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.WsConnector;
-
-/**
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/properties">Further information about this web service online</a>
- */
-@Generated("sonar-ws-generator")
-public class PropertiesService extends BaseService {
-
- public PropertiesService(WsConnector wsConnector) {
- super(wsConnector, "api/properties");
- }
-
- /**
- *
- * This is part of the internal API.
- * This is a GET request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/properties/index">Further information about this action online (including a response example)</a>
- * @since 2.6
- * @deprecated since 6.3
- */
- @Deprecated
- public String index(IndexRequest request) {
- return call(
- new GetRequest(path("index"))
- .setParam("format", request.getFormat())
- .setParam("id", request.getId())
- .setParam("resource", request.getResource())
- .setMediaType(MediaTypes.JSON)
- ).content();
- }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/package-info.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/package-info.java
deleted file mode 100644
index 6f1d24d8055..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/properties/package-info.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.properties;
-
-import javax.annotation.ParametersAreNonnullByDefault;
-import javax.annotation.Generated;
-
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/DeselectRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/DeselectRequest.java
index 2d1c226a148..f50e3218f1e 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/DeselectRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/DeselectRequest.java
@@ -30,24 +30,9 @@ import javax.annotation.Generated;
@Generated("sonar-ws-generator")
public class DeselectRequest {
- private String projectId;
private String projectKey;
/**
- * Example value: "AU-Tpxb--iU5OvuD2FLy"
- * @deprecated since 6.1
- */
- @Deprecated
- public DeselectRequest setProjectId(String projectId) {
- this.projectId = projectId;
- return this;
- }
-
- public String getProjectId() {
- return projectId;
- }
-
- /**
* Example value: "my_project"
*/
public DeselectRequest setProjectKey(String projectKey) {
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/QualitygatesService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/QualitygatesService.java
index 49078e88b4d..1be54b15224 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/QualitygatesService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/qualitygates/QualitygatesService.java
@@ -125,7 +125,6 @@ public class QualitygatesService extends BaseService {
public void deselect(DeselectRequest request) {
call(
new PostRequest(path("deselect"))
- .setParam("projectId", request.getProjectId())
.setParam("projectKey", request.getProjectKey())
.setMediaType(MediaTypes.JSON)).content();
}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/TimemachineService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/TimemachineService.java
deleted file mode 100644
index 7b55e200098..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/TimemachineService.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.timemachine;
-
-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.WsConnector;
-
-/**
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/timemachine">Further information about this web service online</a>
- */
-@Generated("sonar-ws-generator")
-public class TimemachineService extends BaseService {
-
- public TimemachineService(WsConnector wsConnector) {
- super(wsConnector, "api/timemachine");
- }
-
- /**
- *
- * This is part of the internal API.
- * This is a GET request.
- * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/timemachine/index">Further information about this action online (including a response example)</a>
- * @since 2.10
- * @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/timemachine/package-info.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/package-info.java
deleted file mode 100644
index 1ea258ec110..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/timemachine/package-info.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.timemachine;
-
-import javax.annotation.ParametersAreNonnullByDefault;
-import javax.annotation.Generated;
-
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/InstalledPluginsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/InstalledPluginsRequest.java
deleted file mode 100644
index 7d822e8a559..00000000000
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/InstalledPluginsRequest.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * SonarQube
- * Copyright (C) 2009-2023 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.updatecenter;
-
-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/updatecenter/installed_plugins">Further information about this action online (including a response example)</a>
- * @since 2.10
- */
-@Generated("sonar-ws-generator")
-public class InstalledPluginsRequest {
-
- private String format;
-
- /**
- * Possible values:
- * <ul>
- * <li>"json"</li>
- * </ul>
- */
- public InstalledPluginsRequest setFormat(String format) {
- this.format = format;
- return this;
- }
-
- public String getFormat() {
- return format;
- }
-}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/UpdatecenterService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/UpdatecenterService.java
index a28233f8d25..8eb127f7ee9 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/UpdatecenterService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/updatecenter/UpdatecenterService.java
@@ -39,23 +39,6 @@ public class UpdatecenterService 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/updatecenter/installed_plugins">Further information about this action online (including a response example)</a>
- * @since 2.10
- * @deprecated since 6.3
- */
- @Deprecated
- public String installedPlugins(InstalledPluginsRequest request) {
- return call(
- new GetRequest(path("installed_plugins"))
- .setParam("format", request.getFormat())
- .setMediaType(MediaTypes.JSON)
- ).content();
- }
-
- /**
- *
- * This is part of the internal API.
* This is a POST request.
* @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/updatecenter/upload">Further information about this action online (including a response example)</a>
* @since 6.0
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/CreateRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/CreateRequest.java
index 1e446732fbc..404b1f3d0a7 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/CreateRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/CreateRequest.java
@@ -119,16 +119,6 @@ public class CreateRequest {
return scmAccount;
}
- /**
- * Example value: "myscmaccount1,myscmaccount2"
- * @deprecated since 6.1
- */
- @Deprecated
- public CreateRequest setScmAccounts(List<String> scmAccounts) {
- this.scmAccounts = scmAccounts;
- return this;
- }
-
public List<String> getScmAccounts() {
return scmAccounts;
}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateRequest.java
index a0292c52ce2..9c89753ce02 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/users/UpdateRequest.java
@@ -85,16 +85,6 @@ public class UpdateRequest {
return scmAccount;
}
- /**
- * Example value: "myscmaccount1,myscmaccount2"
- * @deprecated since 6.1
- */
- @Deprecated
- public UpdateRequest setScmAccounts(String scmAccounts) {
- this.scmAccounts = scmAccounts;
- return this;
- }
-
public String getScmAccounts() {
return scmAccounts;
}