1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Lincoln Stoll
a816990270 [vcloud] Remove some un-needed debug information
closes #878
2012-04-25 16:59:04 -07:00
Edward Muller
3469dbaf3f Use #has_key? instead of #keys.include? 2012-02-06 17:53:11 -08:00
Peter Meier
30e28d704f [vcloud|compute] add API version 1.5 compability
vCloud version API 1.5 requires us to adapt certain calls. This
patch does all the necessary things to scan a vCloud 1.5 completely
and read all the necessary attributes, as we could already before.
Furthermore, it add tests for the version 1.5 calls.

The API version can now be set as a version param to the vcloud
compute resource. By default it chooses version 1.5.

This has been tested against a vCloud 1.5 and 1.0.
2012-01-30 19:04:19 +01:00
Peter Meier
750fb59f25 [vcloud|compute] improve models add tests
Improve the models to work with the current api version. add tests
that use fake-data, that was captured from a real vCloud.

Also removed a couple of dead code. Tests have been added for
everything that changed or have been added. All the existing but
untouched parts have not been tested.
2011-11-29 11:37:18 +01:00
geemus
d6f9fb4c35 [compute|vcloud] move vcloud compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:12:00 -05:00
geemus
b6af64d76a initial work toward flattening Vcloud::Terremark::Ecloud namespace 2011-02-16 16:13:09 -08:00
Dan Peterson
c29a72ccd1 Rework vCloud mocking to use mock objects instead of a Hash.
Make some mock behavior reflect reality at Terremark.

Add mocks for Terremark configure_vapp and delete_vapp.
2010-11-05 08:56:50 +08:00
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
freeformz
00956256f4 start cleaning up tests
-Don't use @login_uri, make it a function
-get_versions against a real api
-login vs a real api
2010-07-23 13:00:09 +08:00
freeformz
30446e5ac1 Servicify & Hashify & more requests
Many changes:

-Become more of a proper Fog Service.
-Drop most of the Collection/Model customizations.
-Add a hook for services to do something after #new with the instance
-Move to the ToHashDocument parser ... so no more having to actually
make parsers.
-Fog::Vcloud::Extension is kind of like Fog::Service, but for writing
extension modules to Fog::Vcloud.
-Fix up existing specs/mocks (they're not complete atm, but the existing
ones are up to date).
-Fog::Vcloud::Terremark::Ecloud gets almost all extensions implemented
(almost).
-Fog::Vcloud::Terremark::Ecloud bumped to working with the current TMRK
API release.
-Factor out some TMRK/ecloud specifc mock data into the ecloud module.
-Probably forgetting something.
2010-06-28 02:10:27 +08:00
Edward Muller
0a59ce7e50 no need to store the response 2010-06-11 01:53:25 +08:00
Edward Muller
b218dc3189 a basic get_network for base vcloud 2010-06-11 01:52:58 +08:00
Edward Muller
6e156d0cfb Internet Service(s) w/tests
moving towards adding internet services

add_internet_service

require builder

delete internet service

internet_service(s) model/collections on public_ip

internet_services on a vdc

testing for internet services
2010-06-06 04:47:34 +08:00
Edward Muller
8252085fdf Vdc/Vdcs models for Vcloud w/testing 2010-05-28 02:31:08 +08:00
Edward Muller
d48db03314 Refactor Terremark into Vcloud
Purpose is to better abstract individual services
2010-05-10 20:37:03 -07:00