]> source.dussan.org Git - sonarqube.git/commit
SONAR-8776 remove deprecated params, fields from api/components (#1894)
authorJacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com>
Mon, 22 Jul 2019 15:17:18 +0000 (17:17 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 22 Jul 2019 18:21:09 +0000 (20:21 +0200)
commit12bfa39dec602d97178c9c9967bb2a367dc2c5fc
tree7eb76f594387b41bfc1635ba2914f8fc25863d91
parent44a69c797469630104009f6786d5b519ccf39472
SONAR-8776 remove deprecated params, fields from api/components (#1894)

* remove componentId, uuid params and associated documentation

* remove deprecated params from api/components/search_projects

* remove deprecated params from api/components/show

* remove request parameters: key, componentId, id

* remove deprecated params from api/components/suggestions

* remove deprecated params from api/components/tree

* remove deprecated request parameters: baseComponentKey, componentId, baseComponentId

* remove `id` field response from api/components/search, api/components/search_projects

* fix description in api/components/show
21 files changed:
server/sonar-server/src/main/java/org/sonar/server/component/ws/AppAction.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/ComponentDtoToWsComponent.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/SearchAction.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/SearchProjectsAction.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/ShowAction.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/SuggestionsAction.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java
server/sonar-server/src/main/resources/org/sonar/server/component/ws/search-components-example.json
server/sonar-server/src/main/resources/org/sonar/server/component/ws/search_projects-example.json
server/sonar-server/src/main/resources/org/sonar/server/component/ws/show-example.json
server/sonar-server/src/main/resources/org/sonar/server/component/ws/tree-example.json
server/sonar-server/src/test/java/org/sonar/server/component/ws/AppActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/SearchActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/SearchProjectsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/ShowActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/SuggestionsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ws/TreeActionTest.java
server/sonar-server/src/test/java/org/sonar/server/issue/ws/SearchActionTest.java
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/component/ComponentsWsParameters.java
sonar-ws/src/main/protobuf/ws-components.proto