Sean Chittenden
dbdebcad80
golint(1) police
2016-06-10 15:54:39 -04:00
Sean Chittenden
5757e50243
Only return the Client's server addresses, never mix-in server peers
2016-06-10 15:54:39 -04:00
Sean Chittenden
f03765814e
Add some trace-level logging for /v1/agent/servers when writing
...
This endpoint shouldn't be hit often, but this could be useful in
logs down the road.
2016-06-10 15:50:11 -04:00
Sean Chittenden
ed30876186
Change the endpoint for /v1/agent/servers and fix tests.
...
When an agent is running a server, the list of servers includes the
Raft peers. When the agent is running a client (which is always the
case?), include a list of the servers found in the Client's RpcProxy.
Dedupe and provide a unique list back to the caller.
2016-06-10 15:50:11 -04:00
Sean Chittenden
ffcd2332d4
Rebalance Nomad client RPCs among different Nomad servers.
...
Implement client/rpc_proxy.RpcProxy.
2016-06-10 15:50:11 -04:00
Ryan Uber
13613e4100
agent: add HTTP endpoint for querying/modifying the server list
2015-09-24 20:39:03 -07:00
Ryan Uber
39592e63b3
command: convert members so we get a descriptive status
2015-09-14 13:24:03 -07:00
Armon Dadgar
445b90895c
http: adding the agent endpoints
2015-09-06 19:08:05 -07:00