Hi Felix,
There is an error in your URL, dry=dryRyn should be dry=0/1(see the spec
example) however you did stumble upon a small bug
<https://issues.jfrog.org/jira/browse/RTFACT-4285>so thanks for reporting :)
As for the client, I really recommend Groovy
1.8<http://docs.codehaus.org/display/GROOVY/Groovy+1.8+release+notes#Groovy1.8releasenotes-NativeJSONsupport>,
it has native support on working with JSON objects which is very comfortable
and easy to use.
HTH,
Eli
The Artifactory team
On Thu, Jul 7, 2011 at 6:38 AM, Felix Filozov <[email protected]> wrote:
> I'm running into an issue when using the copy artifact REST call (
> http://wiki.jfrog.org/confluence/display/RTF/Artifactory's+REST+API#Artifactory%27sRESTAPI-CopyItem<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#Artifactory%27sRESTAPI-CopyItem>).
> In particular, I'm getting back a 404 message for an artifact that I know
> exists.
>
> The URI is the following:
>
> POST
> /artifactory/api/copy/libs-release-local/a/a/0.3/a.zip?to=%2Flibs-release-local%2Fb%2Fb%2F0.4%2Ffoo.zip&dry=dryRun&supressLayouts=0&failFast=1
> HTTP/1.1
>
> I've checked and "libs-release-local/a/a/0.3/a.zip" does in fact exist.
>
> Also, since I plan to exercise every single API call. Is there a reference
> client out there I can look at?
>
> Thanks
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users