aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorTravis Collins <travistx@gmail.com>2025-02-26 16:12:03 -0700
committersonartech <sonartech@sonarsource.com>2025-03-04 20:03:22 +0000
commit9f1115c56e668e3e51a09dd221be4c7291368aac (patch)
treec7c048049a15067facecf361aa1ebebf2ccd7ab7 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent0a35d4f7658dae1501f8c7a95e264e1c1c5bae09 (diff)
downloadsonarqube-9f1115c56e668e3e51a09dd221be4c7291368aac.tar.gz
sonarqube-9f1115c56e668e3e51a09dd221be4c7291368aac.zip
SQRP-292 Add sca_issues_releases
SQRP-293 add sca_issues_releases.severity column SQRP-292 Update sca_issues_releases Dao to support persisting SQRP-300 Add sca_issues_releases.severity_sort_key
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 e3ea8c2aa7e..120a04adc3c 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
@@ -90,6 +90,7 @@ import org.sonar.db.rule.RuleDao;
import org.sonar.db.rule.RuleRepositoryDao;
import org.sonar.db.sca.ScaDependenciesDao;
import org.sonar.db.sca.ScaIssuesDao;
+import org.sonar.db.sca.ScaIssuesReleasesDao;
import org.sonar.db.sca.ScaReleasesDao;
import org.sonar.db.sca.ScaVulnerabilityIssuesDao;
import org.sonar.db.scannercache.ScannerAnalysisCacheDao;
@@ -207,6 +208,7 @@ public class DbClient {
private final ScaReleasesDao scaReleasesDao;
private final ScaDependenciesDao scaDependenciesDao;
private final ScaIssuesDao scaIssuesDao;
+ private final ScaIssuesReleasesDao scaIssuesReleasesDao;
private final ScaVulnerabilityIssuesDao scaVulnerabilityIssuesDao;
public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) {
@@ -307,6 +309,7 @@ public class DbClient {
scaReleasesDao = getDao(map, ScaReleasesDao.class);
scaDependenciesDao = getDao(map, ScaDependenciesDao.class);
scaIssuesDao = getDao(map, ScaIssuesDao.class);
+ scaIssuesReleasesDao = getDao(map, ScaIssuesReleasesDao.class);
scaVulnerabilityIssuesDao = getDao(map, ScaVulnerabilityIssuesDao.class);
}
@@ -684,6 +687,10 @@ public class DbClient {
return scaIssuesDao;
}
+ public ScaIssuesReleasesDao scaIssuesReleasesDao() {
+ return scaIssuesReleasesDao;
+ }
+
public ScaVulnerabilityIssuesDao scaVulnerabilityIssuesDao() {
return scaVulnerabilityIssuesDao;
}