diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-12 12:54:31 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-01-12 12:54:31 +0100 |
commit | 08e697e6a8e0f13d0c38961e24d9136eba032a12 (patch) | |
tree | 1cc753b29cf6599f9f645ca29282d7a2475ed4c9 | |
parent | 06120a4fe2557d7a2716a2c85ad7aaa078a72aad (diff) | |
download | sonarqube-08e697e6a8e0f13d0c38961e24d9136eba032a12.tar.gz sonarqube-08e697e6a8e0f13d0c38961e24d9136eba032a12.zip |
SONAR-7139 Deprecate WS api/resources/index and api/resources/search
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java b/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java index 300f9634cde..eee9ca0ab19 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java +++ b/server/sonar-server/src/main/java/org/sonar/server/component/ws/ResourcesWs.java @@ -41,6 +41,7 @@ public class ResourcesWs implements WebService { NewAction action = controller.createAction("index") .setDescription("Get a list of components. Requires Browse permission on resource") .setSince("2.10") + .setDeprecatedSince("5.4") .setHandler(RailsHandler.INSTANCE) .setResponseExample(Resources.getResource(this.getClass(), "resources-example-index.json")); @@ -118,6 +119,7 @@ public class ResourcesWs implements WebService { NewAction action = controller.createAction("search") .setDescription("Search for components") .setSince("3.3") + .setDeprecatedSince("5.4") .addPagingParams(10) .setInternal(true) .setHandler(RailsHandler.INSTANCE) |