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
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
Preetha Appan
f4cccf44e3
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
37230611a5
Update consul to version 0.9.0
2017-07-25 16:06:14 +02:00
James Phillips
923119a7d8
Update options.html.md
2017-07-24 22:37:12 -07:00
James Phillips
e29ca0a7bf
Update catalog.html.md
2017-07-24 22:14:51 -07:00
James Phillips
cf7b1aaf04
Removes an unnecessary close.
2017-07-24 21:41:18 -07:00
preetapan
3f02997515
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
213af3650f
Removed redundant logging
2017-07-24 21:07:48 -05:00
Preetha Appan
c08ff6c8ae
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
623d4203c7
Fix spelling ( #3311 )
2017-07-20 14:48:45 -07:00
James Phillips
84716f09a7
Update acl.html.md
2017-07-20 09:34:39 -07:00
James Phillips
c6bc9c393f
Update index.html.md
2017-07-20 09:34:13 -07:00
James Phillips
6e251d39b5
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
a0867b5d49
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
a7842dc688
Puts the tree in 0.9.1 dev mode.
2017-07-19 20:57:10 -07:00
James Phillips
088274e9a0
Bumps download version to 0.9.0.
2017-07-19 20:35:14 -07:00
James Phillips
e6e03c7ee8
Release v0.9.0
2017-07-19 20:19:26 -07:00
James Phillips
b232a3dd48
Puts the tree in 0.9.0 release mode.
2017-07-19 19:55:49 -07:00
Kyle Havlovitz
c74d7558a5
Fix UpgradeVersionTag field not being passed correctly ( #3304 )
2017-07-19 17:39:48 -07:00
James Phillips
ae77454d8c
Update CHANGELOG.md
2017-07-19 17:14:38 -07:00
James Phillips
2d1111479e
Clarifies endpoint blocking in the docs.
2017-07-19 17:14:19 -07:00
James Phillips
7e3d6ab2cb
Update CHANGELOG.md
2017-07-19 15:29:56 -07:00
Preetha Appan
9116186b4c
Made unit test for AddCheck error check the actual error string
2017-07-19 11:00:56 -05:00