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

22 commits

Author SHA1 Message Date
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
Dan Peterson
d8e9ff71a6 it gets called like this actually 2010-10-15 18:52:27 -03:00
Dan Peterson
e7aa0e83c1 mock power_on 2010-10-15 18:52:27 -03:00
Dan Peterson
cee42dce00 set status when instantiating a vapp template, return it from the mock data in get vapp 2010-10-15 18:52:27 -03:00
Dan Peterson
549b3abb04 ensure we can fetch it 2010-10-15 18:52:27 -03:00
Dan Peterson
199a0929b8 get vapp mocking, instantiating a template adds more mock data 2010-10-15 18:52:27 -03:00
Dan Peterson
4b7157abc1 initial instantiate_vapp_template mocking and some other things along the way
fix some specs by adding a Shared module where necessary
2010-10-13 02:06:39 +08:00
Dan Peterson
c7071922b0 mock get_catalog 2010-10-09 04:58:00 +08:00
geemus
4076bbaec5 fixes for vcloud to match up with new stuff 2010-09-14 10:40:02 -07:00
freeformz
72d05d2b54 [Vcloud] Internet Service mock did not initialize its :nodes when added 2010-07-01 02:14:32 +08:00
freeformz
8089f45736 [Vcloud] Basic tests for node(s) 2010-06-29 21:26:00 -07: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
721319e07b [Vcloud] Bugfixes wrt Internet Service RedirectURL 2010-06-30 03:23:44 +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
1829f977d2 get_network & get_network_ips for Tmrk Ecloud 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
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
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
Edward Muller
d48db03314 Refactor Terremark into Vcloud
Purpose is to better abstract individual services
2010-05-10 20:37:03 -07:00