python-consul
python-consul copied to clipboard
Python client for Consul (http://www.consul.io/)
In `Event.list` method we are creating `wait` and `index` parameters: https://github.com/cablehead/python-consul/blob/41b7c8c4b6caf7d32b2a073fd74fdc631de09e1a/consul/base.py#L452-L460 But in documentation no such parameters are present: https://www.consul.io/api/event.html#list-events Is this something coming from older versions of Consul? I...
This pull request simply add snapshot feature to this consul-client. Feel free to review function naming. I also hesitate to avoid body/binary-body duplication in response collection, but it's looks simpler...
``` c = consul.Consul() new_service = consul.Consul.Agent.Service(c.agent) new_service.register(config['executor_id']) ``` Probably, I'm not using the `Service` correctly here, but still this code causes error in this line [this line](https://github.com/cablehead/python-consul/blob/53eb41c4760b983aec878ef73e72c11e0af501bb/consul/base.py#L894)
Just a nice convenience.
consul allows to have different vaults and have custom names for them e.g.: "/secretvault/dev/" instead of "/v1/kv/". We need to provide the ability to be able to retrieve config values...
I want to use consul python module in a multiprocessing context : I need to execute x process and each of them is fetching node from consul with are advertising...
Agent Service and Check Register calls already handle ACL tokens: https://github.com/cablehead/python-consul/issues/73 However, the other commands, including deregister, do not take ACL tokens. It is therefore possible to register a service...
Die acl part of the library is not working with the latest consul version 1.4 and the updated acl system. They use new webservice entpoints and new features. The old...
Add ?cached parameter for agent caching interface https://www.consul.io/api/features/caching.html
Is there any way I can perform a graceful [leave and shutdown](https://www.consul.io/api/agent.html#graceful-leave-and-shutdown) for consul agent using this library that performs the following action? ```bash $ curl \ --request PUT \...