Commit Graph

523 Commits (87dca96152e76eb84339840595bd6d9aafb44f85)

Author SHA1 Message Date
Jeff Mitchell 11a3ce0bdd RPC and HTTP interfaces fully generically-sockified so Unix is supported.
10 years ago
Armon Dadgar 96c7ce120e command/agent: Minor cleanups
10 years ago
Armon Dadgar 713d30c73e Merge pull request #592 from nicholascapo/check-http
10 years ago
Armon Dadgar aedaf7a7c8 Merge pull request #595 from ebroder/dns-only-passing
10 years ago
Evan Broder a0228a64e2 Add more thorough testing for only_passing behavior
10 years ago
Nicholas Capo 641476a822 command/agent: Add tests for HTTP Check
10 years ago
Ryan Uber b2fbaea18c agent: make dns randomization test more reliable
10 years ago
Nicholas Capo 98eb935392 command/agent: HTTP Check: Create httpClient in Start()
10 years ago
Nicholas Capo bcb983edbe command/agent: HTTP Check: Include response in check status
10 years ago
Nicholas Capo 50853265dd command/agent: Stop HTTP checks when the check is removed
10 years ago
Nicholas Capo 6a2d763d5c command/agent: HTTP check: Any 2xx is OK, 429 is WARNING
10 years ago
Evan Broder ee6d59d4dd Add "only_passing" option to DNS config
10 years ago
Ryan Uber 5bf1abf7ef agent: fix local_test.go
10 years ago
Ryan Uber c2188440b2 agent: wrap deferred anti-entropy sync test in WaitForResult
10 years ago
Nicholas Capo fb5ba8d97d command/agent: Add simple HTTP check type
10 years ago
Armon Dadgar d05ed7baa6 agent: Testing the KV DELETE with cas
10 years ago
Armon Dadgar 3e0f77682a agent: Support the ?cas parameter to KV DELETE
10 years ago
Armon Dadgar 9f4955151a agent: Testing anti-entropy with service address
10 years ago
Armon Dadgar 77a3bfd606 agent: Adding test for DNS lookup with service address
10 years ago
Armon Dadgar 419447d9f7 agent: Fix de-duplication of SRV with service address
10 years ago
Armon Dadgar 23b9c96169 consul: Fixing merge conflict
10 years ago
Armon Dadgar f2e1065246 agent: Testing reverse lookup with custom TLD
10 years ago
dankennedy 63af8d08e1 replaced consul domain with configured domain. Fixes #582
10 years ago
Ryan Uber a24f6e3d4d agent: test service and check unloading
10 years ago
Ryan Uber 51fe9f32ff agent: consolidate service loading code, better logging
10 years ago
Ryan Uber cfde9313de agent: separate service and check loading/unloading concerns
10 years ago
Ryan Uber 0b9f2b0954 agent: persist service/check data using hashed service/check IDs (fixes #573)
10 years ago
Ryan Uber db3c502dcc Merge pull request #576 from hashicorp/f-verify-config
10 years ago
Daniel Malon bd65cbb7d7 use the service specific address in SRV response
10 years ago
Ryan Uber 42ace3a6b5 agent: use mapstructure's Metadata.Unused to detect extraneous config
10 years ago
Ryan Uber b8740b62da agent: reject config with invalid options
10 years ago
Armon Dadgar f86d7c3a09 Merge pull request #558 from ceh/http-api-response-headers
10 years ago
Daniel Malon 051ac8eb0b advertise specific address for a service
10 years ago
Thordur Bjornsson a12ffef8b6 Test both ?pretty both bare and with value.
10 years ago
Thordur Bjornsson 1435818792 handle ?pretty similarly to ?stale, ?consistent etc.
10 years ago
Ryan Uber e9615c50e6 agent: test pretty printed json
10 years ago
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
10 years ago
Ryan Breen f2bd641402 Clean up log line and reduce test time.
10 years ago
Ryan Breen d82ef7bb8c Test that staggered checks run within the defined interval.
10 years ago
Ryan Breen 2e58f54a26 Well, that sure is cleaner.
10 years ago
Ryan Breen 60dacecb39 Add a randomized start before running CheckMonitors.
10 years ago
Armon Dadgar a5a9f051cd consul: Ignore zero ttl on session
10 years ago
Armon Dadgar 29afa881f4 Merge pull request #524 from amalaviy/session_ttl
10 years ago
Atin Malaviya ac54010027 Fixed clearSessionTimer, created invalidateSession, added invalid TTL test
10 years ago
Atin Malaviya 60915629f6 Took out usage of snapshot SessionListTTL
10 years ago
Atin Malaviya 0f9723e6f8 Remove hardcoded wait time in session TTL tests
10 years ago
Atin Malaviya 5229f3b44d Clean up code based on feedback from armon
10 years ago
Atin Malaviya 624c465e2b Added more tests. Also added return of 404 if the session id to renew is not found
10 years ago
Atin Malaviya 4732c36d88 Consul Session TTLs
10 years ago
Ali Abbas d73e1cae85 since dns.TXT is an external dependency, it is safer to add keys to the fields to avoid some potential ordering issues if changes in this field occur with upstream
10 years ago
Chavez de0d2d7b78 agent: agent test fixes
10 years ago
Veres Lajos 3b1068387a typofixes - https://github.com/vlajos/misspell_fixer
10 years ago
Armon Dadgar 5887242db2 agent: Handle service ACLs when doing anti-entropy
10 years ago
Ryan Uber 81d4e5cfd4 agent: fixup all check definitions from json config
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
Ali Abbas a4656f1ecf fix Sprintf formatting
10 years ago
Ali Abbas e395420af6 cleanup unreachable code
10 years ago
Ryan Uber 9f9087badb agent: prefer config over persisted services/checks (#497)
10 years ago
Armon Dadgar f74d3dbd92 Merge pull request #497 from hashicorp/f-persist
10 years ago
Armon Dadgar 50e21b071c agent: Adding TODO for future optimization
10 years ago
Ryan Uber 2ebe85414f agent: pass error through when writing state files
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
lalyos 8f04401648 agent: implementing reverse dns lookup for ipv4 and ipv6
10 years ago
Armon Dadgar f57efbc778 Merge pull request #487 from amalaviy/ephemeral_keys
10 years ago
Ryan Uber dbd420fc4b agent: make event buffer test non-sequential
10 years ago
Ryan Uber da96fb5499 agent: Test event order preservation for watches
10 years ago
Ryan Uber 96619b7f88 agent: Preserve ordering of event buffer. Fixes #479
10 years ago
Atin Malaviya 6ef03a806c Clean up tests, use switch to default session.Behavior value if unspecified, unrecognized
10 years ago
Atin Malaviya 47241fc1c8 Ephemeral Nodes for via Session behavior settings.
10 years ago
Ryan Uber 28bd9810a7 agent: remove unused config variable
10 years ago
Ryan Uber c283754381 Rebase against upstream
10 years ago
Ryan Uber bc0eb4c16d agent: fix gossip encryption detection
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 4203e7ab6d consul: clean up comments, fix globalRPC tests
10 years ago
Ryan Uber 0cafb129ee consul: more tests, remove unused KeyManager() method
10 years ago
Ryan Uber 648c7cdc8e consul: simplify keyring operations
10 years ago
Ryan Uber 0b8fe6cc83 agent: fix test cases
10 years ago
Ryan Uber c945311baf agent: make rpc tests more reliable
10 years ago
Ryan Uber bc2b2120fa agent: -encrypt appends to keyring if one exists
10 years ago
Ryan Uber 22b2c63304 command/agent: fix up gossip encryption indicator
10 years ago
Ryan Uber 7a74f559b9 command: remove -init argument from keyring, auto-persist keyrings when using agent -encrypt
10 years ago
Ryan Uber 1f9d13dc73 agent: squash some more common keyring semantics
10 years ago
Ryan Uber 59a7938d1f agent: guard against empty keyring files
10 years ago
Ryan Uber 7b4b87ccf1 consul: use keyring operation type to cut out duplicated logic
10 years ago
Ryan Uber c11f6b5152 agent: fix install key test
10 years ago
Ryan Uber 91ad3461f4 command: fix panic when client RPC is asked for a keyring operation
10 years ago
Ryan Uber 9d01174521 consul: kill unused struct fields
10 years ago
Ryan Uber a163db2269 command/keyring: remove unneeded -wan arg, fix tests
10 years ago
Ryan Uber f86904ee59 agent: adjust rpc client tests for keyring
10 years ago
Ryan Uber fcba072246 command: fixing test cases for keyring
10 years ago
Ryan Uber 9056e617cb consul: cross-dc key rotation works
10 years ago
Ryan Uber 2bdeaa0c6a consul: restructuring
10 years ago
Ryan Uber 8dec2744da consul: refactor keyring, repeat RPC calls to all DC's
10 years ago
Ryan Uber cfbf2b4f94 command: allow wan ring to be modified separately from lan pools
10 years ago
Ryan Uber 431b366d4f agent: split keyring functionality out of agent.go
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