fog/fog — Issue #602: [rackspace|dns] Callback errors should thrown on ERROR status
Author: brianhartsock
Created: 2011-11-11 01:59:19+00:00
State: open

{"request"=>"{\"domains\":[{\"name\":\"fogzonetests.com\",\"emailAddress\":\"fog@example.com\"}]}", "error"=>{"message"=>"The object already exists.", "code"=>409, "details"=>"\n\n Hash: Zone label conflicts with the existing zone because parent/sub domain of fogzonetests.com belongs to another owner\n\n"}, "status"=>"ERROR", "verb"=>"POST", "jobId"=>"1af8bd49-4860-4a3b-9256-8f6eb9467dd8", "callbackUrl"=>"https://dns.api.rackspacecloud.com:443/v1.0//status/1af8bd49-4860-4a3b-9256-8f6eb9467dd8", "requestUrl"=>"http://dns.api.rackspacecloud.com:443/v1.0//domains"}

The above callback status response should trigger an exception.