Commit Graph

17492 Commits

Author SHA1 Message Date
James Phillips 2f3d109b18 Adds a retry capability to lock monitors in the API client. 2015-11-30 17:09:41 -08:00
James Phillips 24611b0732 Updates API docs for version 0.6.0. 2015-11-28 20:04:29 -08:00
Ryan Breen 9f9a904bba Merge pull request #1453 from thanhson1085/patch-1
Make the packages up to date
2015-11-28 11:01:18 -05:00
Nguyen Sy Thanh Son 3b0d173255 Make the packages up to date 2015-11-28 22:52:40 +07:00
Armon Dadgar a033d7aed2 consul: shrink yamux recv buffer on idle streams 2015-11-27 17:20:57 -08:00
James Phillips 241600f9b1 Merge pull request #1450 from hashicorp/f-proc-warnings
Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+.
2015-11-26 11:25:39 -08:00
James Phillips b87aeec4e1 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+. 2015-11-25 17:59:16 -08:00
Philippe M. Chiasson 396df9a0c1 Add client ip to http access logs
Fixes #1447
2015-11-24 15:06:33 -05:00
James Phillips 12845f0a1e Merge pull request #1445 from hashicorp/f-check-cert
Switches to curl with certificate checking.
2015-11-23 10:50:54 -08:00
James Phillips 63f51bda94 Switches to curl with certificate checking. 2015-11-23 10:46:14 -08:00
James Phillips d1783b21d8 Merge pull request #1443 from mindscratch/patch-1
Fix version support
2015-11-23 10:16:26 -08:00
Craig Wickesser 1a1a91eb86 Fix version support
Updated the version that the library supports.
2015-11-23 13:03:38 -05:00
Ryan Breen 3c9e983800 Update health.html.markdown
Correct json syntax in example.
2015-11-23 09:39:05 -05:00
Ryan Breen cab5c8c1ca Merge pull request #1441 from raboof/patch-1
Include 'Service'/'Address' field in example
2015-11-23 09:36:13 -05:00
Arnout Engelen ab22325b87 Include 'Service'/'Address' field in example
Add the `Service`/`Address` field to the example output for the `/v1/health/service/\<service\>` endpoint.

Even though it's an optional value, this is probably the one consumers are looking for (rather than the `Node` address)
2015-11-23 15:01:24 +01:00
James Phillips 1144846ed0 Fixes a typo in the prepared queries doc. 2015-11-20 21:44:24 -08:00
James Phillips bcbf6d268e Removes old logging doc which was empty. 2015-11-18 14:41:50 -08:00
James Phillips 1a6718d9b2 Merge pull request #1424 from hashicorp/b-docker-client-api
Adds Docker checks support to client API.
2015-11-18 09:13:54 -08:00
James Phillips 23536f2b97 Adds Docker checks support to client API.
Also changed `DockerContainerId` to `DockerContainerID`, and updated the agent
API docs to reflect their support for Docker checks.
2015-11-18 07:40:02 -08:00
Andy Lo-A-Foe 3dd740577c Propagate token in UI 2015-11-18 08:29:01 +01:00
James Phillips c0b9a6dd50 Adds a deps file for v0.6.0-rc2. 2015-11-17 19:24:56 -08:00
James Phillips ea10c9c231
Release v0.6.0-rc2 2015-11-17 18:47:36 -08:00
Ryan Breen dd4f72f571 Merge pull request #1420 from sean-/master
Fix markdown's markup: 2^(64-1) != 2^(64)-1
2015-11-17 18:34:30 -05:00
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