You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2020. It is now read-only.
The spring configuration and the backend code for the statistics is a mess.
yearsDate should be not a static attribute AStatComponentService but an instance attribute of the StatsComponent.
At the same time the
topCountryLength
topContinentLength
topCityLength
topRelation
attribute should be moved from the statisticscomponentservice to the componentbean to be used also in the SOLR query and not only as filtering on the view.
We can introduce a StatisticsConfigurationService to track a general configuration shared across all the component or we can rely on abstract bean to simply the configuration sharing common values across all the components. In this way one can always decide to have separated configuration for specific needs