]> source.dussan.org Git - sonarqube.git/commit
SONAR-5849 Extract logic from ProjectReferentialsAction to ProjectReferentialsLoader
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 30 Dec 2014 17:07:24 +0000 (18:07 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 30 Dec 2014 17:57:54 +0000 (18:57 +0100)
commitebef01c87496f1c818052f40e2b6812717b21833
treec67145621c8ffcfa7100d0cec53c9ffe8ed83eb7
parent468b76d034dfd67f4a4b001e923cf8cfc9803a5e
SONAR-5849 Extract logic from ProjectReferentialsAction to ProjectReferentialsLoader
47 files changed:
server/sonar-server/src/main/java/org/sonar/server/batch/ProjectReferentialsAction.java
server/sonar-server/src/main/java/org/sonar/server/batch/ProjectReferentialsLoader.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/batch/ProjectReferentialsQuery.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/component/persistence/SnapshotDao.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/component/ws/ComponentAppAction.java
server/sonar-server/src/main/java/org/sonar/server/db/DbClient.java
server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterContext.java
server/sonar-server/src/main/java/org/sonar/server/measure/MeasureFilterSql.java
server/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java
server/sonar-server/src/test/java/org/sonar/server/batch/BatchWsTest.java
server/sonar-server/src/test/java/org/sonar/server/batch/ProjectReferentialsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/batch/ProjectReferentialsLoaderMediumTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/component/ComponentTesting.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/component/SnapshotTesting.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/component/persistence/SnapshotDaoTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/component/ws/ComponentAppActionTest.java
server/sonar-server/src/test/java/org/sonar/server/measure/MeasureFilterExecutorTest.java
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/not_returned_secured_settings_with_only_preview_permission.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_active_rules.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_project_settings.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_project_with_module_settings.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_project_with_module_settings_inherited_from_project.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_project_with_module_with_sub_module.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_project_with_two_modules.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_provisioned_project_profile.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_quality_profile_from_default_profile.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_quality_profile_from_given_profile_name.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_quality_profiles.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_quality_profiles_even_when_project_does_not_exists.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_sub_module_settings.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_sub_module_settings_including_settings_from_parent_modules.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_sub_module_settings_inherited_from_project.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/batch/ProjectReferentialsActionTest/return_sub_module_settings_inherited_from_project_and_module.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/component/persistence/SnapshotDaoTest/empty.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/component/persistence/SnapshotDaoTest/insert-result.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/component/persistence/SnapshotDaoTest/shared.xml [new file with mode: 0644]
server/sonar-server/src/test/resources/org/sonar/server/component/persistence/SnapshotDaoTest/snapshots.xml [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/component/SnapshotDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/component/db/SnapshotMapper.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
sonar-core/src/main/java/org/sonar/core/resource/ResourceMapper.java
sonar-core/src/main/java/org/sonar/core/resource/SnapshotDto.java [deleted file]
sonar-core/src/main/resources/org/sonar/core/component/db/SnapshotMapper.xml [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml
sonar-core/src/test/java/org/sonar/core/resource/ResourceDaoTest.java
sonar-core/src/test/java/org/sonar/core/resource/SnapshotDtoTest.java [deleted file]