Commit Graph

144 Commits (68b13f4c70371017269be09bcb49a8b5ee691fee)

Author SHA1 Message Date
Daniel Nephin 8a5163b184 local: default to the agent token instead of the user token
4 years ago
Daniel Nephin 32d36d0dd4 config: replace calls to config.NewBuilder with config.Load
4 years ago
Daniel Nephin d113f0e690 structs: Fix printing of IDs
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
Daniel Nephin 33b81067f8 local: mark service and checks as InSync when added
4 years ago
Kit Patella 15af5ead0b trim help strings to save a few bytes
4 years ago
Kit Patella 5da2f1efa8 finish adding static server metrics
4 years ago
Kit Patella 06d59c03b9 add the service name in the agent rather than in the definitions themselves
4 years ago
Kit Patella 24a2471029 first pass on agent-configured prometheusDefs and adding defs for every consul metric
4 years ago
Matt Keeler a3a653342b
Fix a bunch of linter warnings
4 years ago
Matt Keeler c048e86bb2
Switch to using the external autopilot module
4 years ago
Freddy d72f72dcd5
Notify alias checks when aliased service is [de]registered (#8456)
4 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Matt Keeler 9f7b22a5eb
Agent Auto Configuration: Configuration Syntax Updates (#8003)
5 years ago
R.B. Boyer 9cfa4a3fc9
tests: ensure that the ServiceExists helper function normalizes entmeta (#8025)
5 years ago
Pierre Souchay 9813ae512b
checks: when a service does not exists in an alias, consider it failing (#7384)
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
Pierre Souchay cf55e81c06
tests: fix unstable test `TestAgentAntiEntropy_Checks`. (#7594)
5 years ago
Matt Keeler acccdbe45c
Fix identity resolution on clients and in secondary dcs (#7862)
5 years ago
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