-
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
Use newfeed.service config for all newsfeeds #90252
Conversation
Prior to this change, the main `kibana` newsfeed would respect the `newsfeed.service.urlRoot` config setting, but other feeds like `kibana-analytics` would not. This made it difficult to test new feed items using a local server.
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.
Hey @gtback thank you for doing this change. I think they make perfect sense!
Re the tests, during functional tests, we point to a local Kibana:
Line 58 in f979580
`--newsfeed.service.urlRoot=${servers.kibana.protocol}://${servers.kibana.hostname}:${servers.kibana.port}`, |
You might want to extend the test plugin to serve kibana-analytics
to help with testing.
@elasticmachine merge upstream |
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Thanks @afharo!
If I understand this correctly, Kibana uses an internal test endpoint (
If it's fine with you, I think I'll merge this once tests pass with the change you suggested above. |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
@afharo is there anything I need to do to backport this, or does it happen automatically? |
* master: (244 commits) [maps] Top hits per entity--change to title to use recent, minor edits (elastic#89254) [DOCS] Update installation details (elastic#90354) RFC for automatically generated typescript API documentation for every plugins public services, types, and functionality (elastic#86704) Elastic Maps Server config is `host` not `hostname` (elastic#90234) Use doc link services in index pattern management (elastic#89937) [Fleet] Managed Agent Policy (elastic#88688) [Workplace Search] Fix Source Settings bug (elastic#90242) [Enterprise Search] Refactor MockRouter test helper to not store payload (elastic#90206) Use doc link service in more Stack Monitoring pages (elastic#89050) [App Search] Relevance Tuning logic - actions and selectors only, no listeners (elastic#89313) Remove UI filters from UI (elastic#89793) Use newfeed.service config for all newsfeeds (elastic#90252) skip flaky suite (elastic#85086) Add readme to geo containment alert covering test alert setup (elastic#89625) [APM] Enabling yesterday option when 24 hours is selected (elastic#90017) Test user for maps tests under import geoJSON tests (elastic#86015) [Lens] Hide column in table (elastic#88680) [Security Solution][Detections] Reduce detection engine reliance on _source (elastic#89371) [Discover] Minor cleanup (elastic#90260) [Search Session][Management] Rename "cancel" button and delete "Reload" button (elastic#90015) ...
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Prior to this change, the main
kibana
newsfeed would respect thenewsfeed.service.urlRoot
config setting, but other feeds likekibana-analytics
would not. This made it difficult to test new feeditems using a local server.
Checklist
Delete any items that are not applicable to this PR.
I'm not sure if there's a place this should get documented, and I couldn't find any tests that cover this configuration; but I'm happy to add either if I need to. The config key itself isn't changing, it's just being used in more places.
I noticed there's a separate setting
securitySolution:newsFeedUrl
which is related, too.For maintainers
CC: @dsmith001 @alexfrancoeur