Commit Graph

87 Commits (339e050163d92feab334bb2847bf06f851cdfd03)

Author SHA1 Message Date
Daniel Nephin 6ac9149c3f api: properly close the response body
4 years ago
Rémi Lapeyre 213524a657
Always set the Content-Type header when a body is present (#10204)
4 years ago
Conor Mongey 7a368bd2b6
Move header methods from config to client
4 years ago
Conor Mongey eb65e59741
Only override headers if they're set
4 years ago
Conor Mongey f647569b84
Prefer http.Header over map[string]string to allow for multi-valued headers
4 years ago
Conor Mongey cdc8cd7b0e
Allow setting arbitrary headers in API client
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
R.B. Boyer 8baf158ea8
Revert "Add namespace support for metrics (OSS) (#9117)" (#9124)
4 years ago
Freddy 06b3b017d3
Add namespace support for metrics (OSS) (#9117)
4 years ago
Seth Hoenig 9fab3fe990
api: create fresh http client for unix sockets (#8602)
4 years ago
Daniel Nephin 0888c6575b Step 3: fix a bug in api.NewClient and fix the tests
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Michel Vocks 6681be918a api: add option to set TLS options in-memory for API client (#7093)
5 years ago
Matt Keeler 34e6e23d43
Change how namespaces are specified for the CLI (#6960)
5 years ago
Matt Keeler b069d6777b
OSS KV Modifications to Support Namespaces
5 years ago
Sarah Christoff 5e26971864
Prune Unhealthy Agents (#6571)
5 years ago
Freddy 2274f64cab
Add Namespace as an api query/write option (#6551)
5 years ago
Sarah Adams 8ff1f481fe
add flag to allow /operator/keyring requests to only hit local servers (#6279)
5 years ago
Pavel Drankov b3a0b273ed api: update link to agent caching in comments (#5935)
6 years ago
R.B. Boyer e47d7eeddb acl: adding support for kubernetes auth provider login (#5600)
6 years ago
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
6 years ago
R.B. Boyer f4a3b9d518
fix typos reported by golangci-lint:misspell (#5434)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Philipp Gillé 2de7fefedd Remove wrong space character (#4910)
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Matt Keeler c54b43bef3 PR Updates
6 years ago
Matt Keeler 3b6eef8ec6 Pass around an API Config object and convert to env vars for the managed proxy
6 years ago
Mitchell Hashimoto 77a8003475 api: change Connect to a query option
7 years ago
Paul Banks cd88b2a351
Basic `watch` support for connect proxy config and certificate endpoints.
7 years ago
Paul Banks 36dbd878c9
Adds `api` client code and tests for new Proxy Config endpoint, registering with proxy and seeing proxy config in /agent/services list.
7 years ago
Josh Soref 94835a2715 Spelling (#3958)
7 years ago
Anubhav Mishra 0813175340
fix typo
7 years ago
Veselkov Konstantin 7de57ba4de remove golint warnings
7 years ago
James Phillips 93f68555d0
Adds enable_agent_tls_for_checks configuration option which allows (#3661)
7 years ago
James Phillips 4a2cafe525
Adds HTTP/2 support to Consul's HTTPS server. (#3657)
7 years ago
Ryan Slade 85e4aea9d1 Replace time.Now().Sub(x) with time.Since(x)
7 years ago
James Bardin fea32fb7d7 retry locks on network errors (#3553)
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Kyle Havlovitz 2ada0439d4
Add rpc_listener option to segment config
7 years ago
Illirgway e0cc1ce679 Fix bug with unused (replaced with "") CONSUL_HTTP_AUTH in some places
7 years ago
James Phillips 8d0a048408 Expands and rework context support in the API client. (#3273)
7 years ago
Preetha Appan 9eaf56bfe3 Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018
8 years ago
James Phillips 3baa703d02 Merge pull request #3077 from jwasinger/issue-2850
8 years ago
Jared Wasinger d2ef61d079 Prevent Session.Destroy from leaving open TCP connections
8 years ago
Kyle Havlovitz 4e44db87e3
Don't overwrite Transport's TLS config if it's been set
8 years ago
Kyle Havlovitz 04f1ff78f8 Remove superfluous default HttpClient check in NewClient
8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else
8 years ago