Commit Graph

889 Commits (b756c9dace053215a65a6e6d24551545f2588339)

Author SHA1 Message Date
WangFenjin 29c0516d58 Fix typo
9 years ago
James Phillips a61d89d0e6 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+.
9 years ago
James Phillips 95c708f65e Adds Docker checks support to client API.
9 years ago
James Phillips 049da2cef2 Breaks up huge HTTP endpoint functions.
9 years ago
James Phillips cd6be4a88d Avoids taking the length again when parsing DNS queries.
9 years ago
James Phillips e1ce1a34b0 Moves conversion of nil slices up to HTTP layer for prepared queries.
9 years ago
James Phillips 4715c04c98 Adds a test to make sure a stale retry terminates.
9 years ago
James Phillips 67fd4fa78d Returns a 404 from a get or execute of a nonexistent query.
9 years ago
James Phillips e9480ecb02 Plumbs the service name back and uses agent-specific TTL settings as a fallback.
9 years ago
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
9 years ago
James Phillips 4a0a60af55 Adds DNS support for prepared queries (needs tests).
9 years ago
James Phillips 5e7523ea4b Adds a slightly more flexible mock system so we can test DNS.
9 years ago
James Phillips da20e6668b Adds a note about obfuscating query name/ID from the logs.
9 years ago
James Phillips 57be55103c Adds an HTTP endpoint for prepared queries.
9 years ago
James Phillips 989619cb6b Moves DNS over to new shuffle and filter functions.
9 years ago
James Phillips c248b0017a Fixes nil slices from HTTP endpoints.
9 years ago
James Phillips 8defe75387 Merge pull request #1293 from talwai/master
9 years ago
talwai f6f2e19c6c Kill unused import in command.go
9 years ago
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message.
9 years ago
talwai bc12c5e711 Add DogStatsd configuration
9 years ago
James Phillips 3d1702969f Fixes a go vet finding.
9 years ago
James Phillips d06fc28a0a Prevents agents from considering Raft information when doing sync checks.
9 years ago
James Phillips c0bd639662 Makes the version upshift code look at the correct version field.
9 years ago
Diptanu Choudhury ab7ab8e58e Merge pull request #1343 from hashicorp/f-docker-check
9 years ago
Diptanu Choudhury 3d68d06ac7 Forcing the Env variable to empty while testing the default shell logic
9 years ago
Diptanu Choudhury 2fdcf1ae28 Added a test for selecting shell from env
9 years ago
Diptanu Choudhury 471442e9a4 Making an explicit check to test whether a check is of type Monitor
9 years ago
Diptanu Choudhury 1e240b5c59 Fixed the tests
9 years ago
Diptanu Choudhury f0c783d1a8 Added a test to check if we are properly truncating docker exec outputs
9 years ago
Diptanu Choudhury 582786523a Added a test for exit code 1 with docker exec
9 years ago
Diptanu Choudhury 9efbd1affa Fixed the Fake Docker client to simulate Exec start failures
9 years ago
Diptanu Choudhury 423f7fbcac Not adding the docker check if we couldn't create the client
9 years ago
Diptanu Choudhury f5f5ed0c79 Making sure the script is not empty if it's a docker check
9 years ago
Diptanu Choudhury b4af7f44af Updated the comment for CheckType
9 years ago
Diptanu Choudhury 4c1818eb61 Collect and truncate the output from docker exec
9 years ago
Diptanu Choudhury 5f8f531d2a Defaulting to Monitor check
9 years ago
Diptanu Choudhury 809e9f5284 Extracted the logic of figuring out the shell and fixing the logic to find out if the check is a Docker check
9 years ago
Diptanu Choudhury 31cdf4fe64 Added some tests for docker check
9 years ago
James Phillips f6b589d768 Merge pull request #1296 from hashicorp/f-fast-sync
9 years ago
Diptanu Choudhury 40f72a8323 Marking the state of a service as critical if the Docker Daemon doesn't respond while running checks
9 years ago
Diptanu Choudhury d695012e40 Adding a debug log to indicate the exit code of failed check
9 years ago
Diptanu Choudhury 83db728133 Registering the Exec with Docker Daemon everytime the check is invoked
9 years ago
Diptanu Choudhury 71ede8addb Implemented Docker health checks
9 years ago
James Phillips 088603949c Runs go fmt (sorts new go-cleanhttp imports).
9 years ago
James Phillips ecd3a1d1d2 Completes rebase of network coordinates to new memdb.
9 years ago
James Phillips 439110f384 Gives RTT class a more Go-like name.
9 years ago
James Phillips 99cfbb8a47 Defaults second node to agent if not given. Removes -short option and tweaks output formatting.
9 years ago
James Phillips 88845f7d71 Cleans up after code review, adds a -short option to "consul rtt" command.
9 years ago
James Phillips fb8900156a Adds a "consul rtt" command.
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago