Commit Graph

1024 Commits (b43f900766ad92eebbd5a8f931fe0fe244f9969d)

Author SHA1 Message Date
Sean Chittenden ce88cde7b0 Test services and PQT limits
9 years ago
Sean Chittenden e1e441fdee Improve the use of constants across DNS tests
9 years ago
Sean Chittenden c2d4354563 Use a non-default config value
9 years ago
Sean Chittenden 1dd4234683 Test missing config inputs
9 years ago
Sean Chittenden 69696a9c1b Correctly detect that an answer has been truncated
9 years ago
Sean Chittenden efe940e7c4 Remove dead and incorrect code
9 years ago
Sean Chittenden c5c8daf07a Trim UDP responses per configuration
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
Patrick Feliciano 74623c372a Adding singleton option to DNS for getaddrinfo bug.
9 years ago
Sean Chittenden a92cda7bcd Fix whitespace alignment in a comment
9 years ago
James Phillips 77eb95ddd8 Merge pull request #1861 from hashicorp/b-flaky-test
9 years ago
James Phillips cd7b3d4b49 Widens coordinate update sleeps in unit tests.
9 years ago
Hrishikesh Barua 9f9aa5084b Added help text for -dev option #1804
9 years ago
James Phillips b6cd4318d6 Merge pull request #1851 from hashicorp/f-ipv6-bind
9 years ago
Wim b5d45322b4 Allow [::] as a bind address (binds to first public IPv6 address)
9 years ago
Miquel Sabaté Solà 615c93a77d Used 'unconvert' to remove unneeded conversions
9 years ago
James Phillips 6e2c106006 Merge pull request #1819 from hashicorp/f-check-accept
9 years ago
James Phillips 4cb16808f4 Adds default set of accept headers for HTTP checks.
9 years ago
James Phillips 5c80647e34 Tweaks algorithm so it's safe with an empty list and adds a PQ test.
9 years ago
Igor Dubinskiy 3a25860270 Make sure UDP DNS responses aren't larger than allowed
9 years ago
James Phillips 98784c6416 Updates to latest compiled ui assets.
9 years ago
James Phillips eb7004f2b8 Renames "debug" endpoint and structures to "explain".
9 years ago
James Phillips d7288e3a5e Adds a prepared query debug endpoint.
9 years ago
Calvin Leung Huang ff38fbc6a3 Correct the rtt -wan error message
9 years ago
James Phillips f46fa33278 Tweaks formatting of inline output messages.
9 years ago
James Phillips 70575002d9 Retains the last output when a TTL check times out.
9 years ago
James Phillips 7ebad899da Adds a new PUT-based TTL check update endpoint.
9 years ago
Stefan Engstrom 525cb0abc1 add accept header */* for agent check
9 years ago
James Phillips 052140f8a7 Merge pull request #1703 from alistanis/fix-issue-#1661
9 years ago
James Phillips e79dd7c8de Fixes redirect from / to /ui when internal UI is enabled.
9 years ago
Chris Cooper 2c6f873ecd add missing test
9 years ago
Chris Cooper fe0e3aaaa0 fixes issue #1661 and adds supporting test
9 years ago
James Phillips 56cbabff63 Adds a sanity check to the local node info compare.
9 years ago
James Phillips d2cc2801fa Merge pull request #1698 from hashicorp/pr-1547-slackpad
9 years ago
James Phillips 607728ddca Adds a test to make sure we get the local address within the DC.
9 years ago
James Phillips 524aaae9b7 Increases wait to account for random stagger.
9 years ago
James Phillips 6790930c4e Factors address translation into a single function.
9 years ago
James Phillips 4be2ab1a75 Moves tagged wan address to be managed by anti-entropy, not serf.
9 years ago
James Phillips b59599742d Adds a test to make sure the local sync doesn't clobber tagged addresses.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman de8fd561d0 Use a map for additional node addresses
9 years ago
Evan Gilman 2f26771bb1 Add tests for consul WAN translation
9 years ago
Evan Gilman 146f719a66 Explicitly set advertise address in agent tests
9 years ago
Evan Gilman a3240d28ba Consider WAN addresses during Node and SRV record lookup
9 years ago
Evan Gilman 496cf5ae73 Implement `translate_wan_addrs` config option
9 years ago
Evan Gilman 8fa2a60208 Rectify value of `AdvertiseAddrWan` when set elsewhere
9 years ago
James Phillips ed8a71efd7 Store WanAddress during Service/Check sync
9 years ago
James Phillips 507c83bdbd Merge pull request #1690 from alistanis/use-http-package-statuses
9 years ago
James Phillips d60be51f01 Merge pull request #1284 from nbrownus/telemetry
9 years ago
David Wittman 8667394955 Fix formatting in exec help
9 years ago
James Phillips 7bc2ba4c18 Merge pull request #1654 from ryanslade/invalid-check-message
9 years ago
Chris Cooper 5a07e89bb9 Merge branch 'master' of https://github.com/alistanis/consul into use-http-package-statuses
9 years ago
Chris Cooper e2065e10c0 add comment codes
9 years ago
Chris Cooper 00dd9d6b78 refactors http server error codes to use the http statuses defined in the http package instead of literals
9 years ago
Sean Chittenden 8deec17f73 Use panic instead of returning a sentinel UUID values in unit tests
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago
Nate Brown 43a4f3fe02 Option to disable hostnames from telemetry
9 years ago
Ryan Slade dd98602bd7 Updated invalid check error message.
9 years ago
James Phillips f24a044755 Fixes the static asset generator for new pkg path, updates assets.
9 years ago
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate
9 years ago
James Phillips 71e3901a65 Merge pull request #1592 from hashicorp/b-reap
9 years ago
James Phillips 343838f12b Adds support for the reap lock.
9 years ago
Matt McCoy 9cbed7f89e Add consul agent help for advertise-wan
9 years ago
James Phillips 49342dc973 Makes the timeout behavior more intuitive.
9 years ago
James Phillips 1d733f4c36 Defaults monitor retries to 3 retries @ 1s for the consul lock command.
9 years ago
James Phillips 4afeddacc8 Adds monitor retries to the consul lock command.
9 years ago
James Phillips 8caa9e4c7e Adds "try" support to locks and semaphores.
9 years ago
James Phillips c1fe9092ed Merge pull request #1550 from hashicorp/f-devmode
9 years ago
Philippe M. Chiasson a2eddcab38 remove address splitting
9 years ago
Philippe M. Chiasson 21345a8a7f Move logged client IP to the end of the log message
9 years ago
Philippe M. Chiasson 34c36d9205 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
Ryan Uber 9002bfa37d agent: enable ui for dev mode
9 years ago
Ryan Uber afafae53fd consul: dev mode works
9 years ago
Ryan Uber 87c1283b73 agent: update assetfs output
9 years ago
Ryan Uber 3cf6a173a5 agent: static UI is configurable
9 years ago
Ryan Uber 2d7ced22b3 agent: initial web assets
9 years ago
Ryan Uber c3e7c98da2 agent: compile web assets into consul binary
9 years ago
Philippe M. Chiasson 9553ac0ca8 Merge branch 'master' of http://github.com/hashicorp/consul into issue/1447/http-access-logs
9 years ago
James Phillips d61661a98f Adds a Bool helper function.
9 years ago
James Phillips e80d1a58fb Moves logger down where it's used for reaping.
9 years ago
James Phillips 0b1c346990 Changes sense of option to "reap" and uses nil for "not set".
9 years ago
James Phillips 2b257c922e Adds child process reaping when Consul is running as PID 1.
9 years ago
James Phillips 651f255b9b Converts the DNS metric to a gauge which gives us a count and a time.
9 years ago
James Phillips a4dc11167f Adds telemetry on number of DNS queries served, per-agent.
9 years ago
WangFenjin 29c0516d58 Fix typo
9 years ago
James Phillips a61d89d0e6 Removes the GOMAXPROCS warnings which are obsolete for Go 1.5+.
9 years ago
Philippe M. Chiasson 65512cae73 Add client ip to http access logs
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