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

[Ingest Manager] Discuss: Add route for installed packages #70860

Open
jfsiii opened this issue Jul 6, 2020 · 1 comment
Open

[Ingest Manager] Discuss: Add route for installed packages #70860

jfsiii opened this issue Jul 6, 2020 · 1 comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team technical debt Improvement of the software architecture and operational architecture

Comments

@jfsiii
Copy link
Contributor

jfsiii commented Jul 6, 2020

Problem

There isn't an API to list/query/filter installed (epm-packages) packages. /epm/packages maps to the available packages from the Registry; not installed ones.

So, for example, when the UI for listing the installed packages calls /epm/packages we must iterate/filter a list of all packages on the registry instead of querying ES for those which are installed.

This also means we must implement any search & filtering for installed packages in JS instead of using (or starting with) ES.

Some options

  1. Add options to existing /packages endpoint e.g. /epm/packages?status=installed&etc=etc or /epm/packages/installed?etc=etc
  2. Add one new route for the saved objects e.g. /epm/installed, or /epm/saved_objects
  3. Add two new routes e.g. /epm/packages/available & /epm/packages/installed
@jfsiii jfsiii added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 6, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@ph ph added the technical debt Improvement of the software architecture and operational architecture label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Fleet Team label for Observability Data Collection Fleet team technical debt Improvement of the software architecture and operational architecture
Projects
None yet
Development

No branches or pull requests

3 participants