Frank Schröder
1e461110e6
agent: consolidate handling of 405 Method Not Allowed ( #3405 )
...
* agent: consolidate http method not allowed checks
This patch uses the error handling of the http handlers to handle HTTP
method not allowed errors across all available endpoints. It also adds a
test for testing whether the endpoints respond with the correct status
code.
* agent: do not panic on metrics tests
* agent: drop other tests for MethodNotAllowed
* agent: align /agent/join with reality
/agent/join uses PUT instead of GET as documented.
* agent: align /agent/check/{fail,warn,pass} with reality
/agent/check/{fail,warn,pass} uses PUT instead of GET as documented.
* fix some tests
* Drop more tests for method not allowed
* Align TestAgent_RegisterService_InvalidAddress with reality
* Changes API client join to use PUT instead of GET.
* Fixes agent endpoint verbs and removes obsolete tests.
* Updates the change log.
2017-09-25 23:11:19 -07:00
James Phillips
45646ac3f4
Bumps default Raft protocol to version 3. ( #3477 )
...
* Changes default Raft protocol to 3.
* Changes numPeers() to report only voters.
This should have been there before, but it's more obvious that this
is incorrect now that we default the Raft protocol to 3, which puts
new servers in a read-only state while Autopilot waits for them to
become healthy.
* Fixes TestLeader_RollRaftServer.
* Fixes TestOperator_RaftRemovePeerByAddress.
* Fixes TestServer_*.
Relaxed the check for a given number of voter peers and instead do
a thorough check that all servers see each other in their Raft
configurations.
* Fixes TestACL_*.
These now just check for Raft replication to be set up, and don't
care about the number of voter peers.
* Fixes TestOperator_Raft_ListPeers.
* Fixes TestAutopilot_CleanupDeadServerPeriodic.
* Fixes TestCatalog_ListNodes_ConsistentRead_Fail.
* Fixes TestLeader_ChangeServerID and adjusts the conn pool to throw away
sockets when it sees io.EOF.
* Changes version to 1.0.0 in the options doc.
* Makes metrics test more deterministic with autopilot metrics possible.
2017-09-25 15:27:04 -07:00
James Phillips
8bc8c25cfb
Tweaks some versions around 1.0.0.
2017-09-25 13:47:45 -07:00
Frank Schroeder
caed0ca3c7
Update CHANGELOG
2017-09-25 03:19:05 +02:00
James Phillips
cc710aed39
Puts tree in 0.9.4 dev mode.
2017-09-08 11:13:20 -07:00
James Phillips
4c2e13e0df
Puts the tree in 0.9.3 release mode.
2017-09-08 09:34:55 -07:00
James Phillips
2f11c0deaf
Update CHANGELOG.md
2017-09-06 22:40:03 -07:00
preetapan
c283dc4202
Fixed typo in CHANGELOG.md
2017-09-06 17:12:36 -05:00
James Phillips
79bae51e27
Update CHANGELOG.md
2017-09-06 13:39:33 -07:00
James Phillips
39b3d03f19
Update CHANGELOG.md
2017-09-06 07:38:16 -07:00
James Phillips
a0fca3dae7
Update CHANGELOG.md
2017-09-01 15:18:14 -07:00
James Phillips
bd1f1fbbbb
Update CHANGELOG.md
2017-09-01 15:17:35 -07:00
Kyle Havlovitz
5b2edf4a4d
Update CHANGELOG.md
2017-09-01 12:44:08 -07:00
James Phillips
f41a3fe6c0
Update CHANGELOG.md
2017-09-01 11:12:43 -07:00
James Phillips
827b670048
Update CHANGELOG.md
2017-09-01 11:10:08 -07:00
Preetha Appan
2386214655
Wire server provider for raft layer only on protocol version 3 and above, and update changelog
2017-08-30 14:36:47 -05:00
James Phillips
58b79d43b7
Updates the change log.
2017-08-29 15:33:48 -07:00
James Phillips
cc2f734a0c
Update CHANGELOG.md
2017-08-25 00:14:44 -07:00
Preetha Appan
5ca1c12005
Updating CHANGELOG
2017-08-24 16:50:22 -05:00
James Phillips
2277e69bac
Update CHANGELOG.md
2017-08-23 14:37:39 -07:00
Frank Schroeder
d155fc3cc1
Update CHANGELOG.md
2017-08-23 22:40:43 +02:00
James Phillips
91dfa3d31d
Update CHANGELOG.md
2017-08-21 15:31:40 -07:00
James Phillips
c060635b82
Update CHANGELOG.md
2017-08-21 15:31:24 -07:00
Preetha Appan
642fcd4611
Update CHANGELOG.md
2017-08-18 11:22:35 -05:00
Preetha Appan
b51645739f
Update CHANGELOG.md
2017-08-16 09:39:10 -05:00
James Phillips
f51d56c80c
Switches to using a read lock for the agent's RPC dispatcher.
...
This prevents RPC calls from getting serialized in this spot.
Fixes #3376
2017-08-09 18:51:55 -07:00
James Phillips
6194dcf36f
Puts tree in 0.9.3 dev mode.
2017-08-09 18:33:57 -07:00
James Phillips
0e82e08168
Update CHANGELOG.md
2017-08-09 16:19:36 -07:00
James Phillips
d07946949d
Update CHANGELOG.md
2017-08-09 15:30:52 -07:00
James Phillips
d441381430
Puts tree into 0.9.2 dev mode.
2017-08-08 23:22:19 -07:00
James Phillips
90b955d65f
Puts the tree into 0.9.1 release mode.
2017-08-08 21:53:28 -07:00
James Phillips
942a54181c
Update CHANGELOG.md
2017-08-08 16:28:03 -07:00
Kyle Havlovitz
34de0b9292
Update CHANGELOG.md
2017-08-08 14:01:51 -07:00
Kyle Havlovitz
d489370ddf
Update CHANGELOG.md
2017-08-08 14:01:33 -07:00
Preetha Appan
33ed4fa000
Update CHANGELOG.md
2017-08-08 09:54:45 -05:00
James Phillips
eb8b2f5778
Update CHANGELOG.md
2017-08-07 16:37:56 -07:00
Preetha Appan
29a336eb45
Updated CHANGELOG.md
2017-08-04 10:44:36 -05:00
James Phillips
64f0a85564
Update CHANGELOG.md
2017-08-03 18:37:27 -07:00
James Phillips
296c87638b
Update CHANGELOG.md
2017-08-03 18:37:12 -07:00
James Phillips
3845397880
Update CHANGELOG.md
2017-08-03 18:37:02 -07:00
James Phillips
b2d2292684
Update CHANGELOG.md
2017-08-03 18:33:18 -07:00
James Phillips
4d4547be69
Update CHANGELOG.md
2017-08-03 18:32:40 -07:00
James Phillips
8f8ac4124a
Update CHANGELOG.md
2017-08-03 15:44:17 -07:00
Frank Schroeder
f465aa4b4f
Update CHANGELOG.md
2017-08-03 21:36:48 +02:00
James Phillips
db30ff82b0
Update CHANGELOG.md
2017-08-02 17:09:01 -07:00
Miguel Prokop
6852dec3f2
agent: Fix script quoting on windows ( #1875 )
...
This patch fixes the quoting for executing scripts on windows
and splits the platform dependent code.
Fixes #1875
2017-08-02 17:01:21 +02:00
James Phillips
cd43a91b86
Adds missing Oxford comma :-)
2017-08-01 08:00:56 -07:00
Frank Schroeder
c17690e80b
Update CHANGELOG.md
2017-08-01 11:47:54 +02:00
Preetha Appan
a9a2a300ca
Update CHANGELOG.md
2017-07-31 17:45:30 -05:00
James Phillips
ca50cc30c5
s/nodes/keys/
2017-07-28 16:42:15 -07:00
Preetha Appan
a86e87d8ed
Updated CHANGELOG.md to include GH#3322, and moved recursive delete fix to the improvements section.
2017-07-28 18:01:11 -05:00
James Phillips
07ae7bc2e1
Update CHANGELOG.md
2017-07-26 22:49:22 -07:00
James Phillips
3fc1b8fa47
Update CHANGELOG.md
2017-07-26 22:10:27 -07:00
James Phillips
ab4d51df25
Update CHANGELOG.md
2017-07-26 15:42:30 -07:00
James Phillips
4e8fd78957
Update CHANGELOG.md
2017-07-26 11:12:04 -07:00
James Phillips
d62438da74
Update CHANGELOG.md
2017-07-26 11:07:41 -07:00
Preetha Appan
a4487b2742
Update CHANGELOG.md
2017-07-26 09:42:28 -05:00
Preetha Appan
c26fd66edd
Clean up temporary files on write errors, and ignore any temporary service files on load with a warning. This fixes #3207
2017-07-24 12:42:51 -05:00
James Phillips
9c459377e9
Puts the tree in 0.9.1 dev mode.
2017-07-19 20:57:10 -07:00
James Phillips
859ac937a8
Puts the tree in 0.9.0 release mode.
2017-07-19 19:55:49 -07:00
James Phillips
f34b9bd7e1
Update CHANGELOG.md
2017-07-19 17:14:38 -07:00
James Phillips
9a8a531f18
Update CHANGELOG.md
2017-07-19 15:29:56 -07:00
Preetha Appan
58c1227dc8
Update CHANGELOG.md
2017-07-18 18:42:29 -05:00
James Phillips
265f38876b
Update CHANGELOG.md
2017-07-18 15:15:16 -07:00
Kyle Havlovitz
a406bc70cf
Update CHANGELOG.md
2017-07-18 15:02:15 -07:00
Frank Schroeder
fe51640263
Update CHANGELOG.md
2017-07-18 21:02:14 +02:00
Frank Schroeder
6c053d5139
Update CHANGELOG.md
2017-07-18 20:26:49 +02:00
Frank Schroeder
87cc0b31ee
Update CHANGELOG.md
2017-07-18 09:12:47 +02:00
James Phillips
4e7dc2bb09
Update CHANGELOG.md
2017-07-17 22:15:19 -07:00
James Phillips
acb85b0e28
Update CHANGELOG.md
2017-07-17 12:55:52 -07:00
James Phillips
e9c733eefb
Update CHANGELOG.md
2017-07-17 12:50:53 -07:00
James Phillips
e3aff86759
Update CHANGELOG.md
2017-07-17 12:50:33 -07:00
James Phillips
164262ec40
Update CHANGELOG.md
2017-07-17 12:05:22 -07:00
James Phillips
0a8c4df1e3
Update CHANGELOG.md
2017-07-17 00:02:27 -07:00
James Phillips
a2604f7b5d
Update CHANGELOG.md
2017-07-16 21:14:31 -07:00
James Phillips
34dda65d71
Update CHANGELOG.md
2017-07-16 20:09:49 -07:00
James Phillips
e7789c6b84
Update CHANGELOG.md
2017-07-16 14:30:22 -07:00
James Phillips
75f6ad6518
Update CHANGELOG.md
2017-07-16 14:28:16 -07:00
James Phillips
ef4bfe598e
Update CHANGELOG.md
2017-07-15 00:09:04 -07:00
James Phillips
83d9f0f688
Update CHANGELOG.md
2017-07-14 20:45:07 -07:00
Kyle Havlovitz
dc3683b287
Update CHANGELOG.md
2017-07-14 17:53:44 -07:00
James Phillips
a61f71dc2e
Update CHANGELOG.md
2017-07-14 17:32:09 -07:00
James Phillips
73452d48b2
Update CHANGELOG.md
2017-07-14 16:32:49 -07:00
James Phillips
6ec04130f4
Update CHANGELOG.md
2017-07-14 12:51:35 -07:00
James Phillips
f57382ff8d
Update CHANGELOG.md
2017-07-14 12:51:19 -07:00
James Phillips
c3328f2e4c
Update CHANGELOG.md
2017-07-13 22:39:03 -07:00
James Phillips
643bd65af5
Update CHANGELOG.md
2017-07-13 22:37:12 -07:00
James Phillips
3200aa03b0
Update CHANGELOG.md
2017-07-11 10:03:42 -07:00
James Phillips
f82703d016
Update CHANGELOG.md
2017-07-10 13:54:41 -07:00
James Phillips
3d8ec60d2d
Update CHANGELOG.md
2017-07-10 09:42:18 -07:00
James Phillips
c2c28d5f65
Update CHANGELOG.md
2017-07-08 17:28:50 -07:00
James Phillips
b01b3f6990
Update CHANGELOG.md
2017-07-08 17:18:23 -07:00
James Phillips
d89500d5dc
Update CHANGELOG.md
2017-07-07 12:34:53 -07:00
Frank Schroeder
e168ef0513
Update CHANGELOG.md
2017-07-07 13:41:02 +02:00
James Phillips
daaf6e214b
Update CHANGELOG.md
2017-07-06 09:46:26 -07:00
Preetha Appan
f00df77d38
Updating CHANGELOG.md
2017-07-06 09:19:22 -05:00
James Phillips
fb0e4d531b
Update CHANGELOG.md
2017-06-29 16:27:17 -07:00
James Phillips
1f60723610
Update CHANGELOG.md
2017-06-29 14:28:54 -07:00
James Phillips
c42c1cf354
Update CHANGELOG.md
2017-06-28 20:18:24 -07:00
James Phillips
f2f9a7621f
Update CHANGELOG.md
2017-06-27 18:48:18 -07:00
Preetha Appan
63564da69c
Updating CHANGELOG.md
2017-06-27 16:28:48 -05:00
James Phillips
aa45338d9d
Puts the tree back in 0.9.0 dev mode.
2017-06-27 11:18:45 -07:00
James Phillips
555c7e912a
Puts tree into 0.8.5 release mode.
2017-06-27 09:25:38 -07:00
James Phillips
9243aa990d
Update CHANGELOG.md
2017-06-26 22:44:23 -07:00
James Phillips
b5b6816eeb
Update CHANGELOG.md
2017-06-26 21:25:56 -07:00
James Phillips
2742efbd64
Update CHANGELOG.md
2017-06-24 15:21:55 -07:00
James Phillips
86dc4640b9
Update CHANGELOG.md
2017-06-24 12:55:45 -07:00
James Phillips
75cf566311
Update CHANGELOG.md
2017-06-24 09:42:08 -07:00
James Phillips
0f5f7ff425
Update CHANGELOG.md
2017-06-24 09:41:56 -07:00
James Phillips
6d354b4b9f
Update CHANGELOG.md
2017-06-23 01:17:46 -07:00
James Phillips
38d360735a
Update CHANGELOG.md
2017-06-22 16:55:42 -07:00
Kyle Havlovitz
d8acaa84dc
Update CHANGELOG.md
2017-06-22 14:46:26 -07:00
Frank Schroeder
29373fa2b7
Update CHANGELOG.md
2017-06-22 10:36:51 +02:00
Preetha Appan
8e927e534f
Update CHANGELOG with consul enterprise static snapshot name feature
2017-06-21 20:48:23 -05:00
James Phillips
2cb4ce3a1a
Update CHANGELOG.md
2017-06-21 15:38:16 -07:00
James Phillips
a8b9fb82b6
Update CHANGELOG.md
2017-06-20 21:46:48 -07:00
Frank Schroeder
f8265cef8c
Update CHANGELOG.md
2017-06-21 06:45:12 +02:00
Frank Schroeder
37d389f278
Update CHANGELOG.md
2017-06-21 06:34:28 +02:00
James Phillips
22abd645a8
Update CHANGELOG.md
2017-06-20 17:59:16 -07:00
Kyle Havlovitz
f021c778ad
Create CHANGELOG.md
2017-06-15 15:29:58 -07:00
vijay rama raju samanuri
5507a310dd
Typo in CHANGELOG ( #3149 )
2017-06-15 07:23:21 -07:00
James Phillips
3f2aac0124
Create CHANGELOG.md
2017-06-14 16:25:20 -07:00
James Phillips
3835788d6a
Update CHANGELOG.md
2017-06-09 21:11:16 -07:00
James Phillips
1f040b6a7a
Create CHANGELOG.md
2017-06-09 15:51:50 -07:00
Seth Vargo
401380ae41
Update CHANGELOG
2017-06-09 15:13:28 -04:00
James Phillips
7e4406e5b9
Puts the tree into 0.9.0 dev mode.
2017-06-09 08:27:15 -07:00
James Phillips
d968d8b648
Puts the tree into 0.8.4. release mode.
2017-06-09 07:34:00 -07:00
James Phillips
76e8ed07b0
Create CHANGELOG.md
2017-06-08 13:16:32 -07:00
Preetha Appan
51b0f991c3
Updated changelog
2017-06-08 13:04:53 -07:00
James Phillips
967a7a400b
Create CHANGELOG.md
2017-06-08 07:25:19 -07:00
James Phillips
0a3bcf0f41
Create CHANGELOG.md
2017-06-08 07:24:42 -07:00
James Phillips
08f60eb64f
Create CHANGELOG.md
2017-06-08 07:22:29 -07:00
James Phillips
e7cf67b31b
Update CHANGELOG.md
2017-06-07 10:42:55 -07:00
James Phillips
a8ec191290
Update CHANGELOG.md
2017-06-07 10:39:51 -07:00
Frank Schroeder
9224daf585
Update CHANGELOG.md
2017-06-07 09:53:11 +02:00
James Phillips
65bbad0975
Update CHANGELOG.md
2017-06-02 21:45:14 -07:00
James Phillips
cbedf92157
Update CHANGELOG.md
2017-06-02 21:45:03 -07:00
James Phillips
d9fb90be6a
Update CHANGELOG.md
2017-06-02 09:33:58 -07:00
James Phillips
555cc9b44a
Update CHANGELOG.md
2017-06-02 09:07:31 -07:00
Kyle Havlovitz
eea8f4ce75
Update CHANGELOG.md
2017-05-30 08:52:51 -07:00
James Phillips
8d00db4836
Update CHANGELOG.md
2017-05-25 22:05:37 -07:00
James Phillips
6b5b1bd404
Update CHANGELOG.md
2017-05-25 22:05:25 -07:00
James Phillips
7d2b473101
Update CHANGELOG.md
2017-05-24 20:57:11 -07:00
Frank Schroeder
d3153a2369
Update CHANGELOG.md
2017-05-24 11:11:21 +02:00
James Phillips
fa6bd6dab9
Update CHANGELOG.md
2017-05-23 16:54:49 -07:00
James Phillips
f9d27d2732
Update CHANGELOG.md
2017-05-18 10:29:51 -04:00
James Phillips
816f34c217
Update CHANGELOG.md
2017-05-18 10:27:06 -04:00
Frank Schroeder
6c02d380af
Update CHANGELOG.md
2017-05-17 20:23:09 +02:00
Frank Schroeder
9b1bd5197b
Update CHANGELOG.md
2017-05-15 17:53:30 +02:00
James Phillips
698686d838
Puts the tree in version 0.8.4 dev mode.
2017-05-11 18:52:37 -07:00