Commit Graph

2268 Commits (61a7b995699874782e3125a7fcee7b191b16c144)

Author SHA1 Message Date
Ryan Uber 09fd2a7e94 command/maint: display active maintenance when no args are passed 2015-01-22 10:26:17 -08:00
Armon Dadgar 85841cca92 Merge pull request #627 from sttts/api-agent-service-address
Add agent service Address field to the api
2015-01-22 10:00:18 -08:00
Dr. Stefan Schimanski acd9efbc40 Add test case for service Address field 2015-01-22 11:50:20 +01:00
Dr. Stefan Schimanski a85575dcaa Add agent service Address field to the api
The Address field was introduced in #570. This patch extends this to the api.
2015-01-22 10:26:27 +01:00
Armon Dadgar d478f786db website: Cleanup the 'lock' documentation 2015-01-21 17:35:06 -08:00
Armon Dadgar cf04d6ae31 Merge pull request #622 from hashicorp/f-sockets
Unix domain sockets
2015-01-21 16:30:03 -08:00
Armon Dadgar 149f25aaff Merge pull request #621 from hashicorp/f-leave
Changing interaction between Leave and RemovePeers
2015-01-21 16:28:19 -08:00
Ryan Uber 124e7bfa7e agent: use const for default maintenance reason strings 2015-01-21 14:53:52 -08:00
Ryan Uber 52ff08b6c0 website: document reason flag for http api 2015-01-21 14:33:01 -08:00
Ryan Uber 5aa69827f8 agent: fix test 2015-01-21 14:12:18 -08:00
Ryan Uber 6995e74d94 website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber eaaa96922d command: more maint command tests 2015-01-21 13:49:10 -08:00
Ryan Uber 47c4ab6863 command: test maint command 2015-01-21 13:37:32 -08:00
Ryan Uber 61d17e65f5 agent: prevent duplicate error messages for maintenance api 2015-01-21 13:28:26 -08:00
Ryan Uber 7d663aa1ed command: maint command works 2015-01-21 13:11:23 -08:00
Ryan Uber 089c4396c4 api: support reason flag for maintenance mode 2015-01-21 13:02:47 -08:00
Ryan Uber aa8672203c command: starting maint command 2015-01-21 13:00:14 -08:00
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks 2015-01-21 12:21:57 -08:00
Ryan Uber 5694ac6821 Merge pull request #617 from hashicorp/f-httpdoc
Split HTTP API documentation into a page per section
2015-01-21 11:35:12 -08:00
Ryan Uber f4f9b5c94b website: update maintenance mode endpoint 2015-01-21 11:15:15 -08:00
Ryan Uber e088240c95 api: finish up maintenance tests 2015-01-21 11:08:57 -08:00
Ryan Uber b6a0f2baae agent: fix maintenance check ID 2015-01-21 11:03:42 -08:00
Ryan Uber d9a3e673b0 agent: change node maintenance endpoint 2015-01-21 10:57:44 -08:00
Ryan Uber e47b64197e api: add node/service maintenance mode functions 2015-01-21 10:51:43 -08:00
Ryan Uber 9c69dc05fb agent: use strconv.ParseBool for parsing maintenance enable flag 2015-01-21 09:53:31 -08:00
Ryan Uber f247ec0551 fix space/tab mixing in docs.erb 2015-01-20 22:50:33 -08:00
Ryan Uber b164525960 website: fix tab/space mixing in _docs.scss 2015-01-20 22:50:33 -08:00
Ryan Uber a975903b63 website: fix health endpoint page 2015-01-20 22:50:33 -08:00
Ryan Uber 90ee967bc4 website: move content from monolithic http page 2015-01-20 22:50:30 -08:00
Ryan Uber 2968a20cb5 website: separate pages for top-level endpoints 2015-01-20 22:49:41 -08:00
Ryan Uber 99b92a6fb0 website: beginning http docs update 2015-01-20 22:49:41 -08:00
Ryan Uber d89af51eb6 Merge pull request #591 from hashicorp/f-multicheck
Support multiple health checks per service
2015-01-20 22:15:49 -08:00
Ryan Uber 46d5dcfc17 agent: comments for new anti-entropy functionality 2015-01-20 21:48:46 -08:00
Ryan Uber a4039aaa4d agent: simplify anti-entropy of services with multiple checks, add tests 2015-01-20 21:48:46 -08:00
Ryan Uber 0c31e5851c agent: only send service with check sync if it is out of sync 2015-01-20 21:48:46 -08:00
Ryan Uber 949ddefbc8 agent: refactor syncChecks 2015-01-20 21:48:46 -08:00
Ryan Uber 197a5a9a9a api: support multiple checks during service/check registration 2015-01-20 21:48:45 -08:00
Ryan Uber 2a7211cd5d agent: support adding multiple checks during service registration from the API 2015-01-20 21:48:45 -08:00
Ryan Uber 674be58e55 agent: support multiple checks per service 2015-01-20 21:48:42 -08:00
Ryan Uber c958824bb6 agent: use squash mapstructure tag to properly decode embedded structs 2015-01-20 21:10:58 -08:00
Ryan Uber 5a8703bb00 website: add notice about socket permission portability 2015-01-20 19:16:17 -08:00
Ryan Uber b1dae530d4 agent: use interface for file permissions 2015-01-20 18:53:18 -08:00
Ryan Uber 782b0ddd88 agent: test permissions are set on rpc socket 2015-01-20 16:57:00 -08:00
Ryan Uber 99d4e7831e agent: fix tests 2015-01-20 16:50:21 -08:00
Armon Dadgar 8dc077edaa consul: Testing leave as leader and non-leader 2015-01-20 16:30:56 -08:00
Ryan Uber bae6334c60 website: document unix_sockets config 2015-01-20 16:29:22 -08:00
Ryan Uber a6c877c7ee agent: re-add support for user name in socket perms 2015-01-20 16:21:23 -08:00
Armon Dadgar 6f48675f14 consul: Wait for RemovePeer in Leave as a follower 2015-01-20 16:19:54 -08:00
Armon Dadgar 38f276dc47 consul: remove ourself from raft peer set if we are the leader 2015-01-20 16:19:29 -08:00
Armon Dadgar 6446df65bf consul: Do not remove ourself as raft peer in Serf event handler 2015-01-20 16:13:54 -08:00