Commit Graph

4069 Commits

Author SHA1 Message Date
Evan Gilman 73d4f5700b
Document `consul lock` shell execution
Consul lock executes children under a shell, which was previously
undocumented. Document it, and warn against cases where this can cause
children to leak when the lock is lost.

I have made this a dedicated section so it can easily be removed
later when we move to exec

https://github.com/hashicorp/consul/issues/1692
2016-06-03 17:01:05 -07:00
James Phillips 802b29ab94 Merge pull request #2088 from lihz1990/master
add tcp in service/register
2016-06-03 08:36:49 -07:00
lihz 392c2605f3 add tcp in service/register
I found consul /service/register interface supprt TCP check as well.
2016-06-03 19:29:05 +08:00
Jeff Mitchell ebf7ea1d75 Use upstream high-level SCADA provider 2016-06-01 18:25:39 -04:00
James Phillips b43f900766 Merge pull request #2075 from mlbarrow/patch-1
Fix typo
2016-05-29 11:34:41 -07:00
Michael Barrow 9c3e2f1aef Fix typo
Simple typo fix.
2016-05-29 10:24:44 -07:00
Sean Chittenden 446d76b432
Fix the href target for the `/v1/catalog/node/<node>` endpoint. 2016-05-27 00:12:17 -07:00
James Phillips 22938ab8b3 Merge pull request #2072 from awiddersheim/patch-1
Fix typo
2016-05-26 08:05:14 -07:00
Andrew Widdersheim c0940c8346 Fix typo 2016-05-26 10:46:55 -04:00
James Phillips 14c24154e8 Merge pull request #2071 from logikal/telemetry_address
docs: clarify address specification for telemetry
2016-05-24 13:47:25 -07:00
Sean Kilgore edc31a9391 docs: clarify address specification for telemetry
Earlier on this page, under `addresses`, we say "For TCP addresses, these should simply be an IP address without the port. For example: 10.0.0.1, not 10.0.0.1:8500." Since we expect the port to be included for `_address` for telemetry, call it out specifically.
2016-05-24 12:55:23 -07:00
James Phillips c30634d927 Update CHANGELOG.md 2016-05-24 12:50:48 -07:00
James Phillips 23353b721d Merge pull request #2058 from nathan7/master
Parse ACL tokens for the catalog register/deregister endpoints
2016-05-24 12:49:13 -07:00
James Phillips f6fef66e1b Merge pull request #2060 from saifabid/patch-1
Fix json for /v1/catalog/node in markdown
2016-05-19 22:36:56 -04:00
Saif Abid 8211555d0d Fix json for /v1/catalog/node in markdown
add in a missing comma after the "Address" field
2016-05-19 14:41:41 -04:00
James Phillips fa26d5f64e Merge pull request #2046 from ross/ui-tomography
Implementation of a per-node tomography graph
2016-05-18 22:06:50 -04:00
Ross McFarland 5d564acfa3 Implement a first-pass of tomography node hover
Not at all using Emeber's facilities and no clue how to do so with this.
2016-05-18 10:05:16 -07:00
Ross McFarland 773db64ffc Rework sampling to avoid 0 case and always include min and max 2016-05-18 09:50:30 -07:00
James Phillips 616ab7c9ab Merge pull request #2057 from hashicorp/sethvargo/training
Add note about paid training
2016-05-18 09:21:27 -07:00
Ross McFarland 73ac76bfe5 Sample tomography distances to cap number around 360 2016-05-17 12:57:02 -07:00
Ross McFarland 4062920969 Switch tomography to median rather than avg 2016-05-17 10:43:50 -07:00
Nathan Zadoks c4b362d5d2 Parse ACL tokens for the catalog register/deregister endpoints
Fix #1738
2016-05-17 13:16:33 -04:00
Seth Vargo 5c256b3b46
Add note about paid training 2016-05-16 16:46:14 -04:00
James Phillips 75010d1924 Update CHANGELOG.md 2016-05-15 13:49:14 -07:00
James Phillips 0f5aabcbbd Merge pull request #2028 from hashicorp/f-atomic-kv
Adds support for atomic transactions spanning multiple KV entries.
2016-05-15 13:46:05 -07:00
Sean Chittenden 0e34cc3486
Remove completely unused structs 2016-05-15 09:14:36 -07:00
Sean Chittenden 92298e3d02
Speling police 2016-05-15 09:13:52 -07:00
Sean Chittenden cb144e34b3 Merge pull request #2047 from hashicorp/b-raft-peers
Remove unused peers variable from setupRaft().
2016-05-15 07:05:17 -07:00
Sean Chittenden 02b5b53c92
Remove unused peers variable from setupRaft(). 2016-05-15 06:40:46 -07:00
Ross McFarland 811c77c1b2 Handle no peers in tomography graph 2016-05-15 06:30:37 -07:00
Ross McFarland 885dd87fec Don't include self in tomography 2016-05-15 06:13:52 -07:00
James Phillips 653387637a Reduces the number of operations in a transaction to 64. 2016-05-14 21:40:46 -07:00
Ross McFarland ba6d402e85 Implementation of a per-node tomography graph
Adds a new section to the node information, Network Tomography. There's a radar
plot of the distances (in ms) between the current node and its peers as well as
min, avg, and max.
2016-05-14 18:35:09 -07:00
James Phillips 778b975e7a Adds a get-tree verb to KV transaction operations. 2016-05-13 16:57:39 -07:00
James Phillips 4bbaf1cd15 Switches GETs to a filtering model for ACLs. 2016-05-13 15:58:55 -07:00
James Phillips 570d46aa5f Adds some size limiting features to transactions to help prevent abuse. 2016-05-13 13:39:01 -07:00
James Phillips fbfb90a694 Removes null results for deletes, and preps for more than one result from an operation. 2016-05-13 01:47:55 -07:00
James Phillips a37bf9de56 Adds a read-only optimized path for transactions. 2016-05-13 00:34:05 -07:00
James Phillips 359541a67d Update README.md
Fixes #2041.
2016-05-12 21:38:43 -07:00
James Phillips 9443c6ba71 Adds a comment for the txnKVS() function. 2016-05-12 16:11:26 -07:00
James Phillips 8a7428e508 Hoists KV processing helper functions up as static functions. 2016-05-12 16:10:06 -07:00
James Phillips 8ff2722a8a Merge pull request #2040 from hashicorp/go-1.6.2
Upgrades to Go 1.6.2.
2016-05-12 16:08:49 -07:00
James Phillips 78b20f508c Upgrades to Go 1.6.2. 2016-05-12 16:08:33 -07:00
James Phillips 17cd0ac4ec Adds documentation for the transaction endpoint. 2016-05-11 14:18:47 -07:00
James Phillips 04d99cd702 Makes get fail a transaction if the key doesn't exist. 2016-05-11 14:18:31 -07:00
James Phillips 4882a9fe43 De-nests the KV output structure (removes DirEnt member). 2016-05-11 13:48:03 -07:00
James Phillips 960b9d6fb6 Switches to "KV" instead of "KV" for the KV operations. 2016-05-11 10:58:27 -07:00
James Phillips 38d0f6676f Refactors TxnRequest/TxnResponse into a form that will allow non-KV ops.
This isn't needed/used yet, but it's a good hook to get in there so we
can add more atomic operations in the future. The Go API hides this detail
so that feels like a KV-specific API. The implications on the REST API are
pretty minimal.
2016-05-11 01:39:10 -07:00
James Phillips 69f58ad04a Moves txn code into a new endpoint, not specific to KV. 2016-05-10 21:58:02 -07:00
James Phillips 1fefdcb962 Terminates pretty responses with a newline. 2016-05-10 20:02:36 -07:00