You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/03/30 07:16:52 UTC

[jira] [Commented] (JCLOUDS-872) Swift ObjectApi.copy does not expose full API

    [ https://issues.apache.org/jira/browse/JCLOUDS-872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386211#comment-14386211 ] 

Andrew Gaul commented on JCLOUDS-872:
-------------------------------------

Actually Swift *does* support cross-container copies:

{code:java}
ObjectApi objectApi = api.getObjectApi(regionId, toContainer);
objectApi.copy(toName, fromContainer, fromName);
{code}

Although I also found that we need a way to specify the non-user metadata like Content-Disposition.

> Swift ObjectApi.copy does not expose full API
> ---------------------------------------------
>
>                 Key: JCLOUDS-872
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-872
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-blobstore
>    Affects Versions: 1.9.0
>            Reporter: Andrew Gaul
>              Labels: openstack-swift
>
> While implementing JCLOUDS-651 I found that {{ObjectApi.copy}} does not allow specifying the destination container, overriding metadata, and does not return the ETag of the copied object.  We should improve this binding to expose the full API which will make the portable abstraction more useful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)