*/
public GeoportalUsageInformation buildUsageReport(StatisticsRequestContext statRequestCtx) throws Exception{
GeoportalUsageInformation geoportalStats = new GeoportalUsageInformation();
String[] restUriParts = statRequestCtx.getRestUriParts();
if(statRequestCtx.getRequestType().equalsIgnoreCase(StatisticsTypes.HARVESTER.toString())){
HarvesterStatisticsBuilder harvesterStats = new HarvesterStatisticsBuilder(statRequestCtx);
if(restUriParts.length >= 6 && restUriParts[5].equalsIgnoreCase(StatisticsMetrics.CONFIG.toString())){
harvesterStats.buildEnvironmentStatistics();
}else{
harvesterStats.buildStatistics();
}
geoportalStats.setHarvesterStats(harvesterStats);
}else{
}