Commit Graph

2570 Commits

Author SHA1 Message Date
Ryan Uber ab7896256f api: test for a known leader as well as index > 0 2015-01-09 16:39:35 -08:00
Nicholas Capo f2649edcfc command/agent: Add simple HTTP check type
These checks make an `HTTP GET` request every Interval to the specified URL.
The status of the service depends on the HTTP Response Code.
`200` is passing, `503` is warning and anything else is failing.
2015-01-09 16:43:24 -06:00
Seth Vargo 529679cdcd Merge pull request #590 from ceh/website-docs
website: fix typo and omit excessive use of the word lastly
2015-01-09 13:31:34 -05:00
Emil Hessman 8c991c3632 website: omit excessive use of the word lastly
Simplify wording by removing various uses of the word lastly.
2015-01-09 06:37:26 +01:00
Emil Hessman acfc42c3db website: fix typo
s/patameters/parameters/
2015-01-09 05:59:06 +01:00
Armon Dadgar e129236564 Merge pull request #589 from hashicorp/f-delete-cas
Add support for DELETE with CAS
2015-01-08 18:05:15 -08:00
Armon Dadgar 8befdcbd93 website: Documenting ?cas with KV DELETE 2015-01-08 17:34:41 -08:00
Armon Dadgar 0b9f4d7153 agent: Testing the KV DELETE with cas 2015-01-08 17:31:32 -08:00
Armon Dadgar 2408aa741d consul: Testing KVSDeleteCAS in FSM 2015-01-08 17:26:12 -08:00
Armon Dadgar e735c881a0 consul: Test the KVSDeleteCheckAndSet method 2015-01-08 17:24:36 -08:00
Armon Dadgar 7ec294597e agent: Support the ?cas parameter to KV DELETE 2015-01-08 17:08:58 -08:00
Armon Dadgar d680696afe consul: Expose the KVSDeleteCAS operation in FSM 2015-01-08 17:08:44 -08:00
Armon Dadgar 781aeb84d5 consul: Implement KVSDeleteCheckAndSet 2015-01-08 17:08:32 -08:00
Armon Dadgar fbc77b7501 consul: Adding KVSDeleteCAS operation type 2015-01-08 17:08:17 -08:00
Armon Dadgar d1bd99b1e3 Merge branch 'MerlinDMC-feature/configurable_service_address' 2015-01-08 12:08:41 -08:00
Armon Dadgar abbcecd1dd website: Updating the documentation 2015-01-08 12:08:29 -08:00
Armon Dadgar 04d89d8ce2 agent: Testing anti-entropy with service address 2015-01-08 12:02:04 -08:00
Armon Dadgar 3689b82cf4 agent: Adding test for DNS lookup with service address 2015-01-08 11:58:32 -08:00
Armon Dadgar 2cd89e60ed consul: Do not override the node address 2015-01-08 10:57:15 -08:00
Armon Dadgar 0164de5f44 agent: Fix de-duplication of SRV with service address 2015-01-08 10:47:41 -08:00
Armon Dadgar 957fa1f5ec consul: Fixing merge conflict 2015-01-08 10:42:19 -08:00
Armon Dadgar 7d9697dcf3 agent: Testing reverse lookup with custom TLD 2015-01-08 10:24:49 -08:00
Armon Dadgar edbf4cf463 Merge pull request #586 from dankennedy/master
replaced consul domain with configured domain. Fixes #582
2015-01-08 10:21:06 -08:00
dankennedy 3c43e0440f replaced consul domain with configured domain. Fixes #582 2015-01-08 10:16:05 +00:00
Ryan Uber 86bcef81b5 agent: test service and check unloading 2015-01-07 22:32:14 -08:00
Ryan Uber 770bb60af8 agent: consolidate service loading code, better logging 2015-01-07 22:01:43 -08:00
Ryan Uber 33bd157a61 agent: separate service and check loading/unloading concerns 2015-01-07 22:01:20 -08:00
Ryan Uber dea0070a39 agent: persist service/check data using hashed service/check IDs (fixes #573) 2015-01-07 19:11:21 -08:00
Ryan Uber 3ff137ed54 api: improve reliability of catalog endpoint tests 2015-01-07 18:29:42 -08:00
Armon Dadgar 2c9dac682a consul: Remove cruft from KV watching 2015-01-07 18:10:18 -08:00
Armon Dadgar 5b972294f8 consul: Enforce lock-delay with delete behavior 2015-01-07 15:48:27 -08:00
Armon Dadgar 95b3837b75 website: Document session behavior and TTL 2015-01-07 15:38:16 -08:00
Ryan Uber 5fe18b5093 Ignore vim swap files 2015-01-07 15:21:01 -08:00
Armon Dadgar b435a0c842 website: Update session API documentation 2015-01-07 15:19:27 -08:00
Ryan Uber 7ecd015fc0 command: check LastIndex is not zero while waiting for leader 2015-01-07 15:18:00 -08:00
Armon Dadgar cf69ac0124 Change version to dev 2015-01-07 14:32:28 -08:00
Armon Dadgar b10f9e8d8a Merge pull request #584 from hashicorp/f-exec-dc
Support "exec" in foreign datacenters
2015-01-07 14:29:02 -08:00
Armon Dadgar b429c22bfb command/exec: Use TTL for local and foreign 2015-01-07 14:27:29 -08:00
Armon Dadgar 615b0d6b97 command/exec: Support foreign datacenters 2015-01-07 14:22:40 -08:00
Armon Dadgar 102816ac7f api: Adding constants for session behaviors 2015-01-07 14:01:27 -08:00
Armon Dadgar 9ba908eadc website: Link to consul-replicate. Fixes #439 2015-01-07 13:30:30 -08:00
Ryan Uber c9b230d25f Import HTTP basic auth patch from armon/consul-api#16 2015-01-07 13:01:44 -08:00
Ryan Uber 812aee1e9a Remove go 1.2 from Travis config 2015-01-07 12:46:21 -08:00
Ryan Uber babce89299 Merge pull request #581 from hashicorp/f-consulapi
Bring in consulapi
2015-01-07 12:09:44 -08:00
Ryan Uber e108162020 api: improve test reliability 2015-01-06 16:51:28 -08:00
Ryan Uber 9beeb6c81b api: use WaitForResult() to improve health tests 2015-01-06 16:18:50 -08:00
Ryan Uber 77f041b41f api: run consul instance on testing ports 2015-01-06 16:18:29 -08:00
Ryan Uber 1faf1110aa api: add harnessing for tests
This is necessary as consul-api's tests require a real consul instance
to be running. We can't directly import an agent to fire up an instance,
due to the way this would create an import cycle. These tests instead
will start a consul instance using the binary in $PATH (if it exists).
2015-01-06 15:52:06 -08:00
Armon Dadgar 0f4f55c91d Merge pull request #580 from hashicorp/f-merge
Adding merge delegate to prevent mixing clusters
2015-01-06 15:51:01 -08:00
Armon Dadgar a66a765ca9 consul: Adding merge delegate to prevent mixing clusters 2015-01-06 15:48:46 -08:00