-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor PngV2 to export type class (#159853)
## Summary Partially addresses #158092 Following the Csv and Pdf reports, this PR continues the process with a PngExportType class instance vs the getExportType() function. This PR concludes refactoring the export types to class instances. The next steps will be migrating these to the reporting export types plugin #161291 and clean up of tests. Diagnostic tool is timing out for waitForElements - in this PR this is commented out since the png v1 endpoint has not been refactored yet. ### 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 <[email protected]> Co-authored-by: Timothy Sullivan <[email protected]>
- Loading branch information
1 parent
65e94c6
commit 851db23
Showing
11 changed files
with
175 additions
and
161 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
20 changes: 0 additions & 20 deletions
20
x-pack/plugins/reporting/server/export_types/png_v2/create_job.ts
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
x-pack/plugins/reporting/server/export_types/png_v2/execute_job.ts
This file was deleted.
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
13 changes: 0 additions & 13 deletions
13
x-pack/plugins/reporting/server/export_types/png_v2/metadata.ts
This file was deleted.
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
Oops, something went wrong.