You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by snotling <no...@github.com> on 2015/03/25 17:29:27 UTC
[jclouds-labs-google] Support newly-introduced nearline storage
(#130)
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs-google/pull/130
-- Commit Summary --
* Support newly-introduced nearline storage
-- File Changes --
M google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/DomainResourceReferences.java (2)
-- Patch Links --
https://github.com/jclouds/jclouds-labs-google/pull/130.patch
https://github.com/jclouds/jclouds-labs-google/pull/130.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130
Re: [jclouds-labs-google] Support newly-introduced nearline storage
(#130)
Posted by snotling <no...@github.com>.
Hum, when I think of it, that's a pretty lame idea to use *nearline* in the "main" ``testCreateBucket()`` method, given the fact that all the object API tests rely on it...
@andrewgaul How did see the modification to add tests for *nearline* buckets? In fact, in addition to the storage class, there's also the bucket location that could be interesting to test.
Maybe tests method should be "parameterized" in order to check all(?) the possible combinations.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130#issuecomment-86617888
Re: [jclouds-labs-google] Support newly-introduced nearline storage
(#130)
Posted by snotling <no...@github.com>.
@andrewgaul I hadn't checked if there was already a JIRA issue for this :)
Anyway, I switched from *DRA* to *nearline* in ``BucketApiLiveTest.testCreateBucket()`` -- don't know if you wanted something more convoluted...
I had to change the location to *US*, as regional locations are only supported for *DRA*.
Speaking of *DRA*, it is already tested in ``BucketApiLiveTest.testCreateBucketWithOptions()``.
*Standard* buckets are not tested anywhere though as far as I know.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130#issuecomment-86602029
Re: [jclouds-labs-google] Support newly-introduced nearline storage
(#130)
Posted by Andrew Gaul <no...@github.com>.
I added the needed tests and pushed to master as 2455f9445b3fbdfe20006e359945762639a76a66 and 4e8858a472104c6904f35e94fa5889906582813e and to 1.9.x as ef6dd087da3193c3ac472a6457de1459c47bbd13 and 3d39bd3262d3ec4ae83bcf47af4d45ddff7bb3e1. Thank you for your contribution @snotling!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130#issuecomment-88619661
Re: [jclouds-labs-google] Support newly-introduced nearline storage
(#130)
Posted by Andrew Gaul <no...@github.com>.
@snotling rackspace-cloudfiles-us runs all the tests against every storage class and region which takes too long and we plan to only run these tests against one region in the future. However it would be good to parameterize just one test to loop over all these combinations to check the expected and actual bucket attributes.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130#issuecomment-86659578
Re: [jclouds-labs-google] Support newly-introduced nearline storage
(#130)
Posted by Andrew Gaul <no...@github.com>.
Related issue: [JCLOUDS-848](https://issues.apache.org/jira/browse/JCLOUDS-848)
@snotling Can you add some kind of live test to exercise this functionality, e.g., create object with this storage class then check if it has the correct class?
@danbroudy Anything else we need to do for this?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/130#issuecomment-86116135