aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorJacek <jacek.poreda@sonarsource.com>2022-07-11 10:40:02 +0200
committersonartech <sonartech@sonarsource.com>2022-07-25 20:03:57 +0000
commit31184bdc5b3c24d88f424c1625bedc36513884cc (patch)
tree44d98aa802286caca513d3b0bdb66f0dc780aada /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parentaa16d0446cd9fe127696cce147cfdba46e041b1b (diff)
downloadsonarqube-31184bdc5b3c24d88f424c1625bedc36513884cc.tar.gz
sonarqube-31184bdc5b3c24d88f424c1625bedc36513884cc.zip
SONAR-16374 Add dao for 'push_events' table
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
index b883f7623d2..f4238569bda 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
@@ -63,6 +63,7 @@ import org.sonar.db.property.InternalComponentPropertiesDao;
import org.sonar.db.property.InternalPropertiesDao;
import org.sonar.db.property.PropertiesDao;
import org.sonar.db.purge.PurgeDao;
+import org.sonar.db.pushevent.PushEventDao;
import org.sonar.db.qualitygate.ProjectQgateAssociationDao;
import org.sonar.db.qualitygate.QualityGateConditionDao;
import org.sonar.db.qualitygate.QualityGateDao;
@@ -135,6 +136,7 @@ public class DbClient {
private final ProjectLinkDao projectLinkDao;
private final EventDao eventDao;
private final EventComponentChangeDao eventComponentChangeDao;
+ private final PushEventDao pushEventDao;
private final PurgeDao purgeDao;
private final QualityGateDao qualityGateDao;
private final QualityGateConditionDao gateConditionDao;
@@ -214,6 +216,7 @@ public class DbClient {
projectLinkDao = getDao(map, ProjectLinkDao.class);
eventDao = getDao(map, EventDao.class);
eventComponentChangeDao = getDao(map, EventComponentChangeDao.class);
+ pushEventDao = getDao(map, PushEventDao.class);
purgeDao = getDao(map, PurgeDao.class);
qualityGateDao = getDao(map, QualityGateDao.class);
qualityGateUserPermissionsDao = getDao(map, QualityGateUserPermissionsDao.class);
@@ -417,6 +420,10 @@ public class DbClient {
return eventComponentChangeDao;
}
+ public PushEventDao pushEventDao() {
+ return pushEventDao;
+ }
+
public PurgeDao purgeDao() {
return purgeDao;
}