Commit Graph

6644 Commits

Author SHA1 Message Date
Michael Schurter
2b7e091424 Fix API panic and bad missing port check
The format of the missing port error message changed from Go 1.7 to 1.8.
The fix is to just use strings.Contains instead of strings.HasPrefix
when looking for the "missing port" part.

Also add an error return to Client.newRequest as parsing the path
processes arbitrary user input and would panic if given an invalid URL.

See: https://groups.google.com/d/topic/nomad-tool/gi3-CTE7oXo/discussion
2017-02-20 11:12:34 -08:00
Alex Dadgar
1e3e475ba4 Merge pull request #2331 from hashicorp/b-dispatch-response
swap structs
2017-02-17 11:44:19 -08:00
Alex Dadgar
3595f8d5b5 swap structs 2017-02-17 11:43:14 -08:00
Alex Dadgar
5c611c9199 changelog 2017-02-17 11:35:11 -08:00
Alex Dadgar
da0c005e7b Merge pull request #2318 from hashicorp/f-vault-debug
Server side Vault telemetry
2017-02-17 11:34:37 -08:00
Alex Dadgar
16a8a11b66 changelog 2017-02-17 11:33:08 -08:00
Alex Dadgar
fb4b6bdeb2 Merge pull request #2321 from hashicorp/f-timezone
Allow specification of timezones in Periodic Jobs
2017-02-17 11:32:14 -08:00
Alex Dadgar
47420baa52 Remove panic 2017-02-17 11:21:49 -08:00
Alex Dadgar
f812cbc0c6 Bump go 2017-02-17 10:22:30 -08:00
Alex Dadgar
6212d4e5cf changelog 2017-02-17 10:19:11 -08:00
Alex Dadgar
8b1061cc63 Merge pull request #2322 from hashicorp/f-escape
Fix escaping of HTML characters
2017-02-17 10:18:34 -08:00
Alex Dadgar
df9cd3d271 Changelog 2017-02-17 10:17:58 -08:00
Alex Dadgar
f5e024b801 Merge pull request #2329 from hashicorp/f-client-allocated-telemetry
Test fix
2017-02-17 10:16:44 -08:00
Alex Dadgar
6effacbf12 Docs 2017-02-17 10:16:15 -08:00
Alex Dadgar
3ff7d4c94d Merge pull request #2327 from hashicorp/f-client-allocated-telemetry
Add allocated/unallocated metrics to client
2017-02-17 10:14:16 -08:00
Alex Dadgar
08d7b66772 Docs 2017-02-16 18:42:53 -08:00
Alex Dadgar
dca06bd1f5 Add allocated/unallocated metrics to client 2017-02-16 18:28:11 -08:00
Alex Dadgar
11e9a10378 Fix embedded meta in dispatch response 2017-02-16 15:47:36 -08:00
Alex Dadgar
c1e9ab69ca fix test 2017-02-15 16:28:28 -08:00
Alex Dadgar
f4cc46948f Fix diff 2017-02-15 15:23:29 -08:00
Alex Dadgar
03feb2efad Fix escaping 2017-02-15 15:14:47 -08:00
Alex Dadgar
8d101c0d25 Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar
e9d8a6aa72 Revendor docker client 2017-02-14 17:34:05 -08:00
Alex Dadgar
1399cd6293 Fix interval breaking two tests 2017-02-14 17:06:30 -08:00
Alex Dadgar
22b64a53cf Better derive token logging 2017-02-14 16:46:54 -08:00
Alex Dadgar
639afa9253 Include alloc on server side err/logs 2017-02-14 16:26:49 -08:00
Alex Dadgar
826ef285e7 Add server metrics 2017-02-14 16:02:18 -08:00
Alex Dadgar
d1b61e250f Changelog 2017-02-14 11:08:28 -08:00
Alex Dadgar
0cc2d1a963 Merge pull request #2310 from hashicorp/f-serf-reap
Handle Serf Reap event
2017-02-14 11:07:43 -08:00
Alex Dadgar
8ce2f2dffc changelog 2017-02-14 11:07:08 -08:00
Alex Dadgar
f91ce4cc37 Merge pull request #2309 from hashicorp/f-no-root-token
Disallow root policy from being specified
2017-02-14 11:06:31 -08:00
Alex Dadgar
d8f385362c changelog 2017-02-14 11:05:44 -08:00
Alex Dadgar
cdce86251e Merge pull request #2308 from hashicorp/f-leader-task
Leader task
2017-02-14 11:03:32 -08:00
Alex Dadgar
ddffaac7c8 changelog 2017-02-14 11:02:40 -08:00
Alex Dadgar
d0cc49d904 Merge pull request #2305 from hashicorp/f-operator
Add nomad operator command for interacting with Raft configuration
2017-02-14 11:01:41 -08:00
Alex Dadgar
2b746b94f4 Respond to feedback 2017-02-14 11:01:12 -08:00
Alex Dadgar
486b49c6f3 Changelog 2017-02-14 10:46:09 -08:00
Alex Dadgar
a513c50c02 Merge pull request #2311 from hashicorp/f-no-interval
Validate the interval within a restart policy
2017-02-14 10:43:05 -08:00
Michael Schurter
0758ce7738 Merge pull request #2306 from greenboxal/improve-doc
Improve interpolation docs
2017-02-14 10:31:37 -08:00
Alex Dadgar
9a9cb8de10 Validate the interval within a restart policy
This PR ensures that the interval specified is not less than 5 seconds.

Fixes https://github.com/hashicorp/nomad/issues/2286
2017-02-13 15:27:36 -08:00
Alex Dadgar
a9d0c2ce3a Fix test 2017-02-13 14:31:22 -08:00
Alex Dadgar
58f9a5d08d Handle Serf Reap event
This PR adds handling of the Serf member reap event to remove the peer
from Raft.
2017-02-13 14:22:54 -08:00
Alex Dadgar
74ddf430ef Disallow root policy from being specified
This PR disallows the specification of a root policy by a Nomad task.
2017-02-13 10:51:29 -08:00
Alex Dadgar
826fb96799 Remove old vault status 2017-02-13 10:44:10 -08:00
Alex Dadgar
81c412cda0 Api Leader becomes a pointer 2017-02-13 10:43:33 -08:00
Alex Dadgar
b1f062f1b0 Documentation 2017-02-13 10:18:34 -08:00
Jonathan Lima
966ad77e9b Improve interpolation docs 2017-02-12 01:47:17 -02:00
Alex Dadgar
edbc84087c Add Leader support to client 2017-02-10 17:55:19 -08:00
Alex Dadgar
a22f1647f9 Add leader task to api and server side 2017-02-10 16:57:47 -08:00
Jeff Mitchell
f4a08a193d Update go-cleanhttp 2017-02-10 19:41:28 -05:00