Commit Graph

111 Commits (36acf8d6a48cb61b2a68d1898a2f6033de831468)

Author SHA1 Message Date
Preetha Appan 36acf8d6a4 Use new DeletePrefixMethod for implementing KVSDeleteTree operation. This makes deletes on sub trees larger than one million nodes about 100 times faster. Added unit tests.
7 years ago
James Phillips c413a9161e Removes an unnecessary close.
7 years ago
Preetha Appan f8b633c69e Removed redundant logging
7 years ago
Preetha Appan c26fd66edd Clean up temporary files on write errors, and ignore any temporary service files on load with a warning. This fixes #3207
7 years ago
James Phillips 1774fdc237
Tweaks the error when scripts are disabled.
7 years ago
Kyle Havlovitz d74390ef86 Fix UpgradeVersionTag field not being passed correctly (#3304)
7 years ago
Preetha Appan 1f35aa6ff2 Made unit test for AddCheck error check the actual error string
7 years ago
Preetha Appan c32e4ebe26 Unit test for failure case of AddCheck
7 years ago
Frank Schroeder 0047b7d3f0
fix spelling in filenames
7 years ago
Frank Schroeder 83577e0daa agent: make docker client work on windows
7 years ago
Frank Schroeder b97ab92d87
build: add missing build tags
7 years ago
preetapan fb43953894 Merge pull request #3296 from hashicorp/ensure_registration_race
7 years ago
Preetha Appan e50f0e6722 Clean up any watch monitors associated with a failed AddCheck
7 years ago
Preetha Appan 6a257f242e Removed unit test, added clarifying comment and returned a friendlier error message similar to the one in agent's AddService method
7 years ago
Preetha Appan 9f048afe29 Fix race condition between removing a service and adding a check for the same service, which was causing orphaned checks
7 years ago
Kyle Havlovitz 19eae3d14b
Add UpgradeVersionTag to autopilot config
7 years ago
Frank Schroeder 0d9b53730f agent: stop docker checks on shutdown
7 years ago
Frank Schroeder 60540c2417 agent: stop and remove docker checks
7 years ago
Frank Schroeder 2123700056
agent: replace docker check
7 years ago
James Phillips fff0f9698f Prevents disabling gossip keyring file from disabling gossip encryption. (#3278)
7 years ago
James Phillips 1791d99a10 Adds new config to make script checks opt-in, updates documentation. (#3284)
7 years ago
James Phillips 780e68a753 Changes remote exec KV read to call GetTokenForAgent(). (#3283)
7 years ago
James Phillips 1004d0ec0e Adds node read privileges to the acl_agent_master_token. (#3277)
7 years ago
Frank Schröder c001722848 azure: tag map can return nil (#3280)
7 years ago
James Phillips 218ac4cb1e Obfuscates ACL tokens appearing in /v1/acl/<verb>/<token> APIs. (#3276)
7 years ago
James Phillips 872cf9ff95 Changes ACL clone response to 403 if not authorized, or if token doesn't exist. (#3275)
7 years ago
Kyle Havlovitz 78c3a86405
Add TLS setting to router areas
7 years ago
James Phillips 0881e46111 Cleans up version 8 ACLs in the agent and the docs. (#3248)
7 years ago
Frank Schroeder 764dabfcf7
agent: fix go vet issue
7 years ago
James Phillips 66edec5dfd Adds the ability to blacklist specific HTTP endpoints. (#3252)
7 years ago
James Phillips 7200b8cda8 UI cleanup follow up from #3245. (#3251)
7 years ago
James Phillips aa11956d63 Changes the default ACL token type to "client" in web UI. (#3246)
7 years ago
James Phillips 86b1e64a33 Cleans up web UI and fixes ACL token "stuckness" issue. (#3245)
7 years ago
Frank Schroeder 1781fd311f address review comments
7 years ago
Frank Schroeder e4b40acc7e agent: remove unused code
7 years ago
Frank Schroeder 8c792ad57d agent: make TestClient_RPC_ConsulServerPing more robust
7 years ago
Frank Schroeder 4a4b91a2db agent: fix data races with registerEndpoint
7 years ago
Frank Schroeder 19b937ba80 agent: make Reap test timing less aggressive
7 years ago
James Phillips a855d31f84 Adds a comment about flood joining.
7 years ago
James Phillips 5b5217528a Simplifies Serf dynamic port selection code.
7 years ago
James Phillips d8db4bc086 test: Changes WAN/LAN join confirmer to use port number vs. address.
7 years ago
Frank Schroeder d92f70f313 test: make joinLAN/WAN reliable
7 years ago
Frank Schroeder 112bc19cd5 rpc: make TestServer_JoinSeparateLanAndWanAddresses more robust
7 years ago
Frank Schroeder ffd45f5da5 rpc: make TestClient_SnapshotRPC_TLS more robust
7 years ago
Frank Schroeder c218fdbc77 agent: make timing sensitive tests more robust
7 years ago
Frank Schroeder b12b914017 agent: fix TestCheckHTTP_TLSSkipVerify_true_pass
7 years ago
Frank Schroeder 7381a05d8d agent: do not modify agent config after NewAgent
7 years ago
Frank Schroeder cec9dcfee8 agent: fix pending data races between localState and agent
7 years ago
Frank Schroeder 00f6ba298e dns: fix data race in TestDNS_ServiceLookup_FilterACL
7 years ago
Frank Schroeder bcd2301b81 agent: fix data race in TestAgentAntiEntropy_EnableTagOverride
7 years ago