Commit Graph

4070 Commits

Author SHA1 Message Date
James Phillips 54b930103c Terminates pretty responses with a newline. 2016-05-10 20:02:36 -07:00
James Phillips 907d8bab34 Fixes some go vet findings in a unit test. 2016-05-10 20:01:52 -07:00
Sean Chittenden 94e2766423
Remove stray type definition
Noticed while working on Nomad Client's server selection code.
2016-05-10 18:56:28 -07:00
James Phillips c1db39fe85 Adds type for API ops and an example transaction. 2016-05-10 13:36:48 -07:00
James Phillips 15a331d36c Adds unit tests for HTTP endpoint. 2016-05-10 12:59:34 -07:00
James Phillips 4eb89481df Adds internal endpoint read ACL support and full unit tests. 2016-05-10 11:23:47 -07:00
James Phillips 6a96e052c4 Adds an empty get test case. 2016-05-09 22:18:26 -07:00
James Phillips 471160d8f0 Performs basic plumbing of KVS transactions through all the layers. 2016-05-09 22:15:49 -07:00
James Phillips d4187bacc2 Merge pull request #2014 from hashicorp/f-secure-rand
Use a cryptographically secure seed
2016-05-09 20:07:28 -07:00
Sean Chittenden e7197bfa83
Bump Go to 1.6.2 for Travis (just added) 2016-05-08 22:10:42 -07:00
Sean Chittenden 10a479d3e4 Merge pull request #2029 from hashicorp/f-test-coverage
Update testing output
2016-05-07 15:14:19 -07:00
Sean Chittenden ac4245f46f
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 3c33327979 Revert to Go 1.6 to see if that fixes Travis 2016-05-07 14:22:15 -07:00
Sean Chittenden 8aa31f63a2 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 ec869292d6 Revert to Go 1.6 to see if that fixes Travis 2016-05-07 13:55:28 -07:00
Sean Chittenden b2ab5fa6b8 Bump Go to 1.6.1 2016-05-07 13:25:29 -07:00
Sean Chittenden 0ba86087eb Include the test coverage report in the output
Inspired by: Nomad project
2016-05-07 13:04:28 -07:00
Sean Chittenden 888bfa71c7 Add `tools/cmd/cover` to GOTOOLS 2016-05-07 13:02:12 -07:00
Sean Chittenden 79701fbf6d 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 dca00c96f7 Adds state store support for atomic KVS ops. 2016-05-05 15:46:59 -07:00
Sean Chittenden 9647c9dc46 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 b34b1f85aa 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 a1a59bee73 Splits existing KVS operations into *Txn helpers for later reuse. 2016-05-04 14:20:11 -07:00
James Phillips 200f2b5f2a Merge pull request #2021 from MansM/patch-2
Update install.sh
2016-05-04 09:37:51 -07:00
James Phillips c5a66c3276 Merge pull request #2020 from MansM/patch-1
Update install.sh
2016-05-04 09:37:37 -07:00
MansM 8c71cd24c3 Update install.sh
version bump
2016-05-04 18:03:39 +02:00
MansM 8729793d52 Update install.sh
version bump
2016-05-04 18:01:47 +02:00
James Phillips 85a3d99793 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 69cf3692f1 add height to fix svg in announcement bnr 2016-05-03 17:41:55 -07:00
Sean Chittenden 4a0a0b3376 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 9185450fd5 Moves KVS-related state store code out into its own set of files. 2016-05-02 16:21:04 -07:00
James Phillips 802e74deef Merge pull request #2012 from hashicorp/sethvargo/elink
Track enhanced links
2016-05-02 13:31:42 -07:00
Seth Vargo cf9d243240
Track enhanced links 2016-05-02 15:55:04 -04:00
Sean Chittenden f3543f7e2d Merge pull request #2003 from hashicorp/f-issue-template
Add a Github issue template
2016-04-29 11:24:13 -07:00
Sean Chittenden aad1fe1a09 Revise issue template to include a hint to use a gist 2016-04-28 22:27:25 -07:00
Sean Chittenden f80db919cc Add a Github issue template 2016-04-28 16:57:31 -07:00
James Phillips 235a577385 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 c16b1ca178 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 3f26132ceb Merge pull request #1996 from kjtanaka/update-demo
update vagrant demo
2016-04-27 15:09:46 -07:00
James Phillips 76b90ccb17 Fixes and clarifies the only_passing docs. 2016-04-27 14:55:38 -07:00
Koji Tanaka db2e264c02 update vagrant demo 2016-04-27 17:52:23 -04:00
James Phillips 41477e2fc8 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 0f7f07d2f5 Fixes some bad error returns in the persist service and check paths. 2016-04-26 15:03:26 -07:00
James Phillips 61a1be6c95 Update CHANGELOG.md 2016-04-24 23:08:59 -07:00
James Phillips 03b0c196e0 Merge pull request #1762 from mshean/script-timeout
Add Timeout field to CheckMonitor
2016-04-24 23:08:06 -07:00
James Phillips 38b3eeaff5 Gets rid of obsolete go get command in the README. 2016-04-24 16:32:19 -07:00
Sean Chittenden b9d19b9f63 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 3c909585df 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 0f45d1b76d Correct a small typo 2016-04-23 20:18:19 -07:00
Sean Chittenden 5bc4a2c2ab consul/ uses structs.Health*, the api uses api.Health* 2016-04-23 16:06:58 -07:00