]> source.dussan.org Git - sonarqube.git/commit
SONAR-21819 Extract logic reusable between legacy and v2 endpoints.
authorWojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com>
Tue, 19 Mar 2024 13:15:49 +0000 (14:15 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 28 Mar 2024 20:02:50 +0000 (20:02 +0000)
commit412f42cb112802614e541ca186d3e35006f28be9
tree65afa0df4c797929ee01d79ec0ba6efb766b82fb
parent1398b6005bc206cd64bf570b73ee18092fe88a23
SONAR-21819 Extract logic reusable between legacy and v2 endpoints.
122 files changed:
server/sonar-webserver-common/build.gradle
server/sonar-webserver-common/src/it/java/org/sonar/server/common/component/ComponentUpdaterIT.java [new file with mode: 0644]
server/sonar-webserver-common/src/it/java/org/sonar/server/common/permission/DefaultTemplatesResolverImplIT.java [new file with mode: 0644]
server/sonar-webserver-common/src/it/java/org/sonar/server/common/permission/GroupPermissionChangerIT.java [new file with mode: 0644]
server/sonar-webserver-common/src/it/java/org/sonar/server/common/permission/PermissionTemplateServiceIT.java [new file with mode: 0644]
server/sonar-webserver-common/src/it/java/org/sonar/server/common/permission/UserPermissionChangerIT.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almintegration/ProjectKeyGenerator.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almintegration/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/DelegatingDevOpsProjectCreatorFactory.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/DevOpsProjectCreator.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/DevOpsProjectCreatorFactory.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/DevOpsProjectDescriptor.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreationParameters.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreator.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactory.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/gitlab/GitlabProjectCreator.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/gitlab/GitlabProjectCreatorFactory.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/gitlab/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/component/ComponentCreationParameters.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/component/ComponentUpdater.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/component/NewComponent.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/component/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/newcodeperiod/CaycUtils.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/newcodeperiod/NewCodeDefinitionResolver.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/newcodeperiod/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/DefaultTemplatesResolver.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/DefaultTemplatesResolverImpl.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GranteeTypeSpecificPermissionUpdater.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChange.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/GroupPermissionChanger.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionChange.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionTemplateService.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/PermissionUpdater.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/UserPermissionChange.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/permission/UserPermissionChanger.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/project/ProjectCreator.java [new file with mode: 0644]
server/sonar-webserver-common/src/main/java/org/sonar/server/common/project/package-info.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almintegration/ProjectKeyGeneratorTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/DelegatingDevOpsProjectCreatorFactoryTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactoryTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/gitlab/GitlabProjectCreatorFactoryTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/gitlab/GitlabProjectCreatorTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/newcodeperiod/CaycUtilsTest.java [new file with mode: 0644]
server/sonar-webserver-common/src/test/java/org/sonar/server/common/newcodeperiod/NewCodeDefinitionResolverTest.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/BranchReportSubmitterIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/component/ComponentUpdaterIT.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/CaycUtilsTest.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/newcodeperiod/NewCodeDefinitionResolverTest.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/DefaultTemplatesResolverImplIT.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/GroupPermissionChangerIT.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/PermissionTemplateServiceIT.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/UserPermissionChangerIT.java [deleted file]
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/BasePermissionWsIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/ApplyTemplateActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/BulkApplyTemplateActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/DeleteTemplateActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/permission/ws/template/SearchTemplatesActionIT.java
server/sonar-webserver-webapi/src/it/java/org/sonar/server/project/ws/CreateActionIT.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/ProjectKeyGenerator.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/azure/ImportAzureProjectAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/bitbucketcloud/ImportBitbucketCloudRepoAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/bitbucketserver/ImportBitbucketServerProjectAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/gitlab/ImportGitLabProjectAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/DelegatingDevOpsProjectCreatorFactory.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/DevOpsProjectCreator.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/DevOpsProjectCreatorFactory.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/DevOpsProjectDescriptor.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/GithubProjectCreationParameters.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/GithubProjectCreator.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/GithubProjectCreatorFactory.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/gitlab/GitlabProjectCreator.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/gitlab/GitlabProjectCreatorFactory.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/almsettings/ws/gitlab/package-info.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/ce/queue/ReportSubmitter.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/component/ComponentCreationParameters.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/component/ComponentUpdater.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/component/NewComponent.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/newcodeperiod/CaycUtils.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/newcodeperiod/NewCodeDefinitionResolver.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/newcodeperiod/ws/SetAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/newcodeperiod/ws/UnsetAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/DefaultTemplatesResolver.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/DefaultTemplatesResolverImpl.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/GranteeTypeSpecificPermissionUpdater.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/GroupPermissionChange.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/GroupPermissionChanger.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/PermissionChange.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/PermissionTemplateService.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/PermissionUpdater.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/UserPermissionChange.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/UserPermissionChanger.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/AddGroupAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/AddUserAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/RemoveGroupAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/RemoveUserAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/ApplyTemplateAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/BulkApplyTemplateAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/DeleteTemplateAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/SearchTemplatesAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/SearchTemplatesData.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/CreateAction.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/ProjectCreator.java [deleted file]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/project/ws/ProjectsWsModule.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almintegration/ws/ProjectKeyGeneratorTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/DelegatingDevOpsProjectCreatorFactoryTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/GithubProjectCreatorFactoryTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/GithubProjectCreatorTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/gitlab/GitlabProjectCreatorFactoryTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/almsettings/ws/gitlab/GitlabProjectCreatorTest.java [deleted file]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/component/NewComponentTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/SearchTemplatesDataTest.java
server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java