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

8 commits

Author SHA1 Message Date
Shawn Catanzarite
cccb3775bb options not used. return nil unless we find a matching url in response 2013-09-25 12:21:20 -07:00
Shawn Catanzarite
113dadd48d remove find_by_name for now 2013-09-25 10:29:22 -07:00
Shawn Catanzarite
7be677403f speed things up for get calls. add find_by_name filter. still needs some refactoring 2013-09-23 12:43:20 -07:00
Shawn Catanzarite
25b69f8289 remove commented code and update API version 2013-09-21 12:38:15 -07:00
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
Paul Thornthwaite
0c5395b0d6 [dynect|dns] Updates reference to service 2013-01-07 20:53:28 +00:00
Dan Peterson
8e9b86f42a [dynect|dns] Pass zone.records.all options through to get_node_list.
This is useful for the `:fqdn` option:

```
zone.records.all(:fqdn => "foo.bar.com") #=> only records under foo.bar.com
```
2012-01-30 11:39:15 -04:00
geemus
96c117c580 [dns|dynect] move dynect dns to its own shared area (namespacing should probably be corrected) 2011-08-24 19:52:11 -05:00
Renamed from lib/fog/dns/models/dynect/records.rb (Browse further)