17 Commits (199f6cc41d54f7f6dd9b66475727f98ba406f682)

Author SHA1 Message Date
Paul Banks 88388d760d Support Agent Caching for Service Discovery Results (#4541) 6 years ago
Mitchell Hashimoto 62d4aaa33e agent: accept connect param for execute 7 years ago
Preetha a67d27c756
Adds discovery_max_stale (#4004) 7 years ago
Edd Steel c5f0bb3711 Allow endpoints to handle OPTIONS/MethodNotFound themselves 7 years ago
James Phillips 48cfe6ff5f
Fixes crash where body was optional for PQ endpoint (it is not). 7 years ago
Frank Schröder 1e461110e6 agent: consolidate handling of 405 Method Not Allowed (#3405) 7 years ago
Frank Schröder 12216583a1 New config parser, HCL support, multiple bind addrs (#3480) 7 years ago
Kyle Havlovitz d129767657
Add agent.segment interpolation to prepared queries 7 years ago
Frank Schroeder d8195b3a4d agent: drop status code comments 7 years ago
Frank Schroeder fa121be33f agent: use http.StatusMethodNotAllowed instead of 405 7 years ago
Frank Schroeder ad5c1d9e72 agent: use http.StatusNotFound instead of 404 7 years ago
Frank Schroeder 5d1546b052 agent: use http.StatusBadRequest instead of 400 7 years ago
Frank Schroeder 1acff3533e
agent: move agent/consul/structs to agent/structs 7 years ago
Frank Schroeder 63447a0cf3 agent: refactor: make address translation part of the agent 7 years ago
Frank Schroeder 7abe308c66 agent: drop unused constant 8 years ago
Frank Schroeder 2b41f2e3a3 agent: make the RPC endpoint overwrite mechanism more transparent 8 years ago
Frank Schroeder 1c75cf1af5 pkg refactor 8 years ago
Frank Schroeder 3e00e36f41 golint: Untangle if blocks with return in else 8 years ago
Frank Schroeder ee5b06a231 Use fmt.Fprint/Fprintf/Fprintln 8 years ago
James Phillips c0ff412650
Factors translate out into a separate file and makes safe for in-memory RPCs. 8 years ago
David van Geest cdeff022dd
Translate Address to tagged WAN address in HTTP API when appropriate. 8 years ago
Ryan Uber 62884a22d4 consul: send agent source data as separate query source 9 years ago
Ryan Uber 104b234dde agent: always pass local agent query source, allow override 9 years ago
Ryan Uber d567d6a6d8 consul: send origin node + dc when executing prepared queries 9 years ago
Ryan Uber 865c264b9c agent: set origin during PQ execution 9 years ago
James Phillips eb7004f2b8 Renames "debug" endpoint and structures to "explain". 9 years ago
James Phillips d7288e3a5e Adds a prepared query debug endpoint. 9 years ago
James Phillips 049da2cef2 Breaks up huge HTTP endpoint functions. 9 years ago
James Phillips e1ce1a34b0 Moves conversion of nil slices up to HTTP layer for prepared queries. 9 years ago
James Phillips 67fd4fa78d Returns a 404 from a get or execute of a nonexistent query. 9 years ago
James Phillips 5e7523ea4b Adds a slightly more flexible mock system so we can test DNS. 9 years ago
James Phillips 57be55103c Adds an HTTP endpoint for prepared queries. 9 years ago