-
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
[Reporting] New Platform Migration #53898
Comments
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
NP will expose status for it's sub-services like elasticsearch in a similar way to what Legacy did (using an observable instead of a event emitter) we're tracking the work here #41983 I've updated the issue description with this as a blocker. |
We've created #51150 for making it easier to test controllers by mocking their dependencies like what you're doing in these tests. |
We don't need middleware to do what we're currently doing with middleware. We can just as easily make a route handler wrapper that runs the auth checks needed for the custom Reporting authentication model. Resolved in #54082 (comment) |
We'll handle this by refactoring Reporting's usage of config. A |
It looks like a few plugins in are now implementing license checks in the New Platform. I think we'll be able to find a solution based on example. |
(updated description) |
…tingPlugin.start (elastic#56563) * [Reporting] New Platform Migration Part of elastic#53898 * fix CI * fix typescript Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
…tingPlugin.start (#56563) (#56875) * [Reporting] New Platform Migration Part of #53898 * fix CI * fix typescript Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Alexey Antonov <alexwizp@gmail.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Could you switch to elasticsearch client & licensing plugin API exposed from start contract when migrating the shim to the Kibana Platform? We are deprecating elasticsearch API exposed from setup contract. We are depreciating async lifecycles as well. It means |
Describe the feature:
The Kibana Reporting plugin code needs to be migrated to the New Platform interface.
The Reporting plugin definition in NP will share a contract with other plugins that will allow them to pass a Kibana URL and some options to a function and receive an observable that resolves to a PNG payload of the screenshot. This was already possible in the legacy Reporting code, but the interface to the screenshot observable is cumbersome and undocumented.
Tasks:
Define
serverFacade
andrequestFacade
objects that use bare-bones types of the legacy dependenciesCreate the
server/plugin.ts
file to declare the plugin definition, which shims ReportingConsume New Platform dependencies and pass them to the server shim
Migrate the UI to the New Platform
Concerns:
server.fieldFormatServiceFactory
is unavailable in Typesconfig.set
on the server side in some places to update to a configuration that will work with Reporting. We always log a warning and explain how to update the configuration and silence the warning. Will this be possible in the New Platform?server.port
,server.host
, etc. Issue: [New Platform] APIs needed for opening a connection to the Kibana server #56231The text was updated successfully, but these errors were encountered: