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

[Upgrade Assistant] Decouple ML snapshots routes schema from saved objects attributes #154038

Open
yuliacech opened this issue Mar 30, 2023 · 1 comment
Labels
Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@yuliacech
Copy link
Contributor

In preparation for versioned HTTP APIs, we need to make our endpoints schemas explicit and decouple them from underlying saved objects types. In Upgrade Assistant, the routes for ML snapshots implicitly rely on saved objects attributes (see this file).
We need to create separate TypeScript interfaces for the endpoints schemas and for the saved objects attributes (if none exist already). A guide for this process can be found here and an example in this PR.

@yuliacech yuliacech added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Upgrade Assistant labels Mar 30, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

2 participants