Commit Graph

523 Commits (87dca96152e76eb84339840595bd6d9aafb44f85)

Author SHA1 Message Date
Ryan Uber 8b0fe52be2 agent/http: fix service registration with nil checks value
10 years ago
Ryan Uber b5e8111485 agent/http: clean up socket setup
10 years ago
Ryan Uber eda2171bbe agent: make check tests more reliable
10 years ago
Ryan Uber b69b780408 agent: error from KVS endpoint if incompatible flags are passed. Fixes #432
10 years ago
Ryan Uber 67190e6f68 agent: more lenient dns response test
10 years ago
Armon Dadgar e1a5d537d4 Merge pull request #625 from hashicorp/f-maintcmd
10 years ago
Ryan Uber 44f3c20e50 command/maint: clean up
10 years ago
Ryan Uber 09fd2a7e94 command/maint: display active maintenance when no args are passed
10 years ago
Armon Dadgar cf04d6ae31 Merge pull request #622 from hashicorp/f-sockets
10 years ago
Ryan Uber 124e7bfa7e agent: use const for default maintenance reason strings
10 years ago
Ryan Uber 5aa69827f8 agent: fix test
10 years ago
Ryan Uber 61d17e65f5 agent: prevent duplicate error messages for maintenance api
10 years ago
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks
10 years ago
Ryan Uber b6a0f2baae agent: fix maintenance check ID
10 years ago
Ryan Uber d9a3e673b0 agent: change node maintenance endpoint
10 years ago
Ryan Uber 9c69dc05fb agent: use strconv.ParseBool for parsing maintenance enable flag
10 years ago
Ryan Uber 46d5dcfc17 agent: comments for new anti-entropy functionality
10 years ago
Ryan Uber a4039aaa4d agent: simplify anti-entropy of services with multiple checks, add tests
10 years ago
Ryan Uber 0c31e5851c agent: only send service with check sync if it is out of sync
10 years ago
Ryan Uber 949ddefbc8 agent: refactor syncChecks
10 years ago
Ryan Uber 2a7211cd5d agent: support adding multiple checks during service registration from the API
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Ryan Uber c958824bb6 agent: use squash mapstructure tag to properly decode embedded structs
10 years ago
Ryan Uber b1dae530d4 agent: use interface for file permissions
10 years ago
Ryan Uber 782b0ddd88 agent: test permissions are set on rpc socket
10 years ago
Ryan Uber 99d4e7831e agent: fix tests
10 years ago
Ryan Uber a6c877c7ee agent: re-add support for user name in socket perms
10 years ago
Ryan Uber 145c56b47d agent: test Unix domain socket permission settings
10 years ago
Ryan Uber 450d05575d agent: adjusting tests for new behavior of sockets
10 years ago
Ryan Uber 21dd95d9af agent: beginning socket user/group/mode support as discussed in #612
10 years ago
Ryan Uber 2530e5ff05 agent: test agent rpc unix socket create failure
10 years ago
Ryan Uber ba96535cfc Merge pull request #610 from dave-tucker/bug/609
10 years ago
Dave Tucker 18b5ab3539 Don't forget to Shutdown the DNS Server!
10 years ago
Ryan Uber ba2d0fa7e3 agent: maintenance logging + unique service check IDs
10 years ago
Ryan Uber 8cf4e9889e agent: test node maintenance mode
10 years ago
Ryan Uber 7748c62d09 agent: node maintenance mode works
10 years ago
Ryan Uber 9ee1e6e858 agent: maintenance mode api's are idempotent
10 years ago
Ryan Uber 8819d71f99 agent: maintenance mode is persistent
10 years ago
Ryan Uber 35c10a902f agent: test http endpoints for maintenance mode
10 years ago
Ryan Uber 3fbb2be6c0 agent: test agent service maintenance mode
10 years ago
Ryan Uber 2973cd9131 agent: first pass at service maintenance mode
10 years ago
Ryan Uber f01bb5cf3b agent: error if binding to existing socket file
10 years ago
Ryan Uber 56c3e488a9 agent: test socket file overwrite
10 years ago
Ryan Uber 4c3ec248a5 agent: fixing up tests
10 years ago
Ryan Uber bf48651c58 agent: only ignore errors on IsNotExist()
10 years ago
Ryan Uber 4675cdf01c agent: beginning refactor
10 years ago
Jeff Mitchell 9fcea08dbb Ensure a socket is created for permissions adjustment tests and fix some
10 years ago
Jeff Mitchell 32d2c6b848 Add a Unix socket RPC test. I modified some code in the testing library to not make assumptions about the listening socket; all RPC tests still pass. Still to do: Unix socket HTTP test.
10 years ago
Jeff Mitchell 0cc009c480 Remove unnecessary ClientListenerAddr function. Rework config test functions to be cleaner. Start of runtime tests.
10 years ago
Jeff Mitchell 8362e3e9eb Tests for populateUnixSocket. Still need to write tests for the other major function, and basic socket listening tests.
10 years ago