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

36 commits

Author SHA1 Message Date
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
freeformz
e4345d2f05 Added :error for tasks with an error status 2010-08-15 03:58:01 +08:00
freeformz
c3365f337d [Vcloud] Handle Internet Service Monitors for Terremark::Ecloud 2010-07-29 23:39:52 +08: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
21550d683b Use the eCloud version logic in vCloud proper 2010-07-23 13:00:09 +08:00
freeformz
ec7c7cbac6 [Vcloud] Even better version checking 2010-07-13 01:37:56 +08:00
freeformz
46d8fc2d46 [Vcloud] redirect_url is not really required.
Rename validate_internet_service_data's valid opts to required_opts
2010-07-13 01:37:55 +08:00
freeformz
658fa43d3d [Vcloud] Fixup some version related stuffs 2010-07-10 02:01:20 +08:00
freeformz
07a23dbbe5 [Vcloud] Instantiate Vapps & get firewall acls
-Also a small refactor of some of the vdc model's collections
2010-07-02 05:41:04 +08:00
freeformz
72d05d2b54 [Vcloud] Internet Service mock did not initialize its :nodes when added 2010-07-01 02:14:32 +08:00
freeformz
150778aff7 [Vcloud] Mock the node requests 2010-06-29 21:26:00 -07:00
freeformz
e070c13772 [Vcloud] Clean up some more specs around internet services.
-Add specs for delete_internet_service
2010-06-29 21:26:00 -07:00
freeformz
9b426d7183 [Vcloud] remove an erroneous line in mock_data and start adding support for Internet Service Node mocking 2010-06-30 03:23:44 +08:00
freeformz
721319e07b [Vcloud] Bugfixes wrt Internet Service RedirectURL 2010-06-30 03:23:44 +08:00
freeformz
b744bc0d3d [Vcloud] Bugfix: it is RedirectURL not RedirectUrl 2010-06-30 00:12:40 +08:00
freeformz
013d62eceb [Vclou] cast to Array if it is not 2010-06-30 00:12:39 +08:00
freeformz
357ad409a5 [Vcloud] fix up delete_node and delete_internet_service 2010-06-29 03:30:39 +08:00
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