Commit Graph

124 Commits (74158a8aa29e74a1887099798b185b9c68078d0f)

Author SHA1 Message Date
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
4 years ago
Matt Keeler 1093212176
Add test to ensure the StopChannelContext works properly
4 years ago
Daniel Nephin 5afcf5c1bc
Merge pull request #8034 from hashicorp/dnephin/add-linter-staticcheck-4
5 years ago
Daniel Nephin d345cd8d30 ci: Add ineffsign linter
5 years ago
Daniel Nephin a9851e1812
Merge pull request #8070 from hashicorp/dnephin/add-gofmt-simplify
5 years ago
Matt Keeler 9f7b22a5eb
Agent Auto Configuration: Configuration Syntax Updates (#8003)
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Daniel Nephin d11674dbb7 decode: do not modify the source data in HookTranslateKeys
5 years ago
Daniel Nephin 66b72039d4 decode: Only recursively unslice when the target is an interface{}
5 years ago
Daniel Nephin a46ce3d841 decode: recursively unslice opaque config
5 years ago
Daniel Nephin 75cbbe2702 config: add HookWeakDecodeFromSlice
5 years ago
Daniel Nephin 99eb583ebc
Replace goe/verify.Values with testify/require.Equal (#7993)
5 years ago
Daniel Nephin 4f2bff174d
Merge pull request #7963 from hashicorp/dnephin/replace-lib-translate-keys
5 years ago
Daniel Nephin 6a2d7d77c0 config: use the new HookTranslateKeys instead of lib.TranslateKeys
5 years ago
Daniel Nephin 1a039393f5 config: add HookTranslteKeys
5 years ago
R.B. Boyer 77f2e54618
create lib/stringslice package (#7934)
5 years ago
R.B. Boyer ddd0a13e27
agent: handle re-bootstrapping in a secondary datacenter when WAN federation via mesh gateways is configured (#7931)
5 years ago
Kyle Havlovitz 89e6b16815 Filter wildcard gateway services to match listener protocol
5 years ago
R.B. Boyer 5f1518c37c
cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler d5f9268222
ACL enforcement for the agent/health/services endpoints (#7191)
5 years ago
R.B. Boyer cf29bd4dcf
cli: improve the file safety of 'consul tls' subcommands (#7186)
5 years ago
Matt Keeler 3a46e1d15f
Make PatchSliceOfMaps case insensitive
5 years ago
Hans Hasselberg 2ad0831b34
agent: fewer file local differences between enterprise and oss (#6820) (#6898)
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
R.B. Boyer 67a36e3452
handle structs.ConfigEntry decoding similarly to api.ConfigEntry decoding (#6106)
5 years ago
R.B. Boyer 38d76c624e
Allow for both snake_case and CamelCase for config entries written with 'consul config write'. (#6044)
5 years ago
Matt Keeler 95d44e0110
Allow MapWalk to handle []interface{} elements that are []uint8 (#5800)
6 years ago
Matt Keeler 0ac6b6faba
Fix up the MapWalk function so that it properly handles nested map[interface{}]interface{} (#5774)
6 years ago
Paul Banks 8f5b16ebaf
Fix uint8 conversion issues for service config response maps.
6 years ago
Matt Keeler d0f410cd84
Make a few config entry endpoints return 404s and allow for snake_case and lowercase key names. (#5748)
6 years ago
Kyle Havlovitz aba54cec55 Add HTTP endpoints for config entry management (#5718)
6 years ago
Matt Keeler 5befe0f5d5
Implement config entry replication (#5706)
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
Matt Keeler 118adbb123
ACL Token Persistence and Reloading (#5328)
6 years ago
Paul Banks ef9f27cbc8
connect: tame thundering herd of CSRs on CA rotation (#5228)
6 years ago
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Paul Banks c6ef6a61c9 Refactor to use embedded struct.
7 years ago
Paul Banks 32f362bad9 StartupTelemetry => InitTelemetry
7 years ago
Paul Banks a7038454fd WIP
7 years ago
Mitchell Hashimoto e9b8e5d265
lib/file: add tests for WriteAtomic
7 years ago
Mitchell Hashimoto 1e7f253b53
agent/proxy: write pid file whenever the daemon process changes
7 years ago
Seth Vargo 0603cda5ee
Add a helper for generating Consul's user-agent string
7 years ago
Paul Banks ff37194fc0
Go fmt cleanup
7 years ago
Preetha Appan fff532cf84
Update serf to pick up clean leave fix
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Phillips d12e81860f
Moves Serf helper into lib to fix import cycle in consul-enterprise.
7 years ago
James Phillips fe36ed6412
Bumps freeport's block size.
7 years ago
Alex Dadgar 358e6827cd
Update cluster.go
7 years ago
Alex Dadgar 6d0b9f4dac Integer division rounding to zero for rate scaling
7 years ago
Alex Dadgar 0fccef237d Initialize freeport lazily to avoid runtime issues
7 years ago
Alex Dadgar 17dcbb1912 Make freeport testing friendly
7 years ago
Frank Schroeder c94751ad43 test: replace porter tool with freeport lib
7 years ago
James Phillips bb12368eac Makes RPC handling more robust when rolling servers. (#3561)
7 years ago
James Phillips b1a15e0c3d
Adds open source side of network segments (feature is Enterprise-only).
7 years ago
Frank Schroeder 3403cd4372 golint: Fix existing comments
8 years ago
James Phillips 7c27ca1f77
Adds missing unit tests and cleans up some router bugs.
8 years ago
James Phillips 1091c7314e
Removes remoteConsuls in favor of the new router.
8 years ago
James Phillips bd605e330c
Adds basic support for node IDs.
8 years ago
Sean Chittenden d695bcaae6 Use a cryptographically secure seed
9 years ago
Sean Chittenden da298f527d Guard against divide by zero in lib.RandomStagger()
9 years ago
Sean Chittenden 3a6be9cab0 Add a helper function DurationMinusBuffer() to calculate an interval
9 years ago
Sean Chittenden 4584e70636 Add lib.AbsInt() helper function
9 years ago
Sean Chittenden 88c42f4056 Move lib's tests to lib_test
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
Sean Chittenden 4fec6a9608 Guard against very small or negative rates
9 years ago
Sean Chittenden 81e1e1c05d Cull unused function and its unit test.
9 years ago
Sean Chittenden 6c1bb78d06 Cull unused function and its unit test.
9 years ago
Sean Chittenden 4382c1f7aa Always seed math/rand on consul startup
9 years ago
Sean Chittenden 7af6a94edb Factor out duplicate functions into a lib package
9 years ago