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/
