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

19 commits

Author SHA1 Message Date
freeformz
0b83c22f02 Forgot to tell request to parse the result 2010-06-29 03:30:39 +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
freeformz
60cff85fb4 load items on map/each if they are not already loaded.
This gets rid of ugly things like collection.each { |item| item.reload; ... do something .. }
2010-06-17 02:59:30 +08:00
Edward Muller
1829f977d2 get_network & get_network_ips for Tmrk Ecloud 2010-06-11 01:53:25 +08:00
Edward Muller
0a59ce7e50 no need to store the response 2010-06-11 01:53:25 +08:00
Edward Muller
20eeba5f95 use new_record? instead of new? 2010-06-11 01:53:25 +08:00
Edward Muller
7979363d37 Network(s) and Ip(s) models 2010-06-11 01:53:25 +08:00
Edward Muller
9addf5f9fd use super and standardize a little 2010-06-11 01:52:58 +08:00
Edward Muller
61155040e1 Internet Services and tweaks to Vcloud collection/model.
configure internet service

flesh out internet services a bit more

more tweaks to vcloud collection/model related stuff

remove debugging
2010-06-11 01:52:58 +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
c85ce34d19 get_public_ip(s) w/tests 2010-06-06 04:47:33 +08:00
Edward Muller
8252085fdf Vdc/Vdcs models for Vcloud w/testing 2010-05-28 02:31:08 +08:00
geemus
b554eb0bb4 Revert "move vcloud models to its directory since the format is common to both"
Conflicts with work freeformz is doing, reverting in favor of those changes for now.

This reverts commit 9907d4ed59.
2010-05-17 20:57:13 -07:00
Rizwan Reza
4bbfc7adae Fix spelling mistake. 2010-05-18 05:24:23 +08:00
David Calavera
ec9c43cc9e vcloud tasks can optionaly contain a link for cancel it and an error element 2010-05-17 10:49:17 +08:00
David Calavera
9907d4ed59 move vcloud models to its directory since the format is common to both 2010-05-17 10:49:09 +08:00
geemus
090f66d3d2 small technicality cleanups 2010-05-15 21:05:16 -07:00
Edward Muller
d48db03314 Refactor Terremark into Vcloud
Purpose is to better abstract individual services
2010-05-10 20:37:03 -07:00