Commit Graph

241 Commits (fb702327fabd4b7b3eee92ee3c25c6fe34ab35ea)

Author SHA1 Message Date
James Phillips 95c708f65e Adds Docker checks support to client API.
9 years ago
James Phillips 1059a8b3a3 Removes a useless empty import and fixes some stale comments.
9 years ago
James Phillips 8fc6a6a986 Switches to helpers for prepared query API wrappers.
9 years ago
James Phillips 712a3dba2f Adds API client support for prepared queries.
9 years ago
James Phillips 787f946f8d Adds support for coordinates to client API.
9 years ago
Mikhail Dyakov 01aba571a1 Handle error in api README example
9 years ago
Jeff Mitchell 1e3840b044 Update cleanhttp repo location
9 years ago
Jeff Mitchell 9a5fd5424a Use cleanhttp to get rid of DefaultTransport
9 years ago
James Phillips 2c36c4f969 Fixes a typo.
9 years ago
James Phillips 181c216f53 Fixes index management for KVS.
9 years ago
Jeff Mitchell f49fc095ef Don't use http.DefaultClient
9 years ago
James Phillips c74355fec0 Merge pull request #1041 from rboyer/api-fix-session-renew
9 years ago
Dale Wijnand 5a28ebcaa3 Fix a bunch of typos.
9 years ago
R.B. Boyer 8b072467eb Correct the Session.Renew{,Periodic} to handle session expiration better
9 years ago
Anthony Scalisi 10e028d599 remove various typos
9 years ago
Peter Fern b023904298 Add TCP check type
9 years ago
Robert Gogolok 2b8d0c4785 api: run ACL tests by default
10 years ago
James Phillips de29cb4968 Fixes a broken unit test introduced by #834.
10 years ago
Armon Dadgar c2f8f954e2 Merge pull request #1008 from highlyunavailable/master
10 years ago
Ryan Uber 20a2d19198 Merge pull request #834 from apoydence/master
10 years ago
Tiru Srikantha 3d97ea0bae Check to see why a lock acquisition failed
10 years ago
highlyunavailable 16de0a909b Remove unused DefaultSemaphoreRetryTime
10 years ago
Armon Dadgar dc6795a55a api: improve test reliability
10 years ago
Ryan Uber 72ee584df3 Fix tests after merge
10 years ago
Armon Dadgar 8d86290ebf Fixing merge conflict
10 years ago
Armon Dadgar db134f6190 Merge pull request #912 from rojojo23/renew-periodic
10 years ago
Ryan Uber 565cac0340 api: run tests in parallel
10 years ago
Robert Johnson 379a69d7a4 modify RenewPeriodic to retry failed Renews until TTL elapses
10 years ago
Armon Dadgar 5921fcb29b api: Fixing test compilation issue
10 years ago
Armon Dadgar 0450854f12 Merge pull request #861 from fraenkel/reclaim_lock
10 years ago
Michael Fraenkel 0e25381494 Reclaim locks
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
Andrew Poydence b5f6451e74 Returns an error for a key with a '/'
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
Chris Grieger f70ccdb4d2 Add 'ServiceAddress' field to 'CatalogService's truct
10 years ago
Ryan Uber 33390779eb api: remove unneeded static config
10 years ago
Armon Dadgar 5f627fca1b api: Refactoring into shared write logic
10 years ago
Armon Dadgar c0c9fb58ce api: Refactoring into shared query logic
10 years ago
Ryan Uber 5c2a764cbe api: allow timeout field to be specified for checks
10 years ago
Nicholas Capo 8cbca78b29 api/agent: Support HTTP service checks in client api
10 years ago
Armon Dadgar 17d1c392e4 CHANGELOG update, gofmt
10 years ago
Armon Dadgar e1a5d537d4 Merge pull request #625 from hashicorp/f-maintcmd
10 years ago
Dr. Stefan Schimanski acd9efbc40 Add test case for service Address field
10 years ago
Dr. Stefan Schimanski a85575dcaa Add agent service Address field to the api
10 years ago
Ryan Uber 089c4396c4 api: support reason flag for maintenance mode
10 years ago
Ryan Uber e088240c95 api: finish up maintenance tests
10 years ago
Ryan Uber e47b64197e api: add node/service maintenance mode functions
10 years ago
Ryan Uber 197a5a9a9a api: support multiple checks during service/check registration
10 years ago
Armon Dadgar d998bb3d67 Fixing merge conflict
10 years ago
Armon Dadgar 2e281dc51f api: Fixing some comments
10 years ago
Armon Dadgar 7195de51a2 api: Refactor to share session renew code
10 years ago
Armon Dadgar 14691f7e29 api: Detect conflicting existing values for lock/semaphore
10 years ago
Armon Dadgar 4fef14163d api: Make channels receive only
10 years ago
Ryan Uber b30af9536d Merge pull request #608 from imkira/fixBodyLeak
10 years ago
Mário Freitas f45105383c fixed: requireOK should close Body on error
10 years ago
Mário Freitas f30237a92e Revert "fixed: body not closed for non HTTP 200 responses"
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
Mário Freitas dafa61ad10 fixed: body not closed for non HTTP 200 responses
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
Jeff Mitchell 11a3ce0bdd RPC and HTTP interfaces fully generically-sockified so Unix is supported.
10 years ago
Armon Dadgar 7ed1449b6c api: Adding Destroy to cleanup a semaphore
10 years ago
Armon Dadgar 9608108e64 api: Adding Destroy to cleanup a lock
10 years ago
Armon Dadgar 94d7022a88 api: Add support for DeleteCAS
10 years ago
Armon Dadgar f2e1594814 Merge pull request #600 from hashicorp/f-api-semaphore
10 years ago
Armon Dadgar ed6abe05fb api: Changing default semaphore key
10 years ago
Armon Dadgar 4a038927ee api: More reliable session check
10 years ago
Armon Dadgar c19b0e2ab2 api: Enable debug output from Consul for tests
10 years ago
Ryan Uber 78328ec149 api: make node health test more reliable
10 years ago
Armon Dadgar 5107f5d1f9 api: More semaphore tests
10 years ago
Armon Dadgar 8ad16ca390 api: Adding semaphore tests and fixes
10 years ago
Armon Dadgar b39374acae api: First pass at semaphore
10 years ago
Armon Dadgar c291acd96e api: Minor cleanups in lock
10 years ago
Armon Dadgar 3cba4df127 Merge pull request #594 from hashicorp/f-api-lock
10 years ago
Armon Dadgar 7225088c7d api: Fixing typo
10 years ago
Armon Dadgar e05ab983ab api: Fixing typos
10 years ago
Armon Dadgar 854aef82b0 api: Adding Lock helpers for leader election
10 years ago
Ryan Uber fab30406be api: test for a known leader as well as index > 0
10 years ago
Ryan Uber cb1b722813 api: improve reliability of catalog endpoint tests
10 years ago
Armon Dadgar bb3829c2d9 api: Adding constants for session behaviors
10 years ago
Ryan Uber 60ebd63760 Import HTTP basic auth patch from armon/consul-api#16
10 years ago
Ryan Uber 6c4ff58d2a api: improve test reliability
10 years ago
Ryan Uber 0c6c06cb0c api: use WaitForResult() to improve health tests
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