3974 Commits

Author SHA1 Message Date
vishalnayak
c62a368ccd Added jsonutil functional tests 2016-07-07 12:12:51 -04:00
vishalnayak
2dc811d1b3 Input validations for jsonutil 2016-07-07 11:29:38 -04:00
vishalnayak
80b8e1f2d2 Added jsonutil helper 2016-07-07 10:51:49 -04:00
vishalnayak
c99cc155ff Fix transit tests 2016-07-06 22:04:08 -04:00
vishalnayak
40d6be9b66 Added json.Number as recognized type for FieldData 2016-07-06 18:54:18 -04: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
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
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
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
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
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
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
Tim Schindler
3f2cc248af fixed typo: explitely -> explicitly 2016-06-30 19:10:15 +00:00
Tim Schindler
9c2c99a587 os.GetEnv -> os.Getenv 2016-06-30 18:53:55 +00:00
Jeff Mitchell
132974ccfa Minor mode update for some deps 2016-06-30 14:52:28 -04:00
Jeff Mitchell
b8b50d0fcb Merge pull request #1575 from hashicorp/dockerize-pg-secret-tests
Dockerize Postgres secret backend acceptance tests
2016-06-30 20:48:26 +02:00
Tim Schindler
e75d4f64bd added documentation about ETCD_ADDR env var to etcd backend documentation 2016-06-30 18:46:40 +00:00
Tim Schindler
d9f49afddf added ETCD_ADDR env var to etcd backend 2016-06-30 18:46:00 +00:00
Jeff Mitchell
d4f58ebdd3 Merge branch 'master-oss' into dockerize-pg-secret-tests 2016-06-30 14:31:52 -04:00
Jeff Mitchell
c3e38d4b29 Fix up breakage from bumping deps 2016-06-30 14:31:41 -04:00
Jeff Mitchell
91a73cf330 Merge branch 'master-oss' into dockerize-pg-secret-tests 2016-06-30 14:21:05 -04:00
Jeff Mitchell
f24a9e01d6 Remove accidental patch file 2016-06-30 14:19:42 -04:00
Jeff Mitchell
1651787019 Update deps 2016-06-30 14:19:03 -04:00
Jeff Mitchell
8545851f3d Whitespacing 2016-06-30 14:18:14 -04:00