jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yao, Julie" <julie....@hpe.com>
Subject RE: Use JClouds to talk to non AWS cloud with S3 API
Date Sun, 31 Jan 2016 22:00:22 GMT
Hi Ranjith,
It worked like magic. Three days ago, I tried it mixed with services/Walrus and S3Client and
it failed. Today I cleaned up code and it worked.


From: Ranjith R [mailto:ranjitr1@gmail.com]
Sent: Thursday, January 28, 2016 9:57 PM
To: user@jclouds.apache.org
Cc: Yao, Julie
Subject: Re: Use JClouds to talk to non AWS cloud with S3 API

We did face a similar issue in the past, and found that the accept header set by the HttpClient
was being rejected by the Swift3 middleware.  We replaced it with apache httpclient, and it
worked. Perhaps you could give it a try.

            Iterable<Module> modules = ImmutableSet.<Module> of(new ApacheHCHttpCommandExecutorServiceModule());

BlobStoreContext context = ContextBuilder.newBuilder(new S3ApiMetadata())


            .credentials(username, password)




On Fri, Jan 29, 2016 at 10:34 AM, Andrew Phillips <andrewp@apache.org<mailto:andrewp@apache.org>>
Hi Julie

Could you enable wire and debug logging so we can see exactly which calls jclouds is making
[1]? Also, could you share a code snippet of how you are successfully using boto to do the
same thing? Hopefully, we can find out where the calls from jclouds differ from what boto
is doing...



[1] https://jclouds.apache.org/reference/logging/

View raw message