Skip to content
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

New platform should initialize the legacy rather than the other way around #19324

Closed
epixa opened this issue May 22, 2018 · 1 comment
Closed
Assignees
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@epixa
Copy link
Contributor

epixa commented May 22, 2018

The legacy KbnServer is currently responsible for initializing and running the new platform, which means when a user runs bin/kibana, the code path goes through the legacy cli code, starts up the legacy server runtime, and then from that the new platform code path is kicked off.

In order for the new platform to have greater control over the overall runtime and where legacy code falls within the overall lifecycle in Kibana, we should invert this. bin/kibana should invoke the new platform CLI code, which starts up the root system and gets everything in the new platform world going. Within the core system's start routine, we should start a legacy service that is responsible for running the legacy KbnServer code.

This also gives us the ability to inject new platform objects into the legacy world at runtime, which is how we can create temporary bridges from the old world into the new.


See breakdown of tasks in #19994 (comment)

@epixa epixa added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform labels May 22, 2018
@epixa
Copy link
Contributor Author

epixa commented May 22, 2018

@elastic/kibana-platform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:New Platform Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

2 participants