From ce6b348cc8b05f2e705bd0924d6fafd7d1104e9a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Fri, 23 Sep 2011 08:02:01 +0000 Subject: [PATCH] add documentation copy artifact service git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174577 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/adminguide/webservices/rest.apt.vm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm index f227baecf..1af2dc7d5 100644 --- a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm +++ b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm @@ -59,6 +59,14 @@ Using REST Services %{snippet|id=searchservice-with-classifier|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java} + Copy Artifact from a repository to an other one : + + For some reasons you want to use a test repository before moving your artifacts to a repository used by final users. + To achieve this, you can use a service which can copy an artifact from a repository to an other one + +%{snippet|id=copy-artifact-with-classifier|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/CopyArtifactTest.java} + + To know all the possible options, you can refer to the javadoc of SearchRequest class. -- 2.39.5