You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by rajesh <ra...@skava.com> on 2019/02/01 10:44:12 UTC

Direct Binary Access is not working for S3DataStore

Hi,

I am using jackrabbit oak 1.10.0. I configured the following parameters.

presignedHttpUploadURIExpirySeconds=600
presignedHttpDownloadURIExpirySeconds=600

But still getting upload object is null when calling the following code.

JackrabbitValueFactory valueFactory = (JackrabbitValueFactory) vf;

BinaryUpload upload =
valueFactory.initiateBinaryUpload(content.getFileSize(), maxURIs);


Please help me out on this.

Thanks.




--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html

Re: Direct Binary Access is not working for S3DataStore

Posted by rajesh <ra...@skava.com>.
Hi,

As of now I am using the following code to register the BlobAccessProvider.
But i am not sure this is a right way to do this.  Please help me on this.

oak.getWhiteboard().register(BlobAccessProvider.class, dsbs,
Collections.emptyMap());


Thanks.



--
Sent from: http://jackrabbit.510166.n4.nabble.com/Jackrabbit-Users-f510167.html