Commit Graph

175 Commits (f5231b91571083cef41fe95ff2459ecd96728490)

Author SHA1 Message Date
Freddy 3956cff60f
Fix check deletion in anti-entropy sync (#7690)
5 years ago
Daniel Nephin f46d1b5c94 agent/structs: Remove ServiceID.Init and CheckID.Init
5 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent
5 years ago
Daniel Nephin ad7c78f134 Remove t.Name() from TestAgent.Name
5 years ago
Matt Keeler 4f21bbdb4e
OSS Changes for agent local state namespace testing (#7250)
5 years ago
Hans Hasselberg 6a18f01b42
agent: ensure node info sync and full sync. (#7189)
5 years ago
R.B. Boyer d78b5008ce
various tweaks on top of the hclog work (#7165)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Kit Patella 0d336edb65
Add accessorID of token when ops are denied by ACL system (#7117)
5 years ago
Chris Piraino 59f1462801
Fix segfault when removing both a service and associated check (#7108)
5 years ago
Aestek 5dc8875bd3 agent: do not deregister service checks twice (#6168)
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
Sarah Adams 001137e5e5
test: ensure all TestAgent constructions use a constructor (#6443)
5 years ago
Sarah Adams 4ed5515fca
refactor & add better retry logic to NewTestAgent (#6363)
5 years ago
Matt Keeler 42d608587f
Store primaries root in secondary after intermediate signature (#6333)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Freddy 5873c56a03
Flaky test overhaul (#6100)
5 years ago
Aestek 24a0f2bba2 ae: use stale requests when performing full sync (#5873)
6 years ago
R.B. Boyer 40336fd353
agent: fix several data races and bugs related to node-local alias checks (#5876)
6 years ago
Freddy f2213f60e0
Update alias checks on local add and remove
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
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
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 c23eb91262 fix TestAgent_CheckCriticalTime and better error output
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
Aestek 5960974db1 [Fix] Services sometimes not being synced with acl_enforce_version_8 = false (#4771)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Paul Banks 0f27ffd163 Proxy Config Manager (#4729)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Pierre Souchay eddcf228ea Implementation of Weights Data structures (#4468)
6 years ago
Martin feb3ce4ee0 Use target service name instead of ID as connect proxy service name (#4620)
6 years ago
Siva Prasad b1a34f899f
TestAgentAntiEntropy: Wait until Consul service is up on the agent. (#4591)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Mitchell Hashimoto b3854fdd28
agent/local: silly spacing on select statements
6 years ago
Mitchell Hashimoto 8c72bb0cdf
agent/local: address remaining test feedback
6 years ago
Mitchell Hashimoto 9f128e40d6
agent/local: don't use time.After in test since notify is instant
6 years ago
Mitchell Hashimoto f97bfd5be8
agent: address some basic feedback
6 years ago
Mitchell Hashimoto 7543d270e2
agent/local: support local alias checks
6 years ago
Pierre Souchay ff53648df2 Merge remote-tracking branch 'origin/master' into ACL_additional_info
6 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 ba0fb58a72 Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
7 years ago
Paul Banks e21723a891 Persist proxy state through agent restart
7 years ago
Mitchell Hashimoto 3d3eee2f6e
agent: resolve some conflicts and fix tests
7 years ago
Mitchell Hashimoto d9bd4ffebd
agent/local: clarify the non-risk of a full buffer
7 years ago
Mitchell Hashimoto 437689e83c
agent/local: remove outdated comment
7 years ago
Mitchell Hashimoto fcd2ab2338
agent/proxy: manager and basic tests, not great coverage yet coming soon
7 years ago
Mitchell Hashimoto 2bd39a84a6
agent/local: add Notify mechanism for proxy changes
7 years ago
Mitchell Hashimoto 476ea7b04a
agent: start/stop proxies
7 years ago
Mitchell Hashimoto 7355a614fe
agent/local: store proxy on local state, wip, not working yet
7 years ago
Paul Banks e0e12e165b
TLS watching integrated into Service with some basic tests.
7 years ago
Paul Banks 730da74369
Fix various test failures and vet warnings.
7 years ago
Paul Banks 2a69663448
Agent Connect Proxy config endpoint with hash-based blocking
7 years ago
Paul Banks e6071051cf
Added connect proxy config and local agent state setup on boot.
7 years ago
Mitchell Hashimoto 9781cb1ace
agent/local: anti-entropy for connect proxy services
7 years ago
Pierre Souchay c83124a94c Removed labels from new ACL denied metrics
7 years ago
Pierre Souchay 064f8ad170 Removed consul prefix from metrics as requested by @kyhavlov
7 years ago
Pierre Souchay 65d3a2b26e Fixed import
7 years ago
Pierre Souchay f13aa5ba9b Added labels to improve new metric
7 years ago
Pierre Souchay d9a23bb2fa Track calls blocked by ACLs using metrics
7 years ago
Guido Iaquinti 8cd11d5888 Add package name to log output
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
James Phillips 2937656f8e
Adds a longer retry period for the AE deferred output test.
7 years ago
Frank Schroeder 1cb8b0ffe3
local state: fix go vet issue
7 years ago
Frank Schroeder 7335c34c32
local state: remove stale comment
7 years ago
Frank Schroeder 3d547e30c7
local state: make test more robust
7 years ago
Frank Schroeder 52e73301f6
local state: clone check to avoid side effect
7 years ago
Frank Schroeder 6bc9d66192
local state: use synchronized access to internal maps
7 years ago
Frank Schroeder 58d52ac580
local state: rename Add{Check,Service}State to Set{Check,Service}State
7 years ago
Frank Schroeder e144f51b29
local state: move Metadata methods together
7 years ago
Frank Schroeder 4f9e05f634
local state: update documentation of updateSyncState
7 years ago
Frank Schroeder 41c7b0927e
local state: update comments
7 years ago
Frank Schroeder de57b16d99
local state: address review comments
7 years ago
Frank Schroeder 5c77c59501
local state: refactor TestAgentAntiEntropy_EnableTagOverride
7 years ago
Frank Schroeder 524981f367
local state: fix TestAgentAntiEntropy_EnableTagOverride
7 years ago
Frank Schroeder 1181aaee6a
local state: rename tests
7 years ago
Frank Schroeder 1602ac56b5
local state: drop retry loops from tests
7 years ago
Frank Schroeder 71c74e62c7
local state: fix anti-entropy state tests
7 years ago
Frank Schroeder 37b95ef98e
local state: fix test with updated error message
7 years ago
Frank Schroeder b803bf3091
local state: tests compile
7 years ago
Frank Schroeder 0a9ac9749e
local state: replace multi-map state with structs
7 years ago
Frank Schroeder 6027a9e2a5
local state: move to separate package
7 years ago
Frank Schroeder 67a0689f71
Revert "local state: move to separate package"
7 years ago
Frank Schroeder 623e07760a
Revert "local state: replace multi-map state with structs"
7 years ago
Frank Schroeder 9ed4b2d631
Revert "local state: tests compile"
7 years ago
Frank Schroeder 5ae4c52ca6
Revert "local state: fix test with updated error message"
7 years ago
Frank Schroeder 67cdfc038e
Revert "local state: fix anti-entropy state tests"
7 years ago
Frank Schroeder 556bf3f85d
Revert "local state: drop retry loops from tests"
7 years ago
Frank Schroeder a3aa864d5b
Revert "local state: rename tests"
7 years ago
Frank Schroeder 39615cb57b
Revert "local state: fix TestAgentAntiEntropy_EnableTagOverride"
7 years ago
Frank Schroeder 9fdea75d99
Revert "local state: refactor TestAgentAntiEntropy_EnableTagOverride"
7 years ago
Frank Schroeder 46641e44d9
Revert "local state: address review comments"
7 years ago
Frank Schroeder abd83f2d28
Revert "local state: update comments"
7 years ago
Frank Schroeder c6e441dd60
Revert "local state: update documentation of updateSyncState"
7 years ago
Frank Schroeder 648b4da4f8
Revert "local state: move Metadata methods together"
7 years ago