-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Fleet] Check bundled packages when querying package info in getInfo API #141462
[Fleet] Check bundled packages when querying package info in getInfo API #141462
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 🚀 It is worth adding a test?
@nchaulet Added two basic unit tests to cover the fallback and error cases. |
💚 Build Succeeded
Metrics [docs]
History
To update your PR or re-run it, just comment with: cc @kpollich |
…API (elastic#141462) * Check bundled packages when querying package info in getInfo API * Add tests for fetchInfo * Remove needless beforeEach (cherry picked from commit 8774859)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…API (#141462) (#141498) * Check bundled packages when querying package info in getInfo API * Add tests for fetchInfo * Remove needless beforeEach (cherry picked from commit 8774859) Co-authored-by: Kyle Pollich <[email protected]>
Summary
Relates to #139567
Check bundled packages on disk for the exact name/version of a given package when requesting packages through the
get package info
Fleet API.To test
x-pack/plugins/fleet/target
directory (see detailed steps in linked PR)get package info
API without a version specifiedcc @sqren