aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorbelen-pruvost-sonarsource <belen.pruvost@sonarsource.com>2021-10-13 18:25:51 +0200
committersonartech <sonartech@sonarsource.com>2021-10-22 20:03:27 +0000
commit06672268a78369a8442e1d8f291b2d80c6d95f9a (patch)
tree9bbcee010a24b2294e07e4f4558905bc255d5bb5 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent2d5130b8f3150af215721aa44d76fa97612874f1 (diff)
downloadsonarqube-06672268a78369a8442e1d8f291b2d80c6d95f9a.tar.gz
sonarqube-06672268a78369a8442e1d8f291b2d80c6d95f9a.zip
SONAR-15441 - Create api/qualitygates/add_group 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.java7
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 2eb29ee9eb0..99fa1daa6fa 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
@@ -65,6 +65,7 @@ import org.sonar.db.purge.PurgeDao;
import org.sonar.db.qualitygate.ProjectQgateAssociationDao;
import org.sonar.db.qualitygate.QualityGateConditionDao;
import org.sonar.db.qualitygate.QualityGateDao;
+import org.sonar.db.qualitygate.QualityGateGroupPermissionsDao;
import org.sonar.db.qualitygate.QualityGateUserPermissionsDao;
import org.sonar.db.qualityprofile.ActiveRuleDao;
import org.sonar.db.qualityprofile.DefaultQProfileDao;
@@ -135,6 +136,7 @@ public class DbClient {
private final PurgeDao purgeDao;
private final QualityGateDao qualityGateDao;
private final QualityGateConditionDao gateConditionDao;
+ private final QualityGateGroupPermissionsDao qualityGateGroupPermissionsDao;
private final QualityGateUserPermissionsDao qualityGateUserPermissionsDao;
private final ProjectQgateAssociationDao projectQgateAssociationDao;
private final DuplicationDao duplicationDao;
@@ -213,6 +215,7 @@ public class DbClient {
qualityGateDao = getDao(map, QualityGateDao.class);
qualityGateUserPermissionsDao = getDao(map, QualityGateUserPermissionsDao.class);
gateConditionDao = getDao(map, QualityGateConditionDao.class);
+ qualityGateGroupPermissionsDao = getDao(map, QualityGateGroupPermissionsDao.class);
projectQgateAssociationDao = getDao(map, ProjectQgateAssociationDao.class);
duplicationDao = getDao(map, DuplicationDao.class);
notificationQueueDao = getDao(map, NotificationQueueDao.class);
@@ -424,6 +427,10 @@ public class DbClient {
return qualityGateUserPermissionsDao;
}
+ public QualityGateGroupPermissionsDao qualityGateGroupPermissionsDao() {
+ return qualityGateGroupPermissionsDao;
+ }
+
public ProjectQgateAssociationDao projectQgateAssociationDao() {
return projectQgateAssociationDao;
}