]> source.dussan.org Git - sonarqube.git/commit
SONAR-8785 cache DbSession in ThreadLocals for HTTP requests 2158/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 8 Jun 2017 15:51:17 +0000 (17:51 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 11 Jul 2017 08:15:10 +0000 (10:15 +0200)
commit81a6eef465d500e89d7bbf3a818fed1910951c84
tree35f93b4f050e55345e1e62a8027f57eeae21a2c8
parentb631f20affe9c7d1bb4bf2e66c1b47d68a8438b5
SONAR-8785 cache DbSession in ThreadLocals for HTTP requests
17 files changed:
server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
server/sonar-db-dao/src/main/java/org/sonar/db/DBSessions.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/DBSessionsImpl.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
server/sonar-db-dao/src/main/java/org/sonar/db/DbSession.java
server/sonar-db-dao/src/main/java/org/sonar/db/DbSessionImpl.java
server/sonar-db-dao/src/main/java/org/sonar/db/DelegatingDbSession.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/NonClosingDbSession.java [new file with mode: 0644]
server/sonar-db-dao/src/test/java/org/sonar/db/DBSessionsImplTest.java [new file with mode: 0644]
server/sonar-db-dao/src/test/java/org/sonar/db/DbTester.java
server/sonar-db-dao/src/test/java/org/sonar/db/TestDBSessions.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel1.java
server/sonar-server/src/main/java/org/sonar/server/user/UserSessionFilter.java
server/sonar-server/src/test/java/org/sonar/server/metric/DefaultMetricFinderTest.java
server/sonar-server/src/test/java/org/sonar/server/metric/ws/DomainsActionTest.java
server/sonar-server/src/test/java/org/sonar/server/user/UserSessionFilterTest.java