Commit Graph

18905 Commits

Author SHA1 Message Date
arnaud briche 4d105487a8 - 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 14a8d4049b Move the note about checks to its own line. 2015-01-28 19:46:28 -05:00
Ryan Breen 1d35ae1223 Grammatical cleanup in services.html. 2015-01-28 19:43:52 -05:00
Ryan Uber 9efda655a1 agent: test service/check deletion with empty ID 2015-01-27 21:47:59 -08:00
Ryan Uber 6d27dc3548 Merge pull request #644 from foostan/add_validation_of_deregistration
Validate ServiceID/CheckID when deregistering.
2015-01-27 21:39:35 -08:00
foostan a75b727391 Validation ServiceID/CheckID when deleting in deleteService() in local.go 2015-01-27 18:11:57 +09:00
foostan 99659e9014 Add tests to remove service/check without an ID 2015-01-27 18:10:56 +09:00
Ryan Uber 97f6ea88f4 Merge pull request #642 from ceh/clean-tmpdirs
consul: clean up TempDirs in FSM tests
2015-01-26 15:34:04 -08:00
foostan 524cb0d0c3 Validate ServiceID/CheckID when deregistering. 2015-01-27 01:06:57 +09:00
Emil Hessman 70a6cdac6d consul: clean up TempDirs in FSM tests 2015-01-26 08:34:23 +01:00
Armon Dadgar c9850af02d 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 266fd248cb Clarify the compatibility 2015-01-25 13:59:37 -08:00
Armon Dadgar 95f49ead61 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 2a80aacb86 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 3539224c42 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 72fe5f4cd2 Merge pull request #637 from ceh/win-build
command: fix Windows build
2015-01-24 21:31:35 -08:00
Emil Hessman c8224b3f94 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 dd0c9dfbbc agent/http: fix service registration with nil checks value 2015-01-23 18:50:51 -08:00
Ryan Uber 068c4137cb agent/http: clean up socket setup 2015-01-23 17:57:04 -08:00
Ryan Uber adb3bd4c5e agent: make check tests more reliable 2015-01-23 16:07:20 -08:00
Ryan Uber 661c7f021b Update CHANGELOG 2015-01-23 13:29:00 -08:00
Armon Dadgar 6c00ea3261 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 1b3225cb9d Merge pull request #635 from ceh/spell
website: fix minor typos in docs
2015-01-23 13:15:12 -08:00
Ryan Uber 3b864656b7 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 9be514e747 website: fix minor typos in docs 2015-01-23 22:11:15 +01:00
Ryan Uber 26c9d96ccb agent: error from KVS endpoint if incompatible flags are passed. Fixes #432 2015-01-23 12:48:39 -08:00
Emil Hessman cf9a877046 Vagrantfile: use Go 1.4 release branch from new git repo 2015-01-23 21:00:12 +01:00
Ryan Uber cd267771aa 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 1a002ea87e Update URI for cover 2015-01-23 10:35:46 -06:00
Ryan Uber ab9e13ffb6 Use separate updatedeps target for Makefile 2015-01-22 17:37:35 -08:00
Ryan Uber 15de24c844 agent: more lenient dns response test 2015-01-22 15:31:12 -08:00
Armon Dadgar f4543ffc78 CHANGELOG update, gofmt 2015-01-22 13:42:22 -08:00
Armon Dadgar 8bbf2cc090 Updating changelog, bump to 0.5.0rc1 2015-01-22 13:31:11 -08:00
Armon Dadgar e5e519df4b Merge pull request #625 from hashicorp/f-maintcmd
New "maint" command
2015-01-22 11:56:49 -08:00
Ryan Uber ae672b32f6 command/maint: better arg conflict checking 2015-01-22 11:20:32 -08:00
Ryan Uber 17d2443f91 command/maint: clean up 2015-01-22 11:14:28 -08:00
Ryan Uber 361b3109c2 website: update maint command documentation for list mode 2015-01-22 10:34:14 -08:00
Ryan Uber fa19d09390 command/maint: display active maintenance when no args are passed 2015-01-22 10:26:17 -08:00
Armon Dadgar 9600174ab7 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 b46d20727b Add test case for service Address field 2015-01-22 11:50:20 +01:00
Dr. Stefan Schimanski 1ef12ae24b 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 99671ba0d7 website: Cleanup the 'lock' documentation 2015-01-21 17:35:06 -08:00
Armon Dadgar 14d55cb40a Merge pull request #622 from hashicorp/f-sockets
Unix domain sockets
2015-01-21 16:30:03 -08:00
Armon Dadgar 7e27d923be Merge pull request #621 from hashicorp/f-leave
Changing interaction between Leave and RemovePeers
2015-01-21 16:28:19 -08:00
Ryan Uber 8c1c230ce3 agent: use const for default maintenance reason strings 2015-01-21 14:53:52 -08:00
Ryan Uber e416d6dbd3 website: document reason flag for http api 2015-01-21 14:33:01 -08:00
Ryan Uber 5cd8800b60 agent: fix test 2015-01-21 14:12:18 -08:00
Ryan Uber 61322641ea website: document maint command 2015-01-21 14:07:54 -08:00
Ryan Uber a51ab988a3 command: more maint command tests 2015-01-21 13:49:10 -08:00
Ryan Uber a96cfc9cc3 command: test maint command 2015-01-21 13:37:32 -08:00