Commit Graph

5523 Commits

Author SHA1 Message Date
James Phillips a59f503c13 Tweaks ACL replication status struct name. 2017-04-25 16:31:20 -07:00
Ivan Bogdanov 822cf7ec20 API: Add ACLReplication 2017-04-25 00:39:50 +03:00
Ruslan Sennov ac9bcceecd 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 5f0a967507 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 9f8f258d4d 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 58c3b1ff38 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 46df6f6950 Update CHANGELOG.md 2017-04-19 15:28:51 -07:00
Kyle Havlovitz 8988e2ebd7 Update CHANGELOG.md 2017-04-19 15:03:02 -07:00
Kyle Havlovitz 72ee7c2501 Show raft protocol in list-peers command (#2929) 2017-04-19 15:01:40 -07:00
James Phillips 1bbe835707 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 90e3ef7b86
Updated autopilot guide to correct synax issue with example config 2017-04-19 17:15:12 +01:00
Kyle Havlovitz bd9b0b34b2 Make the API client's httpClient more pluggable (#2926) 2017-04-18 16:39:23 -07:00
Kyle Havlovitz e97574fc4c
Fix help text on client cert/key options 2017-04-18 16:30:20 -07:00
James Phillips 8321fa5199 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 d4ee438cd7 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 f09713f16c
Add a config example to autopilot guide 2017-04-18 14:40:20 -07:00
Seth Vargo 34e1de1b8b
Fix terminal a bit 2017-04-18 13:52:04 -04:00
Seth Vargo ffd7c3539a
Fix terminal a bit 2017-04-18 13:51:46 -04:00
Seth Vargo fdab3c502a Merge pull request #2923 from hashicorp/sethvargo/css
Fix homepage css
2017-04-18 13:19:35 -04:00
Seth Vargo 647ad1441d
Use HashiCorp logo for jsonld 2017-04-18 13:19:00 -04:00
Seth Vargo a7a93a1a45
Fix homepage css 2017-04-18 12:57:05 -04:00
Frank Schroeder e3398bea0c
Update CHANGELOG 2017-04-18 05:08:15 -07:00
Frank Schröder 892fa89399 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 c7831a188e Merge pull request #2919 from InTheCloudDan/patch-1
Docs: fix typo
2017-04-17 18:47:25 -07:00
Dan O'Brien 612756d1bc Docs: fix typo 2017-04-17 21:29:18 -04:00
James Phillips 8c1be42b71 Update CHANGELOG.md 2017-04-17 17:31:58 -07:00
James Phillips 2d2fc269d7 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 703bb52369
Updating documentation regarding webui flags 2017-04-17 17:29:14 -07:00
mckennajones 1695506b1d
Added check to see if ui and ui-dir flags are both specified 2017-04-17 17:25:57 -07:00
James Phillips 9108dcd79c Merge pull request #2916 from Ashald/patch-1
ACL guide fixes
2017-04-17 15:01:31 -07:00
Borys Pierov 74444bca8e ACL guide fixes 2017-04-17 17:59:03 -04:00
James Phillips 2cf0f17e78
Puts the tree in 0.8.2 dev mode. 2017-04-17 12:05:23 -07:00
James Phillips 59abb5630e
Bumps download link to 0.8.1. 2017-04-17 11:14:48 -07:00
James Phillips e75dc7ee04
Release v0.8.1 2017-04-17 11:01:43 -07:00
James Phillips 5d869f51d5
Puts the tree in 0.8.1 release mode. 2017-04-17 10:37:25 -07:00
James Phillips dbdd8fcd5b Merge pull request #2915 from hashicorp/watcher-test
Makes watcher test more robust.
2017-04-16 22:16:26 -07:00
James Phillips fa5d3a81cd
Makes watcher test more robust. 2017-04-16 22:15:48 -07:00
Kyle Havlovitz 107ae91d17 Update CHANGELOG.md 2017-04-14 14:57:09 -07:00
Kyle Havlovitz 077c981841 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 095b441ed4
Fix help text for -ca-path 2017-04-14 14:44:45 -07:00
Kyle Havlovitz 8119cea849
Vendor the go-rootcerts lib for the client tls options 2017-04-14 13:46:19 -07:00
Kyle Havlovitz cdd8b5b880
Add tls client options to api/cli 2017-04-14 13:37:29 -07:00
James Phillips 502f9a4996
Tweaks 404 message. 2017-04-14 09:00:59 -07:00
James Phillips 6445371422 Update CHANGELOG.md 2017-04-13 20:11:06 -07:00
James Phillips bb7218e4f2 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 a24228d34a
Fixes broken link to network areas API. 2017-04-13 19:19:42 -07:00
James Phillips 74958a8a8d
Removes old Atlas ecosystem doc from Consul. 2017-04-13 17:39:32 -07:00
James Phillips c1faa792d3 Update CHANGELOG.md 2017-04-13 16:54:35 -07:00
James Phillips 1129827f91 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 002c70c4d4
Adds guard in session ACL check in case session is not found.
Fixes #2624.
2017-04-13 15:03:17 -07:00