python-consul
python-consul copied to clipboard
Python client for Consul (http://www.consul.io/)
Hi @cablehead, It concerns new acl system for consul 1.4 and 1.5 In this pr I had the possibility to manage the following parts of the ACL api: * https://www.consul.io/api/acl/tokens.html...
Tokens in `params` was missing when creating and manipulating `consul.Sessions` objects. Since the `consul.Consul` object already has token in attributes, I'm trying to refer to the agent's token attribute via...
It is not clear from the docs that there is a difference in the returned value between Python 2 and Python 3 (#177 ), so I made a few changes...
Hi! I've just added `metrics` method to Agent for get list of metrics. See [docs](https://www.consul.io/api/agent.html#view-metrics). Please check it and let me know if need to fix something
This is done so the API properly passes node_meta data to Consul. PR #222 did not fix this issue. Consul appears to want node_meta in the data body not params....
My environment is set to deny all request and I need to specify token for each of my API call. This PR intent to add token parameter on session creation
This PR implements the graceful leave command asked in PR #236 It perform a graceful leave and shutdown for consul agent.
Resolves #226. Note that this change requires the client code to await (yield from) the Consul.close method. This is how all the other methods work (get, put, delete, etc).