-
Notifications
You must be signed in to change notification settings - Fork 71
Feature: first version of Snowflake SPCS backend and authentication p… #100
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
base: master
Are you sure you want to change the base?
Feature: first version of Snowflake SPCS backend and authentication p… #100
Conversation
…rovider. Notes: admin group IS ROLE IN SESSION is not working.
|
HI @LEDfan , have a couple questions
An example configuration is |
|
Another question, the Snowflake Java client was generated from the snowflake openapi specification github project using okhttp3. is there a preferred java http library to use to keep the package sizes and dependencies as small as possible? |
|
Hi Thanks a lot for the effort! We are always happy to add new backends, the only problem I see is that we don't have any snowflake deployments ourself. In order to guarantee maintenance on this backend, we need to look into whether we can use some trial or development license.
In the current implementation,the headers that are send to the application are not updated after the application has been started. This can be changed, although I'm not yet sure about the exact implementation. The headers are injected here: https://github.com/openanalytics/containerproxy/blob/master/src/main/java/eu/openanalytics/containerproxy/util/ProxyMappingManager.java#L260-L261
I believe these are added as labels in the task. But in general we consider it safe to add them to labels in the backend, but I wold not add them as environment variables (since the app should not see all these values).
I don't have lots of experience with Snowflake, could you elaborate your use-case of running ShinyProxy on Snowflake? |
|
typical deployment is shinyproxy running as snowflake service, then creates additional private services for users apps. the code to support shinyproxy external is to make development easier and faster. i dont think it will ever be used this way in production. use cases and benefits
|
…n Session with callers rights token and added 'compute-warehouse' config to perform the query. no rest api available yet to perform this. warehouse will need to be granted to snowflake service owner role as 'USAGE' and 'CALLER USAGE'.
|
the list of openapi java codegen which have Jackson json are here with different webclients. any of these won't introduce additional packages? search for "library template (sub-template) to use" will add an example SQL to setup the environment soon. |
Feature: first version of Snowflake SPCS backend and authentication provider.
Notes: admin group IS ROLE IN SESSION is not working.