add UiSettings client to action and alert executor's services parameter #55052
Labels
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
v7.7.1
v8.0.0
The
services
parameter for actions and alerts currently only provides access tocallCluster
andsavedObjectsClient
.kibana/x-pack/legacy/plugins/alerting/server/types.ts
Lines 19 to 22 in 0d19b38
kibana/x-pack/legacy/plugins/actions/server/types.ts
Lines 17 to 20 in 0d19b38
@chrisronline has requested access to the UI Settings client as well. He's currently stitching one together himself, with code copied from:
kibana/src/legacy/ui/ui_settings/ui_settings_service_factory.ts
Lines 31 to 36 in 0d19b38
Copying these services in manually doesn't seem like it's going to scale, if we get a bunch more. Not quite sure what the best approach to avoid doing that might be.
Adding one more though isn't a huge issue.
The text was updated successfully, but these errors were encountered: