You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2014/08/08 06:33:10 UTC
[jira] (MRM-1330) revise repository API
[ https://jira.codehaus.org/browse/MRM-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MRM-1330:
------------------------------
Fix Version/s: (was: 2.1.1)
2.1.2
> revise repository API
> ---------------------
>
> Key: MRM-1330
> URL: https://jira.codehaus.org/browse/MRM-1330
> Project: Archiva
> Issue Type: Improvement
> Components: Design
> Affects Versions: 1.4-M4, 2.0.0
> Reporter: Brett Porter
> Assignee: Brett Porter
> Fix For: 2.1.2
>
>
> - avoid query methods in the repository API (things might be happier working against a specific store type) - consider getArtifactsBy* -> getArtifacts( repoId, filter ); though must take care not to build another query language
> - move the resolver/storage API out of the metadata API - consolidate under the session
> - make namespace use '/' instead of '.'
> - unknown facets should throw an exception instead of returning null (and check for other null returns)
> - consider shorter package names for maven2 plugin and more consistent structuring
> - review for any new instances of bloating that can be simplified
> - how are we going to translate between IDs on different projects? is "filename" mappable to other repo types?
> - how could URN/URI for an artifact be utilised?
> - consider artifactmetadata as a return type - is a reference all that's needed in some cases?
> - stats manager, repository merger and audit manager should use the repository session instead of the metadata repository
> - make sure code using facets has a backup if the facet is not present
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)