Commit Graph

53 Commits (6688a510e11ac73897294b8d17c0079faba5a139)

Author SHA1 Message Date
Frank Schroeder eddb1af603 Remove duplicate constants
8 years ago
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln
8 years ago
Seth Vargo 0170a28ec9
Use new APIs
8 years ago
Kyle Havlovitz 52d6fd831e
Add support for setting node metadata fields
8 years ago
James Phillips 03f40116f4
Adds complete ACL coverage for non-utility agent endpoints.
8 years ago
James Phillips 01b6766099
Adds complete ACL support for agent utility endpoints.
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Kyle Havlovitz 338e36cc5d Add logWriter to agent Create() method
8 years ago
Kyle Havlovitz 124f907063 Add monitor http endpoint
8 years ago
James Phillips a48463f100
Removed bad error message for health check status.
8 years ago
James Phillips 4a3d7db24f
Adds ability to deregister a service based on critical check state longer than a timeout.
8 years ago
James Phillips bd5e5bf19c Adds consul info data into /v1/agent/self endpoint.
8 years ago
Sean Chittenden 63adcbd5ef
Revert "Move `structs.CheckID` to a new top-level package, `types`."
9 years ago
Sean Chittenden cbb945e76a
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden f5ab25163e
Move `structs.CheckID` to a new top-level package, `types`.
9 years ago
Sean Chittenden ddbe64a8c8
Float a type balloon. Some strings are square pegs in round holes.
9 years ago
James Phillips f46fa33278 Tweaks formatting of inline output messages.
9 years ago
James Phillips 7ebad899da Adds a new PUT-based TTL check update endpoint.
9 years ago
Ryan Slade dd98602bd7 Updated invalid check error message.
9 years ago
James Phillips 660da92152 Makes the default protocol 2 and lets 3 interoperate with 2.
9 years ago
James Phillips f9da231a1c Adds coordinate of agent to self endpoint.
9 years ago
Ryan Uber 125d7fd4ee agent: thread tokens through for maintenance mode
9 years ago
Armon Dadgar 8d86290ebf Fixing merge conflict
10 years ago
Ryan Uber 2b62f2f172 agent: use an additional parameter for passing tokens
10 years ago
Ryan Uber 442933650e agent: safer read methods for tokens
10 years ago
Ryan Uber bebb5d9641 agent: add service/check token methods to reduce invasiveness
10 years ago
Ryan Uber bfb27d18cd agent: initial pass threading through tokens for services/checks
10 years ago
Ryan Mills 275af975e8 Allow specifying a status field in the agent/service/register and agent/check/register endpoints.
10 years ago
Ryan Uber 6ce6d2d806 agent: write API's on /v1/agent block for anti-entropy
10 years ago
Ryan Uber 8b0fe52be2 agent/http: fix service registration with nil checks value
10 years ago
Ryan Uber 61d17e65f5 agent: prevent duplicate error messages for maintenance api
10 years ago
Ryan Uber f00b5b542e agent: support passing ?reason= for custom notes field values on maintenance checks
10 years ago
Ryan Uber 9c69dc05fb agent: use strconv.ParseBool for parsing maintenance enable flag
10 years ago
Ryan Uber 2a7211cd5d agent: support adding multiple checks during service registration from the API
10 years ago
Ryan Uber 674be58e55 agent: support multiple checks per service
10 years ago
Ryan Uber 7748c62d09 agent: node maintenance mode works
10 years ago
Ryan Uber 9ee1e6e858 agent: maintenance mode api's are idempotent
10 years ago
Ryan Uber 35c10a902f agent: test http endpoints for maintenance mode
10 years ago
Ryan Uber 2973cd9131 agent: first pass at service maintenance mode
10 years ago
Ryan Uber b7587cac42 agent: allow config reload to modify checks/services persistence
10 years ago
Ryan Uber 9f9087badb agent: prefer config over persisted services/checks (#497)
10 years ago
William Tisäter d794a18761 Return both member and config in `/v1/agent/self`
11 years ago
William Tisäter d0e447d29b Add `/v1/agent/self` and return local agent config
11 years ago
Tarrant 32da5b2de0 When mangaling JSON to parse durations do a case insensitive key lookup
11 years ago
Armon Dadgar 00bedd4020 agent: Fix decoding of checks. Fixes #60
11 years ago
Armon Dadgar 779e6df7b8 website: finish the HTTP documentation
11 years ago
Armon Dadgar 1a5158212c agent: First pass at parsing service and check definition
11 years ago
Armon Dadgar 37cb0bd3f2 agent: First pass at register service and check locally
11 years ago
Armon Dadgar 964147c452 agent: First pass at the easy endpoints
11 years ago
Armon Dadgar 959ea3d5ec agent: Skeleton for HTTP based service/check registration
11 years ago