mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 14:33:09 +00:00
DS-2897 deprecate ElasticSearch Statistics
This commit is contained in:
@@ -16,6 +16,10 @@ import org.dspace.usage.AbstractUsageEventListener;
|
|||||||
import org.dspace.usage.UsageEvent;
|
import org.dspace.usage.UsageEvent;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||||
|
* @see org.dspace.statistics.service.SolrLoggerUsageEventListener#SolrLoggerUsageEventListener
|
||||||
|
*/
|
||||||
public class ElasticSearchLoggerEventListener extends AbstractUsageEventListener {
|
public class ElasticSearchLoggerEventListener extends AbstractUsageEventListener {
|
||||||
|
|
||||||
private static Logger log = Logger.getLogger(ElasticSearchLoggerEventListener.class);
|
private static Logger log = Logger.getLogger(ElasticSearchLoggerEventListener.class);
|
||||||
|
@@ -51,6 +51,10 @@ import java.net.URL;
|
|||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||||
|
* @see org.dspace.statistics.SolrLoggerServiceImpl#SolrLoggerServiceImpl
|
||||||
|
*/
|
||||||
public class ElasticSearchLoggerServiceImpl implements ElasticSearchLoggerService, InitializingBean {
|
public class ElasticSearchLoggerServiceImpl implements ElasticSearchLoggerService, InitializingBean {
|
||||||
|
|
||||||
private static Logger log = Logger.getLogger(ElasticSearchLoggerServiceImpl.class);
|
private static Logger log = Logger.getLogger(ElasticSearchLoggerServiceImpl.class);
|
||||||
|
@@ -21,6 +21,9 @@ import java.util.HashMap;
|
|||||||
/**
|
/**
|
||||||
* Service interface class for the Elastic Search logging.
|
* Service interface class for the Elastic Search logging.
|
||||||
* The implementation of this class is responsible for all business logic calls for the Elastic Search logging and is autowired by spring
|
* The implementation of this class is responsible for all business logic calls for the Elastic Search logging and is autowired by spring
|
||||||
|
*
|
||||||
|
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||||
|
* @see org.dspace.statistics.service.SolrLoggerService#SolrLoggerService
|
||||||
*
|
*
|
||||||
* @author kevinvandevelde at atmire.com
|
* @author kevinvandevelde at atmire.com
|
||||||
*/
|
*/
|
||||||
|
@@ -45,6 +45,10 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Usage Statistics viewer, powered by Elastic Search.
|
* Usage Statistics viewer, powered by Elastic Search.
|
||||||
* Allows for the user to dig deeper into the statistics for topDownloads, topCountries, etc.
|
* Allows for the user to dig deeper into the statistics for topDownloads, topCountries, etc.
|
||||||
|
*
|
||||||
|
* @deprecated As of DSpace 6.0, ElasticSearch statistics are replaced by Solr statistics
|
||||||
|
* @see org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer#StatisticsTransformer
|
||||||
|
*
|
||||||
* @author Peter Dietz (pdietz84@gmail.com)
|
* @author Peter Dietz (pdietz84@gmail.com)
|
||||||
*/
|
*/
|
||||||
public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer {
|
public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer {
|
||||||
|
@@ -1,12 +1,15 @@
|
|||||||
#---------------------------------------------------------------#
|
#---------------------------------------------------------------#
|
||||||
#---------ELASTIC SEARCH STATISTICS CONFIGURATIONS--------------#
|
#---------ELASTIC SEARCH STATISTICS CONFIGURATIONS--------------#
|
||||||
#---------------------------------------------------------------#
|
#---------------------------------------------------------------#
|
||||||
# Configuration properties used solely by the Elastic Search #
|
# Configuration properties used solely by the ElasticSearch #
|
||||||
# Statistics Engine. By default, DSpace uses a Solr-based #
|
# Statistics Engine. By default, DSpace uses a Solr-based #
|
||||||
# Statistics Engine (see solr-statistics.cfg). #
|
# Statistics Engine (see solr-statistics.cfg) and since #
|
||||||
|
# DSpace 6 this ElasticSearch-based module has been DEPRECATED #
|
||||||
|
# in favour of the older, Solr-based module. #
|
||||||
# See also: usage-statistics.cfg #
|
# See also: usage-statistics.cfg #
|
||||||
#---------------------------------------------------------------#
|
#---------------------------------------------------------------#
|
||||||
# Elastic Search Engine for UsageEvent Statistics
|
#
|
||||||
|
## Elastic Search Engine for UsageEvent Statistics
|
||||||
#elastic-search-statistics.clusterName = dspacestatslogging
|
#elastic-search-statistics.clusterName = dspacestatslogging
|
||||||
#elastic-search-statistics.indexName = dspaceindex
|
#elastic-search-statistics.indexName = dspaceindex
|
||||||
#elastic-search-statistics.indexType = stats
|
#elastic-search-statistics.indexType = stats
|
||||||
|
Reference in New Issue
Block a user