[EPM] Install Lens assets from packages if present.#88189
Merged
skh merged 2 commits intoelastic:masterfrom Jan 14, 2021
Merged
[EPM] Install Lens assets from packages if present.#88189skh merged 2 commits intoelastic:masterfrom
skh merged 2 commits intoelastic:masterfrom
Conversation
01061cc to
354b2e1
Compare
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
|
Pinging @elastic/fleet (Feature:EPM) |
Contributor
|
Pinging @elastic/ingest-management (Team:Ingest Management) |
82992f5 to
1c7c7e2
Compare
4 tasks
Contributor
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
skh
added a commit
to skh/kibana
that referenced
this pull request
Jan 14, 2021
* Install Lens assets from packages if present. * Add integration tests for Lens assets.
skh
added a commit
that referenced
this pull request
Jan 14, 2021
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implements #85428
This adds the kibana asset type 'lens' to the supported asset types.
How to test this manually
You need a package that contains a Kibana asset of type
lens.I have a modified version of the apache package that can be used with a local registry (ping me on slack), or wait for elastic/integrations#530 to be available in the staging registryThe packageapache-0.3.1in the staging registry has one (thanks @mtojek for providing the package!).Navigate to the package in Fleet->Integration. On the integration detail page, verify that the Lens asset is listed on the right side:
Install the package with the "Install Apache assets" on the Settings tab (or any other way). The installation should go through without errors.
After installation, verify in "Visualize" that a Lens asset has been installed and appears in the list of visualizations (for me it's on the third page and called "Workers with Lens", this might be different with the new
apache-0.3.1package from elastic/integrations#530 ):Checklist