Commit Graph

32 Commits (ce0e9759f8538751c1bd03ca005b9144b8a6ba54)

Author SHA1 Message Date
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
Armon Dadgar 410a0de0c8 Seperate localState from Agent
11 years ago
Armon Dadgar cb7541c7af Exposing the agent checks and services over HTTP endpoints
11 years ago
Armon Dadgar 5a087809dc Adding more HTTP endpoints
11 years ago