9692 Commits

Author SHA1 Message Date
Jeff Mitchell
60df9d3461 Make the API client retry on 5xx errors.
This should help with transient issues. Full control over min/max delays
and number of retries (and ability to turn off) is provided in the API
and via env vars.

Fix tests.
2016-07-06 16:50:23 -04:00
Jeff Mitchell
82f79dd55f Merge pull request #1590 from skippy/patch-3
Update aws-ec2.html.md -- clarify pkcs7 cert cleanup before use
2016-07-06 21:31:12 +02:00
vishalnayak
ef97199360 Added JSON Decode and Encode helpers.
Changed all the occurances of Unmarshal to use the helpers.
Fixed http/ package tests.
2016-07-06 12:25:40 -04:00
Brian Shumate
877a7dc378 Minor grammar edit 2016-07-06 10:02:52 -04:00
Jeff Mitchell
86659de8f2 Fix website upgrade menu for 0.6.0 2016-07-06 09:28:21 -04:00
Jeff Mitchell
b9e38e89fb Merge pull request #1592 from stojg/patch-1
Correcting grammar
2016-07-06 13:16:42 +02:00
Stig Lindqvist
1400ef0c44 Correcting grammar 2016-07-06 17:57:22 +12:00
Jeff Mitchell
87244a56d7 Merge pull request #1591 from hashicorp/dont-panic-empty-config
Don't panic on an empty configuration during merge
2016-07-05 22:49:43 +02:00
Jeff Mitchell
6bdda578ac Don't panic on an empty configuration during merge 2016-07-05 16:49:15 -04:00
Adam Greene
7d5209c251 Update aws-ec2.html.md
per #1582, updating the docs to include notes about pkcs#7 handling, specifically that aws returns the pkcs#7 cert with newlines and that they need to be stripped before sending them to the login endpoint
2016-07-05 13:21:56 -07:00
Adam Greene
4ce975bb36 Update aws-ec2.html.md
clarify, and make more explicit, the language around the default AWS public certificate
2016-07-05 13:14:29 -07:00
Jeff Mitchell
50e44b750d Update dockertest dep 2016-07-05 15:13:42 -04:00
Jeff Mitchell
e084535915 Fix broken test 2016-07-05 12:54:27 -04:00
Jeff Mitchell
ed14ed4ea0 changelog++ 2016-07-05 12:19:36 -04:00
Jeff Mitchell
b386c94ec6 Merge pull request #1588 from hashicorp/issue-1587
Add response wrapping support to login endpoints.
2016-07-05 18:18:52 +02:00
Jeff Mitchell
f164ac1fcc Add non-wrapped step 2016-07-05 12:11:40 -04:00
Jeff Mitchell
108149599a Add response wrapping support to login endpoints.
Fixes #1587
2016-07-05 11:46:21 -04:00
vishalnayak
b632ef58e4 Add allowed_roles to ssh-helper-config and return role name from verify call 2016-07-05 11:14:29 -04:00
Matt Hurne
2b5b56febd mongodb secret backend: Update documentation 2016-07-05 09:50:23 -04:00
Matt Hurne
8dbefb68b0 Merge branch 'master' into mongodb-secret-backend 2016-07-05 09:33:12 -04:00
Matt Hurne
2aba34d41d mongodb secret backend: Add support for reading connection configuration; Dockerize tests 2016-07-05 09:32:38 -04:00
Jeff Mitchell
829563372d Update to new hc-releases syntax 2016-07-04 19:44:38 -04:00
Sean Chittenden
f665f23b3d Merge pull request #1584 from hashicorp/b-remove-sprintf
Use `lib/pq`'s `QuoteIdentifier()` on all identifiers and Prepare for all literals.

