]> source.dussan.org Git - sonarqube.git/commit
SONAR-7187 Remove paging from api/ce/activity
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 15 Apr 2016 15:17:01 +0000 (17:17 +0200)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 20 Apr 2016 23:23:38 +0000 (01:23 +0200)
commita2e88e9141e5f9d5bda8b62414b816685e767227
treeccda2ca97544a4d8833f33e6c83c702b428f9dc1
parentc2412a35e2fed2ffba40825d335d72b0c66ee818
SONAR-7187 Remove paging from api/ce/activity

In order to have no more full scan on the ce_activity table, we had to remove paging as it was executing a select count(* from ce_activity)
server/sonar-server/src/main/java/org/sonar/server/ce/ws/ActivityAction.java
server/sonar-server/src/test/java/org/sonar/server/ce/ws/ActivityActionTest.java
sonar-db/src/main/java/org/sonar/db/ce/CeActivityDao.java
sonar-db/src/main/java/org/sonar/db/ce/CeQueueDao.java
sonar-db/src/main/resources/org/sonar/db/ce/CeActivityMapper.xml
sonar-db/src/test/java/org/sonar/db/ce/CeActivityDaoTest.java
sonar-db/src/test/java/org/sonar/db/ce/CeQueueDaoTest.java
sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java
sonar-ws/src/main/protobuf/ws-ce.proto