Frank Schroeder
c2c070417e
Update CHANGELOG.md
2017-08-01 11:47:54 +02:00
Frank Schroeder
68e8f3d0f7
agent: use github.com/hashicorp/go-discover
...
Replace the provider specific node discovery code
with go-discover to support AWS, Azure and GCE.
Fixes #3282
2017-08-01 11:41:43 +02:00
Frank Schroeder
5ddcdd41c2
vendor: add go-discover
2017-08-01 11:41:43 +02:00
Frank Schroeder
d1c27705f3
vendor: drop unused deps for old discover code
2017-08-01 11:41:43 +02:00
Preetha Appan
7ab4255231
Addressed review comments
2017-07-31 19:56:42 -05:00
preetapan
1c6b8103ed
Merge pull request #3342 from ElijahCaine/patch-1
...
Register Entity Meta -> NodeMeta
2017-07-31 19:45:13 -05:00
Elijah Caine
ea7b33133e
Register Entity Meta -> NodeMeta
...
Corrects a typo in the description of parameters for the Register Entity API endpoint.
2017-07-31 17:06:07 -07:00
Preetha Appan
a12cfe8918
Capitalize Consul and Docker throughout
2017-07-31 17:54:03 -05:00
Preetha Appan
86bfb0c464
Update CHANGELOG.md
2017-07-31 17:45:30 -05:00
preetapan
f2d4aab1bd
Merge pull request #3340 from hashicorp/issue_2637
...
This fixes issue #2637
2017-07-31 17:32:48 -05:00
Preetha Appan
307049e17f
Return nil instead of empty list when returning a PermissionDenied error, updated unit test
2017-07-31 17:23:20 -05:00
Preetha Appan
e4de25367d
First pass at a consul containers guide
2017-07-31 17:19:15 -05:00
James Phillips
ed0d1c0e79
Removes "consul" from .gitignore.
...
This was missing a lot of local changes during development (added files, etc.).
2017-07-31 14:58:35 -07:00
Preetha Appan
da29b74d03
Return 403 rather than a 404 when acls cause all results to be filtered out. This fixes #2637
2017-07-31 13:50:29 -05:00
James Phillips
5a19cce832
Adds a Guides link to the nav. ( #3337 )
2017-07-28 16:56:57 -07:00
James Phillips
720ca04664
s/nodes/keys/
2017-07-28 16:42:15 -07:00
Preetha Appan
8e8f143d58
Updated CHANGELOG.md to include GH#3322, and moved recursive delete fix to the improvements section.
2017-07-28 18:01:11 -05:00
preetapan
677949b14d
Merge pull request #3332 from hashicorp/issue_3322
...
This fixes #3322
2017-07-28 17:54:30 -05:00
Preetha Appan
3b12545844
Tweaked parsing error message to quote properly
2017-07-28 17:52:35 -05:00
James Phillips
8f1f762ddd
Adds missing autopilot snapshot test and avoids snapshotting nil. ( #3333 )
2017-07-28 15:48:42 -07:00
Preetha Appan
86b9e3c5f3
Validate unix sockets and ip addresses as needed, more test cases
2017-07-28 17:18:10 -05:00
Preetha Appan
ac068de336
Modify ResolveTmplAddrs to parse advertise IPs, added test cases that fail to parse correctly
2017-07-28 15:01:32 -05:00
James Phillips
e0643758f3
Update area.html.md
2017-07-28 09:28:11 -07:00
James Phillips
c1f7f26b65
Update area.html.md
2017-07-28 09:27:43 -07:00
Preetha Appan
4b82d09df0
Removed extra newlines
2017-07-28 10:51:11 -05:00
Preetha Appan
7b99f7ca08
Fix comments, and remove redundant TestConfig init from a couple of unit tests
2017-07-28 10:40:43 -05:00
Frank Schroeder
f27202b608
add tests for go-sockaddr template parsing
2017-07-28 15:40:22 +02:00
Frank Schroeder
5ee498cbc5
agent: unix sockets are not ip addrs
2017-07-28 14:53:21 +02:00
Frank Schroeder
0b13a38d90
config: refactor tmpl resolution fn
2017-07-28 12:20:49 +02:00
Preetha Appan
28016190e0
Moved handling advertise address to readConfig and out of the agent's constructor, plus unit test fixes
2017-07-27 22:06:31 -05:00
Preetha Appan
398c1e450c
Move go-socketaddr template parsing into config package to make it happen before creating a new agent. Also removed redundant parsetemplate calls from agent.go.
2017-07-27 16:17:35 -05:00
James Phillips
357c50c86e
Update CHANGELOG.md
2017-07-26 22:49:22 -07:00
James Phillips
6b51744ddf
Adds option to prepared queries to remove empty tags. ( #3330 )
2017-07-26 22:46:43 -07:00
James Phillips
f4daf8a84c
Update CHANGELOG.md
2017-07-26 22:10:27 -07:00
James Phillips
9b70009ab8
command/lock: Add -child-exitcode, return 2 on child error ( #3329 )
...
* Exit 2 if -child-exit-code and the child returned with an error.
* There is no platform independent way to check the exact return code of
* the child, so on error always return 2.
* Closes #947
* Closes #1503
2017-07-26 22:09:19 -07:00
James Phillips
005c9ad12a
Update geo-failover.html.md
2017-07-26 16:42:35 -07:00
James Phillips
cafe110669
Update geo-failover.html.md
2017-07-26 15:44:17 -07:00
James Phillips
1ce5a2a942
Update CHANGELOG.md
2017-07-26 15:42:30 -07:00
James Phillips
fe0f0285a9
Adds a geo failover guide using prepared queries. ( #3328 )
2017-07-26 15:40:01 -07:00
James Phillips
764042957f
Update CHANGELOG.md
2017-07-26 11:12:04 -07:00
James Phillips
38923c3733
Update CHANGELOG.md
2017-07-26 11:07:41 -07:00
James Phillips
6e794ea1b3
Adds support for agent-side ACL token management via API instead of config files. ( #3324 )
...
* Adds token store and removes all runtime use of config for ACL tokens.
* Adds a new API for changing agent tokens on the fly.
2017-07-26 11:03:43 -07:00
preetapan
4f5010cf11
Merge pull request #3313 from hashicorp/delete_prefix
...
This fixes #1278
2017-07-26 09:52:07 -05:00
Preetha Appan
4bc83c69a7
Update CHANGELOG.md
2017-07-26 09:42:28 -05:00
Preetha Appan
4692b1478e
Add extra test case for deleting entire tree with empty prefix
2017-07-26 09:42:07 -05:00
Preetha Appan
74ba4c3c6b
Don't insert tombstone for empty prefix delete. Other minor unit test fixes
2017-07-25 21:54:11 -05:00
Preetha Appan
a6b7e66e9a
Removed redundant comments and unit test
2017-07-25 20:39:33 -05:00
Preetha Appan
1503d63595
Removed redundant call to reap tombstone from unit test
2017-07-25 19:39:05 -05:00
Preetha Appan
996302c085
Improved unit test per code review
2017-07-25 19:17:40 -05:00
Preetha Appan
7f47cc15c0
Govendor update go-memdb and go-immutable-radix to pick up changes for DeletePrefix
2017-07-25 17:28:43 -05:00