Martin Stockhammer created MRM-1957:
---------------------------------------

             Summary: Make Statistics API independent of metadata store 
implementations
                 Key: MRM-1957
                 URL: https://issues.apache.org/jira/browse/MRM-1957
             Project: Archiva
          Issue Type: Improvement
          Components: Metadata Repository
    Affects Versions: 3.0.0
            Reporter: Martin Stockhammer
            Assignee: Martin Stockhammer
             Fix For: 3.0.0


The repository-statistics module has direct references to the store 
implementations. I would like to decouple the statistics api from the 
implementation.
* Create new metadata-statistics-api module where the interfaces and statistic 
POJO reside.
* Add a new RepositoryStatisticsProvider interface that can be implemented by 
MedadataRepository and is for populating the statistic data. Can be implemented 
by the MetadataRepository and is statistic generation is delegated to this 
implementation if it exists.

With this, we can remove the dependencies to the store specific APIs like JCR.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to