From c28353ec8b036b74bb070ca03420bfea29b1ca8d Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 28 Apr 2022 16:22:34 -0500 Subject: 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 --- server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java') 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; } -- cgit v1.2.3