Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Cleanup spring configuration for statistics #21

Description

@abollini

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions