diff options
author | Brett Porter <brett@apache.org> | 2010-02-11 16:42:44 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2010-02-11 16:42:44 +0000 |
commit | 333764a1dafab8f4b4bcf7c33c8d186f1cca5cc3 (patch) | |
tree | 95e77edcc0996d91f836b5ff3fc60d4f4773dd01 /archiva-modules/src | |
parent | 0709ac5238f845305ee3675ca76fa89ca6ff697b (diff) | |
download | archiva-333764a1dafab8f4b4bcf7c33c8d186f1cca5cc3.tar.gz archiva-333764a1dafab8f4b4bcf7c33c8d186f1cca5cc3.zip |
some more information
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909067 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/src')
-rw-r--r-- | archiva-modules/src/site/apt/repository-api.apt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/archiva-modules/src/site/apt/repository-api.apt b/archiva-modules/src/site/apt/repository-api.apt index 8c8977a4e..aada26620 100644 --- a/archiva-modules/src/site/apt/repository-api.apt +++ b/archiva-modules/src/site/apt/repository-api.apt @@ -4,3 +4,30 @@ Repository APIs + The repository APIs are the means for accessing metadata from any type of repository. + + <Note:> currently, only metadata retrieval is available. As more of the application moves to this base, artifact + content may be read using a stream, for example. + +* Metadata Resolver + + A repository request works in the following sequence: + + [[1]] the user requests a project's metadata using a + {{{./apidocs/org/apache/archiva/metadata/repository/MetadataResolver.html} MetadataResolver}} + + [[2]] the resolvers are chained together to locate the source of the metadata, and to determine where the most + up to date copy is. Included by default are the metadata repository and repository storage + + [[3]] the metadata is retrieved, and if not up to date in the metadata repository it is stored there + + [[4]] the metadata is returned to the requester + +* Storage Resolver + + Currently storage only supports obtaining information as well. In the future, the ability to modify the storage + will be made available for plugins such as purging, etc. + + More information can be found in the + {{{./apidocs/org/apache/archiva/metadata/repository/storage/StorageMetadataResolver.html} storage metadata resolver}} + class. |