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

Custom API Signals #27

Open
sevensolutions opened this issue Oct 14, 2023 · 1 comment
Open

Custom API Signals #27

sevensolutions opened this issue Oct 14, 2023 · 1 comment
Labels
enhancement New feature or request prio-low Low Priority

Comments

@sevensolutions
Copy link
Owner

sevensolutions commented Oct 14, 2023

It would be a cool idea to allow to define some REST-API calls which can then be invoked by a signal.
Something like:

signal {
  name = "SIGUSR1"
  path = "/api/signals/sigusr1"
  method = "GET"
  headers = {
    X-Api-Key = "Some API Key"
  }
}

May be usefull to execute some management tasks.
The API may listen to localhost only.

@sevensolutions sevensolutions added the enhancement New feature or request label Oct 14, 2023
@sevensolutions
Copy link
Owner Author

hashicorp/nomad#18794 will also introduce job actions.

@sevensolutions sevensolutions added the prio-low Low Priority label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio-low Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant