jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John D. Ament" <john.d.am...@gmail.com>
Subject Re: BlobStore & RestContext
Date Mon, 06 Jan 2014 15:12:27 GMT
Andrew,

Yes, that definitely helps.

if I wanted to use the non provider specific interface, would
SwiftClient be the right interface to use?

John

On Mon, Jan 6, 2014 at 12:54 AM, Andrew Gaul <gaul@apache.org> wrote:
> On Sun, Jan 05, 2014 at 09:54:58PM -0500, John D. Ament wrote:
>> I'm trying to follow your example on BlobStore API, we're planning to
>> use RackSpace CloudFiles.  The file is here:
>> https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/cloudfiles/CloudFilesPublish.java
>>
>> However, when I pull in the example against 1.7, the RestContext shows
>> as deprecated.  What is the correct way to get the equivalent of this?
>>  Probably starting from the BlobStore or BlobStoreContext.
>
> John, sorry we have changed some interfaces without updating all the
> calling code.  Does this pull request help:
>
> https://github.com/jclouds/jclouds-examples/pull/28
>
> Note that you should prefer the provider-agnostic BlobStore methods,
> unless you need to access provider-specific methods such as
> CloudFilesClient.enableCDN.
>
> --
> Andrew Gaul
> http://gaul.org/

Mime
View raw message