Commit Graph

977 Commits (231f5a957f4cc43714757af1351564ab073352de)

Author SHA1 Message Date
Sean Chittenden e9a2f5b40c
Chase casting types.CheckID to a string into the state_store.
9 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips 518e122053 Updates web assets to pull in RTT viz.
9 years ago
James Phillips a78b969984 Removes stale scada client and test sections that use (now) unexported fields.
9 years ago
Jeff Mitchell ebf7ea1d75 Use upstream high-level SCADA provider
9 years ago
Nathan Zadoks c4b362d5d2 Parse ACL tokens for the catalog register/deregister endpoints
9 years ago
James Phillips 0f5aabcbbd Merge pull request #2028 from hashicorp/f-atomic-kv
9 years ago
Sean Chittenden 0e34cc3486
Remove completely unused structs
9 years ago
Sean Chittenden 92298e3d02
Speling police
9 years ago
James Phillips 653387637a Reduces the number of operations in a transaction to 64.
9 years ago
James Phillips 778b975e7a Adds a get-tree verb to KV transaction operations.
9 years ago
James Phillips 570d46aa5f Adds some size limiting features to transactions to help prevent abuse.
9 years ago
James Phillips a37bf9de56 Adds a read-only optimized path for transactions.
9 years ago
James Phillips 8a7428e508 Hoists KV processing helper functions up as static functions.
9 years ago
James Phillips 4882a9fe43 De-nests the KV output structure (removes DirEnt member).
9 years ago
James Phillips 960b9d6fb6 Switches to "KV" instead of "KV" for the KV operations.
9 years ago
James Phillips 38d0f6676f Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
9 years ago
James Phillips 69f58ad04a Moves txn code into a new endpoint, not specific to KV.
9 years ago
James Phillips 1fefdcb962 Terminates pretty responses with a newline.
9 years ago
James Phillips 7a797da3e5 Adds unit tests for HTTP endpoint.
9 years ago
James Phillips e491245062 Performs basic plumbing of KVS transactions through all the layers.
9 years ago
Sean Chittenden 01b8311c94 Include the current version along side the available version.
9 years ago
James Phillips 7bf684ece1 Fixes some bad error returns in the persist service and check paths.
9 years ago
James Phillips ceac68c5eb Merge pull request #1762 from mshean/script-timeout
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
James Phillips c11e1506c5 Merge pull request #1935 from hashicorp/f-reap-time
9 years ago
James Phillips cf00c11221 Sets an anti-footgun floor for the configurable reap time.
9 years ago
Matt Shean fe4107019e add Timeout field to CheckMonitor
9 years ago
Ryan Uber 8cc16b8238 agent: limit HTTP check output to 4k
9 years ago
James Phillips 8c8b146f77 Merge pull request #1884 from mtchavez/1541-data-dir-perms
9 years ago
James Phillips f541acb0ec Makes a detached copy of the tags when doing the override.
9 years ago
James Phillips a885f1bdff Tweaks comment about side effects.
9 years ago
James Phillips eedeba682b Makes reap time configurable for LAN and WAN.
9 years ago
James Phillips 529b24adbf Merge pull request #1934 from hashicorp/b-check-output
9 years ago
James Phillips 244174d2c0 Uses the HealthCheck Clone() method in local_test.go.
9 years ago
James Phillips ed86e5cc72 Adds a clone method to HealthCheck and uses that in local.go.
9 years ago
James Phillips cfe0651208 Syncs a check's output with the catalog when output rate limiting isn't in effect.
9 years ago
Alex Myasoedov 49cc50b0d3 #1878 Set default bind address to 127.0.0.1 in development mode
9 years ago
James Phillips d386019be1 Removes a bogus warning for Windows.
9 years ago
James Phillips 6a3b2b0618 Updates static assets to pull in #1702.
9 years ago
Sean Chittenden 829478793b Clean up verifyUniqueListners
9 years ago
Chavez 416c578f7a Retry http server connecting in agent/http_test
9 years ago
Chavez 31c9829751 Test agent RPC client connection retries
9 years ago
Chavez f201b4b565 command: Data directory permission error message
9 years ago
Sean Chittenden 45bd128f12 Rely exclusively on error to signal failure
9 years ago
Sean Chittenden 7a814fce63 Print a helpful message re: duplicate addresses
9 years ago
Sean Chittenden 5994c9efbf skip_leave_on_int's default changes based on agent mode
9 years ago
Sean Chittenden ec9b9be736 Guard against a node name containing pure whitespace for real
9 years ago
Sean Chittenden ff529ffa40 Guard against a node name containing pure whitespace
9 years ago
Sean Chittenden 583abab552 Node names are not allowed to be empty
9 years ago
Sean Chittenden 53380f8e92 Change tests to accept an "at least this many" answers semantic
9 years ago
Sean Chittenden 7a7063c072 Fix tests
9 years ago
Sean Chittenden 19721f5c3d Editorialize the comment re: UDPAnswerLimit
9 years ago
Sean Chittenden 5ba7e74bb8 Use table-driven test for response limits
9 years ago
Sean Chittenden 0cb965f901 Remove duplicate paste-o
9 years ago
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
Wim b5d45322b4 Allow [::] as a bind address (binds to first public IPv6 address)
9 years ago
Miquel Sabaté Solà 4567963d8e command: deprecated the -dc flag in the agent CLI
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
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