Commit Graph

80 Commits (23545f97fe0a2477a5b5841a0bde56872f76cd26)

Author SHA1 Message Date
James Phillips cf00c11221 Sets an anti-footgun floor for the configurable reap time.
9 years ago
James Phillips eedeba682b Makes reap time configurable for LAN and WAN.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman 2f26771bb1 Add tests for consul WAN translation
9 years ago
James Phillips c0bd639662 Makes the version upshift code look at the correct version field.
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago
James Phillips 54ef97b268 Adds tests for HTTP interface. Removes a stray mark.
9 years ago
Ryan Uber 039938a7e0 agent: testing node/service maintenance using tokens
9 years ago
Ryan Uber ed70720d55 agent: testing scada client creation in command
9 years ago
Ryan Uber 1bbdf3b03b agent: vet fixes
10 years ago
Ryan Uber d0348d1291 Merge pull request #1004 from i0rek/advertise_addrs
10 years ago
Hans Hasselberg 267e0caf81 Implement advertise_addrs for SerfLan, SerfWan and RPC.
10 years ago
Ryan Uber 69921808ee agent: use persist/load/purge convention for function names
10 years ago
Ryan Uber 2d1b873e4b agent: test check state restoration from AddCheck
10 years ago
Ryan Uber 1636a35289 agent: check state is purged if expired
10 years ago
Ryan Uber 2ee8fa8e15 agent: purge check state when checks are deregistered
10 years ago
Ryan Uber 7e6e861394 agent: testing state persistence, recovery, and expiration
10 years ago
Ryan Uber 72ee584df3 Fix tests after merge
10 years ago
Armon Dadgar 8d86290ebf Fixing merge conflict
10 years ago
Ryan Uber 3ed0146e44 agent: use service ID field to determine associated health checks during deregister
10 years ago
Ryan Uber 204c11ec01 agent: restore check status when re-registering (updating) services
10 years ago
Ryan Uber 8ef01236e1 agent: allow persisted services to be updated on disk
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 18356328c4 agent: restore tokens for services and checks in config
10 years ago
Ryan Uber 663a86f9b9 agent: backwards compat for persisted services from pre-0.5.1
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
Ryan Uber 1557f7f19c agent: test coverage loading service/check tokens from persisted files
10 years ago
Ryan Uber 1264f7edf3 agent: fix deadlock reading tokens from state
10 years ago
Ryan Uber bebb5d9641 agent: add service/check token methods to reduce invasiveness
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
Ryan Uber 04a2faed22 agent: warn and purge checks which cannot be restored from agent state
10 years ago
Armon Dadgar b319c41bd9 agent: Snapshot and restore health state on reload. Fixes #693
10 years ago
foostan 9316596e25 Add tests to remove service/check without an ID
10 years ago
Ryan Uber 124e7bfa7e agent: use const for default maintenance reason strings
10 years ago
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
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 3fbb2be6c0 agent: test agent service maintenance mode
10 years ago
Ryan Uber 4c3ec248a5 agent: fixing up tests
10 years ago
Ryan Uber 4675cdf01c agent: beginning refactor
10 years ago
Jeff Mitchell 0cc009c480 Remove unnecessary ClientListenerAddr function. Rework config test functions to be cleaner. Start of runtime tests.
10 years ago
Ryan Uber a24f6e3d4d agent: test service and check unloading
10 years ago
Ryan Uber 0b9f2b0954 agent: persist service/check data using hashed service/check IDs (fixes #573)
10 years ago
Chavez de0d2d7b78 agent: agent test fixes
10 years ago
Ryan Uber dd4fadfc9e agent: persist CheckType with health checks
10 years ago
Ryan Uber b7587cac42 agent: allow config reload to modify checks/services persistence
10 years ago
Ryan Uber 9f9087badb agent: prefer config over persisted services/checks (#497)
10 years ago
Ryan Uber 79ba25b94d agent: default restored checks to critical status
10 years ago