Preetha Appan
13c118ea51
Removed extra newlines
2017-07-28 10:51:11 -05:00
Preetha Appan
840749db7e
Fix comments, and remove redundant TestConfig init from a couple of unit tests
2017-07-28 10:40:43 -05:00
Frank Schroeder
b19b062194
add tests for go-sockaddr template parsing
2017-07-28 15:40:22 +02:00
Frank Schroeder
ac9602e798
agent: unix sockets are not ip addrs
2017-07-28 14:53:21 +02:00
Frank Schroeder
2fcdb35cbb
config: refactor tmpl resolution fn
2017-07-28 12:20:49 +02:00
Preetha Appan
aa98aeb4b1
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
25acd1534a
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
07ae7bc2e1
Update CHANGELOG.md
2017-07-26 22:49:22 -07:00
James Phillips
6250cd70f5
Adds option to prepared queries to remove empty tags. ( #3330 )
2017-07-26 22:46:43 -07:00
James Phillips
3fc1b8fa47
Update CHANGELOG.md
2017-07-26 22:10:27 -07:00
James Phillips
08a8d9f2a7
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
9f10566314
Update geo-failover.html.md
2017-07-26 16:42:35 -07:00
James Phillips
44128e5bbb
Update geo-failover.html.md
2017-07-26 15:44:17 -07:00
James Phillips
ab4d51df25
Update CHANGELOG.md
2017-07-26 15:42:30 -07:00
James Phillips
59b9164142
Adds a geo failover guide using prepared queries. ( #3328 )
2017-07-26 15:40:01 -07:00
James Phillips
4e8fd78957
Update CHANGELOG.md
2017-07-26 11:12:04 -07:00
James Phillips
d62438da74
Update CHANGELOG.md
2017-07-26 11:07:41 -07:00
James Phillips
496b0bcf07
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
f2bc2b8d07
Merge pull request #3313 from hashicorp/delete_prefix
...
This fixes #1278
2017-07-26 09:52:07 -05:00
Preetha Appan
a4487b2742
Update CHANGELOG.md
2017-07-26 09:42:28 -05:00
Preetha Appan
b94617b281
Add extra test case for deleting entire tree with empty prefix
2017-07-26 09:42:07 -05:00
Preetha Appan
4498814843
Don't insert tombstone for empty prefix delete. Other minor unit test fixes
2017-07-25 21:54:11 -05:00
Preetha Appan
fee418d378
Removed redundant comments and unit test
2017-07-25 20:39:33 -05:00
Preetha Appan
b772c477c2
Removed redundant call to reap tombstone from unit test
2017-07-25 19:39:05 -05:00
Preetha Appan
ae443e21d6
Improved unit test per code review
2017-07-25 19:17:40 -05:00
Preetha Appan
b841c99b87
Govendor update go-memdb and go-immutable-radix to pick up changes for DeletePrefix
2017-07-25 17:28:43 -05:00
Preetha Appan
36acf8d6a4
Use new DeletePrefixMethod for implementing KVSDeleteTree operation. This makes deletes on sub trees larger than one million nodes about 100 times faster. Added unit tests.
2017-07-25 17:21:18 -05:00
Omar Jatoi
2cd7408c06
Update consul to version 0.9.0
2017-07-25 16:06:14 +02:00
James Phillips
240c40deb8
Update options.html.md
2017-07-24 22:37:12 -07:00
James Phillips
338b49fe66
Update catalog.html.md
2017-07-24 22:14:51 -07:00
James Phillips
c413a9161e
Removes an unnecessary close.
2017-07-24 21:41:18 -07:00
preetapan
56d651f991
Merge pull request #3318 from hashicorp/issue_3207
...
Clean up temporary files on write errors, and ignore any temporary se…
2017-07-24 21:21:00 -05:00
Preetha Appan
f8b633c69e
Removed redundant logging
2017-07-24 21:07:48 -05:00
Preetha Appan
c26fd66edd
Clean up temporary files on write errors, and ignore any temporary service files on load with a warning. This fixes #3207
2017-07-24 12:42:51 -05:00
Jon Benson
3117d9ec2b
Fix spelling ( #3311 )
2017-07-20 14:48:45 -07:00
James Phillips
c736669af8
Update acl.html.md
2017-07-20 09:34:39 -07:00
James Phillips
6708871054
Update index.html.md
2017-07-20 09:34:13 -07:00
James Phillips
610a67defa
Updates consul exec docs to mention ACLs. ( #3308 )
...
* Update documentation for consul exec to mention all permissions it needs.
* Removed node write perm, not needed for consul exec
* Converts ACL note into a table like the API docs, adds ACL guide x-ref.
2017-07-20 09:30:08 -07:00
James Phillips
1774fdc237
Tweaks the error when scripts are disabled.
...
This will hopefully help people self-serve if they upgrade without accounting
for this.
2017-07-19 22:15:04 -07:00
James Phillips
9c459377e9
Puts the tree in 0.9.1 dev mode.
2017-07-19 20:57:10 -07:00
James Phillips
ce5e8e4424
Bumps download version to 0.9.0.
2017-07-19 20:35:14 -07:00
James Phillips
b79d951ced
Release v0.9.0
2017-07-19 20:19:26 -07:00
James Phillips
859ac937a8
Puts the tree in 0.9.0 release mode.
2017-07-19 19:55:49 -07:00
Kyle Havlovitz
d74390ef86
Fix UpgradeVersionTag field not being passed correctly ( #3304 )
2017-07-19 17:39:48 -07:00
James Phillips
f34b9bd7e1
Update CHANGELOG.md
2017-07-19 17:14:38 -07:00
James Phillips
357d00f7d3
Clarifies endpoint blocking in the docs.
2017-07-19 17:14:19 -07:00
James Phillips
9a8a531f18
Update CHANGELOG.md
2017-07-19 15:29:56 -07:00
Preetha Appan
1f35aa6ff2
Made unit test for AddCheck error check the actual error string
2017-07-19 11:00:56 -05:00
preetapan
fdc73e744e
Merge pull request #3303 from hashicorp/addcheck_test
...
Unit test for failure case of AddCheck
2017-07-19 10:32:56 -05:00
Preetha Appan
c32e4ebe26
Unit test for failure case of AddCheck
2017-07-19 10:28:52 -05:00