but the result is wrong.

Ah, pity :-( Caught celebrating too soon ;-) One of the things that may be worth trying here is to move away from the portably blobstore abstraction and try the API directly - that's more comparable to the boto calls.

...
S3Client client = ContextBuilder.newBuilder(new S3ApiMetadata())
                    .endpoint("http://myserver:8080/services/Walrus";)
                    .credentials(username, password)
                    .overrides(overrides)
                    .buildApi(S3Client.class);

client.putObject(...)

See https://jclouds.apache.org/reference/javadoc/1.9.x/index.html?org/jclouds/s3/S3Client.html.

If that works, then we can hopefully more easily get back to the blobstore abstraction to see why that is not working.

Also, please record the wire and header logs so we can see what HTTP calls exactly are being made [1].

Regards

ap

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

Reply via email to