]> source.dussan.org Git - sonarqube.git/commit
SONAR-12259 - remove deprecated request params, response fields from api/projects...
authorJacek <52388493+jacek-poreda-sonarsource@users.noreply.github.com>
Mon, 22 Jul 2019 15:14:53 +0000 (17:14 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 22 Jul 2019 18:21:09 +0000 (20:21 +0200)
commit44a69c797469630104009f6786d5b519ccf39472
tree026a7afb68c214c903c35f5b3156bb5e567e9dc7
parenta746e93757faef10826e0971c22ab45bc33af759
SONAR-12259 - remove deprecated request params, response fields from api/projects (#1881)

* remove deprecated params from api/projects/bulk_delete
* remove deprecated projectsIds param
* update documentation for api/projects/bulk_delete

* remove deprecated params from api/projects/bulk_update_key
* remove deprecated params: key, projectId, id
* update documentation for api/projects/bulk_update_key

* remove deprecated params from api/projects/create
* remove deprecated param: key
* update documentation for api/projects/create

* remove deprecated params from api/projects/delete
* remove deprecated param: projectId, key
* update documentation for api/projects/delete

* remove deprecated apis: api/projects/ghosts | index | provisioned

* remove deprecated params from api/projects/search
* remove deprecated param: projectIds
* remove deprecated response fields: id (uuid)
* remove all usage of deprecated params: page, pageSize (remove associated tests)
* update documentation for api/projects/search

* remove deprecated params from api/projects/search_my_projects
* remove deprecated response fields: id (uuid)
* update documentation for api/projects/search_my_projects

* remove deprecated params from api/projects/update_key
* remove deprecated params: id, projectId, key, newKey
* change "from" param to be mandatory

* remove ProjectListTest.java file as endpoint does not exist anymore

* bump orchestrator version
* remove ComponentDao and ComponentMapper methods associated with deprecated code

* use "project" param when calling api/projects/create
* update ProjectDumpOperations#renameProjectKey to use api/projects/update_key endpoint

* use java api calls instead of URLs

*  bump orchestrator version to latest released 3.26.0.2111
42 files changed:
server/sonar-db-dao/src/main/java/org/sonar/db/component/ComponentDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/component/ComponentMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/component/ComponentMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/component/ComponentDaoTest.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/BulkDeleteAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/BulkUpdateKeyAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/CreateAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/DeleteAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/GhostsAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/project/ws/IndexAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/project/ws/ProjectsWsModule.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/ProvisionedAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/project/ws/SearchAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/SearchMyProjectsAction.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/SearchRequest.java
server/sonar-server/src/main/java/org/sonar/server/project/ws/UpdateKeyAction.java
server/sonar-server/src/main/resources/org/sonar/server/project/ws/search-example.json
server/sonar-server/src/main/resources/org/sonar/server/project/ws/search_my_projects-example.json
server/sonar-server/src/test/java/org/sonar/server/issue/ws/SearchActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/BulkDeleteActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/BulkUpdateKeyActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/DeleteActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/GhostsActionTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/project/ws/IndexActionTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/project/ws/ProjectsWsModuleTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/ProvisionedActionTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/project/ws/SearchActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/SearchMyProjectsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/project/ws/UpdateKeyActionTest.java
server/sonar-server/src/test/java/org/sonar/server/qualityprofile/ws/ProjectsActionTest.java
server/sonar-server/src/test/resources/org/sonar/server/issue/ws/SearchActionTest/deprecated_paging.json [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/BulkDeleteRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/BulkUpdateKeyRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/DeleteRequest.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/GhostsRequest.java [deleted file]
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/IndexRequest.java [deleted file]
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/ProjectsService.java
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/ProvisionedRequest.java [deleted file]
sonar-ws/src/main/java/org/sonarqube/ws/client/projects/UpdateKeyRequest.java
sonar-ws/src/main/protobuf/ws-projects.proto