dynect_rest
dynect_rest copied to clipboard
Access the Dynect REST API from Ruby
For more details: https://github.com/fog/fog/pull/1081
Sometimes rest-client returns a payload of nil when querying Dynect When dynect_rest tries to parse that response here : https://github.com/adamhjk/dynect_rest/blob/master/lib/dynect_rest.rb#L197 it throws an exception because the json library can't parse...
Is this possible? At a glance it does not appear to be, as all new instances of DynectRest require an existing zone.
``` I have 404 Resource Not Found: {"status": "failure", "data": null, "job_id": null, "msgs": [{"INFO": "Unknown resource ARecordRecord (Requested URI: /REST/ARecordRecord/engineyard.com/x.engineyard.com)", "SOURCE": "API-A", "ERR_CD": "INVALID_REQUEST", "LVL": "ERROR"}]} with 404 /Users/ey/.rvm/gems/ruby-1.8.7-p358/gems/dynect_rest-0.4.1/lib/dynect_rest.rb:211:in...
The homepage listed for the gem is https://github.com/adamhjk/dynect-rest which is incorrect and gives a 404 not found It should be changed to the correct url of https://github.com/adamhjk/dynect_rest
Just kind of a "gotcha" point, when dealing with GSLB which requires regions with spaces. Basically the uri needs to be normalized before being used, may want to wrap the...
For some reason Chef's dynect cookbook returns a **RestClient::Response** when **get()**'ing resources from Dynect. This can be seen by running this recipe: https://github.com/opscode/cookbooks/blob/master/dynect/recipes/ec2.rb Which will fail with a fatal error:...