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 2016/01/04 21:41:40 UTC

[jira] [Commented] (JCLOUDS-651) server-side copy in portable abstraction

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

Andrew Gaul commented on JCLOUDS-651:
-------------------------------------

jclouds does not support conditional copies due to lack of consistent support between providers.  Some notes:

* Atmos has no copy support
* Azure supports date and ETag via x-ms-source-if-modified-since, x-ms-source-if-unmodified-since, x-ms-source-if-match, x-ms-source-if-none-match [reference|https://msdn.microsoft.com/en-us/library/azure/dd894037.aspx]
* GCS supports generation numbers via ifSourceGenerationMatch, ifSourceGenerationNotMatch, ifSourceMetagenerationMatch, ifSourceMetagenerationNotMatch [reference|https://cloud.google.com/storage/docs/json_api/v1/objects/copy]
* S3 supports date and ETag x-amz-copy-source-if-match, x-amz-copy-source-if-none-match, x-amz-copy-source-if-unmodified-since, x-amz-copy-source-if-modified-since [reference|https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html]
* Swift has no conditional copy support [reference|http://developer.openstack.org/api-ref-objectstorage-v1.html#copyObject]

> server-side copy in portable abstraction
> ----------------------------------------
>
>                 Key: JCLOUDS-651
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-651
>             Project: jclouds
>          Issue Type: New Feature
>          Components: jclouds-blobstore
>    Affects Versions: 1.8.0
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>             Fix For: 1.9.1, 2.0.0
>
>
> jclouds should expose the provider server-side copy functionality in the portable abstraction.  When a provider does not support this, jclouds should fall back to client-side copying.  Amazon S3 and likely others provide this feature:
> http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html



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