Commit Graph

3162 Commits

Author SHA1 Message Date
James Phillips 72f6c8a261 Adds ACL cases for apply. 2015-11-15 17:06:00 -08:00
James Phillips 76a55eed53 Completes non-ACL version of apply test. 2015-11-15 17:06:00 -08:00
James Phillips bc0fba43d8 Adds lookup and list endpoints and basic end-to-end apply test. 2015-11-15 17:06:00 -08:00
James Phillips 3b3c7c02e4 Checks for valid UUIDs before calling in to index function. 2015-11-15 17:06:00 -08:00
James Phillips ec5249357e Clarifies comment about name vs. ID. 2015-11-15 17:06:00 -08:00
James Phillips 61e6cbc560 Skips unknown DCs during queries and chugs along in the face of errors. 2015-11-15 17:06:00 -08:00
James Phillips 0141438e6c Moves sort to a query-time decision and adds back the limit. 2015-11-15 17:06:00 -08:00
James Phillips 25fac70924 Adds an explicit ACL check that will fail vs. trying other DCs. 2015-11-15 17:06:00 -08:00
James Phillips 347bb847c2 Changes "not" prefix from "~" to "!". 2015-11-15 17:06:00 -08:00
James Phillips 09034a84bd Adds prefix "prepared" to everything prepared query-related. 2015-11-15 17:06:00 -08:00
James Phillips 2183565d83 Adds basic structure for prepared queries (needs tests). 2015-11-15 17:06:00 -08:00
James Phillips 6e7faa6239 Factors code for pulling the sorted list of DCs into a common place. 2015-11-15 17:06:00 -08:00
James Phillips 6a70cb9885 Adds a better shuffle test (similar to DNS). 2015-11-15 17:06:00 -08:00
James Phillips a33e35fcce Moves DNS over to new shuffle and filter functions. 2015-11-15 17:06:00 -08:00
James Phillips 781f9611e8 Changes structs and state store for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 3bc9764da8 Adds a new management ACL for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 55f49d6e73 Merge pull request #1413 from hashicorp/b-coord-raft-errors
Adds a check for in-band error returns in the coordinate RaftApply.
2015-11-15 17:05:19 -08:00
James Phillips aa2d786d5f Merge pull request #1412 from hashicorp/f-longer-ttl
Extends the session TTL max to 24 hours, and adds a warning to the docs.
2015-11-15 17:05:08 -08:00
James Phillips 26cf0a2974 Extends the session TTL max to 24 hours, and adds a warning to the docs. 2015-11-15 16:51:00 -08:00
James Phillips 04dffd7c46 Adds a check for in-band error returns in the coordinate RaftApply. 2015-11-15 16:50:46 -08:00
James Phillips 10a1bc418c Merge pull request #1414 from hashicorp/b-nil-slices
Fixes nil slices leading to null fields in HTTP JSON responses
2015-11-15 16:17:01 -08:00
James Phillips 763d5ea8a7 Fixes nil slices from HTTP endpoints.
These would manifest in the HTTP output as Javascript nulls instead of
empty lists, so we had unintentionally changed the interface while
porting to the new state store. We added code to each HTTP endpoint to
convert nil slices to empty ones so they JSON-ify properly, and we added
tests to catch this in the future.
2015-11-14 21:05:37 -08:00
James Phillips 1a3c523816 Adds a note about the new acquire behavior into the sessions internals guide. 2015-11-14 10:28:14 -08:00
James Phillips 00cff17e51 Updates wording on new lock operation. 2015-11-13 10:08:57 -08:00
James Phillips af444a30cb Adds a note about the new KV lock behavior. 2015-11-13 10:07:42 -08:00
James Phillips a57d34e074 Updates the changelog. 2015-11-13 09:58:30 -08:00
James Phillips a384baf671 Merge pull request #1293 from talwai/master
Add options to send telemetry to DogStatsD
2015-11-13 09:51:50 -08:00
talwai 01ccad69a1 Kill unused import in command.go 2015-11-13 11:14:15 -05:00
James Phillips 27929c63d3 Merge pull request #1411 from hashicorp/b-truncated
Fixes unit test fail due to expected truncated message.
2015-11-12 18:25:11 -08:00
James Phillips 67408fe477 Fixes unit test fail due to expected truncated message. 2015-11-12 18:16:44 -08:00
talwai 3d64189bfa Add DogStatsD configuration options to documentation source 2015-11-11 14:30:37 -05:00
talwai e6e842d9e7 Add DogStatsd configuration 2015-11-11 14:30:36 -05:00
James Phillips 4836080a20 Adds a note about the new acquire behavior for lock holders. 2015-11-10 07:01:54 -08:00
James Phillips c2fab40aee Fixes a typo. 2015-10-30 23:50:11 -07:00
James Phillips e42a613070 Adds a note about the new service discovery ACLs. 2015-10-29 16:41:38 -07:00
Diptanu Choudhury f238ef832a Merge pull request #1366 from hashicorp/run-vet-before-test
Running go vet before test
2015-10-29 15:56:13 -07:00
Diptanu Choudhury 3f75026ff9 Running go vet before test 2015-10-29 15:48:02 -07:00
James Phillips d79bcf16da
Release v0.6.0-rc1 2015-10-29 13:42:21 -07:00
James Phillips 1a0eeee270 Merge pull request #1365 from hashicorp/sethvargo/trail
Add trailing slash to avoid a redirect
2015-10-29 13:26:31 -07:00
Seth Vargo 00217d39a6 Add trailing slash to avoid a redirect 2015-10-29 16:12:26 -04:00
James Phillips 6931c97da1
Release v0.6.0rc1 2015-10-29 13:03:47 -07:00
James Phillips 75369b2992 Merge pull request #1363 from hashicorp/b-vet
Fixes a `go vet` finding with a log message.
2015-10-29 12:50:45 -07:00
James Phillips 9107521c17 Fixes a go vet finding. 2015-10-29 12:47:20 -07:00
James Phillips 165a3ff7fc Updates the CHANGELOG with all the 0.6.0 updates. 2015-10-29 11:47:26 -07:00
James Phillips d0f9de1a88 Merge pull request #1362 from hashicorp/f-zip
Adds zip to the Vagrant box so a make works there without any fiddling.
2015-10-29 10:01:05 -07:00
James Phillips f88dfc495c Adds zip to the Vagrant box so a make works there without any fiddling. 2015-10-29 10:00:22 -07:00
James Phillips af4d034cbc Merge pull request #1361 from hashicorp/f-warn-on-batch-fail
Changes batch update failure to a WARN since it's nbd.
2015-10-29 09:28:05 -07:00
James Phillips 5b0697fc67 Changes batch update failure to a WARN since it's nbd. 2015-10-29 09:26:24 -07:00
James Phillips 6eb46cda11 Merge pull request #1357 from hashicorp/b-agent-spam
Prevents agents from considering Raft information when doing sync checks.
2015-10-28 15:00:41 -07:00
Diptanu Choudhury f38c6a8814 Merge pull request #1356 from hashicorp/docker-check-docs
Added some docs for the docker check
2015-10-28 14:57:14 -07:00