Commit Graph

43 Commits (b7498b3079be328d879f7a203e4e7b0490373d25)

Author SHA1 Message Date
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_
7 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
Ryan Uber 78f9f53bf1 testutil: exposing the API address from the test server
10 years ago
Ryan Uber 37f6301856 testutil: initial pass at moving test server harness into testutil
10 years ago
Seth Vargo b4f8c98fbb Read select environment variables when generating the default configuration
10 years ago
Ryan Uber 33390779eb api: remove unneeded static config
10 years ago
Armon Dadgar d998bb3d67 Fixing merge conflict
10 years ago
Armon Dadgar 14691f7e29 api: Detect conflicting existing values for lock/semaphore
10 years ago
Ryan Uber 4b635738bf api: simple test for unix socket connectivity
10 years ago
Ryan Uber 4c3ec248a5 agent: fixing up tests
10 years ago
Ryan Uber 4675cdf01c agent: beginning refactor
10 years ago
Jeff Mitchell 9fcea08dbb Ensure a socket is created for permissions adjustment tests and fix some
10 years ago
Jeff Mitchell 70dd5a1e81 Unix socket-based HTTP API test functionality. As a consequence this
10 years ago
Armon Dadgar c19b0e2ab2 api: Enable debug output from Consul for tests
10 years ago
Ryan Uber fab30406be api: test for a known leader as well as index > 0
10 years ago
Ryan Uber 6c4ff58d2a api: improve test reliability
10 years ago
Ryan Uber f49189252e api: run consul instance on testing ports
10 years ago
Ryan Uber 8455077e5d api: add harnessing for tests
10 years ago
Ryan Uber 5555e0eb9b api: initial import from armon/consul-api
10 years ago