Commit Graph

183 Commits (fbf88d3b1976a834f3ab851d6ec6b797c9fa919c)

Author SHA1 Message Date
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
6 years ago
Pierre Souchay 0e907f5aa8 Support for maximum size for Output of checks (#5233)
6 years ago
R.B. Boyer 40336fd353
agent: fix several data races and bugs related to node-local alias checks (#5876)
6 years ago
Alvin Huang f45e495e38
Merge pull request #5376 from hashicorp/fix-tests
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
Hans Hasselberg e7134a0dab
agent: only use TestAgent when appropriate (#5502)
6 years ago
Valentin Fritz 21f149de8b Fix checks removal when removing service (#5457)
6 years ago
Hans Hasselberg 7e11dd82aa
agent: enable reloading of tls config (#5419)
6 years ago
Aestek 2aac4d5168 Register and deregisters services and their checks atomically in the local state (#5012)
6 years ago
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Alvin Huang c2a19e5090 add wait to TestAgent_RPCPing
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
Matt Keeler acfd87c673
Improve Connect with Prepared Queries (#5291)
6 years ago
Kyle Havlovitz 7118f42950
Fix failing TestAgent_PurgeCheckOnDuplicate after merge
6 years ago
Kyle Havlovitz 1a4978fb94
Re-add ReadableDuration types to health check definition
6 years ago
Paul Banks bb7145f27d
agent: add default weights to service in local state to prevent AE churn (#5126)
6 years ago
Aestek 8709213d6e Prevent status flap when re-registering a check (#4904)
6 years ago
Aestek 25f04fbd21 [Security] Add finer control over script checks (#4715)
6 years ago
Paul Banks 1e7eace066 Add SidecarService Syntax sugar to Service Definition (#4686)
6 years ago
Hans Hasselberg 8e235a72b4
Allow disabling the HTTP API again. (#4655)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Matt Keeler e81c85c051
Fix #4515: Segfault when serf_wan port was -1 but reconnect_time_wan was set (#4531)
6 years ago
Siva Prasad c88900aaa9
PR to fix TestAgent_IndexChurn and TestPreparedQuery_Wrapper. (#4512)
6 years ago
Mitchell Hashimoto 7fa6bb022f
Merge pull request #4320 from hashicorp/f-alias-check
6 years ago
Matt Keeler ca5851318d Update a couple erroneous tests.
6 years ago
Matt Keeler 3fe5f566f2 Persist proxies from config files
6 years ago
Mitchell Hashimoto d6ecd97d1d
agent: use the correct ACL token for alias checks
6 years ago
Mitchell Hashimoto 4a67beb734
agent: run alias checks
6 years ago
Paul Banks 8405b41f2b
Update proxy config docs and add test for ipv6
6 years ago
Paul Banks bb9a5c703b
Default managed proxy TCP check address sanely when proxy is bound to 0.0.0.0.
6 years ago
Mitchell Hashimoto a76f652fd2 agent: convert the proxy bind_port to int if it is a float
7 years ago
Paul Banks 17789d4fe3 register TCP check for managed proxies
7 years ago
Mitchell Hashimoto a82726f0b8 agent: RemoveProxy also removes the proxy service
7 years ago
Mitchell Hashimoto e2653bec02 Fix broken tests from PR merge related to proxy secure defaults
7 years ago
Paul Banks df2cb30b01 Make tests pass and clean proxy persistence. No detached child changes yet.
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ef9c40643e Fix import tooling fail
7 years ago
Paul Banks e21723a891 Persist proxy state through agent restart
7 years ago
Paul Banks a80559e439
Make invalid clusterID be fatal
7 years ago
Paul Banks 4aeab3897c
Fixed many tests after rebase. Some still failing and seem unrelated to any connect changes.
7 years ago
Mitchell Hashimoto ba00fa3548
agent: add additional tests for defaulting in AddProxy
7 years ago
Mitchell Hashimoto 171bf8d599
agent: clean up defaulting of proxy configuration
7 years ago
Mitchell Hashimoto 6539280f2a
agent: fix crash that could happen if proxy was nil on load
7 years ago
Mitchell Hashimoto aaa2431350
agent: change connect command paths to be slices, not strings
7 years ago
Paul Banks 90c574ebaa
Wire up agent leaf endpoint to cache framework to support blocking.
7 years ago
Paul Banks 1b197d934a
Don't allow connect watches in agent/cli yet
7 years ago
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 8d09381b96
Super ugly hack to get TeamCity build to work for this PR without adding a vendor that is being added elsewhere and will conflict...
7 years ago
Paul Banks e6071051cf
Added connect proxy config and local agent state setup on boot.
7 years ago
Mitchell Hashimoto e40afd6a73
agent/consul: CAS operations for setting the CA root
7 years ago
Matt Keeler 53fbe2b111 Update unit tests to reflect change to func signature
7 years ago
Kyle Havlovitz b73323aa42
Remove the script field from checks in favor of args
7 years ago
James Phillips 11f6961e47
Adds a more robust unit test for index churn.
7 years ago
James Phillips fc155dac19
Adds a before/after test for #3845.
7 years ago
Dmytro Kostiuchenko 1a10b08e82 Add gRPC health-check #3073
7 years ago
Yoann Fouquet 986148cfe5 [Fix] Service tags not added to health checks
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
Frank Schroeder 8f145559d8
Decouple the code that executes checks from the agent
7 years ago
Frank Schroeder d2cc0e6e8a
local state: fix failing tests
7 years ago
Frank Schroeder b803bf3091
local state: tests compile
7 years ago
Frank Schroeder 9ed4b2d631
Revert "local state: tests compile"
7 years ago
Frank Schroeder b3bfeee100
Revert "local state: fix failing tests"
7 years ago
Frank Schroeder 76682da4a0 local state: fix failing tests
7 years ago
Frank Schroeder 1af52bf7be local state: tests compile
7 years ago
Kyle Havlovitz 198ed6076d Clean up subprocess handling and make shell use optional (#3509)
7 years ago
Kyle Havlovitz bfa70a10ca Fix watch error when http & https are disabled (#3493)
7 years ago
James Phillips f42e85ce22
Removes unused imports in agent_test.go.
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Frank Schroeder 831d84c940 build: make tests independent of build tags
7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs
7 years ago
Preetha Appan aa98aeb4b1 Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes
7 years ago
James Phillips 496b0bcf07 Adds support for agent-side ACL token management via API instead of config files. (#3324)
7 years ago
James Phillips 1774fdc237
Tweaks the error when scripts are disabled.
7 years ago
James Phillips 1791d99a10 Adds new config to make script checks opt-in, updates documentation. (#3284)
7 years ago
James Phillips 0881e46111 Cleans up version 8 ACLs in the agent and the docs. (#3248)
7 years ago
Frank Schroeder 19b937ba80 agent: make Reap test timing less aggressive
8 years ago
Frank Schroeder c218fdbc77 agent: make timing sensitive tests more robust
8 years ago
Frank Schroeder 119f6a1ed7 rpc: monkey patch fix for data races for localState
8 years ago
James Phillips 380c8b957d Changes host-based node IDs from opt-out to opt-in. (#3187)
8 years ago
Frank Schroeder c49a15d0f3 agent: move structs into consul/structs pkg
8 years ago
Frank Schroeder 1c75cf1af5 pkg refactor
8 years ago