-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul viewer-based credentials for Databricks & Snowflake (#894)
This commit takes a second stab at the viewer-based credential support added in #853. It contains two major changes: 1. Users no longer need to pass a `session` argument. We figure it out internally instead. This allows users to deploy apps to Connect with no code changes. 2. The underlying code to get these credentials is now hosted in the `connectcreds` package, which also provides a number of nice mocking features we can use in `odbc`'s unit tests. The `connectcreds` implementation is based on the code that this commit removes, though it has a number of improvements as well, so this should be a net win, too. Unit tests and documentation is included. Signed-off-by: Aaron Jacobs <[email protected]>
- Loading branch information
Showing
13 changed files
with
84 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ Imports: | |
Rcpp (>= 0.12.11), | ||
rlang (>= 1.1.0) | ||
Suggests: | ||
connectcreds, | ||
covr, | ||
DBItest, | ||
httr2, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.