LGTM from @jefferai out of band.
2016-07-03 17:00:55 -07:00
Sean Chittenden
f66cd75583
Move the parameter down to where the statement is executed. 2016-07-03 16:20:27 -07:00
Sean Chittenden
00ab56060a
Use lib/pq's QuoteIdentifier() on all identifiers and Prepare
for all literals.
2016-07-03 16:01:39 -07:00
Matt Hurne
7571487c7f Merge branch 'master' into mongodb-secret-backend 2016-07-01 20:39:13 -04:00
Jeff Mitchell
cec644f327 Shave off a lot of PKI testing time by not requiring key generation when testing CSRs. Also enable all tests all the time. 2016-07-01 17:28:48 -04:00
Jeff Mitchell
52aa35c408 changelog++ 2016-07-01 16:34:23 -04:00
Jeff Mitchell
5762446724 Merge pull request #1581 from mp911de/cassandra_connect_timeout
Support connect_timeout for Cassandra and align timeout.
2016-07-01 22:33:24 +02:00
Mark Paluch
895eac0405 Address review feedback.
Switch ConnectTimeout to framework.TypeDurationSecond  with a default of 5. Remove own parsing code.
2016-07-01 22:26:08 +02:00
Jeff Mitchell
797548cae1 Update git attributes to fix Linguist 2016-07-01 15:54:16 -04:00
Mark Paluch
f85b2b11d3 Support connect_timeout for Cassandra and align timeout.
The cassandra backend now supports a configurable connect timeout. The timeout is configured using the connect_timeout parameter in the session configuration.  Also align the timeout to 5 seconds which is the default for the Python and Java drivers.

Fixes #1538
2016-07-01 21:22:37 +02:00
Jeff Mitchell
77c071a889 Incorporate consul dockertest review feedback 2016-07-01 14:16:38 -04:00
Jeff Mitchell
b45da486dc Run appid/cert auth tests always 2016-07-01 14:06:33 -04:00
Jeff Mitchell
6d1bd49877 Merge pull request #1580 from hashicorp/consul-dockerize-tests
Migrate Consul acceptance tests to Docker
2016-07-01 20:00:35 +02:00
Jeff Mitchell
7fc4ae959a Migrate Consul acceptance tests to Docker 2016-07-01 13:59:56 -04:00
Matt Hurne
c8cbd33f74 mongodb secret backend: Parse ssl URI option as a boolean rather than relying on string comparison 2016-07-01 13:55:06 -04:00
Jeff Mitchell
72efaa0aab Merge pull request #1579 from hashicorp/ping-sql-dbs
Have SQL backends Ping() before access.
2016-07-01 18:12:41 +02:00
Jeff Mitchell
ef98d56fba Have SQL backends Ping() before access.
If unsuccessful, reestablish connections as needed.
2016-07-01 12:02:17 -04:00
Jeff Mitchell
6dd329a495 Fix some more too-tight timing in the token store tests 2016-07-01 11:59:39 -04:00
Jeff Mitchell
b0844f9aea Always run transit acceptance tests 2016-07-01 11:45:56 -04:00
Jeff Mitchell
af75100158 Merge pull request #1578 from hashicorp/dockerize-mysql-acc-tests
Convert MySQL tests to Dockerized versions
2016-07-01 17:38:52 +02:00
Jeff Mitchell
133b39fab8 Always run userpass acceptance tests 2016-07-01 11:37:38 -04:00
Jeff Mitchell
425794a492 Fix timing in explicit max ttl test 2016-07-01 11:37:27 -04:00
Jeff Mitchell
1ba78db242 Convert MySQL tests to Dockerized versions 2016-07-01 11:36:28 -04:00
Matt Hurne
339aec9751 mongodb secret backend: Refactor URI parsing logic to leverage url.Parse 2016-07-01 09:12:26 -04:00
Matt Hurne
3c666532c8 mongodb secret backend: Prefix all generated usernames with "vault-", and cleanly handle empty display names when generating usernames 2016-06-30 21:11:45 -04:00
Matt Hurne
b9d681cb9d Merge branch 'master' into mongodb-secret-backend 2016-06-30 20:23:16 -04:00
Jeff Mitchell
5dc8394ad2 changelog++ 2016-06-30 16:45:29 -04:00
Jeff Mitchell
baf4b79f24 Merge pull request #1576 from xh3b4sd/etcd-addr-env
Etcd addr env
2016-06-30 22:44:54 +02:00