Commit graph

2519 commits

Author SHA1 Message Date
Ryan Uber 802b4793df agent: backwards compat for persisted services from pre-0.5.1 2015-04-28 12:18:41 -07:00
Ryan Uber f069db21e3 agent: safer read methods for tokens 2015-04-28 11:53:53 -07:00
Ryan Uber 54b5f17629 agent: test coverage loading service/check tokens from persisted files 2015-04-27 22:46:01 -07:00
Ryan Uber 23eab5ebcc agent: fix deadlock reading tokens from state 2015-04-27 22:26:03 -07:00
Ryan Uber 75d182296f agent: add service/check token methods to reduce invasiveness 2015-04-27 22:01:01 -07:00
Ryan Uber 30f6f1142e agent: persist tokens from API registrations 2015-04-27 19:01:02 -07:00
Ryan Uber 545f3db3fe agent: initial pass threading through tokens for services/checks 2015-04-27 18:33:46 -07:00
Seth Vargo a9fc9c1857 Upgrade Ruby 2015-04-26 15:35:52 -04:00
Seth Vargo 3d579059e9 Upgrading to Cedar-14 2015-04-26 15:33:53 -04:00
Seth Vargo 13212f9609 Update middleman-hashicorp 2015-04-26 15:29:48 -04:00
Ryan Breen 2f969d173f Merge pull request #888 from evtuhovich/master
Fix ambiguity in server start
2015-04-26 12:39:21 -04:00
Ivan Evtuhovich 679ae264d1 Fix disambiguty
When i look how to start server, a read "simply start new server with the -server flag" and understand nothing. I think "agent" is a correct word here.
2015-04-26 19:34:34 +03:00
artushin 68cb8fda58 remove config 2015-04-24 09:51:40 -05:00
artushin 88bfdd45ef use existing randomStagger 2015-04-23 17:08:17 -05:00
artushin 1ebc1cf916 add CheckUpdateStagger to MergeConfig 2015-04-23 16:56:20 -05:00
artushin 1e13acba68 adding check_update_stagger 2015-04-23 16:27:42 -05:00
Ryan Uber 6bdf552f51 Merge pull request #881 from hashicorp/f-testharness
Move test harness into testutil
2015-04-22 20:50:26 -07:00
Ryan Uber 2773926285 testutil: add a readme with sample usage 2015-04-22 20:46:59 -07:00
Ryan Uber 4f2f9534c4 testutil: error instead of panic 2015-04-22 20:35:27 -07:00
Ryan Breen 7d56bd44c9 Merge pull request #879 from vgv/master
Fix invalid link to sessions page
2015-04-22 07:45:02 -04:00
Vasily Vasilkov a7efaf061c Fix invalid link to sessions page 2015-04-22 12:40:27 +03:00
Armon Dadgar b56421a6f2 Merge pull request #878 from c4milo/patch-1
Upstart: Consul leave now works as expected.
2015-04-21 19:04:42 -07:00
Camilo Aguilar 2b8cbb43a5 Upstart: Consul leave now works as expected. 2015-04-21 16:18:31 -04:00
Ryan Breen 45f77c15e6 Merge pull request #874 from cruatta/add-service-id-to-api-docs
Updating the docs to include information about registering a check with a ServiceID.
2015-04-21 00:27:35 -04:00
Cameron Ruatta b637683ffa Caps not necessary here 2015-04-20 20:59:45 -07:00
Cameron Ruatta a9761dca33 Updating the docs to include information about registering a check with
a serviceid.
2015-04-20 20:56:26 -07:00
Armon Dadgar 989f1f6108 Merge pull request #872 from KFishner/hashicorp-ecosystem
Add "Consul and the HashiCorp ecosystem"
2015-04-20 16:48:36 -07:00
Kevin Fishner 9ba1a43904 ampersand 2015-04-20 16:30:19 -07:00
Kevin Fishner abbbe683fb add consul and the hc ecosystem 2015-04-20 16:29:21 -07:00
Ryan Breen 1ac70f6179 Website: minor fix for docs/agent/http/agent.html. 2015-04-17 11:43:02 -04:00
Ryan Breen f6d38ef6e5 Website: cleanup for docs/internals/sessions.html. 2015-04-15 14:47:15 -04:00
Ryan Uber cd65aaa2e0 agent: re-work DNS tests to not rely on the external network 2015-04-14 12:52:26 -07:00
Ryan Uber ed4de526f1 agent: pass through CNAME types for service resolution 2015-04-14 12:52:26 -07:00
Ryan Uber 05194033f8 agent: Add test for CNAME recursion 2015-04-14 12:52:26 -07:00
Ryan Uber 34fc9a37fd agent: parse raw query URL to avoid closing the request body early 2015-04-13 17:31:53 -07:00
Ryan Breen 65daaf8c03 Website: cleanup for docs/internals/security.html. 2015-04-13 18:17:29 -04:00
Ryan Mills 2bd5bf04bd Remove 'unknown' as one of the valid states when setting the initial state of a check. 2015-04-13 20:46:01 +00:00
Ryan Breen a6befa8ef0 Website: minor tweaks for docs/internals/jepsen.html. 2015-04-12 22:44:57 -04:00
Ryan Uber 74b9af5c48 Merge pull request #860 from hashicorp/f-hide-tokens
Hide tokens from logs and monitor
2015-04-12 11:21:59 -07:00
Ryan Uber adbc5c92c6 agent: hide tokens from logs and monitor 2015-04-12 11:17:31 -07:00
Ryan Uber 0e22d44d96 Merge pull request #858 from Heuriskein/mktempbackwardscompat
Add XXX to the end of mktemp template to support more linux versions.
2015-04-11 21:21:32 -07:00
Ryan Mills 370853d7ff Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
This status must be one of the valid check statuses: 'passing', 'warning', 'critical', 'unknown'.
If the status field is not present or the empty string, the default of 'critical' is used.
2015-04-12 02:00:31 +00:00
Ryan Mills 1a5d104ad9 Add XXX to the end of mktemp template to support more linux versions. 2015-04-12 01:48:24 +00:00
Ryan Breen f772412b92 Website: fix caps issue in docs/internals/consensus.html. 2015-04-11 18:32:15 -04:00
Ryan Uber bbed69867a Build consul to a temp dir for API tests 2015-04-11 13:21:56 -07:00
Ryan Breen b22b821cad Website: revert link to securing Consul doc since it's not ready yet. 2015-04-11 11:43:00 -04:00
Ryan Breen db65ebb631 Website: minor additional tweaks for docs/internals/consensus.html. 2015-04-11 11:41:55 -04:00
Ryan Breen da1c476343 Website: cleanup for docs/internals/consensus.html, including removing LMDB references in favor of BoltDB per GH-857. 2015-04-10 23:06:28 -04:00
Ryan Uber 1fad389f23 agent: Don't attempt migration on new server 2015-04-10 19:41:09 -07:00
Ryan Uber 6a598239a0 Update CHANGELOG.md 2015-04-10 18:34:55 -07:00