Commit Graph

3227 Commits

Author SHA1 Message Date
James Phillips c2a8fee76c Adds custom retry time for lock monitors. 2015-11-30 20:16:22 -08:00
James Phillips 86e6230de6 Adds a retry capability to lock monitors in the API client. 2015-11-30 17:09:41 -08:00
James Phillips 87ccd1eb34 Updates API docs for version 0.6.0. 2015-11-28 20:04:29 -08:00
Ryan Breen 1505aba367 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 bd3f7328b1 Make the packages up to date 2015-11-28 22:52:40 +07:00
Armon Dadgar 847343d801 consul: shrink yamux recv buffer on idle streams 2015-11-27 17:20:57 -08:00
James Phillips 1f57584d39 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 a61d89d0e6 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+. 2015-11-25 17:59:16 -08:00
James Phillips 3345d73b1c 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 58217f8f10 Switches to curl with certificate checking. 2015-11-23 10:46:14 -08:00
James Phillips fd50c503b0 Merge pull request #1443 from mindscratch/patch-1
Fix version support
2015-11-23 10:16:26 -08:00
Craig Wickesser 7890a3dda8 Fix version support
Updated the version that the library supports.
2015-11-23 13:03:38 -05:00
Ryan Breen 4d42ff66e3 Update health.html.markdown
Correct json syntax in example.
2015-11-23 09:39:05 -05:00
Ryan Breen 0d4b841a48 Merge pull request #1441 from raboof/patch-1
Include 'Service'/'Address' field in example
2015-11-23 09:36:13 -05:00
Arnout Engelen afc77a4634 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 d861f87851 Fixes a typo in the prepared queries doc. 2015-11-20 21:44:24 -08:00
James Phillips ab63122a32 Removes old logging doc which was empty. 2015-11-18 14:41:50 -08:00
James Phillips 1b31d543bc 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 95c708f65e 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
James Phillips 402a366676 Adds a deps file for v0.6.0-rc2. 2015-11-17 19:24:56 -08:00
James Phillips 0b94f3dcc9
Release v0.6.0-rc2 2015-11-17 18:47:36 -08:00
Ryan Breen 3e5adb99e2 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 e4d7bfee6a Fix markdown's markup: 2^(64-1) != 2^(64)-1 2015-11-17 15:21:47 -08:00
James Phillips 46159efdec Bumps the pre-release version for RC2. 2015-11-17 11:43:22 -08:00
James Phillips 13351bd18c Updates change log pre-RC2. 2015-11-17 11:42:24 -08:00
James Phillips fed1458214 Merge pull request #1389 from hashicorp/f-prepared-queries
Adds prepared queries.
2015-11-17 11:36:28 -08:00
James Phillips e3ef204ac7 Makes all the query ops the correct type. 2015-11-17 09:27:10 -08:00
James Phillips 533e6fc89e Returns a zero index for a lookup error case. 2015-11-17 09:25:20 -08:00
James Phillips 049da2cef2 Breaks up huge HTTP endpoint functions. 2015-11-17 09:16:04 -08:00
James Phillips cd6be4a88d Avoids taking the length again when parsing DNS queries. 2015-11-17 08:40:47 -08:00
James Phillips 1059a8b3a3 Removes a useless empty import and fixes some stale comments. 2015-11-17 08:29:20 -08:00
James Phillips 8fc6a6a986 Switches to helpers for prepared query API wrappers. 2015-11-16 23:12:44 -08:00
James Phillips 06b918e46d Makes UUID regex case-insensitive. 2015-11-16 22:57:47 -08:00
James Phillips e1ce1a34b0 Moves conversion of nil slices up to HTTP layer for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips b8ddb21978 Adds a paranoia set of the nodes slice to nil. 2015-11-15 17:06:00 -08:00
James Phillips 46d5afa574 Adds a test to ensure we don't return a nil slice. 2015-11-15 17:06:00 -08:00
James Phillips 162c6bafef Updates the changelog. 2015-11-15 17:06:00 -08:00
James Phillips 800e946bf1 Adds and updates docs for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips 712a3dba2f Adds API client support for prepared queries. 2015-11-15 17:06:00 -08:00
James Phillips f60fc872d1 Gets rid of some unused constants. 2015-11-15 17:06:00 -08:00
James Phillips 4715c04c98 Adds a test to make sure a stale retry terminates. 2015-11-15 17:06:00 -08:00
James Phillips 67fd4fa78d Returns a 404 from a get or execute of a nonexistent query. 2015-11-15 17:06:00 -08:00
James Phillips e9480ecb02 Plumbs the service name back and uses agent-specific TTL settings as a fallback. 2015-11-15 17:06:00 -08:00
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence. 2015-11-15 17:06:00 -08:00
James Phillips 4a0a60af55 Adds DNS support for prepared queries (needs tests). 2015-11-15 17:06:00 -08:00
James Phillips 5e7523ea4b Adds a slightly more flexible mock system so we can test DNS. 2015-11-15 17:06:00 -08:00
James Phillips da20e6668b Adds a note about obfuscating query name/ID from the logs. 2015-11-15 17:06:00 -08:00
James Phillips 6634cd6567 Adds query metadata to prepared query execute response. 2015-11-15 17:06:00 -08:00
James Phillips c955799baf Makes an empty prepared query list an empty slice, not a nil one. 2015-11-15 17:06:00 -08:00
James Phillips 34b685cb4c Adds a unit test for the new RTT getDatacentersByDistance fn. 2015-11-15 17:06:00 -08:00