diff options
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; } |