Commit Graph

4818 Commits (5334649355ff5a92c0d70b524e8659baed2c40db)

Author SHA1 Message Date
James Phillips fcb0c20867 Adds internal endpoint read ACL support and full unit tests. 2016-05-10 11:23:47 -07:00
Evan Gilman 965fcf9d6b
Enable Stale mode for watchers
Solves https://github.com/hashicorp/consul/issues/917 by giving consul
watch a `-stale` flag
2016-05-10 00:09:15 -07:00
James Phillips 2f51926852 Adds an empty get test case. 2016-05-09 22:18:26 -07:00
James Phillips e491245062 Performs basic plumbing of KVS transactions through all the layers. 2016-05-09 22:15:49 -07:00
James Phillips 2f0a95a2d9 Merge pull request #2014 from hashicorp/f-secure-rand
Use a cryptographically secure seed
2016-05-09 20:07:28 -07:00
Sean Chittenden ae6cd89dd8
Bump Go to 1.6.2 for Travis (just added) 2016-05-08 22:10:42 -07:00
Sean Chittenden 6fc4557bd6 Merge pull request #2029 from hashicorp/f-test-coverage
Update testing output
2016-05-07 15:14:19 -07:00
Sean Chittenden ac298eacad
Don't build darwin/arm until we figure out what's going on with Travis 2016-05-07 14:53:21 -07:00
Sean Chittenden d014d3148b Revert to Go 1.6 to see if that fixes Travis 2016-05-07 14:22:15 -07:00
Sean Chittenden c3e5bf0d15 Bump Go back to 1.6.1 to see if this breaks darwin/arm again 2016-05-07 14:00:32 -07:00
Sean Chittenden 2443830909 Revert to Go 1.6 to see if that fixes Travis 2016-05-07 13:55:28 -07:00
Sean Chittenden 2baa593cde Bump Go to 1.6.1 2016-05-07 13:25:29 -07:00
Sean Chittenden 05b60da07c Include the test coverage report in the output
Inspired by: Nomad project
2016-05-07 13:04:28 -07:00
Sean Chittenden 3fc714b9b6 Add `tools/cmd/cover` to GOTOOLS 2016-05-07 13:02:12 -07:00
Sean Chittenden e59509227c golang.org/x/tools/cmd/vet is obsolete after Go1.5
`go tool vet` is builtin starting with Go 1.5
2016-05-07 13:01:07 -07:00
James Phillips b7ae973642 Adds state store support for atomic KVS ops. 2016-05-05 15:46:59 -07:00
Sean Chittenden 65aa46838e Merge pull request #2023 from hashicorp/f-current-version-checkpoint
Include the current version along side the available version.
2016-05-04 23:47:30 -07:00
Sean Chittenden 01b8311c94 Include the current version along side the available version.
When checkpoint emits a log message indicating an agent is out of
date, include the current version along with the available version
according to checkpoint.

Inspired by: log output in #993
2016-05-04 22:57:44 -07:00
James Phillips 6c2aeb25ab Splits existing KVS operations into *Txn helpers for later reuse. 2016-05-04 14:20:11 -07:00
James Phillips 730dd7df47 Merge pull request #2021 from MansM/patch-2
Update install.sh
2016-05-04 09:37:51 -07:00
James Phillips eb888733cc Merge pull request #2020 from MansM/patch-1
Update install.sh
2016-05-04 09:37:37 -07:00
MansM 5bd3995be3 Update install.sh
version bump
2016-05-04 18:03:39 +02:00
MansM e19ff53e5c Update install.sh
version bump
2016-05-04 18:01:47 +02:00
James Phillips 80048067ff Merge pull request #2018 from hashicorp/jt-ie
add height to fix svg in announcement bnr
2016-05-03 17:54:22 -07:00
captainill 9960e636b4 add height to fix svg in announcement bnr 2016-05-03 17:41:55 -07:00
Sean Chittenden d695bcaae6 Use a cryptographically secure seed
`SeededSecurely` is present if someone or something wants to query the way the library was seeded.

