open-consul/consul
Frank Schröder 892fa89399 Add datacenter to catalog node API (#2917)
This patch stores the datacenter of a node in memdb
and exposes it via the API in all places where a Node
structure is returned.

 * /catalog/nodes
 * /catalog/node/:node
 * /catalog/service/:service
 * /health/service/:service
 * /query/:uuid/execute
2017-04-18 05:02:24 -07:00
..
agent Add advanced autopilot features 2017-03-22 15:25:16 -07:00
prepared_query Add tests for node meta in prepared queries and update docs 2017-01-23 19:17:30 -05:00
servers Tweaks error handling case to not panic further down. 2017-04-12 10:02:42 -07:00
state Add datacenter to catalog node API (#2917) 2017-04-18 05:02:24 -07:00
structs Add datacenter to catalog node API (#2917) 2017-04-18 05:02:24 -07:00
acl.go Gets rid of the Consul service exception under version 8. 2017-03-24 12:12:24 -07:00
acl_endpoint.go Pass state store pointer into the blocking query work function. 2017-01-25 09:58:23 -08:00
acl_endpoint_test.go Adds fine-grained watch support to ACL endpoints. 2017-01-25 09:58:22 -08:00
acl_replication.go Adds fine-grained watch support to ACL endpoints. 2017-01-25 09:58:22 -08:00
acl_replication_test.go Use new APIs 2017-03-23 18:48:13 -04:00
acl_test.go Gets rid of the Consul service exception under version 8. 2017-03-24 12:12:24 -07:00
autopilot.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00
autopilot_test.go Wait to initialize autopilot until all servers are >= 0.8.0 2017-04-12 16:05:13 -07:00
catalog_endpoint.go Adds node ID integrity checking for the catalog. 2017-03-27 00:15:21 -07:00
catalog_endpoint_test.go Cleans up a stray mark and fixes unit tests. 2017-03-27 01:28:54 -07:00
client.go Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
client_test.go Use new APIs 2017-03-23 18:48:13 -04:00
config.go Add advanced autopilot features 2017-03-22 15:25:16 -07:00
config_test.go Adds support for a new "acl_agent_token" which is used for internal 2016-12-12 14:52:27 -08:00
coordinate_endpoint.go Removes remoteConsuls in favor of the new router. 2017-03-16 16:42:19 -07:00
coordinate_endpoint_test.go Use new APIs 2017-03-23 18:48:13 -04:00
endpoints.md consul: remove explicit leave, use reconciliation 2014-05-28 16:32:24 -07:00
filter.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
filter_test.go Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
flood.go Fix vet issues 2017-03-23 20:29:31 -04:00
fsm.go Fix vet issues 2017-03-23 20:29:31 -04:00
fsm_test.go Add advanced autopilot features 2017-03-22 15:25:16 -07:00
health_endpoint.go Pass state store pointer into the blocking query work function. 2017-01-25 09:58:23 -08:00
health_endpoint_test.go Removes remoteConsuls in favor of the new router. 2017-03-16 16:42:19 -07:00
internal_endpoint.go Added -relay-factor param to keyring operations 2017-02-01 21:53:29 -05:00
internal_endpoint_test.go Adds complete ACL coverage for /v1/internal/ui/node endpoints. 2016-12-12 18:22:10 -08:00
issue_test.go Adds fine-grained watches to health endpoints. 2017-01-25 09:58:22 -08:00
kvs_endpoint.go Pass state store pointer into the blocking query work function. 2017-01-25 09:58:23 -08:00
kvs_endpoint_test.go Cuts KVS endpoints over to new fine-grained watch plumbing. 2017-01-25 09:58:22 -08:00
leader.go Switches to reliable Raft leader notifications. 2017-04-13 14:17:32 -07:00
leader_test.go Cleans up a stray mark and fixes unit tests. 2017-03-27 01:28:54 -07:00
merge.go Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
merge_test.go Adds node ID integrity checking for cluster merges. 2017-03-27 00:15:42 -07:00
operator_autopilot_endpoint.go Add nil check to operator autopilot endpoint 2017-04-13 10:43:07 -07:00
operator_autopilot_endpoint_test.go Moves operator sub-functions into their own files. 2017-03-30 12:35:50 -07:00
operator_endpoint.go Moves operator sub-functions into their own files. 2017-03-30 12:35:50 -07:00
operator_raft_endpoint.go Moves operator sub-functions into their own files. 2017-03-30 12:35:50 -07:00
operator_raft_endpoint_test.go Moves operator sub-functions into their own files. 2017-03-30 12:35:50 -07:00
pool.go Walks back the changes to change pool address interface into strings. 2017-03-16 16:42:19 -07:00
prepared_query_endpoint.go Removes remoteConsuls in favor of the new router. 2017-03-16 16:42:19 -07:00
prepared_query_endpoint_test.go Use new APIs 2017-03-23 18:48:13 -04:00
raft_rpc.go Integrates Consul with new version of Raft library. 2016-08-08 19:19:17 -07:00
rpc.go Walks back the changes to change pool address interface into strings. 2017-03-16 16:42:19 -07:00
rpc_test.go Bails out of blocking queries when a state restore occurs. 2017-01-25 19:00:32 -08:00
rtt.go Removes remoteConsuls in favor of the new router. 2017-03-16 16:42:19 -07:00
rtt_test.go Adds missing unit tests and cleans up some router bugs. 2017-03-16 16:42:19 -07:00
serf.go Add advanced autopilot features 2017-03-22 15:25:16 -07:00
serf_test.go agent: -encrypt appends to keyring if one exists 2014-11-19 16:36:01 -08:00
server.go Switches to reliable Raft leader notifications. 2017-04-13 14:17:32 -07:00
server_test.go Makes the start/stop test less flaky. 2017-03-23 20:04:23 -07:00
session_endpoint.go Adds guard in session ACL check in case session is not found. 2017-04-13 15:03:17 -07:00
session_endpoint_test.go Adds fine-grained watches to session endpoints. 2017-01-25 09:58:22 -08:00
session_ttl.go Adds fine-grained watches to session endpoints. 2017-01-25 09:58:22 -08:00
session_ttl_test.go Use new APIs 2017-03-23 18:48:13 -04:00
snapshot_endpoint.go Walks back the changes to change pool address interface into strings. 2017-03-16 16:42:19 -07:00
snapshot_endpoint_test.go Use new APIs 2017-03-23 18:48:13 -04:00
stats_fetcher.go Adds a warning if the context is canceled. 2017-03-20 09:27:28 -07:00
stats_fetcher_test.go Converts the stats fetch from serial to parallel and snaps the last index. 2017-03-19 20:48:42 -07:00
status_endpoint.go Move RaftStats to Status endpoint 2017-03-07 13:58:06 -08:00
status_endpoint_test.go consul: initial pass at refactoring RPC using net-rpc-msgpackrpc 2015-10-13 22:15:23 -07:00
txn_endpoint.go Fix vet issues 2017-03-23 20:29:31 -04:00
txn_endpoint_test.go Fix vet issues 2017-03-23 20:29:31 -04:00
util.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00
util_test.go Add formatting to autopilot init messages 2017-04-12 18:39:03 -07:00