summaryrefslogtreecommitdiff
path: root/clustering/consul.py
Commit message (Collapse)AuthorAgeFilesLines
* Refreshed metadata for extras modulesToshio Kuratomi2016-12-061-0/+4
|
* consul: Pass through service_id if specified on a check (#3295)James Hart2016-11-111-6/+19
| | | | | | | | | Fixes #3249 The python-consul library already supports this, so it is just a simple case of enablement. This does not break the current logic in `add` of parsing as a check, then parsing as a service if that fails… because service_name is mandatory on a service registration and is invalid on a check registration.
* allow services to be removed by name as well as id (#3372)Steve Gargan2016-11-081-5/+5
|
* Make consul modules pass sanity test for python 3Michael Scherer2016-10-171-3/+3
|
* correctly iterate and return results of any service checks. (#2878)Steve Gargan2016-09-081-3/+2
| | | current implementation was breaking making the module unusable, changing to the list comprehension fixes this. Also default to seconds instead of throwing a exception when no duration units are supplied as this causes tests to fail
* consul.py doc fix (#2589)Colin Hutchinson2016-07-201-1/+1
| | | Small fix to the examples section of consul.py
* Fix default service_address in consul module (#2454)Joel Thompson2016-06-191-6/+8
| | | | | | | | | PR #1299 introduced the service_address parameter but specified a default value of localhost. This is a breaking change; prior to that, the consul module would always assume that the service should advertise the address that the Consul agent was listening on. With this change, the consul module will now default to advertising localhost to all nodes for the service, which isn't the desired behavior. This changes the default back to None which is the implicit default prior to #1299.
* consul: fix param name for verify SSL (#2194)René Moser2016-05-271-1/+1
| | | Introduced in #1793, fixes #2114, needs backport to 2.1
* consul: add docs, fix typos, minor style fixRene Moser2016-04-251-7/+7
|
* add service address when register service (#1299)Sun JianKang2016-04-251-2/+18
|
* Modify consul certificate validation bypass keyword from 'verify' to ↵Chris Tooley2016-03-231-3/+3
| | | | 'validate_certs'
* Add version_added to documentationChris Tooley2016-03-051-0/+2
|
* Add https support for consul clustering modulesChris Tooley2016-03-051-0/+14
|
* Update for modules which import json.json-imports-fallbackToshio Kuratomi2016-01-111-5/+0
| | | | | | | Some do not use the json module directly so don't need import json. Some needed to fallback to simplejson with no traceback if neither was installed Fixes #1298
* Add no_log=True to consul modules' API tokensJoel Thompson2015-12-171-1/+1
| | | | API tokens should be considered sensitive and not logged.
* added version_added and fixed some doc parsing issuesBrian Coca2015-10-141-15/+10
|
* Merge pull request #837 from jemmyw/consul-http-checksBrian Coca2015-10-141-16/+59
|\ | | | | Add consul http checks to consul.py
| * Add consul http checks to consul.pyJeremy Wells2015-10-121-16/+59
| | | | | | | | | | Consul module already supports ttl and script checks. This commit adds http checks.
* | fixed option in examplesBrian Coca2015-10-121-4/+4
|/
* Clean up unneeded urllib2 importsToshio Kuratomi2015-07-201-3/+3
|
* minor doc fixesBrian Coca2015-07-171-21/+20
|
* Changes to author formatting, remove emailsGreg DeKoenigsberg2015-06-161-1/+1
|
* corrected typo in URL for consul.iomlamatr2015-06-161-1/+1
|
* fixed version on consul modulesBrian Coca2015-05-281-1/+1
|
* fix doc parsing by correctly quoting authorBrian Coca2015-05-141-1/+1
|
* Adding author's github idGreg DeKoenigsberg2015-05-131-1/+1
|
* Add python >= 2.6 to documented depsToshio Kuratomi2015-05-121-0/+1
|
* Give consul modules a .py extensionMatt Martz2015-05-111-0/+506