Obtained from: nomad
2016-05-02 23:52:37 -07:00
James Phillips 9edca28203 Moves KVS-related state store code out into its own set of files. 2016-05-02 16:21:04 -07:00
James Phillips 9f272b0881 Merge pull request #2012 from hashicorp/sethvargo/elink
Track enhanced links
2016-05-02 13:31:42 -07:00
Seth Vargo 8baadf332a
Track enhanced links 2016-05-02 15:55:04 -04:00
fusiondog b5751901da Clarify need for recursors option.
Reiterating that the iptables option requires recursors to be set to resolve for any domain besides .consul
2016-04-29 16:45:59 -07:00
Sean Chittenden 0c5a487838 Merge pull request #2003 from hashicorp/f-issue-template
Add a Github issue template
2016-04-29 11:24:13 -07:00
fusiondog f142d4ab04 DNS forwarding with iptables
Adding notes on using iptables to forward ports
2016-04-28 23:27:28 -07:00
Sean Chittenden 2122a3349c Revise issue template to include a hint to use a gist 2016-04-28 22:27:25 -07:00
Sean Chittenden 461d21c2e6 Add a Github issue template 2016-04-28 16:57:31 -07:00
James Phillips 6185888f1f Merge pull request #2001 from hashicorp/f-consul-info-peers
Add the list of Raft peers to Consul's Stats
2016-04-28 15:12:55 -07:00
Sean Chittenden 6cf21fbbe9 Add the list of Raft peers to Consul's Stats
```
% consul info
[snip]
raft:
[snip]
	raft_peers = 127.0.0.1:8300
[snip]
```

Poached from: Nomad Project
2016-04-28 15:08:48 -07:00
James Phillips c0f98271ee Merge pull request #1996 from kjtanaka/update-demo
update vagrant demo
2016-04-27 15:09:46 -07:00
James Phillips c6bde826a4 Fixes and clarifies the only_passing docs. 2016-04-27 14:55:38 -07:00
Koji Tanaka ae1cdc1615 update vagrant demo 2016-04-27 17:52:23 -04:00
James Phillips 178d58721a Merge pull request #1989 from hashicorp/persist-errors
Fixes some bad error returns in the persist service and check paths.
2016-04-26 15:04:20 -07:00
James Phillips 7bf684ece1 Fixes some bad error returns in the persist service and check paths. 2016-04-26 15:03:26 -07:00
James Phillips adcf935350 Update CHANGELOG.md 2016-04-24 23:08:59 -07:00
James Phillips ceac68c5eb Merge pull request #1762 from mshean/script-timeout
Add Timeout field to CheckMonitor
2016-04-24 23:08:06 -07:00
James Phillips 25811d8802 Gets rid of obsolete go get command in the README. 2016-04-24 16:32:19 -07:00
Sean Chittenden 5a1f60f85a Merge pull request #1979 from hashicorp/b-checkapi-update
Update Check API to use constants
2016-04-23 20:20:36 -07:00
Sean Chittenden a3254522fe Clean up the test example in README
This works without an import cycle and has been `go fmt`'ified
2016-04-23 20:18:45 -07:00
Sean Chittenden 4255a0826d Correct a small typo 2016-04-23 20:18:19 -07:00
Sean Chittenden f1873c21d7 consul/ uses structs.Health*, the api uses api.Health* 2016-04-23 16:06:58 -07:00
Sean Chittenden e63d3a1275 Update Check API to use constants
Use constants where appropriate to advocate their use.  Also add a deprecation notice re: `updateTTL`.
2016-04-23 16:01:59 -07:00
Sean Chittenden 7eb85dd268 Merge pull request #1973 from hashicorp/b-random-stagger
Guard against divide by zero in lib.RandomStagger()
2016-04-23 13:21:27 -07:00