Stephan Renatus
8f3cca7ba4
Revert "retry on serialization errors"
2018-11-29 08:24:13 +01:00
Alex Suraci
587081a643
postgres: refactor error handling to fix retrying
...
prior to this change, many of the functions in the ExecTx callback would
wrap the error before returning it. this made it impossible to check
for the error code.
instead, the error wrapping has been moved to be external to the
`ExecTx` callback, so that the error code can be checked and
serialization failures can be retried.
2018-11-20 10:50:55 -05:00
Stephan Renatus
b9f6594bf0
*: github.com/coreos/dex -> github.com/dexidp/dex
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-09-05 17:57:08 +02:00
rithu john
bc55b86d0d
storage: add connector object to backend storage.
2017-03-28 14:12:38 -07:00
Eric Chiang
0481fccd76
storage/sql: add missing WHERE statement to refresh token update
2017-03-13 15:53:28 -07:00
rithu john
3df1db1864
storage: Surface "already exists" errors.
2017-02-21 15:00:22 -08:00
rithu john
d928ac0677
storage: Add OfflineSession object to backend storage.
2017-02-09 19:01:28 -08:00
Eric Chiang
312ca7491e
storage: add extra fields to refresh token and update method
2017-01-11 12:07:48 -08:00
Eric Chiang
fe196864c0
*: fix comment typos found with github.com/client9/misspell
2016-12-13 12:23:16 -08:00
rithu john
19c22807a7
api: adding ListPasswords() method to the storage interface.
2016-11-16 17:25:38 -08:00
Eric Chiang
fe320c1928
storage/sql: fix typo in keys query
2016-10-14 12:28:49 -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
87a7d093b2
storage/sql: add a SQL storage implementation
...
This change adds support for SQLite3, and Postgres.
2016-10-03 12:48:19 -07:00