-
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
80697: ignore 404, check if there are transforms in results. #80721
80697: ignore 404, check if there are transforms in results. #80721
Conversation
@elastic/endpoint-management |
Pinging @elastic/ingest-management (Team:Ingest Management) |
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.
Code LGTM. Left a notes with suggested fixes re: logger/mocking. Please apply before merging.
|
||
export const getAsset = (path: string): Buffer => { | ||
return Registry.getAsset(path); | ||
}; | ||
|
||
export const getLogger = (): Logger => { |
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.
Please remove this and instead import appContextService where it's needed to remain consistent with the rest of the plugin.
@@ -11,6 +11,7 @@ jest.mock('../../packages/get', () => { | |||
jest.mock('./common', () => { | |||
return { | |||
getAsset: jest.fn(), | |||
getLogger: jest.fn(), |
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.
Please drop this and add something like
kibana/x-pack/plugins/ingest_manager/server/routes/package_policy/handlers.test.ts
Line 68 in e48a567
appContextService.start(createAppContextStartContractMock()); |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
…tic#80721) [Ingest]: ignore 404, check if there are transforms in results
…) (#80853) [Ingest]: ignore 404, check if there are transforms in results
* master: (51 commits) [Discover] Unskip flaky test (elastic#80670) Fix security solution template label (elastic#80754) [Ingest]: ignore 404, check if there are transforms in results. (elastic#80721) Moving loader to logo in header, add a slight 250ms pause (elastic#78879) [Security Solution][Cases] Fix bug with case connectors (elastic#80642) Update known-plugins.asciidoc (elastic#75388) [Lens] Add median operation (elastic#79453) Fix navigateToApp logic when navigating to the current app. (elastic#80809) [Visualizations] Fix bad color mapping with multiple split series (elastic#80801) [ILM] Add esErrorHandler for the new es js client (elastic#80302) Fix codeowners (elastic#80826) skip flaky suite (elastic#79463) [Timelion] Remove kui usage (elastic#80287) [Ingest Manager] add skipIfNoDockerRegistry to package_install_complete test (elastic#80779) [Alerting UI] Disable "Save" button for Alerts with broken Connectors (elastic#80579) Allow the default space to be accessed via `/s/default` (elastic#77109) Add script to identify plugin dependencies for TS project references migration (elastic#80463) [Search] Client side session service (elastic#76889) feat: 🎸 add separator for different context menu groups (elastic#80498) Lazy load reporting (elastic#80492) ...
#80697
Summary
Checklist
Delete any items that are not applicable to this PR.