-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Core: Expose getUrlForApp on server side #59478
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
Currently this is not possible because all of the applications are registered in client-side code. The server does not have any knowledge of which applications exist. This has simplified most things, but it has also made other things a bit tricky. For instance, if a application needs to be mounted on a non-standard route (a route without the Having knowledge about the applications that exist would eliminate this requirement. However, thus far this use-case isn't very common and it hasn't been much of a headache. For the alerting use case, could we not have a generic endpoint that accepts an application ID along with some parameters that then gets used to redirect to the corresponding application once the frontend boots up. A flow like this is what I'm imagining:
|
Ah, thanks, this sounds very similar to the service @lukeelmers was suggesting. and actually, I think this may greatly simplify things if we do this... |
This would be useful for moving the url generators to server side, to support alerting and chat ops use cases.
At minimum I need the basePath.
#59453
Any thoughts on whether this would be doable/easy?
The text was updated successfully, but these errors were encountered: