Commit Graph

45 Commits (edbb0ce0b840a2d7693f8742eb3645cc94ee0b30)

Author SHA1 Message Date
Kyle Havlovitz e44bcb9716
Add tests for node metadata functionality
8 years ago
James Phillips 171ec6e487
Fixes a race in the monitor endpoint test that would cause panics.
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
James Phillips 34da7ccd64
Adds a unit test to make sure the status endpoint doesn't ever show anything
8 years ago
Kyle Havlovitz ead30ca62b Fix race issue in monitor endpoint test
8 years ago
Kyle Havlovitz bd69c6d871 Add reload/leave http endpoints (#2516)
8 years ago
Seth Vargo 4179aacf11
Add an API method for determining the best status
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
Kyle Havlovitz 3add830b3a Test fixes (#2434)
8 years ago
Sean Chittenden e9a2f5b40c
Chase casting types.CheckID to a string into the state_store.
9 years ago
Sean Chittenden e63d3a1275 Update Check API to use constants
9 years ago
James Phillips 7ebad899da Adds a new PUT-based TTL check update endpoint.
9 years ago
James Phillips f9da231a1c Adds coordinate of agent to self endpoint.
9 years ago
Ryan Uber 039938a7e0 agent: testing node/service maintenance using tokens
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 35f5a65fb7 agent: more tests
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 5aa69827f8 agent: fix test
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 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 ba2d0fa7e3 agent: maintenance logging + unique service check IDs
10 years ago
Ryan Uber 8cf4e9889e agent: test node maintenance mode
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 9f9087badb agent: prefer config over persisted services/checks (#497)
10 years ago
Ryan Uber 10610d3d26 agent: fix failing test
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
Armon Dadgar 14be60aaca gofmt
11 years ago
William Tisäter 8e6ae4019b Fix race condition in `TestHTTPAgentJoin_WAN`
11 years ago
William Tisäter ab209c0176 Remove all sleeps from `agent_endpoint_test.go`
11 years ago
Armon Dadgar 8dd1e51bae agent: Simplifying configs
11 years ago
Armon Dadgar 8db2e3bd58 agent: Support multiple tags per service registration
11 years ago
Armon Dadgar 49378a0323 agent: Fixing test with new struct
11 years ago
Armon Dadgar b9e1b2c362 agent: test the register/deregister service endpoint
11 years ago
Armon Dadgar 1a5a91419b agent: Adding tests for agent check endpoints
11 years ago
Armon Dadgar 410a0de0c8 Seperate localState from Agent
11 years ago
Armon Dadgar a6e4235b96 Adding tests for checks and services endpoints
11 years ago
Armon Dadgar 21e614ca07 Adding tests for the agent HTTP endpoints
11 years ago