-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Ingest Manager] Install uploaded package #77986
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
Merged
Merged
Changes from 27 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0766159
Refactor: installPackage -> installPackageFromRegistry
skh 6553615
Refactor: factor out source-agnostic installation steps
skh d5d8dc8
Unpack and cache uploaded zip and tgz files.
skh d771646
Add basic archive verification and parse manifest.
skh afa4fcb
Catch error when zip archive is uploaded as gzip.
skh ca862b0
Add API integration tests.
skh 95e22da
Remove unnecessary use of "package key" concept.
skh 157550c
Add 'install_source' property to saved object epm-packages.
skh 954a89d
Adjust tests.
skh 34d0475
Add API integration test for manifest missing fields.
skh 5284953
Refactor loadArchive -> loadArchivePackage.
skh 0a7cf16
Refactor caching of package archive content
skh a92d3b3
Get datasets and config templates from manifest files.
skh c1d97fe
Use file paths from archive instead of asset paths from registry.
skh bdfec89
Correctly load registry packages into cache
skh 69950cd
Use InstallablePackage instead of RegistryPackage where possible.
skh e854936
Actually install uploaded package.
skh f54e3a2
Add missing field to saved objects in tests.
skh 2c30b69
Adjust unit test to pick buffer extractor.
skh 523d8dc
Adjust unit test.
skh ff2006f
Fix and re-enable getAsset() test.
skh 6169a64
Adjust integration tests.
skh 9fcdc83
Make error message match test.
skh 014b56f
Pick data_stream.dataset from manifest if set.
skh c91c151
dataset -> data_stream also in comments
skh d2fef88
Remove unused variable.
skh df23d82
Use pkgToPkgKey() where appropriate.
skh f134573
More dataset -> data stream renaming.
skh 7959736
Merge branch 'master' into 70582-direct-package-upload-part-2
kibanamachine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.