Commit Graph

135 Commits (970bb771f9563b1af5ebab0e8a03b9f86e93f1cd)

Author SHA1 Message Date
James Phillips defa2a6180 Merge pull request #2226 from abhinavdahiya/rm-health-unknown
8 years ago
James Phillips 4c7a0ed3b0
Merge branch 'master' into f-deregister-critical
8 years ago
James Phillips 9f7a973ace
Adds an `X-Consul-Translate-Addresses` to signal translation is enabled.
8 years ago
James Phillips 1d5eb36689
Adds missing TaggedAddress structures to API client.
8 years ago
James Phillips 231f5a957f
Fixes a typo and adds an admonition about only being in Consul 0.7+.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
Jeff Mitchell f1a67836d8 Use header to send Consul token rather than query param.
8 years ago
Abhinav Dahiya 7c6c3b38bc Fixes #1775; Removes 'unknown' state
8 years ago
Ryan Uber 499537addf api: add query templates
9 years ago
Ryan Uber 72b43eba26 api: add Near parameter to PQ's
9 years ago
James Phillips 778b975e7a Adds a get-tree verb to KV transaction operations.
9 years ago
James Phillips a37bf9de56 Adds a read-only optimized path for transactions.
9 years ago
James Phillips 04d99cd702 Makes get fail a transaction if the key doesn't exist.
9 years ago
James Phillips 4882a9fe43 De-nests the KV output structure (removes DirEnt member).
9 years ago
James Phillips 960b9d6fb6 Switches to "KV" instead of "KV" for the KV operations.
9 years ago
James Phillips 38d0f6676f Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
9 years ago
James Phillips 69f58ad04a Moves txn code into a new endpoint, not specific to KV.
9 years ago
James Phillips 44ab1aa418 Adds type for API ops and an example transaction.
9 years ago
James Phillips e491245062 Performs basic plumbing of KVS transactions through all the layers.
9 years ago
Sean Chittenden 4255a0826d Correct a small typo
9 years ago
Sean Chittenden f1873c21d7 consul/ uses structs.Health*, the api uses api.Health*
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
James Phillips 3340d7ccd7 Merge pull request #1876 from hashicorp/f-tls-helper
9 years ago
James Phillips 0eb6279c5e Improves the comment for the Address field.
9 years ago
Diptanu Choudhury 4811a72d80 Added some constants in the api for check health statuses
9 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 23247b3699 Adds support for new PUT API for checks.
9 years ago
James Phillips afdeb2f1fc Adds support for EnableTagOverride to the API client.
9 years ago
Seth Vargo cae0ff354a Use HTTPS + www. where appropriate
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
James Phillips 49342dc973 Makes the timeout behavior more intuitive.
9 years ago
James Phillips ca08ba3aee Adds the ability for semaphore monitors to ride out brief periods of 500 errors.
9 years ago
James Phillips 8caa9e4c7e Adds "try" support to locks and semaphores.
9 years ago
James Phillips ebff3fe0d0 Builds the insecure SSL transport off the clean default transport.
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 f6546a0e46 Makes the insecure transport work like the default one.
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 380658f6f1 Adds a unit test for lock monitor retries.
9 years ago
James Phillips c2a8fee76c Adds custom retry time for lock monitors.
9 years ago
James Phillips 86e6230de6 Adds a retry capability to lock monitors in the API client.
9 years ago
James Phillips 87ccd1eb34 Updates API docs for version 0.6.0.
9 years ago
Craig Wickesser 7890a3dda8 Fix version support
9 years ago
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