Armon Dadgar
7994484dc7
Merge pull request #494 from epankala/version
...
Update to 'consul version' behaviour
2014-11-24 11:03:00 -08:00
Armon Dadgar
8c7dfc14c0
Merge pull request #492 from sosedoff/comment-fix
...
Comment fix
2014-11-23 23:05:07 -08:00
Janne Paenkaelae
3bb03f4c86
Update to 'consul version' behaviour
...
After e6b6f18172
if consul was built
with just running "go build" the GitDescribe would be empty and consul
version would be empty.
This change alters the behaviour so that if consul is build without
proper ldflags the version will be postfixed with "dev" prerelease to
indicate that it is self compiled in a wrong way.
Should someone have a bug in such a binary at least devs should easily
see from the version number that binary has not been created by
recommended means.
2014-11-23 15:42:08 +00:00
Dan Sosedoff
c5033de1bb
Fix comment for commands map
2014-11-22 11:44:23 -06:00
Armon Dadgar
6468c70ea1
Merge pull request #491 from BCWilsonDotCom/patch-1
...
correct the doc for obtaining formatted json
2014-11-21 13:00:13 -08:00
Brandon Wilson
cf3b9ec4fe
correct the doc for obtaining formatted json
...
was "?pretty" should be "?pretty=1"
2014-11-21 12:27:48 -08:00
Armon Dadgar
f57efbc778
Merge pull request #487 from amalaviy/ephemeral_keys
...
Ephemeral Nodes for via Session behavior settings.
2014-11-21 10:11:52 -08:00
Armon Dadgar
93d5322d60
Merge pull request #489 from hashicorp/h-event-watch
...
Preserve ordering of event buffer when filtering on name
2014-11-21 10:10:33 -08:00
Ryan Uber
dbd420fc4b
agent: make event buffer test non-sequential
2014-11-20 21:56:50 -08:00
Ryan Uber
da96fb5499
agent: Test event order preservation for watches
2014-11-20 20:35:52 -08:00
Ryan Uber
96619b7f88
agent: Preserve ordering of event buffer. Fixes #479
2014-11-20 19:51:08 -08:00
Atin Malaviya
d7933ae747
Set empty Behavior setting into SessionKeysRelease and flag error for unrecognized values
2014-11-20 19:16:07 -05:00
Atin Malaviya
6ef03a806c
Clean up tests, use switch to default session.Behavior value if unspecified, unrecognized
2014-11-20 14:29:18 -05:00
Atin Malaviya
47241fc1c8
Ephemeral Nodes for via Session behavior settings.
...
Added a "delete" behavior for session invalidation, in addition to
the default "release" behavior. On session invalidation, the sessions
Behavior field is checked and if it is set to "delete", all nodes owned
by the session are deleted. If it is "release", then just the locks
are released as default.
2014-11-20 11:34:45 -05:00
Ryan Uber
a3cd40cf9d
Merge pull request #336 from ryanuber/f-keyring
...
feature: gossip encryption key rotation
2014-11-19 23:18:44 -08:00
Ryan Uber
28bd9810a7
agent: remove unused config variable
2014-11-19 23:18:12 -08:00
Ryan Uber
c283754381
Rebase against upstream
2014-11-19 16:45:49 -08:00
Ryan Uber
bc0eb4c16d
agent: fix gossip encryption detection
2014-11-19 16:37:40 -08:00
Ryan Uber
8a652c6ffa
agent: fix loading keyring on agent start
2014-11-19 16:37:40 -08:00
Ryan Uber
ab5fbe4094
agent: ignore -encrypt if provided when keyring exists
2014-11-19 16:37:40 -08:00
Ryan Uber
4203e7ab6d
consul: clean up comments, fix globalRPC tests
2014-11-19 16:37:40 -08:00
Ryan Uber
a662acd794
consul: fix obscure bug when launching goroutines from for loop
2014-11-19 16:37:40 -08:00
Ryan Uber
0cafb129ee
consul: more tests, remove unused KeyManager() method
2014-11-19 16:37:40 -08:00
Ryan Uber
648c7cdc8e
consul: simplify keyring operations
2014-11-19 16:36:19 -08:00
Ryan Uber
ee03c6a4b8
consul: add test for internal keyring rpc endpoint
2014-11-19 16:36:19 -08:00
Ryan Uber
a79176d314
consul: simplify keyring operations
2014-11-19 16:36:19 -08:00
Ryan Uber
1398538ae2
command/keyring: adjust command help
2014-11-19 16:36:18 -08:00
Ryan Uber
e60c909276
command/keyring: clean up tests
2014-11-19 16:36:18 -08:00
Ryan Uber
0b8fe6cc83
agent: fix test cases
2014-11-19 16:36:18 -08:00
Ryan Uber
c945311baf
agent: make rpc tests more reliable
2014-11-19 16:36:01 -08:00
Ryan Uber
80c25e3320
website: document new behavior of the -encrypt option
2014-11-19 16:36:01 -08:00
Ryan Uber
bc2b2120fa
agent: -encrypt appends to keyring if one exists
2014-11-19 16:36:01 -08:00
Ryan Uber
22b2c63304
command/agent: fix up gossip encryption indicator
2014-11-19 16:35:37 -08:00
Ryan Uber
7a74f559b9
command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt
2014-11-19 16:35:13 -08:00
Ryan Uber
1f9d13dc73
agent: squash some more common keyring semantics
2014-11-19 16:34:18 -08:00
Ryan Uber
25845a39d3
consul: detach executeKeyringOp() from *Internal
2014-11-19 16:34:18 -08:00
Ryan Uber
59a7938d1f
agent: guard against empty keyring files
2014-11-19 16:34:18 -08:00
Ryan Uber
7b4b87ccf1
consul: use keyring operation type to cut out duplicated logic
2014-11-19 16:34:18 -08:00
Ryan Uber
9556347609
consul: generalize multi-DC RPC call broadcasts
2014-11-19 16:34:18 -08:00
Ryan Uber
c11f6b5152
agent: fix install key test
2014-11-19 16:34:18 -08:00
Ryan Uber
7e0af5153f
website: clean up keyring command docs and add output examples
2014-11-19 16:34:18 -08:00
Ryan Uber
daf77c3f5b
command/keyring: cleanup
2014-11-19 16:34:18 -08:00
Ryan Uber
61b0908e3a
consul: test rpc errors returned from remote datacenters
2014-11-19 16:34:18 -08:00
Ryan Uber
9b8e753b15
consul: make forwarding to multiple datacenters parallel
2014-11-19 16:34:18 -08:00
Ryan Uber
74c7b1239b
consul: break rpc forwarding and response ingestion out of internal endpoints
2014-11-19 16:34:18 -08:00
Ryan Uber
6a3271980e
command/keyring: refactor, adjust tests
2014-11-19 16:34:18 -08:00
Ryan Uber
91ad3461f4
command: fix panic when client RPC is asked for a keyring operation
2014-11-19 16:34:17 -08:00
Ryan Uber
9d01174521
consul: kill unused struct fields
2014-11-19 16:34:17 -08:00
Ryan Uber
a163db2269
command/keyring: remove unneeded -wan arg, fix tests
2014-11-19 16:34:17 -08:00
Ryan Uber
f86904ee59
agent: adjust rpc client tests for keyring
2014-11-19 16:34:17 -08:00