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.
afharo
left a comment
There was a problem hiding this comment.
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
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
kibananewsfeed would respect thenewsfeed.service.urlRootconfig setting, but other feeds likekibana-analyticswould 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:newsFeedUrlwhich is related, too.For maintainers
CC: @dsmith001 @alexfrancoeur