-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use the graphql endpoint for lineage queries #158
Comments
Do you think UI should be going through the gateway? I was thinking if UI can maybe call the knowledge-graph service directly... |
Eventually we'll want authentication on those requests - then going through the gateway will make sense. |
Yes, I'll put some auth to the Knowledge Graph endpoint soon, I hope. Shouldn't we then do a similar solution on the Gateway as we do for other services like GitLab or Keycloack? I mean so there's no single purpose lineage endpoint on the Gateway but something more general which would be more like a proxy with auth? Then anyone can use it for all the calls on the Knowledge Graph? |
Absolutely, the current lineage endpoint in the GW will go away, instead I would just like to define a forwarding rule in the traefik part of the gateway together with a rule for swapping the cookie for a token. |
👍 |
But the gateway doesn't do the authentication. You'll want to put the KG endpoint behind something like a keycloak-proxy, won't you? |
We have agreed that the GW will forward requests to |
Yes but the |
Am I right that we have two choices:
|
SwissDataScienceCenter/renku#587 introduces the graphql endpoint - the gateway should forward lineage requests to this endpoint instead of submitting sparql queries itself.
The text was updated successfully, but these errors were encountered: