forked from elastic/kibana
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CSV reporting in serverless (elastic#162358)
## Summary This PR sets up the reporting plugin for the serverless implementation by adding properties to the existing reporting config. Image reporting is enabled for dev mode but disabled for serverless. Canvas is disabled for serverless. ## To Test Run `yarn es snapshot --license trial` in one terminal and then `yarn start`. Load sample data and you should be able to see the option to have PDF and PNG reports in Dashboard's Share Menu. ![Screenshot 2023-07-25 at 9 40 30 AM](https://github.com/elastic/kibana/assets/20343860/c258a14d-6cc7-4fdf-9bb1-4dc3b15d371b) Now run `yarn es snapshot --license trial` and `yarn serverless-es`. You should see that Dashboard's share menu does not include PDF or PNG Reports. However there is still the option to see run CSV reports and see the Reporting in Management. ![Screenshot 2023-07-25 at 9 42 16 AM](https://github.com/elastic/kibana/assets/20343860/638691dc-6c2f-41ed-a8d3-d5d38c15fa91) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
- Loading branch information
1 parent
af15cc1
commit 5864674
Showing
6 changed files
with
113 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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 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
22 changes: 22 additions & 0 deletions
22
x-pack/plugins/reporting/server/config/__snapshots__/schema.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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