Commit Graph

5523 Commits

Author SHA1 Message Date
James Phillips 138abeb5f7 Tweaks ACL replication status struct name. 2017-04-25 16:31:20 -07:00
Ivan Bogdanov 1ebd6402fd API: Add ACLReplication 2017-04-25 00:39:50 +03:00
Ruslan Sennov f17656c39f link to vertx-consul-client (#2937)
Signed-off-by: Ruslan Sennov <ruslan.sennov@gmail.com>
2017-04-21 00:43:15 -07:00
Frank Schröder 6dd2804d09 Issue #2905: Add check-not-exists to TXN endpoint
This patch adds support for asserting that a given
key does not exist in the KV store.

Fixes #2905
2017-04-20 17:50:52 -07:00
Frank Schroeder eddb1af603 Remove duplicate constants
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.

This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln
Used the following rewrite rules:

gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b, c, d))) -> fmt.Fprintf(resp, a, b, c, d)' *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b, c))) -> fmt.Fprintf(resp, a, b, c)' *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a, b))) -> fmt.Fprintf(resp, a, b)'  *.go
gofmt -w -r 'resp.Write([]byte(fmt.Sprintf(a))) -> fmt.Fprint(resp, a)' *.go
gofmt -w -r 'resp.Write([]byte(a + "\n")) -> fmt.Fprintln(resp, a)' *.go
gofmt -w -r 'resp.Write([]byte(a)) -> fmt.Fprint(resp, a)' *.go
2017-04-20 09:02:59 -07:00
James Phillips 8234f3acc6 Update CHANGELOG.md 2017-04-19 15:28:51 -07:00
Kyle Havlovitz e04e86069c Update CHANGELOG.md 2017-04-19 15:03:02 -07:00
Kyle Havlovitz f25cac4c8f Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
James Phillips 7332d663fb Merge pull request #2928 from hashicorp/docs/nicj/autopilot
Updated autopilot guide to correct synax issue with example config
2017-04-19 10:14:01 -07:00
Nic Jackson 8c9b635765
Updated autopilot guide to correct synax issue with example config 2017-04-19 17:15:12 +01:00
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926) 2017-04-18 16:39:23 -07:00
Kyle Havlovitz 29a4a42f17
Fix help text on client cert/key options 2017-04-18 16:30:20 -07:00
James Phillips 5b2afbb2d1 Merge pull request #2925 from hashicorp/autopilot-guide-example
Add a config example to autopilot guide
2017-04-18 15:26:20 -07:00
Frank Schröder b6ae9f187c Faster dev builds (#2924)
This patch runs 'go install' instead of gox which runs 'go build' for
'make dev' and copies the binary into ./bin and ./pkg/${GOOS}_${GOARCH}
to mimick the previous behavior. This reduces the roundtrip times
for a dev build from 11 sec to 500ms if there weren't any changes.
2017-04-18 15:03:51 -07:00
Kyle Havlovitz 37dad53c8a
Add a config example to autopilot guide 2017-04-18 14:40:20 -07:00
Seth Vargo 3f43fc912c
Fix terminal a bit 2017-04-18 13:52:04 -04:00
Seth Vargo 1314dcb661
Fix terminal a bit 2017-04-18 13:51:46 -04:00
Seth Vargo 6fce17de74 Merge pull request #2923 from hashicorp/sethvargo/css
Fix homepage css
2017-04-18 13:19:35 -04:00
Seth Vargo 0bb2c356d8
Use HashiCorp logo for jsonld 2017-04-18 13:19:00 -04:00
Seth Vargo 83476979c7
Fix homepage css 2017-04-18 12:57:05 -04:00
Frank Schroeder 2d0917062f
Update CHANGELOG 2017-04-18 05:08:15 -07:00
Frank Schröder c40621ae10 Add datacenter to catalog node API (#2917)
This patch stores the datacenter of a node in memdb
and exposes it via the API in all places where a Node
structure is returned.

 * /catalog/nodes
 * /catalog/node/:node
 * /catalog/service/:service
 * /health/service/:service
 * /query/:uuid/execute
2017-04-18 05:02:24 -07:00
James Phillips c010babcd8 Merge pull request #2919 from InTheCloudDan/patch-1
Docs: fix typo
2017-04-17 18:47:25 -07:00
Dan O'Brien cc516e9e01 Docs: fix typo 2017-04-17 21:29:18 -04:00
James Phillips 1a753e46de Update CHANGELOG.md 2017-04-17 17:31:58 -07:00
James Phillips d3ae23fa52 Merge pull request #2918 from hashicorp/pr-2577-slackpad
Provide error if -ui and -ui-dir are both specified
2017-04-17 17:29:37 -07:00
mckennajones d4058b1576
Updating documentation regarding webui flags 2017-04-17 17:29:14 -07:00
mckennajones a489f2b734
Added check to see if ui and ui-dir flags are both specified 2017-04-17 17:25:57 -07:00
James Phillips b909837262 Merge pull request #2916 from Ashald/patch-1
ACL guide fixes
2017-04-17 15:01:31 -07:00
Borys Pierov 20582f1c44 ACL guide fixes 2017-04-17 17:59:03 -04:00
James Phillips 26b30b1606
Puts the tree in 0.8.2 dev mode. 2017-04-17 12:05:23 -07:00
James Phillips 238c99b136
Bumps download link to 0.8.1. 2017-04-17 11:14:48 -07:00
James Phillips e9ca44d0a1
Release v0.8.1 2017-04-17 11:01:43 -07:00
James Phillips 647a3d2556
Puts the tree in 0.8.1 release mode. 2017-04-17 10:37:25 -07:00
James Phillips f50228234d Merge pull request #2915 from hashicorp/watcher-test
Makes watcher test more robust.
2017-04-16 22:16:26 -07:00
James Phillips d9e6f3c894
Makes watcher test more robust. 2017-04-16 22:15:48 -07:00
Kyle Havlovitz 2d7ec3137c Update CHANGELOG.md 2017-04-14 14:57:09 -07:00
Kyle Havlovitz 43818f53ef Merge pull request #2914 from hashicorp/tls-client-options
Add tls client options to api/cli
2017-04-14 14:55:17 -07:00
Kyle Havlovitz b1d98522ee
Fix help text for -ca-path 2017-04-14 14:44:45 -07:00
Kyle Havlovitz ebef78dc71
Vendor the go-rootcerts lib for the client tls options 2017-04-14 13:46:19 -07:00
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli 2017-04-14 13:37:29 -07:00
James Phillips f960ab836c
Tweaks 404 message. 2017-04-14 09:00:59 -07:00
James Phillips 271189aa70 Update CHANGELOG.md 2017-04-13 20:11:06 -07:00
James Phillips da304f94ae Merge pull request #2912 from hashicorp/issue-2624
Adds guard in session ACL check in case session is not found.
2017-04-13 20:10:19 -07:00
James Phillips 0124f9117b
Fixes broken link to network areas API. 2017-04-13 19:19:42 -07:00
James Phillips e954faa2aa
Removes old Atlas ecosystem doc from Consul. 2017-04-13 17:39:32 -07:00
James Phillips 2d1dfae468 Update CHANGELOG.md 2017-04-13 16:54:35 -07:00
James Phillips fb089e2bbb Merge pull request #2842 from vaLski/supress_sigpipe_logging
Supress signal logging on SIGPIPE. Should address #2768
2017-04-13 16:52:29 -07:00
James Phillips 76c1e2dd6d
Adds guard in session ACL check in case session is not found.
Fixes #2624.
2017-04-13 15:03:17 -07:00