Commit Graph

141 Commits (a854e4d9c5e2f8c5db367a911094ea3f06c93d9f)

Author SHA1 Message Date
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method
8 years ago
Kyle Havlovitz b1760b223e Improve logging when deregistering a nonexistent service (#2492)
8 years ago
James Phillips 233a3a101b Supports WAN and LAN Serf Bind Addresses. (#2468)
8 years ago
Kyle Havlovitz 3add830b3a Test fixes (#2434)
8 years ago
James Phillips 2822334bce
Stops scaling the commit timeout.
8 years ago
James Phillips 57db4bcce6
Adds performance tuning capability for Raft, detuned defaults, and supplemental docs.
8 years ago
James Phillips 4c7a0ed3b0
Merge branch 'master' into f-deregister-critical
8 years ago
James Phillips fbdd021ab9
Adds an "lan" tagged address so we have a way to get them all.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
Sean Chittenden 56f480a633
Use stable, monotonically increasing port numbers for tests
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
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
Ryan Uber 46a5272a8a agent: first pass at local service and check persistence
10 years ago
Ryan Uber c283754381 Rebase against upstream
10 years ago
Ryan Uber 8a652c6ffa agent: fix loading keyring on agent start
10 years ago
Ryan Uber ab5fbe4094 agent: ignore -encrypt if provided when keyring exists
10 years ago
Ryan Uber 0b8fe6cc83 agent: fix test cases
10 years ago
Ryan Uber bc2b2120fa agent: -encrypt appends to keyring if one exists
10 years ago
Ryan Uber 5ab4a590d7 command: test generated keyring file content and conflicting args for agent
10 years ago
Ryan Uber 621aafa9b4 agent: test loading keyring files for client and server
10 years ago
Armon Dadgar 485f0a0c93 agent: Fixing port collision in tests
10 years ago
Ryan Uber df5859580f agent: pass notes field through for checks inside of service definitions. Fixes #449
10 years ago
Ryan Uber 525d74aebc agent: add test for consul service sync state
10 years ago
Armon Dadgar 4f1fa3a4ce Merge pull request #401 from hashicorp/f-healthcheck
10 years ago
Ryan Uber 2f93e13da8 consul: kill remaining use of HealthUnknown
10 years ago
Ryan Uber b1e8d351ab agent: re-use ConsulServiceID from consul package
10 years ago
Ryan Uber 4576b4eb29 agent: auto-register the consul service on server nodes
10 years ago
Armon Dadgar 4d66b11c91 agent: Fixing ACL tests with token param
10 years ago
Armon Dadgar 7c5a39717e agent: Fixing the ACL tests
10 years ago
William Tisäter 9e3ad6721c Re-configure `LeaderLeaseTimeout` to pass validation
11 years ago
Armon Dadgar 018482dc4c Store check output in dedicated field. Fixes #59.
11 years ago
Armon Dadgar 6bbe8fd493 agent: Adding minimum check interval. Fixes #64.
11 years ago
Armon Dadgar 8dd1e51bae agent: Simplifying configs
11 years ago
Armon Dadgar 8db2e3bd58 agent: Support multiple tags per service registration
11 years ago
Armon Dadgar 1eb0a76ee8 agent: Adding methods to register services and checks
11 years ago
Armon Dadgar 1d3fb0772e Testing anti-entropy of services
11 years ago
Armon Dadgar 21e614ca07 Adding tests for the agent HTTP endpoints
11 years ago
Armon Dadgar 423ffaecc5 Adding basic DNS framework
11 years ago
Armon Dadgar f4692b468f Pulling in the RPC framework from serf
11 years ago
Armon Dadgar 8cc761de17 Enable bootstrap mode for the tests
11 years ago
Armon Dadgar 39d9e3e78f More HTTP endpoints
11 years ago
Armon Dadgar caaff11634 Adding more agent tests
11 years ago