I want to implement ```BlobStore.createContainerInLocation``` correctly for 
Atmos; currently it returns a bogus value.  ```AtmosClient.createDirectory``` 
returns URLs for both initial creation and subsequent failed creation, for 
example:

  * 
https://api.atmosonline.com/rest/objects/4ee696e4a31f549804f0b909b453c10525318045968f
  * https://api.atmosonline.com/rest/namespace/fef03b6a1c485e1e/

These values do not seem useful to me and relying on the distinction between 
the object and namespace ids for ```createContainerInLocation``` seems fragile. 
 ```AtmosBlobStore.createContainerInLocation``` ignores these values and 
returns a bogus true value.

Instead of changing ```AtmosClient.createDirectory``` we could change 
```AtmosBlobStore.createContainerInLocation``` to call 
```AtmosClient.pathExists``` after ```AtmosClient.createDirectory```.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/169#issuecomment-25864888

Reply via email to