Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1957

Make Statistics API independent of metadata store implementations

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Metadata Repository
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              martin_s Martin Stockhammer
              Reporter:
              martin_s Martin Stockhammer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: