Users can now create images from persistent disks. 

When images are made from PD the rawDisk attribute is not present. 
This changes Image.java to treat it as an Optional<RawDisk> instead. 
You can merge this Pull Request by running:

  git pull https://github.com/GoogleCloudPlatform/jclouds-labs-google 
imagecreation

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

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

-- Commit Summary --

  * JCLOUDS-649: added image creation from pd and made Image rawDisk 
Optional<T>

-- File Changes --

    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Image.java
 (10)
    M 
google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/features/ImageApi.java
 (23)
    M 
google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/DiskApiLiveTest.java
 (2)
    M 
google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/ImageApiExpectTest.java
 (42)
    M 
google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/ImageApiLiveTest.java
 (47)
    M 
google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/internal/BaseGoogleComputeEngineApiLiveTest.java
 (6)
    A google-compute-engine/src/test/resources/image_insert_from_pd.json (1)

-- Patch Links --

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

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

Reply via email to