Open
Description
openedon Dec 18, 2019
Kibana plugins use different HTTP clients in the browser. Besides fetch
provided by the core, we have in the codebase:
- axios - Canvas, Beats Management, Infra, Upgrade Assistant, Uptime, Telemetry
- apollo - Infra, Siem, Uptime
While all other plugins (especially Security) relays on the fact that all network requests are done via fetch and could be intercepted for performing an additional logic (extend a user session, for example).
Things to discuss:
- Is it possible to unify the network stack whenever possible?
- If it's not possible to unify the network stack, should we make interceptors reusable for 3rd party network libraries?
- Is the interceptor's mechanism scalable for Kibana case?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment