aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-04-28 16:22:34 -0500
committersonartech <sonartech@sonarsource.com>2022-05-25 20:03:15 +0000
commitc28353ec8b036b74bb070ca03420bfea29b1ca8d (patch)
tree497cfdff35c4a4bea3713b9c4001b28105ab8834 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent251e1fa5c7bb38ce93dc426ae2e395d44819f721 (diff)
downloadsonarqube-c28353ec8b036b74bb070ca03420bfea29b1ca8d.tar.gz
sonarqube-c28353ec8b036b74bb070ca03420bfea29b1ca8d.zip
SONAR-16316 DAO to fetch report issues from DB
SONAR-16316 Export CSV files with issues SONAR-16316 Create Web API 'api/regulatory_reports/download' SONAR-16316 Export Scanner Context SONAR-16316 Write report zip file SONAR-16316 Integrate pdf report in zip file
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 d545de23ae5..b883f7623d2 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
@@ -75,6 +75,7 @@ import org.sonar.db.qualityprofile.QProfileEditGroupsDao;
import org.sonar.db.qualityprofile.QProfileEditUsersDao;
import org.sonar.db.qualityprofile.QualityProfileDao;
import org.sonar.db.qualityprofile.QualityProfileExportDao;
+import org.sonar.db.report.RegulatoryReportDao;
import org.sonar.db.rule.RuleDao;
import org.sonar.db.rule.RuleRepositoryDao;
import org.sonar.db.scannercache.ScannerAnalysisCacheDao;
@@ -122,6 +123,7 @@ public class DbClient {
private final PermissionTemplateDao permissionTemplateDao;
private final PermissionTemplateCharacteristicDao permissionTemplateCharacteristicDao;
private final IssueDao issueDao;
+ private final RegulatoryReportDao regulatoryReportDao;
private final IssueChangeDao issueChangeDao;
private final CeActivityDao ceActivityDao;
private final CeQueueDao ceQueueDao;
@@ -219,6 +221,7 @@ public class DbClient {
qualityGateGroupPermissionsDao = getDao(map, QualityGateGroupPermissionsDao.class);
projectQgateAssociationDao = getDao(map, ProjectQgateAssociationDao.class);
duplicationDao = getDao(map, DuplicationDao.class);
+ regulatoryReportDao = getDao(map, RegulatoryReportDao.class);
notificationQueueDao = getDao(map, NotificationQueueDao.class);
metricDao = getDao(map, MetricDao.class);
groupDao = getDao(map, GroupDao.class);
@@ -290,6 +293,10 @@ public class DbClient {
return issueDao;
}
+ public RegulatoryReportDao regulatoryReportDao() {
+ return regulatoryReportDao;
+ }
+
public IssueChangeDao issueChangeDao() {
return issueChangeDao;
}