We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to list_parameters_of by name, I get this error:
> client.list_parameters_of('federation-upstream', 'monitor', '33ac8c46007794dee1a6') NoMethodError: undefined method `each_pair' for #<Array:0x0000000153b1e0> from /var/lib/gems/2.2.0/gems/hashie-3.4.1/lib/hashie/mash.rb:179:in `deep_update'
If I don't list by name, I see the parameters as expected:
> client.list_parameters_of('federation-upstream', 'monitor') => [{"value"=>{"uri"=>"amqp://33ac8c46007794dee1a6:[email protected]/monitor", "reconnect-delay"=>30}, "vhost"=>"monitor", "component"=>"federation-upstream", "name"=>"33ac8c46007794dee1a6"}]
The text was updated successfully, but these errors were encountered:
Can you please post the output of the same request with curl? The body seems to be non-standard.
The path is
/api/parameters/#{uri_encode(component)}/#{uri_encode(vhost)}/#{uri_encode(name)}
Sorry, something went wrong.
Sure:
$ curl "http://timeline:[email protected]:15672/api/parameters/federation-upstream/monitor/33ac8c46007794dee1a6" {"value":{"uri":"amqp://33ac8c46007794dee1a6:[email protected]/monitor","reconnect-delay":30},"vhost":"monitor","component":"federation-upstream","name":"33ac8c46007794dee1a6"}
I'm also seeing the same issue with list_policies_of:
> client.list_policies_of('monitor', 'federate-me') NoMethodError: undefined method `each_pair' for ["vhost", "monitor"]:Array from /var/lib/gems/2.2.0/gems/hashie-3.4.1/lib/hashie/mash.rb:179:in `deep_update'
No branches or pull requests
When I try to list_parameters_of by name, I get this error:
If I don't list by name, I see the parameters as expected:
The text was updated successfully, but these errors were encountered: