mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Merge pull request #9007 from ChrisBethgster/9006_geoip_fix_referenced_configuration
9006 geoip fix referenced configuration
This commit is contained in:
@@ -37,7 +37,7 @@ public class GeoIpService {
|
||||
public DatabaseReader getDatabaseReader() throws IllegalStateException {
|
||||
String dbPath = configurationService.getProperty("usage-statistics.dbfile");
|
||||
if (StringUtils.isBlank(dbPath)) {
|
||||
throw new IllegalStateException("The required 'dbfile' configuration is missing in solr-statistics.cfg!");
|
||||
throw new IllegalStateException("The required 'dbfile' configuration is missing in usage-statistics.cfg!");
|
||||
}
|
||||
|
||||
try {
|
||||
|
@@ -67,7 +67,7 @@ public class HealthIndicatorsIT extends AbstractControllerIntegrationTest {
|
||||
match("solrSearchCore", Status.UP, Map.of("status", 0, "detectedPathType", "root")),
|
||||
match("solrStatisticsCore", Status.UP, Map.of("status", 0, "detectedPathType", "root")),
|
||||
match("geoIp", UP_WITH_ISSUES_STATUS,
|
||||
Map.of("reason", "The required 'dbfile' configuration is missing in solr-statistics.cfg!"))
|
||||
Map.of("reason", "The required 'dbfile' configuration is missing in usage-statistics.cfg!"))
|
||||
)));
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user