-
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
[Reporting] Clean up any
usage, reorganize server route files
#110740
[Reporting] Clean up any
usage, reorganize server route files
#110740
Conversation
c11a8e0
to
6477a60
Compare
6477a60
to
1d5ddbb
Compare
966a425
to
a3db310
Compare
any
instances, refactor server route files
any
instances, refactor server route filesany
usage, refactor server route files
any
usage, refactor server route filesany
usage, reorganize server route files
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
Pinging @elastic/kibana-app-services (Team:AppServices) |
55934cd
to
a3db310
Compare
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
* 2.0. | ||
*/ | ||
|
||
import Boom from '@hapi/boom'; |
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.
This code was pulled out of x-pack/plugins/reporting/server/routes/generation.ts
to allow better reusability
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.
Thanks for doing this clean up! Looks great to me.
…tic#110740) * refactor/reflatten server routes * fix import * fix any usage in server/lib * clean up unused parameter * remove any in server/browsers * refactor handle request function into a class * more cleanup
) (#111027) * refactor/reflatten server routes * fix import * fix any usage in server/lib * clean up unused parameter * remove any in server/browsers * refactor handle request function into a class * more cleanup
…eporting-to-v2 * 'master' of github.com:elastic/kibana: (65 commits) Move to vis_types folder part 2 (elastic#110574) [SOR] use initialNamespaces when checking for conflict for `create` and `bulkCreate` (elastic#111023) [Discover] Remove export* syntax (elastic#110934) [Event log][7.x] Updated event log client to search across legacy IDs (elastic#109365) [Security Solution][Detection Rules] Changes 'activated' text on rule details page (elastic#111044) [Metrics UI] Filter out APM nodes from the inventory view (elastic#110300) [package testing] Update logging and pid configuration (elastic#111059) [Dashboard] Read App State from URL on Soft Refresh (elastic#109354) Add correct roles to test user for functional tests in dashboard (elastic#110880) [DOCS] Adds Lens Inspector and minor edits (elastic#109736) [DOCS] Updates Spaces page (elastic#111005) normalize initialNamespaces (elastic#110936) [Reporting] Clean up `any` usage, reorganize server route files (elastic#110740) [Security Solution] [CTI] Fixes bug that caused Threshold and Indicator Match rules to ignore custom rule filters if a saved query was used in the rule definition. (elastic#109253) skip flaky suites: elastic#111001, elastic#111022 [Security Solution][RAC] - Update reason field text (elastic#110308) [RAC][Security Solution] Make analyzer work with EuiDataGrid full screen (elastic#110913) [Metrics UI] Add integration tests for Metric Threshold Rule and refactor to fire correctly (elastic#109971) [DOCS] Updates Discover docs (elastic#110346) [RAC] Persistent timeline fields fix (elastic#110685) ...
Summary
any
usage from production (non-test) code in Reporting.RequestHandler
class which can later be used to handle reports to create scheduled reports.layout
parameter from getScreenshotsThis remove 19 instances of
any
in production reporting code, resulting in 22 remaining instances. Here are the 22 remainingany
instances as of this PR:Checklist
Delete any items that are not applicable to this PR.