Commit Graph

67 Commits (499250cbf1a7c340998784bd9539074f49ef1fac)

Author SHA1 Message Date
Evan Culver 8fce7083c1
tests: skip cases that depend on test server when -short flag set (#10576)
3 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 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
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall
4 years ago
Daniel Nephin 51efba2c7d testutil: NewLogBuffer - buffer logs until a test fails
4 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
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
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
Freddy 5873c56a03
Flaky test overhaul (#6100)
5 years ago
Freddy 0b9111714b
Update TestServer creation in sdk/testutil (#6084)
5 years ago
R.B. Boyer e47d7eeddb acl: adding support for kubernetes auth provider login (#5600)
6 years ago
Matt Keeler afa1cc98d1
Implement data filtering of some endpoints (#5579)
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
Matt Keeler 18b29c45c4
New ACLs (#4791)
6 years ago
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541)
6 years ago
Pierre Souchay 22500f242e Fix unstable tests in agent, api, and command/watch
6 years ago
Matt Keeler 7dfd2ab316 Add some tests for GenerateEnv
6 years ago
James Bardin fea32fb7d7 retry locks on network errors (#3553)
7 years ago
Frank Schröder 21118cafeb Recursive sanitize (#3505)
7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480)
7 years ago
Frank Schroeder 8edeabce9a api: refactor: prefix all API tests with API_
8 years ago
Frank Schroeder 65b5c51ec7 test: add helper for ioutil.TempDir/TempFile
8 years ago
Frank Schroeder 3522a41bad test: include test name in temp file/dir
8 years ago
Kyle Havlovitz cd56a5ebdd Add separate option for verifying incoming HTTPS traffic (#2974)
8 years ago
Kyle Havlovitz c6d0b4cf90 Make the API client's httpClient more pluggable (#2926)
8 years ago
Kyle Havlovitz ae6bf56ee1
Add tls client options to api/cli
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Jeff Mitchell 44733caf5c Update unix dial functions to use DialContext with new go-cleanhttp
8 years ago
James Phillips c744792fc4 Merge pull request #2238 from hasyimibhar/master
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
Hasyimi Bahrudin 105cea9bae Add api environment variables as constants for consistency
8 years ago
Hasyimi Bahrudin bb6bb19aad Remove redundant hardcoded environment variables
8 years ago
Jeff Mitchell f1a67836d8 Use header to send Consul token rather than query param.
8 years ago
James Phillips 1cfed981b3 Adds TLS config helper to API client.
9 years ago
James Phillips abacccd6e5 Switches default for API client to pooled connections.
9 years ago
James Phillips 58fb27e70f Factors server error checking into a new function.
9 years ago
James Phillips c048c5aca6 Makes the API behave better with small wait values.
9 years ago
Jeff Mitchell 4604af6aa5 Revert "Adds client and transport pooling in the API so we don't leak connections."
9 years ago
James Phillips d57e60a123 Adds client and transport pooling in the API so we don't leak connections.
9 years ago
James Phillips 787f946f8d Adds support for coordinates to client API.
9 years ago
Robert Gogolok 2b8d0c4785 api: run ACL tests by default
10 years ago
Ryan Uber 565cac0340 api: run tests in parallel
10 years ago
Ryan Uber fa7414e276 testutil: Use HTTPAddr
10 years ago