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

54 commits

Author SHA1 Message Date
jblancett
d40c2c8096 fix for linode using public ip blocks in 192.* 2013-09-18 11:33:28 -04:00
Eric Hankins
226a935fba Add TTL on save rather than initialize.
Move the TTL default assignment to the #save method instead of applying
it on object initialization.
2013-05-14 16:45:42 -05:00
Paul Thornthwaite
4c129b2b4a [linode] Updates reference to service 2013-01-07 20:53:28 +00:00
Paul Thornthwaite
40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
Carlos Sanchez
a25691ed23 Move ssh private_key, public_key, username to Server model to reduce duplication 2012-10-31 12:31:49 +01:00
James Herdman
97b16d08d2 Remove absolute path when requiring 2012-05-26 11:27:28 -04:00
Wes Morgan
9f98964d3e use kernel_id for mocked kernel, not stackscript_id 2012-05-17 17:14:03 -07:00
Wes Morgan
6987a8dfa5 make Mock#linode_disk_list return the response object 2012-05-17 11:36:05 -07:00
Wes Morgan
0d43fdfed4 make Mock#linode_disk_delete return the response object 2012-05-17 11:35:21 -07:00
Wes Morgan
4422b48af5 add Linode Mock classes to request primitives 2012-05-17 11:31:15 -07:00
Kevin Menard
dcefc2d7de Fixed : 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
Nicholas Ricketts
ffb6af9648 clean up public_ip_address code for linode 2011-10-05 18:13:24 -04:00
Nicholas Ricketts
fae5d3357a cleaned up code to use att_XX methods 2011-10-05 17:59:32 -04:00
Nicholas Ricketts
9f3820da7e added linode ssh support with proper public ip address 2011-10-05 17:49:02 -04:00
Nicholas Ricketts
2d4d3cc5b5 added linode ssh support 2011-10-05 17:33:49 -04:00
geemus
2f9654993e [core] fixing more paths after rearrange 2011-09-22 19:34:14 -05:00
geemus
ffd01e51dd [core] pass connection_options through service init
closes 
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
fca3bdb4cd [compute|linode] move linode compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:24:45 -05:00
geemus
b54121f035 [dns|linode] move linode dns to its own shared area (namespacing should probably be corrected) 2011-08-24 19:50:12 -05:00
geemus
0e5fe57e3d [core] move providers to lib/fog/. 2011-08-24 14:17:46 -05:00
geemus
65c1bfffe2 [core] first steps toward seperately requirable bits 2011-08-24 13:35:08 -05:00
geemus
3be53104be [compute] consolidate 2011-01-07 16:52:09 -08:00
geemus
39b5899163 [dns] consolidate 2011-01-07 16:12:04 -08:00
geemus
a5b70181d9 [bin] consolidate 2011-01-07 15:51:16 -08:00
geemus
e4e33af626 [dns] fixes to get all shared tests passing 2011-01-03 15:39:38 -08:00
geemus
39ed179198 [linode|dns] first pass at models 2010-12-23 16:47:47 -08:00
geemus
8d7733c239 [linode|dns] give dns its own namespace/service 2010-12-21 15:25:09 -08:00
geemus
8b25cd4218 Merge branch 'aws_dns' 2010-12-17 15:48:23 -08:00
geemus
3ea111c7f8 [core] fix/cleanup requires/recognizes for service
closes 
2010-12-16 15:31:24 -08:00
Athir Nuaimi
eb523fb80a [aws|dns] 1st pass at Route 53 support. All functions added but not tested
have added each of the Route 53 functions
list_hosted_zones is working.  rest still need to be tested

[aws|linode|slicehost|zerigo|dns] added complete test cases for linode & slicehost DNS.  Also added initial support for AWS Route 53
2010-12-16 00:29:42 -05:00
Athir Nuaimi
f18cdbdf62 finished testing Linode DNS support.
updated example code to show all major functions
fixes a few small bugs
2010-12-16 00:28:56 -05:00
Athir Nuaimi
9d2c9ff74c All Linode DNS functions are now supported. Still needs some testing though
Added support for all the DNS resource functions.
As with Slicehost, no mocks or test cases yet.  Also, example code still needs some updating
2010-12-16 00:28:56 -05:00
Athir Nuaimi
814aec89d8 add support for linode domain.list method
linode has a full API to support managed DNS.  Have the 1st call, domain.list working
method also support option parameter to narrow results to a single domain

can now create DNS zones on linode

added support for domain.create method.
continuing work to support rest of DNS zone methods
added a sample in examples directory.  Right now includes code for slicehost.  will add linode once API fully supported
2010-12-16 00:28:24 -05:00
Athir Nuaimi
f09fa8b442 finished testing Linode DNS support.
updated example code to show all major functions
fixes a few small bugs
2010-12-11 13:39:25 -05:00
Athir Nuaimi
0ffd1404d5 All Linode DNS functions are now supported. Still needs some testing though
Added support for all the DNS resource functions.
As with Slicehost, no mocks or test cases yet.  Also, example code still needs some updating
2010-12-11 11:32:41 -05:00
Athir Nuaimi
78b8d4a125 can now create DNS zones on linode
added support for domain.create method.
continuing work to support rest of DNS zone methods
added a sample in examples directory.  Right now includes code for slicehost.  will add linode once API fully supported
2010-12-10 18:49:00 -05:00
Athir Nuaimi
909d062d89 add support for linode domain.list method
linode has a full API to support managed DNS.  Have the 1st call, domain.list working
method also support option parameter to narrow results to a single domain
2010-12-10 14:07:00 -05: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
Juris Galang
b9315bf7fe Added self.class_for(key) method. This allows us to inspect the requirements without having to create an instance of the service. 2010-12-08 11:08:16 -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 
2010-12-01 14:34:42 -08:00
geemus
a975a6ef79 push most dependencies out toward leaves to lessen initial load requirements 2010-10-29 14:58:28 -07:00
geemus
592c8cc404 mock related fixes and marking unmocked tests pending 2010-10-13 17:54:14 -07:00
geemus
07dbdf6952 providers abstraction, more consolidated bin stuff between providers 2010-09-21 11:11:15 -07:00
geemus
f0e2cfd21d rely on service to include collections 2010-09-14 10:51:13 -07:00
geemus
eb6bca6f34 leftovers that I missed on the first pass in the last few commits 2010-09-08 14:41:14 -07:00
geemus
fb34c07940 [linode] consistency between providers/services 2010-09-08 10:56:38 -07:00
geemus
dce5893555 add services accessors and clarify vocab by not reusing service 2010-09-03 15:32:30 -07:00
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00