diff options
author | Pierre <pierre.guillot@sonarsource.com> | 2021-11-10 17:43:31 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-11-15 20:04:34 +0000 |
commit | 29b7cf350cd0235475e1c09182ab905e4303b442 (patch) | |
tree | c22449965b8efb03b9a8ecb3d224c701eb9b68bb /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | be652549aac881f0db55ee1ca7cb4871cc4babd5 (diff) | |
download | sonarqube-29b7cf350cd0235475e1c09182ab905e4303b442.tar.gz sonarqube-29b7cf350cd0235475e1c09182ab905e4303b442.zip |
SONAR-13426 add api/project_badges/token endpoint
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 | 6 |
1 files changed, 6 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 99fa1daa6fa..32fb4f65628 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 @@ -58,6 +58,7 @@ import org.sonar.db.permission.template.PermissionTemplateDao; import org.sonar.db.plugin.PluginDao; import org.sonar.db.portfolio.PortfolioDao; import org.sonar.db.project.ProjectDao; +import org.sonar.db.project.ProjectBadgeTokenDao; import org.sonar.db.property.InternalComponentPropertiesDao; import org.sonar.db.property.InternalPropertiesDao; import org.sonar.db.property.PropertiesDao; @@ -166,6 +167,7 @@ public class DbClient { private final SamlMessageIdDao samlMessageIdDao; private final UserDismissedMessagesDao userDismissedMessagesDao; private final ApplicationProjectsDao applicationProjectsDao; + private final ProjectBadgeTokenDao projectBadgeTokenDao; public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) { this.database = database; @@ -240,6 +242,7 @@ public class DbClient { internalComponentPropertiesDao = getDao(map, InternalComponentPropertiesDao.class); newCodePeriodDao = getDao(map, NewCodePeriodDao.class); projectDao = getDao(map, ProjectDao.class); + projectBadgeTokenDao = getDao(map, ProjectBadgeTokenDao.class); portfolioDao = getDao(map, PortfolioDao.class); sessionTokensDao = getDao(map, SessionTokensDao.class); samlMessageIdDao = getDao(map, SamlMessageIdDao.class); @@ -541,4 +544,7 @@ public class DbClient { return userDismissedMessagesDao; } + public ProjectBadgeTokenDao projectBadgeTokenDao() { + return projectBadgeTokenDao; + } } |