Sean Chittenden
|
dde0d26e18
|
Fix markdown's markup: 2^(64-1) != 2^(64)-1
|
2015-11-17 15:21:47 -08:00 |
James Phillips
|
2de7392ebd
|
Bumps the pre-release version for RC2.
|
2015-11-17 11:43:22 -08:00 |
James Phillips
|
1bab0c751d
|
Updates change log pre-RC2.
|
2015-11-17 11:42:24 -08:00 |
James Phillips
|
80e7a0de46
|
Merge pull request #1389 from hashicorp/f-prepared-queries
Adds prepared queries.
|
2015-11-17 11:36:28 -08:00 |
James Phillips
|
0e3f4af4ac
|
Makes all the query ops the correct type.
|
2015-11-17 09:27:10 -08:00 |
James Phillips
|
86bc3db7b3
|
Returns a zero index for a lookup error case.
|
2015-11-17 09:25:20 -08:00 |
James Phillips
|
573f48ed3d
|
Breaks up huge HTTP endpoint functions.
|
2015-11-17 09:16:04 -08:00 |
James Phillips
|
a364a02da6
|
Avoids taking the length again when parsing DNS queries.
|
2015-11-17 08:40:47 -08:00 |
James Phillips
|
bc60491890
|
Removes a useless empty import and fixes some stale comments.
|
2015-11-17 08:29:20 -08:00 |
James Phillips
|
6e4954283a
|
Switches to helpers for prepared query API wrappers.
|
2015-11-16 23:12:44 -08:00 |
James Phillips
|
f4943c1613
|
Makes UUID regex case-insensitive.
|
2015-11-16 22:57:47 -08:00 |
James Phillips
|
a1e02996e5
|
Moves conversion of nil slices up to HTTP layer for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
c032dee945
|
Adds a paranoia set of the nodes slice to nil.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
a0211db3b9
|
Adds a test to ensure we don't return a nil slice.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
e0739eb95b
|
Updates the changelog.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
9e29bb4238
|
Adds and updates docs for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
20ae2e2ce3
|
Adds API client support for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
375312f07a
|
Gets rid of some unused constants.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
267c352c6d
|
Adds a test to make sure a stale retry terminates.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
e6ccf5b9ed
|
Returns a 404 from a get or execute of a nonexistent query.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
c9ef552385
|
Plumbs the service name back and uses agent-specific TTL settings as a fallback.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
cad6938474
|
Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
f9c91479ef
|
Adds DNS support for prepared queries (needs tests).
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
38daaea503
|
Adds a slightly more flexible mock system so we can test DNS.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
978fb443a7
|
Adds a note about obfuscating query name/ID from the logs.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
7762a828d3
|
Adds query metadata to prepared query execute response.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
0c02365bf2
|
Makes an empty prepared query list an empty slice, not a nil one.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
3029906254
|
Adds a unit test for the new RTT getDatacentersByDistance fn.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
697e2f4e71
|
Completes FSM support for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
124410b66c
|
Adds an HTTP endpoint for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
b209c2afe2
|
Adds an RPC endpoint injection method for testing.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
4051db4e88
|
Changes Lookup to Get since we don't need it (only Execute does).
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
095806584d
|
Always increments the failovers counter, even for error-ed DCs.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
07361d3e96
|
Adds test for remote datacenter selection and query logic.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
6a1c571a38
|
Adds a test for the server wrapper.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
9428f025f9
|
Adds tag filter tests.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
da5cf9cdf2
|
Adds execute tests for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
7c8404df4c
|
Adds status information about failovers to query results.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
dc517aa288
|
Removes unused ACL filter.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
00ea015770
|
Adds execute leader forward test for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
264e86e533
|
Adds a leader forwarding case for prepared queries.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
bb0f136412
|
Adds tests for query lookup and list endpoints.
|
2015-11-15 17:06:00 -08:00 |
James Phillips
|
495d00c0b8
|
Adds query parsing unit tests.
|
2015-11-15 17:06:00 -08:00 |
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 |