aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2023-08-14 10:29:32 +0200
committersonartech <sonartech@sonarsource.com>2023-08-22 20:03:04 +0000
commitd6133f5b991c6ee072b7c4acdbb1f13fb8a0dd17 (patch)
treeb23cd521668c89ab5f7ec7c181c9e6e34589faca /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent1aa7ae3a18bcb2413792cf75be725d7c3d0851ca (diff)
downloadsonarqube-d6133f5b991c6ee072b7c4acdbb1f13fb8a0dd17.tar.gz
sonarqube-d6133f5b991c6ee072b7c4acdbb1f13fb8a0dd17.zip
SONAR-19783 add GithubOrganizationGroupDao/Dto + mapper
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 47d6813b549..13d32c315d2 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.project.ProjectDao;
import org.sonar.db.property.InternalComponentPropertiesDao;
import org.sonar.db.property.InternalPropertiesDao;
import org.sonar.db.property.PropertiesDao;
+import org.sonar.db.provisioning.GithubOrganizationGroupDao;
import org.sonar.db.purge.PurgeDao;
import org.sonar.db.pushevent.PushEventDao;
import org.sonar.db.qualitygate.ProjectQgateAssociationDao;
@@ -185,6 +186,7 @@ public class DbClient {
private final ReportScheduleDao reportScheduleDao;
private final ReportSubscriptionDao reportSubscriptionDao;
+ private final GithubOrganizationGroupDao githubOrganizationGroupDao;
public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) {
this.database = database;
@@ -241,6 +243,7 @@ public class DbClient {
notificationQueueDao = getDao(map, NotificationQueueDao.class);
metricDao = getDao(map, MetricDao.class);
groupDao = getDao(map, GroupDao.class);
+ githubOrganizationGroupDao = getDao(map, GithubOrganizationGroupDao.class);
externalGroupDao = getDao(map, ExternalGroupDao.class);
ruleDao = getDao(map, RuleDao.class);
ruleRepositoryDao = getDao(map, RuleRepositoryDao.class);
@@ -483,6 +486,10 @@ public class DbClient {
return groupDao;
}
+ public GithubOrganizationGroupDao githubOrganizationGroupDao() {
+ return githubOrganizationGroupDao;
+ }
+
public ExternalGroupDao externalGroupDao() {
return externalGroupDao;
}