aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2023-02-22 14:44:24 +0100
committersonartech <sonartech@sonarsource.com>2023-03-22 20:04:06 +0000
commite5fa399151a9c5edbc3d023d73224b09cbac6266 (patch)
treec937823e6eb85d6fd2ceb6e845bf2c12692e7bb1 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parentf645ee2ea95bc40e593dd786c374c156dcd14b7c (diff)
downloadsonarqube-e5fa399151a9c5edbc3d023d73224b09cbac6266.tar.gz
sonarqube-e5fa399151a9c5edbc3d023d73224b09cbac6266.zip
SONAR-18525 SCIM Group data model (Mapper, DTO, DAO, Migrations)
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.java8
1 files changed, 8 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 0caa22c4ac8..906edafaee2 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
@@ -81,6 +81,7 @@ import org.sonar.db.rule.RuleDao;
import org.sonar.db.rule.RuleRepositoryDao;
import org.sonar.db.scannercache.ScannerAnalysisCacheDao;
import org.sonar.db.schemamigration.SchemaMigrationDao;
+import org.sonar.db.scim.ScimGroupDao;
import org.sonar.db.scim.ScimUserDao;
import org.sonar.db.source.FileSourceDao;
import org.sonar.db.user.GroupDao;
@@ -174,6 +175,7 @@ public class DbClient {
private final ProjectBadgeTokenDao projectBadgeTokenDao;
private final ScannerAnalysisCacheDao scannerAnalysisCacheDao;
private final ScimUserDao scimUserDao;
+ private final ScimGroupDao scimGroupDao;
public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) {
this.database = database;
@@ -257,6 +259,7 @@ public class DbClient {
applicationProjectsDao = getDao(map, ApplicationProjectsDao.class);
scannerAnalysisCacheDao = getDao(map, ScannerAnalysisCacheDao.class);
scimUserDao = getDao(map, ScimUserDao.class);
+ scimGroupDao = getDao(map, ScimGroupDao.class);
}
public DbSession openSession(boolean batch) {
@@ -568,4 +571,9 @@ public class DbClient {
public ScimUserDao scimUserDao() {
return scimUserDao;
}
+
+ public ScimGroupDao scimGroupDao() {
+ return scimGroupDao;
+ }
}
+