Connect to hubiC

2016-03-09 Thread GARDAIS Ionel
HI list, I’d like to interact with OVH’s hubiC storage. It’s based on OpenStack so it’s likely to be usable with jClouds. Unfortunately, they change the authentication process : auth is based on oauth2. What is the best approach to this ? Can I use oauth2 API then OpenStack API to interact with

Re: Life-span of a Context

2017-02-15 Thread GARDAIS Ionel
as it makes sense, and try to reuse it where possible. On 15 February 2017 at 15:23, GARDAIS Ionel <ionel.gard...@tech-advantage.com <mailto:ionel.gard...@tech-advantage.com>> wrote: Hi, We are using JClouds on a server-side application. That is, it is supposed to be long-liv

Life-span of a Context

2017-02-15 Thread GARDAIS Ionel
Hi, We are using JClouds on a server-side application. That is, it is supposed to be long-lived, compared to a end-user application that could be closed after several minutes/hours of use. public byte[] getFile(String basePath, String containerName, String blobPath) {

directoryExists vs blobExists

2017-09-18 Thread GARDAIS Ionel
Hi, Got a question about using the filesystem API. As a blob wrote using putBlob(« container », "folder/file.t xt »); directoryExists(« container », « folder") returns true blobExists(« container », « folder") returns false blobExists(« container », « folder/") returns false As

Re: directoryExists vs blobExists

2017-09-19 Thread GARDAIS Ionel
ore removing a/b. Object stores remove these invariants to increase scalability. jclouds previously mapped directory operations onto pseudo-file system operations, inconsistently and poorly. On Tue, Sep 19, 2017 at 08:37:26AM +0200, GARDAIS Ionel wrote: > Thanks Andrew. > > Do I unders

Re: directoryExists vs blobExists

2017-09-19 Thread GARDAIS Ionel
rk through the provider level but I recommend using the prefix and delimiter options instead. Tracking issue: https://issues.apache.org/jira/browse/JCLOUDS-1066 On Mon, Sep 18, 2017 at 05:26:31PM +0200, GARDAIS Ionel wrote: > Hi, > > Got a question about using the filesystem