diff options
author | Pierre Guillot <pierre.guillot@sonarsource.com> | 2020-01-30 11:46:37 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2020-02-20 20:46:16 +0100 |
commit | 7915d064a2d0740face4845dc0d8ea3732f236fb (patch) | |
tree | dd342e7e94750f6603be3440c8275500e93a0ed7 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | |
parent | 1fba92e6a849ab29a6d0889dfa56bbc60b5f275c (diff) | |
download | sonarqube-7915d064a2d0740face4845dc0d8ea3732f236fb.tar.gz sonarqube-7915d064a2d0740face4845dc0d8ea3732f236fb.zip |
SONAR-13001 create endpoint alm_integrations/set_pat
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 | 8 |
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 9707a025944..1ca65d852ae 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 @@ -24,6 +24,7 @@ import java.util.Map; import org.sonar.db.alm.AlmAppInstallDao; import org.sonar.db.alm.OrganizationAlmBindingDao; import org.sonar.db.alm.ProjectAlmBindingDao; +import org.sonar.db.alm.pat.AlmPatDao; import org.sonar.db.alm.setting.AlmSettingDao; import org.sonar.db.alm.setting.ProjectAlmSettingDao; import org.sonar.db.ce.CeActivityDao; @@ -103,6 +104,7 @@ public class DbClient { private final PropertiesDao propertiesDao; private final AlmAppInstallDao almAppInstallDao; private final AlmSettingDao almSettingDao; + private final AlmPatDao almPatDao; private final ProjectAlmSettingDao projectAlmSettingDao; private final ProjectAlmBindingDao projectAlmBindingDao; private final InternalComponentPropertiesDao internalComponentPropertiesDao; @@ -172,6 +174,7 @@ public class DbClient { } almAppInstallDao = getDao(map, AlmAppInstallDao.class); almSettingDao = getDao(map, AlmSettingDao.class); + almPatDao = getDao(map, AlmPatDao.class); projectAlmSettingDao = getDao(map, ProjectAlmSettingDao.class); projectAlmBindingDao = getDao(map, ProjectAlmBindingDao.class); schemaMigrationDao = getDao(map, SchemaMigrationDao.class); @@ -254,6 +257,10 @@ public class DbClient { return almSettingDao; } + public AlmPatDao almPatDao() { + return almPatDao; + } + public ProjectAlmSettingDao projectAlmSettingDao() { return projectAlmSettingDao; } @@ -519,4 +526,5 @@ public class DbClient { public NewCodePeriodDao newCodePeriodDao() { return newCodePeriodDao; } + } |