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

28 commits

Author SHA1 Message Date
Juris Galang
c37629e742 requires and recognizes clauses for services now receives a block so that the declared parameters are applied to their Real implementation. 2010-12-08 11:09:13 -08:00
Juris Galang
827c029a99 This is a combination of 23 commits (included merges from upstream); this commit(s) include changes to enforces recognizes/requires parameters for all supported services. Comments from the included commits follow:
- Added google_storage_* keys
- Fixed indentations.
- Factored out requires and recognizes method implementation (now relies on the requires and recognizes clause from the NamedParameters module)
- Added dependency to named-parameters gem.
- Added recognizes declaration to classes for all supported services to enforce parameter name checks -
- passing an unrecognized key when instantiating a service object will now cause an ArgumentError to be raised.
- Added NOTE
- comment added
- check/filter-out keys from credentials that are not required by the class being instantiated
- [local|storage] properly write out file contents
- Added google_storage_* keys
- Fixed indentations.
- added put_object_acl request (ref: https://github.com/geemus/fog/issues#issue/74)
- Release 0.3.24
- remove tracker reference from README
- issues is now the goto for bugs/todo
- notify and gracefully skip credential-less testsa
- [rackspace|storage] fixes for directory/files
- [local|storage] CGI.escape file names
- Release 0.3.25
- updated deps; recognized_parameters -> declared_parameters; restored options filtering if Fog.bin
- Added requires/recognizes to Fog::Terremark::Ecloud
- Updted to use latest named-parameters gem.
- Filter out unwanted parameters when Fog.bin
- Updated to latest named-parameters gem
- commented out unnecessary code
- fix missing "volume" parameter error when setting Fog::AWS::Volume#server to nil (in order to detach it)
- documentation update for key_pairs and helper
- [aws|compute] commented/documented flavors/volumes
- Fixes for issue 38 and 39
Closes #96
2010-12-01 14:34:42 -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
240f43b98a pushing nokogiri dependency toward leaves as well 2010-10-29 15:25:14 -07:00
Dan Peterson
d8e9ff71a6 it gets called like this actually 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
199a0929b8 get vapp mocking, instantiating a template adds more mock data 2010-10-15 18:52:27 -03:00
geemus
3ec39c332f removing the last few (obvious) warnings 2010-10-12 17:01:22 -07: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
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
geemus
a3af5d7800 working toward more consistent/simpler collection/bin management 2010-09-02 16:01:19 -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
21550d683b Use the eCloud version logic in vCloud proper 2010-07-23 13:00:09 +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
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
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
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
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