Bug fix on stats

This commit is contained in:
Panagiotis Kanakakis 2019-02-12 09:29:01 +00:00
parent 1ad268021a
commit 0483f7ddb0
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public class StatsServiceImpl implements StatsService {
stats.put("publications",publications);
stats.put("datasets",datasets);
stats.put("software",software);
stats.put("lastYearUsagestats", lastYearUsagestats != null ? lastYearUsagestats.toString() : null);
stats.put("lastYearUsagestats", lastYearUsagestats);
// Integer usagestats = getUsageStatsTotal();
stats.put("usagestats","N/A");

View File

@ -80,5 +80,5 @@ services.repomanager.usagestats.sushiliteEndpoint = http://beta.services.openair
##SEARCH API
search.api.baseAddress=https://beta.services.openaire.eu/search/v2/api
search.api.usagestats=https://services.openaire.eu/usagestatsl
search.api.usagestats=https://services.openaire.eu/usagestats
search.api.usageEvents=http://beta.lbs.openaire.eu:8080/ajax/summary