This is just a proposal. I still haven't run the live tests, as I want some 
feedback before.

This change removes the hardcoded *debian-cloud* and *centos-cloud* projects as 
the only sources of images, and moves that to a property users can override. 
I've added to that property all projects that seem to be public (at least 
the ones where the images I see in the console belong).

It also adds a property to control whether jclouds should return the deprecated 
images or not, to make it easier for users to pick the right images. Both 
properties have the corresponding defaults in the api metadata.

@danbroudy @adriancole WDYT?
You can merge this Pull Request by running:

  git pull https://github.com/nacx/jclouds-labs-google images

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds-labs-google/pull/77

-- Commit Summary --

  * Use images from all public projects and filter deprecated ones

-- File Changes --

    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/GoogleComputeEngineApiMetadata.java
 (4)
    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/GoogleComputeEngineConstants.java
 (16)
    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/GoogleComputeEngineServiceAdapter.java
 (51)
    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/config/GoogleComputeEngineServiceContextModule.java
 (10)
    M 
google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/compute/GoogleComputeEngineServiceExpectTest.java
 (4)

-- Patch Links --

https://github.com/jclouds/jclouds-labs-google/pull/77.patch
https://github.com/jclouds/jclouds-labs-google/pull/77.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/77

Reply via email to