diff options
author | Aurelien Poscia <aurelien.poscia@sonarsource.com> | 2023-09-06 16:09:43 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-09-15 20:03:05 +0000 |
commit | 6298f2f166180d05b2351d141d631239c3bde0d9 (patch) | |
tree | abaab5b4d0eeb0bc4c9dfc10afe7d9c8d2b621b6 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | 3dff17bea185bb8bfca95424645f2fba4052218a (diff) | |
download | sonarqube-6298f2f166180d05b2351d141d631239c3bde0d9.tar.gz sonarqube-6298f2f166180d05b2351d141d631239c3bde0d9.zip |
SONAR-20392 Added GithubPermissionsMapping[Dao|Dto]
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 13d32c315d2..9949da0a223 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 @@ -64,6 +64,7 @@ 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.provisioning.GithubPermissionsMappingDao; import org.sonar.db.purge.PurgeDao; import org.sonar.db.pushevent.PushEventDao; import org.sonar.db.qualitygate.ProjectQgateAssociationDao; @@ -187,6 +188,7 @@ public class DbClient { private final ReportScheduleDao reportScheduleDao; private final ReportSubscriptionDao reportSubscriptionDao; private final GithubOrganizationGroupDao githubOrganizationGroupDao; + private final GithubPermissionsMappingDao githubPermissionsMappingDao; public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) { this.database = database; @@ -244,6 +246,7 @@ public class DbClient { metricDao = getDao(map, MetricDao.class); groupDao = getDao(map, GroupDao.class); githubOrganizationGroupDao = getDao(map, GithubOrganizationGroupDao.class); + githubPermissionsMappingDao = getDao(map, GithubPermissionsMappingDao.class); externalGroupDao = getDao(map, ExternalGroupDao.class); ruleDao = getDao(map, RuleDao.class); ruleRepositoryDao = getDao(map, RuleRepositoryDao.class); @@ -490,6 +493,10 @@ public class DbClient { return githubOrganizationGroupDao; } + public GithubPermissionsMappingDao githubPermissionsMappingDao() { + return githubPermissionsMappingDao; + } + public ExternalGroupDao externalGroupDao() { return externalGroupDao; } |