]> source.dussan.org Git - sonarqube.git/commit
Replace table ANALYSIS_REPORTS by CE_QUEUE and CE_ACTIVITY
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 9 Sep 2015 16:14:31 +0000 (18:14 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 18 Sep 2015 21:48:48 +0000 (23:48 +0200)
commit024672b883d5b81af0838106fe53df31365444f2
tree0201950a25ec411bbcee9a87e4f21f9c021ae2d5
parentfaf4df42facfd3175f4689f2ea3013e92bfe301e
Replace table ANALYSIS_REPORTS by CE_QUEUE and CE_ACTIVITY
137 files changed:
server/sonar-server/src/main/java/org/sonar/server/batch/BatchWsModule.java
server/sonar-server/src/main/java/org/sonar/server/component/ComponentService.java
server/sonar-server/src/main/java/org/sonar/server/component/DefaultRubyComponentService.java
server/sonar-server/src/main/java/org/sonar/server/computation/CeQueue.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeQueueInitializer.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeQueueListener.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeTask.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeTaskSubmit.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeWorker.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CeWorkerImpl.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/CleanReportQueueListener.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ComputationStepExecutor.java
server/sonar-server/src/main/java/org/sonar/server/computation/ComputeEngineProcessingExecutorService.java
server/sonar-server/src/main/java/org/sonar/server/computation/ComputeEngineProcessingModule.java
server/sonar-server/src/main/java/org/sonar/server/computation/ComputeEngineProcessingQueue.java
server/sonar-server/src/main/java/org/sonar/server/computation/ComputeEngineProcessingQueueImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/ComputeEngineTask.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportFiles.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportProcessingScheduler.java
server/sonar-server/src/main/java/org/sonar/server/computation/ReportProcessingSchedulerExecutorService.java
server/sonar-server/src/main/java/org/sonar/server/computation/ReportProcessingTask.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportProcessor.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportQueue.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportQueueCleaner.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportSubmitter.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ReportTaskProcessor.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/activity/ActivityManager.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/activity/package-info.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/batch/BatchReportDirectoryHolder.java
server/sonar-server/src/main/java/org/sonar/server/computation/batch/BatchReportDirectoryHolderImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/container/ComputeEngineContainer.java
server/sonar-server/src/main/java/org/sonar/server/computation/container/ContainerFactory.java
server/sonar-server/src/main/java/org/sonar/server/computation/container/ContainerFactoryImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java
server/sonar-server/src/main/java/org/sonar/server/computation/monitoring/ComputeEngineQueueMonitor.java
server/sonar-server/src/main/java/org/sonar/server/computation/qualitygate/MutableQualityGateHolder.java
server/sonar-server/src/main/java/org/sonar/server/computation/qualitygate/QualityGateHolder.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/QualityGateLoadingStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/ReportExtractionStep.java
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeSubmitWsAction.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeTaskWsAction.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeWs.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeWsAction.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/CeWsTaskFormatter.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/ComputationWs.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/ComputationWsAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/HistoryAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/IsQueueEmptyWs.java
server/sonar-server/src/main/java/org/sonar/server/computation/ws/QueueAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/computation/ws/SubmitReportAction.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
server/sonar-server/src/main/resources/org/sonar/server/computation/ws/CeSubmitWsAction/example.json [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/batch/BatchWsModuleTest.java
server/sonar-server/src/test/java/org/sonar/server/component/ComponentServiceTest.java
server/sonar-server/src/test/java/org/sonar/server/component/DefaultRubyComponentServiceTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/CeQueueInitializerTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/CeQueueTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/CeWorkerImplTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/CleanReportQueueListenerTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ComputeEngineProcessingQueueImplTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ReportProcessingSchedulerTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ReportProcessingTaskTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ReportProcessorTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ReportQueueCleanerTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ReportQueueTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ReportSubmitterTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/activity/ActivityManagerTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulatorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/monitoring/ComputeEngineQueueMonitorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/step/ComputationStepsTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/step/ReportExtractionStepTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/ws/CeSubmitWsActionTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/CeTaskWsActionTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/CeWsTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/ComputationWsTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/HistoryActionMediumTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/IsQueueEmptyWsTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/QueueActionTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/computation/ws/SubmitReportActionTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/ws/TestRequest.java
server/sonar-server/src/test/resources/org/sonar/server/computation/ws/HistoryActionMediumTest/list_history_reports.json [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/computation/ws/QueueActionTest/list_queue_reports.json [deleted file]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/414_add_scan_and_dry_run_permissions.rb
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/931_create_ce_activity.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/932_create_ce_queue.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/933_drop_table_analysis_reports.rb [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/db/migrate/934_remove_analysis_reports_from_activities.rb [new file with mode: 0644]
sonar-batch/src/main/java/org/sonar/batch/report/ReportPublisher.java
sonar-core/src/main/java/org/sonar/core/platform/PluginRepository.java
sonar-core/src/main/java/org/sonar/core/util/Protobuf.java
sonar-db/src/main/java/org/sonar/db/Dao.java
sonar-db/src/main/java/org/sonar/db/DaoModule.java
sonar-db/src/main/java/org/sonar/db/DbClient.java
sonar-db/src/main/java/org/sonar/db/MyBatis.java
sonar-db/src/main/java/org/sonar/db/ce/CeActivityDao.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeActivityDto.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeActivityMapper.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeActivityQuery.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeQueueDao.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeQueueDto.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeQueueMapper.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/CeTaskTypes.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/ce/package-info.java [new file with mode: 0644]
sonar-db/src/main/java/org/sonar/db/compute/AnalysisReportDao.java [deleted file]
sonar-db/src/main/java/org/sonar/db/compute/AnalysisReportDto.java [deleted file]
sonar-db/src/main/java/org/sonar/db/compute/AnalysisReportMapper.java [deleted file]
sonar-db/src/main/java/org/sonar/db/compute/package-info.java [deleted file]
sonar-db/src/main/java/org/sonar/db/version/DatabaseVersion.java
sonar-db/src/main/java/org/sonar/db/version/MigrationStepModule.java
sonar-db/src/main/java/org/sonar/db/version/v52/RemoveAnalysisReportsFromActivities.java [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/ce/CeActivityMapper.xml [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml [new file with mode: 0644]
sonar-db/src/main/resources/org/sonar/db/compute/AnalysisReportMapper.xml [deleted file]
sonar-db/src/main/resources/org/sonar/db/version/rows-h2.sql
sonar-db/src/main/resources/org/sonar/db/version/schema-h2.ddl
sonar-db/src/test/java/org/sonar/db/DaoModuleTest.java
sonar-db/src/test/java/org/sonar/db/ce/CeActivityDaoTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/ce/CeQueueDaoTest.java [new file with mode: 0644]
sonar-db/src/test/java/org/sonar/db/compute/AnalysisReportDaoTest.java [deleted file]
sonar-db/src/test/java/org/sonar/db/version/v52/RemoveAnalysisReportsFromActivitiesTest.java [new file with mode: 0644]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/any-analysis-reports.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/book_available_report_analysis_while_having_one_working_on_another_project.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/empty.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/insert-result.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/one_analysis_report.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/pop_null_if_no_pending_reports.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/pop_oldest_pending.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/select.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/three_analysis_reports.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/truncate-result.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/update-all-to-status-pending-result.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/update-all-to-status-pending.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/compute/AnalysisReportDaoTest/zip.zip [deleted file]
sonar-plugin-api/src/main/java/org/sonar/api/utils/internal/TestSystem2.java [new file with mode: 0644]
sonar-ws/src/main/gen-java/org/sonarqube/ws/WsCe.java [new file with mode: 0644]
sonar-ws/src/main/protobuf/ws-ce.proto [new file with mode: 0644]