-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move SQLite "auth" metadata to a separate package internal/authentication/sqlite
#3135
Conversation
Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
/ok-to-test |
Complete Build MatrixThe build status is currently not updated here. Please visit the action run below directly. Commit ref: 63634f7 |
Components conformance testCommit ref: 63634f7 ❌ Some conformance tests failedThese tests failed:
|
Components certification testCommit ref: 63634f7 ❌ Some certification tests failedThese tests failed:
|
Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
/ok-to-test |
Components certification testCommit ref: 63634f7 ❌ Some certification tests failedThese tests failed:
|
Components conformance testCommit ref: 63634f7 ✅ All conformance tests passedAll tests have reported a successful status |
Complete Build MatrixThe build status is currently not updated here. Please visit the action run below directly. Commit ref: 63634f7 |
/ok-to-test |
Complete Build MatrixThe build status is currently not updated here. Please visit the action run below directly. Commit ref: 63634f7 |
Components certification testCommit ref: 63634f7 ❌ Some certification tests failedThese tests failed:
|
Components conformance testCommit ref: 63634f7 ✅ All conformance tests passedAll tests have reported a successful status |
/ok-to-test |
Complete Build MatrixThe build status is currently not updated here. Please visit the action run below directly. Commit ref: 77cf89c |
Components certification testCommit ref: 77cf89c ❌ Some certification tests failedThese tests failed:
|
Components conformance testCommit ref: 77cf89c ✅ All conformance tests passedAll tests have reported a successful status |
…ation/sqlite` (dapr#3135) Signed-off-by: ItalyPaleAle <[email protected]> Co-authored-by: Bernd Verst <[email protected]> Signed-off-by: Amit Mor <[email protected]>
Small refactoring of the SQLite component, to move the "auth" metadata (the struct containing the connection string and a few other basic fields) to a shared package. This is modeled after what has been done a while ago for Postgres.
Having a separate package helps with developing other SQLite-based components in the near future, such as the nameresolver.
A few additional changes:
InSeconds
suffix (timeoutInSeconds
) and some didn't (cleanupInterval
).timeoutInSeconds
is nowtimeout
and accepts a Go duration. Of course,timeoutInSeconds
continues to work as alias.connectionString
tourl
(just because I myself kept making that mistake many times :) But the "official" name hasn't changed)More tests have been added for SQLite metadata, which were missing before.