1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/dynect/requests/dns
Shawn Catanzarite caabdff6d4 fix missing record data in dynect dns
currently, when fog requests all records:
* make a NodeList request
returns a list of nodes (domains)
* for each domain, make a secondary AnyRecord request for each domain
returns a list of records (without data)

The resulting Record objects do not contain the data of where the record points (address or cname). 'rdata' is nil

I've changed the process to be:
* make an AllRecord request
returns a list of records (without data)
* make a secondary request to *Record (using the type returned from the AllRecord request)
this returns a *complete* record object (including data)

The number of requests to Dynect API is the same, but the resulting objects contain all of the information.

TODO:
* Please help me integrate with fog testing
* I had to remove (comment) the API Version header, not sure what the correct value for this is
** Dynect documentation is a bit difficult to work through
2013-09-21 12:23:05 -07:00
..
delete_record.rb Idempotent Dynect calls. ✌️ 2012-05-28 16:20:29 +02:00
delete_zone.rb Beginning of Dynect::DNS mocking support. 2011-08-30 10:01:22 -07:00
get_all_records.rb fix missing record data in dynect dns 2013-09-21 12:23:05 -07:00
get_record.rb Idempotent Dynect calls. ✌️ 2012-05-28 16:20:29 +02:00
get_zone.rb Idempotent Dynect calls. ✌️ 2012-05-28 16:20:29 +02:00
post_record.rb Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
post_session.rb Idempotent Dynect calls. ✌️ 2012-05-28 16:20:29 +02:00
post_zone.rb Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
put_zone.rb Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00