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

19 commits

Author SHA1 Message Date
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
95d8da053b [aws|dns] Updates reference to service 2013-01-07 20:53:25 +00:00
Alexander Kolesen
8140d122de Bugfix in Fog::DNS::AWS::Records.all!
If we have more than 100 AWS records, this method returns different
results if called twice. So we should reset attributes before each call.
2012-06-30 23:51:24 +03:00
Michael Keirnan
298522644c fix get, all, and all!
get and all returned AWS error responses about empty values being specified.  Existing shin do
tests already covered these cases as this:

FOG_MOCK=false bundle exec shindont tests/aws/models/dns/records_tests.rb

was reporting 6 failures.

Tests pass after fix.
2012-04-21 14:34:09 -04:00
George Scott
4997114b49 [aws|dns] Added #all! method to Records.
#all! auto-iterates to load all DNS records into the collection.
2012-04-05 13:57:31 -07:00
George Scott
67c679854f [aws|dns] Reimplemented #get
#get was not working correctly.  It was not using the :identity
attribute of the record as its argument, was calling #get_change which
does not return a record.

#get now takes a record name as its first argument and returns the
first matching argument or nil.  It also take two optional arguments,
type and identifier, which allow one to select a specific record as
needed, without iterating through multiple records.
2012-03-31 10:13:53 -07:00
George Scott
fd36a788cd [aws|dns] Fixed #all iteration
It was not possible to iterate all records using #all because of lack
of NextRecordIdentifier.
2012-03-31 10:01:45 -07:00
George Scott
27f3eda915 [aws|dns] Support for latency/weighted resource sets.
Support for CRUD on latency/weighted resource sets for AWS Route 53.
Updated to latest API version.
2012-03-28 13:50:56 -07:00
George Scott
7945ecb286 [aws|dns] Changed #insync? to #ready? 2012-03-26 13:40:19 -07:00
George Scott
ad81386d98 [aws|dns] Preserves change_id. Support for checking sync status via reload. 2012-03-26 12:23:42 -07:00
Thom May
7006cc4d59 support alias records in the route53 models 2012-03-08 15:25:59 +00:00
Aaron Suggs
4eb729a0b3 Merge remote-tracking branch 'origin/master' into route53_modify 2012-02-25 10:26:51 -05:00
geemus
71d52a51bf [aws|dns] fix capitilization for records#all options 2011-12-13 12:07:54 -06:00
Aaron Suggs
ef6f8cd06c [aws|dns] Add Record#modify method.
Deletes the current record and creates a new record
in a single request.
2011-11-29 14:00:35 -05:00
Aaron Suggs
3541452f18 [aws|dns] Record identity is 'Name'.
There is no 'Id' attribute.
2011-11-29 14:00:35 -05:00
geemus
487046d85b [dns|aws] move aws dns to its own shared area (namespacing should probably be corrected) 2011-08-24 20:00:45 -05:00
geemus
39b5899163 [dns] consolidate 2011-01-07 16:12:04 -08:00
geemus
15832b0eb7 [aws|dns] record(s) models 2011-01-03 14:45:50 -08:00
geemus
75ea9c3fb8 [aws|dns] first pass at zone(s) models 2010-12-29 13:11:46 -08:00