Commit Graph

223 Commits (3c3bdba926f97fa65fac00c50bf4ff081d4889d7)

Author SHA1 Message Date
Daniel Nephin e8312d6b5a testing: remove unnecessary calls to freeport
3 years ago
Daniel Nephin d795a73f78 testing: use the new freeport interfaces
3 years ago
Daniel Nephin 8c7475d95e sdk: add freeport functions that use t.Cleanup
3 years ago
Mark Anderson 7e8228a20b
Remove some usage of md5 from the system (#11491)
3 years ago
Daniel Nephin 51d8417545
Merge pull request #10690 from tarat44/h2c-support-in-ping-checks
3 years ago
Dhia Ayachi 2801785710
regenerate expired certs (#11462)
3 years ago
R.B. Boyer ef559dfdd4
agent: refactor the agent delegate interface to be partition friendly (#11429)
3 years ago
tarat44 1e8e44d442 fix formatting
3 years ago
tarat44 c1ed3a9a94 change config option to H2PingUseTLS
3 years ago
tarat44 3c9f5a73d9 add support for h2c in h2 ping health checks
3 years ago
R.B. Boyer 5b6d96d27d
grpc: ensure that streaming gRPC requests work over mesh gateway based wan federation (#10838)
3 years ago
Evan Culver 710bd90ef7
checks: Add Interval and Timeout to API response (#10717)
3 years ago
R.B. Boyer fc9b1a277d
sync changes to oss files made in enterprise (#10670)
3 years ago
R.B. Boyer 188e8dc51f
agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669)
3 years ago
Daniel Nephin 970f5d78ec agent: fix two data race in agent tests
3 years ago
Daniel Nephin 3a045cca8d ca: remove unused RotationPeriod field
3 years ago
Daniel Nephin 8b365f8271 Remove a racy and failing test
3 years ago
R.B. Boyer a2876453a5
connect/ca: cease including the common name field in generated certs (#10424)
3 years ago
Matt Keeler 234d0a3c2a Preparation for changing where license management is done.
4 years ago
Iryna Shustava d7d44f6ae7
Save exposed ports in agent's store and expose them via API (#10173)
4 years ago
Daniel Nephin e229b877d8 health: create health.Client in Agent.New
4 years ago
Tara Tufano 9deb52e868
add http2 ping health checks (#8431)
4 years ago
Daniel Nephin f36d77ee4a
Merge pull request #9301 from hashicorp/dnephin/add-service-2
4 years ago
R.B. Boyer c608dc0d60
server: initialize mgw-wanfed to use local gateways more on startup (#9528)
4 years ago
Daniel Nephin 1495291054 agent: move two fields off of AddServiceRequest
4 years ago
Daniel Nephin 3d39359bcb agent: move deprecated AddServiceFromSource to a test file
4 years ago
Daniel Nephin 6757231b82 agent: rename AddService->AddServiceFromSource
4 years ago
Daniel Nephin d113f0e690 structs: Fix printing of IDs
4 years ago
Michael Montgomery e4f603dfae Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Michael Montgomery 817903b925 Fixed failing tests
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
Michael Montgomery 585c84e9ff Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
4 years ago
Daniel Nephin 79963be559 Use freeport
4 years ago
Daniel Nephin 738bf9efdc agent: fix bug with multiple listeners
4 years ago
Michael Montgomery 5b6ac035ff Resolves #6074. Adds new option to configure HTTP Server's MaxHeaderBytes with option `-http-max-header-bytes`
4 years ago
Mathilde Gilles 1c8369b3c3 Fix: service LocallyRegisteredAsSidecar property is not persisted
4 years ago
R.B. Boyer 9801ef8eb1
agent: enable enable_central_service_config by default (#8746)
4 years ago
R.B. Boyer 7eef25daf5
agent: when enable_central_service_config is enabled ensure agent reload doesn't revert check state to critical (#8747)
4 years ago
Daniel Nephin c18516ad7d
Merge pull request #8680 from hashicorp/dnephin/replace-consul-opts-with-base-deps
4 years ago
Daniel Nephin cdd392d77f agent/consul: pass dependencies directly from agent
4 years ago
Daniel Nephin 0bb9c318b7 http: fix tests incorrectly using HTTPAddr to get the address of the
4 years ago
Daniel Nephin 4c9ed41eab
Merge pull request #8554 from hashicorp/dnephin/agent-setup-persisted-tokens
4 years ago
Daniel Nephin 6ca45e1a61 agent: add apiServers type for managing HTTP servers
4 years ago
Daniel Nephin 330be5b740 agent/token: Move token persistence out of agent
4 years ago
Daniel Nephin 72bf350069
Merge pull request #8552 from pierresouchay/reload_cache_throttling_config
4 years ago
Pierre Souchay 9a64d3e5fe Also test reload of EntryFetchMaxBurst
4 years ago
Matt Keeler f97cc0445a
Move RPC router from Client/Server and into BaseDeps (#8559)
4 years ago
Pierre Souchay 5842a902df Tests that changes in rate limit are taken into account by agent
4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall
4 years ago
Daniel Nephin 3a4e62836b testing: Remove TestAgent.Key and change TestAgent.DataDir
4 years ago
Daniel Nephin 0738eb8596 Extract nodeID functions to a different file
4 years ago
Daniel Nephin 38980ebb4c config: Make Source an interface
4 years ago
Matt Keeler 1a78cf9b4c
Ensure certificates retrieved through the cache get persisted with auto-config (#8409)
4 years ago
Matt Keeler 34034b76f5
Agent Auto Config: Implement Certificate Generation (#8360)
4 years ago
Matt Keeler 83d09de230
Fix some broken code in master
4 years ago
Pierre Souchay 505de6dc29
Added ratelimit to handle throtling cache (#8226)
4 years ago
Matt Keeler 6e7acfa618
Add an AutoEncrypt “integration” test
4 years ago
Daniel Nephin 0279bf6fe5 Update TestAgent_GetCoordinate
4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
4 years ago
Matt Keeler b0fcf86140 Change auto config authorizer to allow for future extension
5 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Hans Hasselberg dfcf45c6cf
tests: use constructor instead init (#8024)
5 years ago
Pierre Souchay 9813ae512b
checks: when a service does not exists in an alias, consider it failing (#7384)
5 years ago
Daniel Nephin 99eb583ebc
Replace goe/verify.Values with testify/require.Equal (#7993)
5 years ago
Daniel Nephin 600645b5f9 Add unconvert linter
5 years ago
Pierre Souchay 2a8bf45e38
agent: show warning when enable_script_checks is enabled without safty net (#7437)
5 years ago
Daniel Nephin e759daafdd Rename NewTestAgentWithFields to StartTestAgent
5 years ago
Daniel Nephin f9f6b14533 Convert the remaining calls to NewTestAgentWithFields
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
Daniel Nephin dd40a1535e testing: reduce verbosity of output log
5 years ago
Chris Piraino 136099d834
Fix flakey health check reload test (#7490)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Pierre Souchay 864f7efffa
agent: configuration reload preserves check's statuses for services (#7345)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago
Matt Keeler 5934f803bf
Sync of OSS changes to support namespaces (#6909)
5 years ago
Matt Keeler 8f0ab0129e
Miscellaneous Fixes (#6896)
5 years ago
Freddy 60f6ec0c2f
Store check type in catalog (#6561)
5 years ago
R.B. Boyer 9566df524e
agent: cache notifications work after error if the underlying RPC returns index=1 (#6547)
5 years ago
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
5 years ago
R.B. Boyer 5882e21b2b
agent: tolerate more failure scenarios during service registration with central config enabled (#6472)
5 years ago
R.B. Boyer f9496dc627 sdk: add freelist tracking and ephemeral port range skipping to freeport
5 years ago
Sarah Adams 001137e5e5
test: ensure all TestAgent constructions use a constructor (#6443)
5 years ago
Sarah Adams 74461406e0
remove funky panic/recover in agent tests (#6442)
5 years ago
Sarah Adams 4ed5515fca
refactor & add better retry logic to NewTestAgent (#6363)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Paul Banks f38da47c55
Allow raft TrailingLogs to be configured. (#6186)
5 years ago
R.B. Boyer b16d7f00bc
agent: avoid reverting any check updates that occur while a service is being added or the config is reloaded (#6144)
5 years ago
Hans Hasselberg 33a7df3330
tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597)
5 years ago
Pierre Souchay 0e907f5aa8 Support for maximum size for Output of checks (#5233)
5 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