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

31 commits

Author SHA1 Message Date
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
James Herdman
110358abb2 Remove unused variable 2012-05-26 11:27:26 -04:00
Paul Thornthwaite
00896b88ac [brightbox|compute] Remove resize request since not available 2012-05-09 10:07:50 +01:00
Kevin Menard
dcefc2d7de Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7 Use MultiJSON #dump and #load rather than #encode and #decode
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Caius Durling
ceb5a6d73e Adding update_firewall_rule request 2011-12-26 12:27:19 +00:00
Paul Thornthwaite
254123791b [brightbox] Test and fix for API client secret reset
* Wasn't loaded although code in place
* Test format and check output isn't nil
2011-11-17 16:41:30 +00:00
Hemant Kumar
78a03d25b0 [Brightbox]Add remove_firewall_policy to computer.rb 2011-10-20 18:21:52 +05:30
Paul Thornthwaite
298d1a9192 [brightbox] Firewall models 2011-10-05 11:57:34 +01:00
Caius Durling
863f456ce6 [brightbox] Make update_cloud_ip request work 2011-09-30 11:08:15 +01:00
Paul Thornthwaite
8bd540938b [compute|brightbox] Added ServerGroup model and collections 2011-09-20 17:15:58 +01:00
Paul Thornthwaite
8bce5d165d [compute|brightbox] Added requests for firewall management 2011-09-20 17:01:14 +01:00
Caius Durling
ae6859ff01 [compute|brightbox] Allow persistent option to be passed to Brightbox::Compute 2011-09-20 17:00:34 +01:00
Paul Thornthwaite
1f5b152839 [compute|brightbox] Fixed typo in connection options 2011-09-19 17:30:07 +01:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes #411
2011-09-12 10:01:56 -05:00
geemus
b2c8ff0388 [core] work toward separate requires
Should facilitate the following:

    require 'fog/aws'
    require 'fog/compute'
    require 'fog/aws/compute'

I think once you `require 'rubygems'` those should work.

further cleanup should reduce common requires (ie nokogiri)
2011-08-31 15:52:53 -05:00
geemus
4002c9ff89 [compute|brightbox] move brightbox compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:31:12 -05:00
geemus
3be53104be [compute] consolidate 2011-01-07 16:52:09 -08:00
geemus
2c3e22f4b6 Merge branch 'brightbox'
Conflicts:
	tests/brightbox/helper.rb
	tests/brightbox/requests/compute/account_tests.rb
	tests/brightbox/requests/compute/api_client_tests.rb
	tests/brightbox/requests/compute/cloud_ip_tests.rb
	tests/brightbox/requests/compute/image_tests.rb
	tests/brightbox/requests/compute/interface_tests.rb
	tests/brightbox/requests/compute/server_tests.rb
	tests/brightbox/requests/compute/server_type_tests.rb
	tests/brightbox/requests/compute/user_tests.rb
	tests/brightbox/requests/compute/zone_tests.rb
2010-12-30 13:04:19 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes #113
2010-12-16 15:31:24 -08:00
Paul Thornthwaite
f2f5b68645 [brightbox] Extended LoadBalancer requests 2010-12-15 18:58:31 +00:00
Paul Thornthwaite
734fbfaf43 Updated to match other tests
Conflicts:
	tests/brightbox/helper.rb
2010-12-09 16:01:38 +00:00
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
Paul Thornthwaite
e355a5ccb4 [brightbox] Rough LoadBalancer model in place 2010-12-03 16:07:52 +00:00
Paul Thornthwaite
26358ecb98 [brightbox] Load Balancer requests added with tests 2010-12-03 14:39:24 +00: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
geemus
26c1e239d5 [brightbox] moving specs to tests 2010-11-16 13:24:43 -08:00
Paul Thornthwaite
1aa122cae9 [brightbox] Remove rebuild request, another no longer in API 2010-11-16 11:11:53 -08:00
Paul Thornthwaite
42d8ba33cd [brightbox] Removed reboot action and request due to API change 2010-11-16 11:11:53 -08:00
Paul Thornthwaite
07bbc05951 [brightbox] Moved JSON parsing to request method to DRY up models, make requests easier to use 2010-11-16 11:11:53 -08:00
Paul Thornthwaite
0ec77fc5a5 [brightbox] Added support for Brightbox cloud API beta (http://beta.brightbox.com) 2010-11-16 11:11:53 -08:00