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
Brian Shumate
9d87883c85
API: Add struct fields, fixes #2882
...
- Add CreateIndex and ModifyIndex to AgentService
- Add CreateIndex and ModifyIndex to Node
2017-04-13 11:36:19 -04:00
James Phillips
55cd1d975c
Adds catalog support for node IDs.
2017-01-18 14:26:42 -08:00
Kyle Havlovitz
15f008b3e3
Update client api and docs for node metadata
2017-01-11 19:28:58 -05:00
James Phillips
7dc41b1c1f
Runs `go fmt`.
2016-11-22 17:49:48 -08:00
James Phillips
b17907f06a
Moves index fields to the bottom of the structure.
2016-11-17 16:38:30 -08:00
aksentyev
8d69db7a89
CreateIndex, ModifyIndex added for CatalogService
2016-09-28 00:40:25 +03:00
James Phillips
742fcf7a24
Adds missing TaggedAddress structures to API client.
2016-08-16 10:30:30 -07:00
James Phillips
551a4fc031
Adds support for EnableTagOverride to the API client.
2016-02-16 11:45:29 -08:00
Chris Grieger
bd0c864495
Add 'ServiceAddress' field to 'CatalogService's truct
2015-03-04 10:29:57 +01:00
Ryan Uber
5172b21ee8
api: initial import from armon/consul-api
2015-01-06 10:40:00 -08:00