python-consul2 icon indicating copy to clipboard operation
python-consul2 copied to clipboard

Python client for the Consul HTTP API ,Continue develop on cablehead/python-consul

Results 22 python-consul2 issues
Sort by recently updated
recently updated
newest added

ClientError: 410 Endpoint /v1/acl/list for the legacy ACL system was removed in Consul 1.11.

fix #33 https://github.com/poppyred/python-consul2/blob/7aa1ff4103f6c8e6e79d614bbcd554b6e835a6f9/consul/base.py#L935

Allow Catalog.services requests to be filtered on a given Consul tag.

The criteo guys also maintain a fork of python-consul [1]. The fork already contains some nice features e.g. for context manager and consul connect. It would be great to see...

The dc (datacenter) parameter is not passed to the txn handler

Resolves #30. This PR also: - Replaces the deprecated call to requests.session() with its current counterpart, requests.Session(). - Allows arbitrary connection kwargs to be passed down, not least to allow...

This is a "To-Do" in the current code, I've tested adding: def ENDPOINT(self, ... consistency=None): ... consistency = consistency or self.agent.consistency if consistency in ('consistent', 'stale'): params.append((consistency, '1')) ... To...

Consul returns a 429 response code when: Some healthchecks are passing, at least one is warning (see https://www.consul.io/api-docs/agent/service). This PR updates the callback handler to support response code 429.