2252 Commits

Author SHA1 Message Date
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 v0.5.0rc1 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
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