consul/command/agent
Emil Hessman cb764c35e5 add ability to specify response headers on the HTTP API
Add an config object that allows adding HTTP header response fields to every
HTTP API response.

Each specified header is added to every response from all HTTP API endpoints.
Each individual endpoint may overwrite the specified header, which makes sure
that Consul headers such as 'X-Consul-Index' is enforced by the API.
2014-12-28 19:17:08 +01:00
..
acl_endpoint.go agent: Strict PUT for modifying ACLs 2014-08-19 14:28:34 -07:00
acl_endpoint_test.go agent: Fixing ACL tests with token param 2014-08-19 14:28:49 -07:00
agent.go typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
agent_endpoint.go agent: allow config reload to modify checks/services persistence 2014-11-26 12:46:42 -08:00
agent_endpoint_test.go agent: prefer config over persisted services/checks (#497) 2014-11-24 19:40:53 -08:00
agent_test.go agent: agent test fixes 2014-12-05 10:36:44 -08:00
catalog_endpoint.go Merge pull request #68 from hashicorp/f-consistency 2014-04-21 15:55:31 -07:00
catalog_endpoint_test.go agent: test services are in sync when added from the API 2014-10-17 17:33:27 -07:00
check.go Clean up log line and reduce test time. 2014-12-18 09:00:51 -05:00
check_test.go Clean up log line and reduce test time. 2014-12-18 09:00:51 -05:00
command.go agent: allow config reload to modify checks/services persistence 2014-11-26 12:46:42 -08:00
command_test.go Rebase against upstream 2014-11-19 16:45:49 -08:00
config.go add ability to specify response headers on the HTTP API 2014-12-28 19:17:08 +01:00
config_test.go add ability to specify response headers on the HTTP API 2014-12-28 19:17:08 +01:00
dns.go since dns.TXT is an external dependency, it is safer to add keys to the fields to avoid some potential ordering issues if changes in this field occur with upstream 2014-12-06 13:13:35 +01:00
dns_test.go agent: implementing reverse dns lookup for ipv4 and ipv6 2014-11-23 09:16:37 +01:00
event_endpoint.go agent: Preserve ordering of event buffer. Fixes #479 2014-11-20 19:51:08 -08:00
event_endpoint_test.go agent: make event buffer test non-sequential 2014-11-20 21:56:50 -08:00
flag_slice_value.go Working on the agent 2013-12-20 16:39:32 -08:00
flag_slice_value_test.go Working on the agent 2013-12-20 16:39:32 -08:00
gated_writer.go Working on the agent 2013-12-20 16:39:32 -08:00
gated_writer_test.go Working on the agent 2013-12-20 16:39:32 -08:00
health_endpoint.go agent: Fixing passing filter. Fixes #241 2014-07-05 09:49:21 -07:00
health_endpoint_test.go agent: Fixing passing filter. Fixes #241 2014-07-05 09:49:21 -07:00
http.go add ability to specify response headers on the HTTP API 2014-12-28 19:17:08 +01:00
http_api.md Add `/v1/agent/self` and return local agent config 2014-05-27 01:15:33 +02:00
http_test.go add ability to specify response headers on the HTTP API 2014-12-28 19:17:08 +01:00
keyring.go agent: fix loading keyring on agent start 2014-11-19 16:37:40 -08:00
keyring_test.go agent: fix loading keyring on agent start 2014-11-19 16:37:40 -08:00
kvs_endpoint.go cleanup unreachable code 2014-11-25 19:54:30 +01:00
kvs_endpoint_test.go agent: Support for raw key lookup. Fixes #150. 2014-05-20 16:53:43 -07:00
local.go typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
local_test.go typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
log_levels.go Working on the agent 2013-12-20 16:39:32 -08:00
log_writer.go typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
log_writer_test.go Working on the agent 2013-12-20 16:39:32 -08:00
remote_exec.go Pass exitCode by reference 2014-09-17 21:17:51 +02:00
remote_exec_test.go Go format fix 2014-09-19 10:51:03 +02:00
rpc.go command: fix panic when client RPC is asked for a keyring operation 2014-11-19 16:34:17 -08:00
rpc_client.go command/keyring: remove unneeded -wan arg, fix tests 2014-11-19 16:34:17 -08:00
rpc_client_test.go consul: more tests, remove unused KeyManager() method 2014-11-19 16:37:40 -08:00
rpc_log_stream.go Pulling in the RPC framework from serf 2013-12-30 14:42:41 -08:00
rpc_log_stream_test.go Pulling in the RPC framework from serf 2013-12-30 14:42:41 -08:00
session_endpoint.go consul: Ignore zero ttl on session 2014-12-12 19:17:04 -08:00
session_endpoint_test.go Fixed clearSessionTimer, created invalidateSession, added invalid TTL test 2014-12-11 05:34:31 -05:00
status_endpoint.go More HTTP endpoints 2013-12-23 16:20:51 -08:00
status_endpoint_test.go gofmt 2014-05-20 16:25:29 -07:00
structs.go agent: Default health checks to critical. Fixes #341 2014-10-15 10:09:49 -07:00
structs_test.go agent: Default health checks to critical. Fixes #341 2014-10-15 10:09:49 -07:00
syslog.go agent: Filter messages logged to syslog. Fixes #272 2014-10-13 22:38:12 -07:00
syslog_test.go agent: skip syslog test on windows 2014-10-17 11:24:10 -07:00
ui_endpoint.go agent: Summarize node level checks as well 2014-04-30 23:44:29 -04:00
ui_endpoint_test.go typofixes - https://github.com/vlajos/misspell_fixer 2014-12-04 23:25:06 +00:00
user_event.go agent: auto-register the consul service on server nodes 2014-10-14 15:35:00 -07:00
user_event_test.go agent: Fixing config merge issue 2014-09-02 14:49:31 -07:00
util.go Switching to the pinned version of msgpack 2014-10-17 18:26:19 -07:00
util_test.go Methods for random staggering 2014-01-15 12:34:17 -10:00
watch_handler.go agent: Refactor script invoke 2014-08-21 14:28:16 -07:00
watch_handler_test.go agent: Refactor script invoke 2014-08-21 14:28:16 -07:00