Commit graph

24 commits

Author SHA1 Message Date
Steve Gargan
64ace27be3 correctly iterate and return results of any service checks. (#2878)
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
2016-09-08 07:17:56 +02:00
Colin Hutchinson
dfb6cccff4 consul.py doc fix (#2589)
Small fix to the examples section of consul.py
2016-07-20 07:56:41 +02:00
Joel Thompson
800da3ae16 Fix default service_address in consul module (#2454)
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.
2016-06-19 17:58:44 +02:00
René Moser
e388fb4006 consul: fix param name for verify SSL (#2194)
Introduced in #1793, fixes #2114, needs backport to 2.1
2016-05-27 15:46:56 +02:00
Rene Moser
3feb69f614 consul: add docs, fix typos, minor style fix 2016-04-25 10:09:15 +02:00
Sun JianKang
08f5a3b6d0 add service address when register service (#1299) 2016-04-25 09:58:07 +02:00
Chris Tooley
04982da9b8 Modify consul certificate validation bypass keyword from 'verify' to 'validate_certs' 2016-03-23 13:23:30 +00:00
Chris Tooley
516f7d98e7 Add version_added to documentation 2016-03-05 00:55:08 +00:00
Chris Tooley
b5390824c2 Add https support for consul clustering modules 2016-03-05 00:37:41 +00:00
Toshio Kuratomi
d6af6f8477 Update for modules which import json.
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
2016-01-11 13:06:22 -08:00
Joel Thompson
ae8a4581f4 Add no_log=True to consul modules' API tokens
API tokens should be considered sensitive and not logged.
2015-12-17 23:32:05 -05:00
Brian Coca
fdb4a58f97 added version_added and fixed some doc parsing issues 2015-10-14 11:06:29 -04:00
Brian Coca
6e01848602 Merge pull request #837 from jemmyw/consul-http-checks
Add consul http checks to consul.py
2015-10-14 11:01:03 -04:00
Brian Coca
15480e3d04 fixed option in examples 2015-10-12 18:20:23 -04:00
Jeremy Wells
cf4b4be901 Add consul http checks to consul.py
Consul module already supports ttl and script checks. This commit adds
http checks.
2015-10-12 12:11:10 +02:00
Toshio Kuratomi
79173ac18d Clean up unneeded urllib2 imports 2015-07-20 23:04:27 -07:00
Brian Coca
cf764bf060 minor doc fixes 2015-07-17 01:19:21 -04:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
mlamatr
80663e0fbe corrected typo in URL for consul.io 2015-06-16 11:33:12 -04:00
Brian Coca
c223716bc7 fixed version on consul modules 2015-05-28 10:05:10 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
6f30acd0d2 Adding author's github id 2015-05-13 14:42:46 -04:00
Toshio Kuratomi
e5022ba87b Add python >= 2.6 to documented deps 2015-05-12 08:43:31 -07:00
Matt Martz
1b3b0caa51 Give consul modules a .py extension 2015-05-11 10:09:56 -05:00
Renamed from clustering/consul (Browse further)