diff options
author | Wojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com> | 2023-05-04 09:16:57 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-05-11 20:03:14 +0000 |
commit | ca468111e1e8425cdbc9b9c23e80c3ab563f6115 (patch) | |
tree | e75854dd50a97f10ee9dd9a200f171c48839d29b /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | 75c9f37081c78eff7c7452aa5b00bc2f40970e21 (diff) | |
download | sonarqube-ca468111e1e8425cdbc9b9c23e80c3ab563f6115.tar.gz sonarqube-ca468111e1e8425cdbc9b9c23e80c3ab563f6115.zip |
SONAR-19085 Add step to fetch groups from DB
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.java | 7 |
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 906edafaee2..4179b7dc7e1 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 @@ -84,6 +84,7 @@ 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.ExternalGroupDao; import org.sonar.db.user.GroupDao; import org.sonar.db.user.GroupMembershipDao; import org.sonar.db.user.RoleDao; @@ -149,6 +150,7 @@ public class DbClient { private final NotificationQueueDao notificationQueueDao; private final MetricDao metricDao; private final GroupDao groupDao; + private final ExternalGroupDao externalGroupDao; private final RuleDao ruleDao; private final RuleRepositoryDao ruleRepositoryDao; private final ActiveRuleDao activeRuleDao; @@ -232,6 +234,7 @@ public class DbClient { notificationQueueDao = getDao(map, NotificationQueueDao.class); metricDao = getDao(map, MetricDao.class); groupDao = getDao(map, GroupDao.class); + externalGroupDao = getDao(map, ExternalGroupDao.class); ruleDao = getDao(map, RuleDao.class); ruleRepositoryDao = getDao(map, RuleRepositoryDao.class); activeRuleDao = getDao(map, ActiveRuleDao.class); @@ -470,6 +473,10 @@ public class DbClient { return groupDao; } + public ExternalGroupDao externalGroupDao() { + return externalGroupDao; + } + public RuleDao ruleDao() { return ruleDao; } |