Seth Vargo
a43984e4cc
Merge pull request #567 from thorduri/master
...
?pretty, work without value.
2015-01-02 10:36:05 -05:00
Thordur Bjornsson
a12ffef8b6
Test both ?pretty both bare and with value.
2015-01-02 09:15:41 +01:00
Thordur Bjornsson
5ef79e747e
Revert "correct the doc for obtaining formatted json"
...
This reverts commit cf3b9ec4fe
.
2015-01-02 08:00:09 +01:00
Thordur Bjornsson
1435818792
handle ?pretty similarly to ?stale, ?consistent etc.
2015-01-02 08:00:08 +01:00
Ryan Uber
e9615c50e6
agent: test pretty printed json
2015-01-01 14:27:10 -08:00
Seth Vargo
71bd154293
Make app private
2014-12-30 13:49:59 -05:00
Seth Vargo
9f8b46b828
Move IE compat into middleman-hashicorp
2014-12-30 13:45:15 -05:00
Seth Vargo
6b9e1a818a
Update gems to latest versions
2014-12-30 13:18:33 -05:00
Seth Vargo
49d29bc937
Update titles to be consistent with other sites
2014-12-30 13:18:25 -05:00
Emil Hessman
cb764c35e5
add ability to specify response headers on the HTTP API
...
Add an config object that allows adding HTTP header response fields to every
HTTP API response.
Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
darron froese
a5ba33ae06
It's not key - it's service.
...
It's right in the description, but the example seems to be wrong.
2014-12-26 21:51:48 -08:00
Ryan Uber
b74af612a9
Merge pull request #546 from ryanbreen/master
...
Add a randomized start before running CheckMonitors.
2014-12-18 12:46:57 -08:00
Ryan Breen
f2bd641402
Clean up log line and reduce test time.
2014-12-18 09:00:51 -05:00
Ryan Breen
d82ef7bb8c
Test that staggered checks run within the defined interval.
2014-12-17 22:39:11 -05:00
Ryan Breen
2e58f54a26
Well, that sure is cleaner.
2014-12-17 22:24:41 -05:00
Ryan Breen
60dacecb39
Add a randomized start before running CheckMonitors.
2014-12-17 21:44:12 -05:00
Armon Dadgar
c728cb7cde
Merge pull request #543 from lyrixx/patch-2
...
[DOC] Rework downloads_tools and add PHP SDK
2014-12-16 21:59:30 -08:00
Ryan Uber
697c2ddda4
Merge pull request #542 from sequenceiq/add-rpc-addr-env-var
...
Add default rpc address configuration option as CONSUL_RPC_ADDR env vari...
2014-12-16 16:36:49 -08:00
lalyos
89f271a9da
Add default rpc address configuration option as CONSUL_RPC_ADDR env variable
...
Similar as in serf: https://github.com/hashicorp/serf/pull/210
2014-12-16 12:18:34 +01:00
Grégoire Pineau
2a77a68b81
[DOC] Rework downloads_tools and add PHP SDK
2014-12-16 11:27:45 +01:00
Seth Vargo
b3b9e860ec
Merge pull request #541 from carlanton/website-helios-consul
...
Add helios-consul to community tools page
2014-12-15 10:59:24 -05:00
Anton Lindström
272ef2f708
Add helios-consul to community tools page
2014-12-15 12:47:57 +01:00
Armon Dadgar
88c80a9137
Merge pull request #536 from awesomenix/master
...
Add Build.bat for building on Windows 32bit or 64bit
2014-12-14 17:42:42 -08:00
awesomenix
a23dc65e53
Merge remote-tracking branch 'upstream/master'
2014-12-13 12:17:02 -08:00
awesomenix
7b337b8a36
Make modulename param so build.bat can be generalized and used for any go project
2014-12-13 12:11:41 -08:00
awesomenix
c908cfb0c0
Add missing switch -u, which updates packages
2014-12-13 11:58:54 -08:00
awesomenix
92367e8a62
Add Instructions on Downloading Mingw 64bit for Building memdb
2014-12-13 10:46:43 -08:00
Armon Dadgar
0953efd5a0
consul: Minor cleanup
2014-12-12 22:17:41 -08:00
Armon Dadgar
19ce0842c6
consul: Test Session.Apply updates session timers
2014-12-12 21:54:29 -08:00
Armon Dadgar
7565d628b3
consul: Adding more tests for session TTLs
2014-12-12 21:42:59 -08:00
Armon Dadgar
a886e8e561
consul: Setup ACLs and timers after initial barrier
2014-12-12 21:42:24 -08:00
Armon Dadgar
fc89462236
consul: Make sessionTimersLock a plain mutex
2014-12-12 19:17:35 -08:00
Armon Dadgar
a5a9f051cd
consul: Ignore zero ttl on session
2014-12-12 19:17:04 -08:00
Armon Dadgar
bb1ba3a167
consul: Minor cleanups
2014-12-12 15:43:34 -08:00
Armon Dadgar
29afa881f4
Merge pull request #524 from amalaviy/session_ttl
...
Consul Session TTLs
2014-12-12 14:42:25 -08:00
Armon Dadgar
6eb5baac41
Merge pull request #515 from mtchavez/master
...
Vagrant updates
2014-12-12 14:18:39 -08:00
Atin Malaviya
31e461e10b
Add invalidateSession test
2014-12-11 06:09:53 -05:00
Atin Malaviya
ac54010027
Fixed clearSessionTimer, created invalidateSession, added invalid TTL test
2014-12-11 05:34:31 -05:00
Seth Vargo
0647e80a3f
Merge pull request #531 from ijin/patch-1
...
minor grammer fix
2014-12-11 02:03:17 -08:00
Michael H. Oshita
a03436e4b2
minor grammer fix
2014-12-11 19:02:29 +09:00
Atin Malaviya
60915629f6
Took out usage of snapshot SessionListTTL
2014-12-10 21:37:06 -05:00
Atin Malaviya
0f9723e6f8
Remove hardcoded wait time in session TTL tests
2014-12-10 21:04:09 -05:00
Atin Malaviya
3821f3c57b
Took out StateSnapshot SessionListTTL also
2014-12-10 20:53:05 -05:00
Atin Malaviya
5229f3b44d
Clean up code based on feedback from armon
2014-12-10 20:49:06 -05:00
Atin Malaviya
87e9d855fd
Added more tests
2014-12-10 16:43:15 -05:00
Atin Malaviya
624c465e2b
Added more tests. Also added return of 404 if the session id to renew is not found
2014-12-10 10:02:23 -05:00
Armon Dadgar
d0566105f4
Merge pull request #521 from hoffoo/master
...
ui: ask for confirmation before deleting keys
2014-12-07 17:03:32 -08:00
Armon Dadgar
e5ea4ad54a
Merge pull request #522 from alouche/minor_cleanup
...
Minor cleanup
2014-12-07 17:02:32 -08:00
Atin Malaviya
4732c36d88
Consul Session TTLs
...
The design of the session TTLs is based on the Google Chubby approach
(http://research.google.com/archive/chubby-osdi06.pdf ). The Session
struct has an additional TTL field now. This attaches an implicit
heartbeat based failure detector. Tracking of heartbeats is done by
the current leader and not persisted via the Raft log. The implication
of this is during a leader failover, we do not retain the last
heartbeat times.
Similar to Chubby, the TTL represents a lower-bound. Consul promises
not to terminate a session before the TTL has expired, but is allowed
to extend the expiration past it. This enables us to reset the TTL on
a leader failover. The TTL is also extended when the client does a
heartbeat. Like Chubby, this means a TTL is extended on creation,
heartbeat or failover.
Additionally, because we must account for time requests are in transit
and the relative rates of clocks on the clients and servers, Consul
will take the conservative approach of internally multiplying the TTL
by 2x. This helps to compensate for network latency and clock skew
without violating the contract.
Reference: https://docs.google.com/document/d/1Y5-pahLkUaA7Kz4SBU_mehKiyt9yaaUGcBTMZR7lToY/edit?usp=sharing
2014-12-07 12:38:22 -05:00
Marin
d0994d2fce
ui: confirm dialog only when deleting key directories #521
2014-12-06 12:00:51 -08:00