Commit Graph

2114 Commits

Author SHA1 Message Date
Ryan Breen cf033f448d No need to confine the example to a web app. 2015-01-29 17:14:19 -05:00
Ryan Breen a8470991cd Some reorg of the TTL description. 2015-01-29 17:12:20 -05:00
Ryan Breen cef8305bd0 Make it clear that checks persist with the node, period, not just across runs of the agent but across reboots as well. 2015-01-29 17:10:15 -05:00
Ryan Breen eea0029f2d Add a bit more detail around checks and clarify some language. 2015-01-29 17:08:56 -05:00
Ryan Breen 8afcf9f152 Language touch-ups for the checks docs. 2015-01-29 16:45:19 -05:00
Ryan Uber 3c85d7e231 agent: http checks work inside of service definitions 2015-01-29 12:11:42 -08:00
Ryan Uber a95b5a63bb Merge pull request #655 from hashicorp/f-exec-acl
agent: pass locally configured token during remote exec
2015-01-29 11:16:01 -08:00
Armon Dadgar c8c5e308a1 Merge pull request #653 from ryanbreen/master
Grammatical cleanups to doc/agent/services
2015-01-29 11:11:56 -08:00
Ryan Uber 544299efa5 agent: pass locally configured token during remote exec 2015-01-29 10:42:46 -08:00
arnaud briche e87afe341b - add Timeout field to CheckType and CheckHTTP to make http request timeout configurable by the client 2015-01-29 13:37:48 +07:00
Ryan Breen 1346cf1a00 Move the note about checks to its own line. 2015-01-28 19:46:28 -05:00
Ryan Breen 917b10417d Grammatical cleanup in services.html. 2015-01-28 19:43:52 -05:00
Ryan Uber 58eba95b98 agent: test service/check deletion with empty ID 2015-01-27 21:47:59 -08:00
Ryan Uber c537799ce8 Merge pull request #644 from foostan/add_validation_of_deregistration
Validate ServiceID/CheckID when deregistering.
2015-01-27 21:39:35 -08:00
foostan 2df98c1824 Validation ServiceID/CheckID when deleting in deleteService() in local.go 2015-01-27 18:11:57 +09:00
foostan 9316596e25 Add tests to remove service/check without an ID 2015-01-27 18:10:56 +09:00
Ryan Uber 7de463e904 Merge pull request #642 from ceh/clean-tmpdirs
consul: clean up TempDirs in FSM tests
2015-01-26 15:34:04 -08:00
foostan 401bc71cb2 Validate ServiceID/CheckID when deregistering. 2015-01-27 01:06:57 +09:00
Emil Hessman 87dca96152 consul: clean up TempDirs in FSM tests 2015-01-26 08:34:23 +01:00
Armon Dadgar 72a6692602 Merge pull request #638 from ceh/bat-build
make.bat: add Makefile functionality for Windows
2015-01-25 14:04:17 -08:00
Armon Dadgar f53bd94dc3 Clarify the compatibility 2015-01-25 13:59:37 -08:00
Armon Dadgar 07afd71b20 Merge pull request #641 from ceh/lock-docs
docs: describe child process handling on Windows for lock command
2015-01-25 13:49:35 -08:00
Emil Hessman abce80f7bc docs: describe child process handling on Windows for lock command
Add website documentation for how the lock command handles child
process termination on Windows.
2015-01-25 11:42:29 +01:00
Emil Hessman 78b947ddbc make.bat: add Makefile functionality for Windows
Converted the Makefile functionality into several bat files to better
support building on Windows. All targets have been introduced in the
make.bat file, except for "cov" and "format".

Running make.bat with no arguments runs the all target per default,
just like Makefile.
If an argument is supplied, it must be one of all, cover, deps,
integ, test, vet, or updatedeps.

For example

  > make.bat test

runs the test target.
2015-01-25 06:35:56 +01:00
Ryan Uber 8bfc337a75 Merge pull request #637 from ceh/win-build
command: fix Windows build
2015-01-24 21:31:35 -08:00
Emil Hessman 8cdbde20bd command: fix Windows build
Add a per GOOS implementation to send signals to PIDs
since syscall.Kill does not exist on Windows.

It will always send a SIGKILL on Windows since there
seems to be no POSIX compatible notion.

Fixes build on Windows.
2015-01-25 05:00:52 +01:00
Ryan Uber 8b0fe52be2 agent/http: fix service registration with nil checks value 2015-01-23 18:50:51 -08:00
Ryan Uber b5e8111485 agent/http: clean up socket setup 2015-01-23 17:57:04 -08:00
Ryan Uber eda2171bbe agent: make check tests more reliable 2015-01-23 16:07:20 -08:00
Ryan Uber f71984eac8 Update CHANGELOG 2015-01-23 13:29:00 -08:00
Armon Dadgar 2521f4c535 Merge pull request #632 from ceh/release-go1.4
Vagrantfile: use Go 1.4 release branch from new git repo
2015-01-23 13:15:27 -08:00
Ryan Uber 5e797143c2 Merge pull request #635 from ceh/spell
website: fix minor typos in docs
2015-01-23 13:15:12 -08:00
Ryan Uber 0bfffd441a Merge pull request #634 from hashicorp/f-httpargs-conflict
agent: error from KVS endpoint if incompatible flags are passed.
2015-01-23 13:13:40 -08:00
Emil Hessman 6f3215f0a8 website: fix minor typos in docs 2015-01-23 22:11:15 +01:00
Ryan Uber b69b780408 agent: error from KVS endpoint if incompatible flags are passed. Fixes #432 2015-01-23 12:48:39 -08:00
Emil Hessman e70b6ee727 Vagrantfile: use Go 1.4 release branch from new git repo 2015-01-23 21:00:12 +01:00
Ryan Uber 33b2e71528 Merge pull request #631 from joeholley/cover_uri_fix
Update URI for cover as per https://groups.google.com/forum/#!topic/consul-tool/AytN6_RqTDQ
2015-01-23 10:11:59 -08:00
Joseph Holley d5c59e781e Update URI for cover 2015-01-23 10:35:46 -06:00
Ryan Uber 190870179a Use separate updatedeps target for Makefile 2015-01-22 17:37:35 -08:00
Ryan Uber 67190e6f68 agent: more lenient dns response test 2015-01-22 15:31:12 -08:00
Armon Dadgar 17d1c392e4 CHANGELOG update, gofmt 2015-01-22 13:42:22 -08:00
Armon Dadgar e33c31a8d6 Updating changelog, bump to 0.5.0rc1 2015-01-22 13:31:11 -08:00
Armon Dadgar e1a5d537d4 Merge pull request #625 from hashicorp/f-maintcmd
New "maint" command
2015-01-22 11:56:49 -08:00
Ryan Uber 5049a5eb7b command/maint: better arg conflict checking 2015-01-22 11:20:32 -08:00
Ryan Uber 44f3c20e50 command/maint: clean up 2015-01-22 11:14:28 -08:00
Ryan Uber de0b6d06bb website: update maint command documentation for list mode 2015-01-22 10:34:14 -08:00
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