Eric Chiang
aa7f304bc1
*: switch to github.com/ghodss/yaml for more consistent YAML parsing
...
ghodss/yaml converts from YAML to JSON before attempting to unmarshal.
This allows us to:
* Get the correct behavor when decoding base64'd []byte slices.
* Use *json.RawMessage.
* Not have to support extravagant YAML features.
* Let our structs use `json:` tags
2016-11-03 14:39:32 -07:00
Eric Chiang
52e2a1668c
storage/sql: use isolation level "serializable" for transactions
2016-10-31 23:00:55 -07:00
Eric Chiang
fe320c1928
storage/sql: fix typo in keys query
2016-10-14 12:28:49 -07:00
Eric Chiang
449f34ed2a
storage/sql: print error before calling t.Fatal
2016-10-12 22:00:08 -07:00
Eric Chiang
9ce05ecf73
storage/sql: add garbage collection method
2016-10-12 18:48:09 -07:00
Eric Chiang
8012e56446
storage/sql: add password resource
2016-10-05 17:26:41 -07:00
Eric Chiang
ea4f3fd365
storage/sql: enable garbage collection
...
Was an oversite of the initial SQL PR.
2016-10-04 12:57:21 -07:00
Eric Chiang
877eb3dc7b
*: add standup script to run DB tests locally and hook up travis
2016-10-03 12:48:26 -07:00
Eric Chiang
63f56b4269
storage: hook up conformance tests for SQL
2016-10-03 12:48:25 -07:00
Eric Chiang
87a7d093b2
storage/sql: add a SQL storage implementation
...
This change adds support for SQLite3, and Postgres.
2016-10-03 12:48:19 -07:00