Skip to content
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

Ability to execute an action immediately on the server side #67620

Closed
mikecote opened this issue May 28, 2020 · 2 comments · Fixed by #68897
Closed

Ability to execute an action immediately on the server side #67620

mikecote opened this issue May 28, 2020 · 2 comments · Fixed by #68897
Assignees
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

Currently there is an execute function within the action plugin's start contract but it goes through task manager to execute the task. It would be nice to have the option to make it run right away without queueing in task manager like the HTTP /_execute endpoint does.

cc @XavierM

@mikecote mikecote added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels May 28, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@pmuellr
Copy link
Member

pmuellr commented Jun 4, 2020

Some notes from our triage session (IIRC):

  • the current execute API lives on the plugin, not the actionClient, but should probably be on the actionClient - I think with RBAC it will HAVE to move there anyway.
  • we probably want to expose two separate APIs on actionClient - the current "queued" executor, which can only return a status of whether the task got queued or not - and an "immediate" one that returns the results of the execution (eg, to get Slack/email/etc error messages).

@gmmorris gmmorris self-assigned this Jun 10, 2020
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants